/* 1.2 — hierarchy, table navigation and optional reading comfort. */
:root { --lb-row:#24252c; --lb-row-alt:#2b2c34; --lb-row-hover:#3b3039; }
body { background:radial-gradient(ellipse at 95% 0,#682b3711,transparent 55%),var(--bg); }
.site-header { background:linear-gradient(180deg,#17171b 0%,#111215 65%); }
.brand { border-bottom:1px solid #35323b; padding-bottom:15px; }
.brand img.lb-logo { width:184px; height:122px; }
.nav-label { margin-top:23px; }
.main-nav a[aria-current] { background:linear-gradient(90deg,#472b34,#312128); border-color:#714450; box-shadow:inset 3px 0 #eca8b9,0 2px 8px #0002; }
.survival-hero { min-height:405px; gap:20px; border-color:#72505b; background:#1b1b20; box-shadow:0 15px 45px #0002; }
.survival-hero::after { content:""; position:absolute; top:0; left:42px; width:80px; height:3px; background:#d18597; z-index:2; }
.hero-art { background:radial-gradient(ellipse at 87% 55%,#80394733,transparent 54%),linear-gradient(115deg,#272329 0%,#191a1f 60%,#272028 100%); }
.hero-art::after { content:""; position:absolute; inset:0; opacity:.23; background:repeating-linear-gradient(135deg,transparent 0,transparent 80px,#a45b6b12 81px,#a45b6b12 82px,transparent 83px); pointer-events:none; }
.hero-copy>.eyebrow { color:#efd4dc; border-color:#71565f; background:#2a2127; font-size:11px; }
.hero-copy h1 { font-size:clamp(38px,3.55vw,58px); line-height:1.12; letter-spacing:-2px; }
.hero-copy h1 em { display:block; margin-top:4px; }
.hero-description { max-width:445px; color:#d1cbd4; }
.hero-actions .button.primary { box-shadow:0 5px 20px #8a30482c; }
.hero-secondary { padding:9px 0; border-bottom:1px solid #a5687b; }
.hero-secondary:hover { border-color:#f6c6d4; color:#fff3f6; }
.lb-hero-visual { min-height:270px; isolation:isolate; }
.lb-hero-visual::before { content:""; position:absolute; width:91%; max-width:310px; aspect-ratio:1; border:1px solid #ae6a7d25; border-radius:50%; box-shadow:0 0 0 22px #a95e7508,0 0 0 45px #a95e7505; z-index:-1; }
.lb-hero-visual img { position:relative; z-index:1; }
.lb-hero-tags { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px; margin-top:14px; }
.lb-hero-tags span { font:600 10px/1.7 var(--body); letter-spacing:1.7px; color:#d1bcc8; }
.lb-hero-tags span+span { padding-left:16px; border-left:1px solid #744955; }
.lb-shortcuts { gap:14px; margin-top:18px; }
.lb-shortcut { position:relative; padding:23px 21px; background:linear-gradient(135deg,#28262d,#212228); transition:background .16s,border-color .16s,transform .16s; }
.lb-shortcut::before { content:""; position:absolute; left:20px; bottom:0; width:26px; height:2px; background:#976073; }
.lb-shortcut strong { font-weight:700; }
.lb-shortcut:hover { border-color:#b9788c; background:#302831; transform:translateY(-2px); }
.lb-shortcut:focus-visible { transform:none; }
.lb-overview-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:34px 0 18px; }
.lb-overview-heading h2 { font-size:25px; }.lb-overview-heading .eyebrow { margin-bottom:5px; }
.lb-overview-empty { display:flex; align-items:center; gap:20px; padding:25px 28px; border:1px solid #4c454f; border-radius:10px; background:linear-gradient(100deg,#2c242d,#222429 70%); margin-bottom:34px; }
.lb-overview-icon { display:grid; place-items:center; width:54px; height:54px; border:1px solid #815264; border-radius:12px; color:#edc1d2; background:#3c2c36; flex:0 0 54px; }
.lb-overview-icon svg { width:25px; height:25px; }
.lb-overview-empty>div { min-width:0; }.lb-overview-empty h3 { font-size:19px; font-weight:600; line-height:1.45; color:#f3eaf2; }
.lb-overview-empty p { font-size:14px; line-height:1.8; color:#c3bacb; margin-top:5px; max-width:640px; }
.lb-overview-empty>.button { margin-left:auto; flex-shrink:0; }
.home-page>.live-stats { margin-top:0; }.live-stat { position:relative; border-top:2px solid #795162; }
.live-stat strong { letter-spacing:-1.2px; }.live-stat .eyebrow { color:#dec1cf; }
.live-disciplines { background:#17171d; padding:7px; border-color:#52444f; }
.live-disciplines .selected { background:linear-gradient(115deg,#85374d,#612b3e); box-shadow:0 3px 10px #0003; border-color:#bd7589; }
.live-disciplines .lb-coming { margin-left:auto; align-self:center; }
.live-podium { grid-template-columns:1.12fr 1fr 1fr; }
.live-leader { position:relative; overflow:hidden; }
.lb-podium-position { position:absolute; right:19px; top:9px; font:700 75px/1.15 var(--display); opacity:.11; pointer-events:none; }
.live-leader>.eyebrow { position:relative; z-index:1; max-width:80%; }
.live-leader h2 { position:relative; z-index:1; }
.live-leader.podium-gold { background:radial-gradient(ellipse at 100% 0,#906a292c,transparent 75%),linear-gradient(130deg,#3b3325,#24252a); border-color:#af8c52; box-shadow:0 5px 24px #0002; }
.live-leader.podium-gold>.eyebrow { color:#f3d7a3; }.live-leader.podium-silver>.eyebrow { color:#d5d9e6; }.live-leader.podium-bronze>.eyebrow { color:#e7ba9d; }
.live-ladder { box-shadow:0 8px 25px #0001; }
.live-table-scroll { scrollbar-width:thin; scrollbar-color:#ab7589 #24232b; }
.leaderboard-page .live-table-scroll { max-height:680px; scroll-padding-top:55px; }
.leaderboard-page .live-table thead th { position:sticky; top:0; z-index:3; box-shadow:0 1px #625567; }
.leaderboard-page .live-table th:nth-child(2),.leaderboard-page .live-table td:nth-child(2) { position:sticky; left:0; z-index:2; box-shadow:1px 0 #655064,8px 0 15px #0001; }
.leaderboard-page .live-table thead th:nth-child(2) { z-index:4; }
.live-table tbody td { background:var(--lb-row); }.live-table tbody tr:nth-child(even)>td { background:var(--lb-row-alt); }
.live-table tbody tr:hover>td,.live-table tbody tr:focus-within>td { background:var(--lb-row-hover); }
.live-table tbody tr:focus-within a { text-decoration:underline; text-underline-offset:5px; }
.lb-table-hint { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 1px; font-size:12px; color:#cbbacf; }
.lb-table-hint span:last-child { color:#ecc2d4; white-space:nowrap; }
.search-input:focus-within { border-color:#d398af; box-shadow:0 0 0 3px #c8799522; }
.search-input input:focus { outline:none; }
.arena-rules { padding:0; overflow:hidden; }
.arena-rules>summary { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:19px 23px; cursor:pointer; list-style:none; color:#f0d3e3; font-weight:650; }
.arena-rules>summary::-webkit-details-marker { display:none; }
.arena-rules>summary::after { content:"+"; font:400 25px/1 var(--display); color:#e9acc4; }
.arena-rules[open]>summary::after { content:"−"; }
.arena-rules>summary:focus-visible { outline:3px solid #f0b7c3; outline-offset:-4px; }
.arena-rules>summary:hover { background:#352934; }
.arena-rules>.lb-rank-details { padding:0 23px 24px; border-top:1px solid #5b4356; }
.lb-rank-details>p { padding-top:19px; }.arena-rules ul { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; }
.arena-rules li { padding:12px 8px; background:#1d1d25; border:1px solid #504353; border-radius:6px; gap:9px; }
.arena-rules li .arena-rank { width:100%; font-size:12px; padding:6px 7px; }.arena-rules li>span:last-child { font-size:12px; padding-left:0; }
.lb-reading-toggle { display:flex; align-items:center; width:100%; min-height:46px; gap:10px; padding:10px; margin:0 0 24px; background:#27232c; border:1px solid #665267; border-radius:8px; color:#ece0ee; }
.lb-reading-toggle>span:first-child { font:600 19px/1 var(--display); color:#eab8d1; }
.lb-reading-toggle>span:nth-child(2) { font-size:12px; text-align:left; font-weight:600; }
.lb-reading-toggle .lb-switch { width:29px; height:17px; padding:2px; margin-left:auto; border-radius:12px; background:#625467; flex:0 0 29px; }
.lb-reading-toggle .lb-switch::before { content:""; display:block; width:13px; height:13px; background:#eadce9; border-radius:50%; transition:transform .15s; }
.lb-reading-toggle[aria-pressed="true"] { border-color:#c78ea8; background:#432c3c; }
.lb-reading-toggle[aria-pressed="true"] .lb-switch { background:#a76184; }.lb-reading-toggle[aria-pressed="true"] .lb-switch::before { transform:translateX(12px); background:#fff; }
.lb-reading-toggle:hover { border-color:#d4a0bb; }
.lb-comfort { font-size:18px; }
.lb-comfort :is(.hero-description,.heading-copy>p:last-child,.live-empty p,.auth-panel p,.shop-empty>p:not(.eyebrow),.modal-copy) { font-size:18px; line-height:1.9; }
.lb-comfort :is(.main-nav a,.live-table,.admin-panel p,.shop-wallet p,.shop-note p) { font-size:16px; }
.lb-comfort :is(.button,.button.subtle,.hero-actions .button,.server-address .button,.inline-link,.hero-secondary) { font-size:16px; min-height:48px; }
.lb-comfort :is(.live-stat>p:last-child,.server-feed-note,.lb-overview-empty p,.rule-note,.arena-rules,.live-pagination>span,.auth-panel .auth-hint,.admin-label,.admin-message) { font-size:16px; line-height:1.85; }
.lb-comfort :is(.eyebrow,.section-heading .eyebrow,.live-table th,.control label,.lb-shortcut small,.lb-table-hint) { font-size:13px; }
.lb-comfort .live-table td { padding-top:21px; padding-bottom:21px; }
.lb-comfort .lb-shortcut strong { font-size:18px; }
.lb-comfort .arena-rules ul { grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
@media(min-width:1051px) and (max-height:820px) { .brand img.lb-logo { width:145px; height:97px; }.brand { padding-bottom:10px; }.lb-reading-toggle { margin-bottom:18px; }.sidebar-bottom { padding-top:22px; } }
@media(max-width:1250px) { .arena-rules ul { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1050px) { .lb-comfort .main-nav a { font-size:16px; }.lb-reading-toggle>span:nth-child(2) { font-size:14px; } }
@media(max-width:760px) {
  .brand img.lb-logo { width:164px; height:110px; }.survival-hero { min-height:0; gap:0; padding:30px 24px; }
  .survival-hero::after { left:24px; width:58px; }.hero-copy h1 { font-size:clamp(36px,7.7vw,52px); line-height:1.13; letter-spacing:-1.7px; }
  .hero-copy h1 em { margin-top:5px; }.hero-description { font-size:16px; line-height:1.85; }
  .hero-secondary { align-self:flex-start; }.lb-shortcut { padding:19px; }.lb-shortcut:hover { transform:none; }
  .lb-overview-heading { margin-top:28px; gap:12px; }.lb-overview-heading h2 { font-size:24px; }
  .lb-overview-empty { padding:23px; align-items:flex-start; flex-wrap:wrap; gap:15px; }
  .lb-overview-empty>div { flex:1 1 170px; }.lb-overview-empty>.button { margin-left:0; width:100%; }.lb-overview-empty p { font-size:15px; }
  .live-podium { grid-template-columns:1fr; }.lb-podium-position { font-size:70px; }
  .live-disciplines .lb-coming { flex-basis:100%; margin:0; font-size:12px; padding:7px 12px; min-height:0; }
  .leaderboard-page .live-table td:nth-child(2),.leaderboard-page .live-table th:nth-child(2) { min-width:155px; max-width:190px; }
  .leaderboard-page .live-table-scroll { max-height:580px; }.lb-table-hint { align-items:flex-start; font-size:12px; }
  .arena-rules>summary { padding:18px; font-size:14px; }.arena-rules>.lb-rank-details { padding:0 18px 20px; }
  .arena-rules ul { grid-template-columns:repeat(2,minmax(0,1fr)); }.arena-rules li { padding:13px; }.arena-rules li .arena-rank { font-size:13px; }
  .lb-comfort .live-stat { grid-template-columns:minmax(0,1fr) auto; }.lb-comfort .live-stat>p:last-child { font-size:15px; }
  .lb-comfort .live-stat>.eyebrow { font-size:12px; letter-spacing:.65px; }.lb-comfort .lb-shortcut small { font-size:14px; }
  .lb-comfort .hero-actions { align-items:stretch; flex-direction:column; }.lb-comfort .hero-secondary { align-self:stretch; justify-content:center; }
}
@media(max-width:440px) { .hero-copy h1 { font-size:36px; }.hero-actions .hero-secondary { align-self:stretch; }.lb-overview-icon { width:46px; height:46px; flex-basis:46px; }.lb-overview-empty { padding:21px; } }
@media(prefers-reduced-motion:reduce) { .lb-shortcut,.lb-reading-toggle .lb-switch::before { transition:none; }.lb-shortcut:hover { transform:none; } }
