.lb-page {
  min-height: 70vh;
  padding: 0 0 100px;
  background: #fafaf7;
  color: #242424;
}
.lb-hero {
  padding: 148px 24px 52px;
  text-align: center;
  background: radial-gradient(ellipse at 80% 0, #fae5d5a8, transparent 51%), radial-gradient(ellipse at 18% 0, #e9e7e4b3, transparent 48%);
}
.lb-hero h1 {
  max-width: 980px;
  margin: 0 auto 34px;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -.045em;
  color: #18181b;
  overflow-wrap: anywhere;
}
.lb-hero h1 > span { display: block; }
.lb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid #f3a16e;
  border-radius: 999px;
  color: #fff;
  background: #ed7139;
  font-size: 19px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, transform .18s;
}
.lb-cta:hover { background: #df6029; transform: translateY(-1px); }
.lb-cta svg { flex: none; }
.lb-statistics {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
}
.lb-statistics > div { display: flex; flex-direction: column-reverse; padding: 0 24px; }
.lb-statistics > div + div { border-left: 1px solid #54544f; }
.lb-statistics dt { margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: #6c6c6c; }
.lb-statistics dd { margin: 0; color: #080808; font-size: 25px; font-weight: 700; line-height: 1.2; }
.lb-content { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }
.lb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 16px; }
.lb-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 0 1 524px; padding: 0; border: 1px solid #e1e2dd; border-radius: 11px; }
.lb-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #72726d;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s, background-color .18s, box-shadow .18s;
}
.lb-tabs button[aria-pressed="true"] { color: #343431; background: #fff; border-color: #d9dad5; box-shadow: 0 1px 2px #00000012; }
.lb-tabs button:hover { color: #242424; }
.lb-period { position: relative; display: flex; align-items: center; flex: 0 0 160px; }
.lb-period select {
  appearance: none;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 35px 10px 14px;
  border: 1px solid #d9dad5;
  border-radius: 11px;
  color: #262626;
  background: #fff;
  box-shadow: 0 1px 2px #00000008;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.lb-period > svg { position: absolute; right: 12px; pointer-events: none; color: #6d6d68; }
.lb-platform-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 20px; }
.lb-platform-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #484842;
  background: #f4f4f0;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s, color .18s, background-color .18s;
}
.lb-platform-tabs button[aria-pressed="true"] { border-color: #ed7139; color: #aa441c; background: #fff9f3; box-shadow: 0 0 0 2px #f1d7c54d; }
.lb-platform-tabs button:hover { background: #eeeee8; }
.lb-platform-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; color: #111; }
.lb-platform-icon > svg { display: block; }
.lb-table-scroll { overflow-x: auto; border: 1px solid #e1e2dd; border-radius: 11px; }
.lb-table { width: 100%; min-width: 690px; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 14px; line-height: 1.4; }
.lb-table th { height: 43px; padding: 12px 14px; color: #73736d; background: #fafaf8; font-size: 12px; font-weight: 400; }
.lb-table th:first-child { width: 80px; text-align: center; }
.lb-table th:nth-child(2) { width: 32%; }
.lb-table th:nth-child(3) { width: 22%; }
.lb-table th:nth-child(4) { width: 20%; }
.lb-table th:last-child { width: 20%; text-align: right; }
.lb-table td { height: 72px; padding: 14px; border-top: 1px solid #e0e1dc; color: #52524d; overflow-wrap: anywhere; }
.lb-table tbody tr { background: #fff; }
.lb-table tbody tr:nth-child(even) { background: #fafaf7; }
.lb-table .lb-rank { text-align: center; }
.lb-medal { display: block; margin: 0 auto; }
.lb-creator { display: flex; align-items: center; gap: 12px; color: #33332f; font-weight: 500; }
.lb-avatar { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border: 1px solid #e9e8e2; border-radius: 50%; background: #f0e8dc; color: #7a6448; font-size: 15px; }
.lb-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lb-table .lb-metric { text-align: right; font-variant-numeric: tabular-nums; }
.lb-table .lb-empty { height: 140px; text-align: center; color: #9a9a94; }
.lb-bottom { width: min(900px, calc(100% - 48px)); margin: 90px auto 0; text-align: center; }
.lb-bottom h2 { margin: 0 auto 28px; color: #1c1917; font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.lb-page :is(button, a):focus-visible, .lb-table-scroll:focus-visible { outline: 2px solid #bc572e; outline-offset: 3px; }
.lb-period select:focus-visible { outline: 2px solid #81798f; outline-offset: 1px; }
@media (max-width: 700px) {
  .lb-page { padding-bottom: 64px; }
  .lb-hero { padding: 130px 20px 40px; }
  .lb-hero h1 { margin-bottom: 26px; font-size: clamp(40px, 9vw, 60px); }
  .lb-cta { font-size: 17px; }
  .lb-content { width: calc(100% - 32px); }
  .lb-toolbar { gap: 10px; align-items: stretch; }
  .lb-tabs { flex-grow: 1; }
  .lb-tabs button { padding: 10px 7px; font-size: 13px; }
  .lb-period { flex-basis: 125px; }
  .lb-period select { padding-left: 10px; font-size: 13px; }
  .lb-platform-tabs { gap: 7px; padding-top: 4px; }
  .lb-platform-tabs button { min-height: 36px; padding: 6px 11px; font-size: 12px; }
  .lb-platform-tabs .lb-platform-icon { width: 19px; height: 19px; }
  .lb-platform-tabs svg { width: 19px; height: 19px; }
  .lb-bottom { margin-top: 65px; }
}
@media (max-width: 420px) {
  .lb-toolbar { flex-wrap: wrap; }
  .lb-tabs { flex-basis: 100%; }
  .lb-period { flex-basis: 145px; margin-left: auto; }
  .lb-statistics > div { padding: 0 16px; }
  .lb-statistics dd { font-size: 23px; }
  .lb-statistics dt { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-page *, .lb-page *::before, .lb-page *::after { transition: none !important; animation: none !important; }
}
