:root {
  --expanded-rail: 240px;
  --rail: var(--expanded-rail);
  --header: 64px;
  --ease: cubic-bezier(.22,1,.36,1);
  color: var(--ink);
  background: var(--canvas);
  font:400 14px/21px -apple-system,system-ui,"Segoe UI",Helvetica,Arial,"PingFang SC","Noto Sans",Roboto,"Microsoft Yahei",sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  scroll-padding-top: 80px;
}
* { box-sizing: border-box }
body,h1,h2,h3,p,ol,figure { margin: 0 }
body.compact { --rail: 72px }
body.memorial { filter: grayscale(1) }
a { color: inherit; text-decoration: none }
button, input, summary { font: inherit; color: inherit }
button, summary { cursor: pointer }
button { border: 0; background: none }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px }
button, .pill, .nav-link { transition: color .18s,background-color .18s,border-color .18s }
[hidden] { display: none !important }
.plain { background: transparent; border: 0 }
.skip { position: fixed; top: -90px; z-index: 100; background:var(--surface); padding: 12px }
.skip:focus { top: 0 }
header { position:sticky; top:0; z-index:8; height:var(--header); display:grid; grid-template-columns:182px minmax(0,1fr) 323px; align-items:center; padding:0 24px; gap:12px; background:var(--surface) }
.shell-icon { display:block; flex:none; width:22px; height:22px }
.brand,.actions,.search,.identity,.controls,.progress,.row,.nav-link { display:flex; align-items:center }
.brand { gap:12px }
.brand img { display:block; width:142px; height:42px; object-fit:contain; object-position:left center }
.round { width:36px; height:36px; border-radius:50%; display:inline-grid; place-items:center; flex:none }
#menu { width:28px; height:28px; padding:0; color:var(--ink) }
.search { justify-self:center; width:min(100%,540px); height:40px; border-radius:25px; background:var(--wash); border:1px solid var(--line); position:relative; transition:border-color .2s }
.search:hover { border-color:var(--control-line) }
.search.is-open { height:42px; border-color:var(--brand); background:var(--surface) }
.search.is-open .search-icon { display:none }
.search.is-open input { margin-left:19px }
.search-back,.search-clear,.search-submit .shell-icon:last-child { display:none }
.search-clear,.search-back { align-items:center; justify-content:center; flex:none; padding:0; width:32px; height:32px; border-radius:50% }
.search .search-clear .shell-icon { color:var(--muted) }
.search-clear:hover { background:var(--wash) }
.search.is-open input:not(:placeholder-shown)~.search-clear { display:flex }
.search input::-webkit-search-cancel-button { -webkit-appearance:none }
.search.is-open .search-submit { display:grid; margin:0 4px 0 8px; background:transparent }
.search.is-open .search-submit .shell-icon:first-child { display:none }
.search.is-open .search-submit .shell-icon:last-child { display:block; color:var(--brand-text) }
.search-icon { display:grid; place-items:center; padding:0 6px 0 12px; height:100%; cursor:text }
.search .shell-icon { width:20px; height:20px; color:var(--secondary-ink) }
.search input { flex:1; border:0; outline:0; background:transparent; height:100%; padding:0; min-width:0; font:inherit; line-height:22px }
.search input::placeholder { color:var(--hint) }
.search-submit { display:grid; place-items:center; flex:none; width:32px; height:32px; padding:0; margin:0 4px; border-radius:50%; background:var(--surface) }
.search-submit:hover .shell-icon { color:var(--brand-text) }
.search input:focus-visible { outline: none }
#search-hint { position:absolute; left:38px; right:44px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; pointer-events:none; color:var(--hint); background:var(--wash); height:22px; line-height:22px }
#search-hint span { position:absolute; inset:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
#search-hint:empty,.search.is-open #search-hint,.search:has(input[type=search]:not(:placeholder-shown)) #search-hint { display:none }
.actions { justify-content:flex-end; gap:8px; font-size: 14px; white-space: nowrap }
.pill { display:inline-flex; align-items:center; justify-content:center; height:36px; border-radius:100px; border:1px solid var(--brand); color:var(--brand-text); padding:0 14px; font-size:14px; font-weight:700; line-height:18px }
.actions .primary { border:0 }
#theme-toggle { padding:0; border:1px solid var(--line); color:var(--secondary-ink); font-size:17px }
#theme-toggle[aria-pressed=false] .fa-sun-o,#theme-toggle[aria-pressed=true] .fa-moon-o { display:none }
.account summary { max-width:145px; overflow:hidden; display:block; line-height:34px; text-overflow:ellipsis }
.primary,.pill:hover { background: var(--brand); color: var(--on-brand) }
.account { position:relative }
.account-links { position:absolute; top:44px; right:0; padding:10px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 8px 30px #20253318 }
.account-links>* { display:block; padding:8px }
.sidebar { width:var(--rail); position:fixed; top:var(--header); left:0; bottom:0; display:flex; flex-direction:column; border-right:1px solid transparent; background:var(--surface); z-index:7; transition:width .24s var(--ease); overflow:hidden }
.sidebar-scroll { flex:1; min-height:0; position:relative; padding:12px 12px 24px; overflow:auto; overscroll-behavior:contain; scrollbar-width:none }
.sidebar-scroll:hover,.sidebar-scroll:focus-within { scrollbar-width:thin; scrollbar-color:#b6bec8 transparent }
.sidebar nav { padding-bottom:20px }
.nav-link { height:40px; padding:0 14px 0 12px; gap:12px; border:1px solid transparent; border-radius:8px; white-space:nowrap; overflow:hidden; line-height:18px; color:var(--ink) }
.nav-link + .nav-link { margin-top:6px }
.nav-link span { text-overflow:ellipsis; overflow:hidden; transform:translateY(.65px) }
.nav-link .shell-icon,.nav-link img { width:26px; height:26px }
.nav-link img { flex:none; border-radius:8px; object-fit:cover }
.nav-link.current { font-weight:700 }
.nav-link:hover,.round:hover,.sidebar-buttons>*:hover { background:var(--wash) }
.nav-link.current,.sidebar-buttons .current { color:var(--brand-text); background:var(--brand-wash) }
.sidebar hr { border:0; height:1px; background:var(--line); margin:12px }
#site-footer { margin:40px 0 0; padding:0 4px; overflow-wrap:anywhere; color:var(--muted); font-size:12px; line-height:18px }
#site-footer:focus-visible { outline:2px solid var(--brand); outline-offset:2px }
#site-footer p,.footer-links { margin:0 0 10px }
.footer-links { display:flex; flex-wrap:wrap; gap:4px 10px }
#site-footer a:hover,#site-footer [aria-current] { color:var(--brand-text); text-decoration:underline }
#site-footer .healthy-play { border-top:1px solid var(--line); margin:16px 0 0; padding-top:16px }
.sidebar-tools { position:relative; flex:none; padding:16px 8px 12px 12px; background:var(--surface) }
.sidebar-tools::before { content:""; position:absolute; inset:-24px 0 100%; pointer-events:none; background:linear-gradient(transparent,var(--surface)) }
.sidebar-buttons { display:flex; gap:2px; padding:4px; border:1px solid var(--control-line); border-radius:62px }
.sidebar-buttons>* { display:flex; align-items:center; justify-content:center; height:34px; gap:4px; flex:1; padding:0 2px; border-radius:999px; color:var(--secondary-ink); white-space:nowrap; font-size:12px }
.sidebar-buttons .shell-icon { width:16px; height:16px }
.sidebar-buttons span { line-height:18px }
#tablet-rail { display:none }
:is(body.rail-icons #sidebar, #tablet-rail) :is(footer,span) { display:none }
:is(body.rail-icons #sidebar, #tablet-rail) .nav-link { justify-content:center; padding-inline:0 }
:is(body.rail-icons #sidebar, #tablet-rail) .sidebar-tools { padding:18px 16px }
:is(body.rail-icons #sidebar, #tablet-rail) .sidebar-buttons { flex-direction:column; align-items:center; gap:8px; padding:0; border:0 }
:is(body.rail-icons #sidebar, #tablet-rail) .sidebar-buttons>* { flex:none; height:38px; width:38px }
main { margin-left:var(--rail); padding:12px max(40px,calc((100% - var(--expanded-rail) - 1520px) / 2)) 28px; transition:margin-left .24s var(--ease); min-width:0 }
.stage { position:relative; width:100%; aspect-ratio:1128 / 390; overflow:hidden; touch-action:pan-y }
.slide-page { --narrow:23.00532%; --wide:51.8617%; --gap:1.06383%; position:absolute; inset:0; display:flex; gap:var(--gap); container-type:inline-size; transition:transform .3s ease-in-out }
.slide-page[data-slots="2"] { --narrow:30.29772%; --wide:68.30123%; --gap:1.40105% }
.slide-page[data-slots="1"] { --wide:100% }
.slide-page-leaving { pointer-events:none }
.slide { --cover-rgb:52,58,74; display:block; flex:none; position:relative; width:var(--narrow); overflow:hidden; border-radius:20px; background:rgb(var(--cover-rgb)); color:white; transition:width .3s ease-in-out }
.slide-page { --cover-width:51.8617cqw }
.slide-page[data-slots="2"] { --cover-width:68.30123cqw }
.slide-page[data-slots="1"] { --cover-width:100cqw }
.slide.expanded { width:var(--wide) }
.slide[hidden] { display:none }
.slide-page-reset .slide,.slide-page-reset .slide * { transition:none!important }
.slide:focus-visible { outline-offset:-4px }
.slide .poster { position:absolute; left:50%; transform:translateX(-50%); width:var(--cover-width,100%); height:100%; object-fit:cover; display:block }
.slide-shade { position:absolute; top:50%; bottom:0; left:50%; width:var(--cover-width); transform:translateX(-50%); background:linear-gradient(transparent,rgb(var(--cover-rgb))); pointer-events:none }
.slide-shade::after { content:""; position:absolute; inset:0; opacity:0; background:radial-gradient(108% 177% at 0 100%,rgba(var(--cover-rgb),.8),rgba(var(--cover-rgb),.44) 28%,transparent 52%); transition:opacity .3s ease-in-out }
.expanded .slide-shade::after { opacity:1 }
.slide::before { content:""; position:absolute; z-index:2; inset:0; border:1px solid transparent; border-radius:inherit; pointer-events:none; transition:border-color .2s }
.slide:is(:hover,:focus-visible)::before { border-color:#fff6 }
.caption { position:absolute; z-index:1; left:20px; right:20px; bottom:20px; overflow:hidden; text-shadow:0 1px 3px #0005 }
.badge { display:flex; align-items:center; justify-content:center; gap:4px; width:98px; height:32px; font-size:14px; line-height:18px; font-weight:700; background:#fff3; border-radius:99px; margin-bottom:12px; backdrop-filter:blur(8px) }
.badge i { width:9px; font-style:normal }
.slide-intro { max-height:0; opacity:0; overflow:hidden; transition:max-height .3s,margin-bottom .3s,opacity .3s }
.slide-intro p { width:min(680px,calc(var(--cover-width,100%) - 40px)); font-size:20px; line-height:28px; font-weight:700; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden }
.expanded .slide-intro { max-height:var(--intro-height,56px); margin-bottom:12px; opacity:1 }
.identity { gap:0; border-top:1px solid #fff3; padding-top:12px }
.identity img { flex:none; width:60px; height:60px; object-fit:cover; border-radius:16px }
.slide-name { margin-left:12px; min-width:0; flex:1 }
.slide-name strong,.slide-name small,.game-card p,.game-card h2,.row span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.slide-name strong { font-size:18px; line-height:26px }
.slide-name small { font-size:14px; line-height:22px; color:#fffd; margin-top:6px }
.slide-rating { flex:none; width:60px; max-width:0; margin-left:0; opacity:0; overflow:hidden; text-align:center; transition:max-width .3s ease-in-out,margin-left .3s ease-in-out,opacity .3s ease-in-out }
.expanded .slide-rating { max-width:60px; margin-left:12px; opacity:1 }
.slide-rating small,.slide-rating b { display:block; white-space:nowrap; font-weight:900 }
.slide-rating small { font-size:12px; line-height:16px }
.slide-rating b { font-size:37px; line-height:37px; font-variant-numeric:tabular-nums }
.controls { gap:8px; justify-content:center; margin:24px 0 0 }
.controls .round,.progress { background:var(--wash); color:var(--hint) }
.controls .round { font-size:18px }
.controls .round:hover,#play:hover { color:var(--ink); background:var(--line) }
.progress { gap:8px; height:36px; padding:0 8px 0 20px; border-radius:20px }
.dot { height:30px; width:5px; padding:0; position:relative; transition:width .2s }
.dot::after { content:""; display:block; height:5px; width:100%; border-radius:4px; background:#7c859066 }
.dot[aria-current=true] { width:34px }
.dot[aria-current=true]::after { background:linear-gradient(to right,#7c8590 var(--fill,0%),#7c859066 var(--fill,0%)) }
#play { position:relative; width:24px; height:24px; padding:0; margin-left:17px; font-size:11px; border-radius:50% }
#play::before { content:""; position:absolute; left:-13px; top:5px; width:1px; height:14px; background:var(--line) }
.filters { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; overflow:auto; scrollbar-width:thin }
.filters button,.secondary { flex:none; border-radius:9px; border:1px solid var(--line); background:var(--surface); padding:6px 15px; font-size:14px; font-weight:600 }
.filters button { display:flex; align-items:center; justify-content:center; gap:2px; height:34px; border-radius:10px; padding:0 16px; font-size:14px; line-height:22px; font-weight:700; color:var(--secondary-ink) }
.filters button:has(i) { width:100px; padding:0 5px }
.filters i { width:18px; text-align:center; font-size:16px }
.filter-divider { flex:none; width:10px; height:20px; background:linear-gradient(var(--line),var(--line)) center/1px 100% no-repeat }
.filters button:hover,.secondary:hover { background:var(--wash) }
.filters button[aria-pressed=true] { background:var(--brand); border-color:var(--brand); color:var(--on-brand) }
.feed { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px }
.game-card { --cover-rgb:88,108,147; --card-accent:var(--brand-text); --card-tint:0%; --card-summary:color-mix(in srgb,var(--hint),rgb(var(--cover-rgb)) var(--card-tint)); isolation:isolate; position:relative; display:block; min-width:0; color:color-mix(in srgb,var(--ink),rgb(var(--cover-rgb)) var(--card-tint)) }
.game-card::before { content:""; position:absolute; z-index:-1; pointer-events:none; inset:-12px; border-radius:28px; background:rgba(var(--cover-rgb),.15); opacity:0; transform:scale(.98); transition:opacity .2s ease,transform .2s ease }
.thumb { aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:var(--wash) }
.thumb img { display:block; width:100%; height:100%; object-fit:cover }
.card-copy { padding:12px 4px 16px }
.card-identity { display:flex; align-items:center; height:48px }
.card-icon { flex:0 0 0px; width:0; height:48px; margin-right:0; opacity:0; overflow:hidden; transform:translateX(-12px); transition:flex-basis .375s ease,width .375s ease,margin-right .375s ease,opacity .375s ease,transform .375s ease }
.card-icon img { display:block; width:100%; height:48px; object-fit:cover; border-radius:22.78% }
.card-intro { min-width:0; flex:1 }
.game-card h2 { font-size:16px; font-weight:700; line-height:19px; margin:0 }
.game-card p { margin:6px 0 0; font-size:14px; line-height:22px; color:var(--card-summary,var(--hint)) }
.card-rating { flex:none; padding-left:12px; color:var(--card-accent); text-align:right; font-variant-numeric:tabular-nums }
.card-rating small,.card-rating strong { display:block; font-weight:800 }
.card-rating small { font-size:10px; line-height:14px }
.card-rating strong { font-size:25px; line-height:24px; font-weight:900 }
.meta { display:flex; align-items:center; gap:8px; height:24px; margin-top:4px; font-weight:600; font-size:12px; color:var(--card-summary,var(--hint)) }
.meta b { color:var(--card-accent) }
.muted { color:var(--muted); font-size:14px }
.game-card:focus-visible { --card-accent:rgb(var(--cover-rgb)); --card-tint:50%; z-index:1 }
.game-card:focus-visible::before { opacity:1; transform:scale(1) }
.game-card:focus-visible .card-icon { flex-basis:48px; width:48px; margin-right:12px; opacity:1; transform:translateX(0) }
@media(hover:hover) and (pointer:fine){
  .game-card:hover { --card-accent:rgb(var(--cover-rgb)); --card-tint:50%; z-index:1 }
  .game-card:hover::before { opacity:1; transform:scale(1) }
  .game-card:hover .card-icon { flex-basis:48px; width:48px; margin-right:12px; opacity:1; transform:translateX(0) }
}
.load { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:24px 0 36px; justify-content:center; font-size:14px }
.section-title { margin:16px 0; font-size:23px }
.ranks { display:grid; align-items:start; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)) }
.panel { padding:19px 20px; border:1px solid var(--line); border-radius:16px; min-width:0 }
.ranks h2 { font-size:18px; margin-bottom:12px }
ol { list-style:none; padding:0 }
.row { gap:10px; padding:8px 2px; min-height:40px }
.row:hover { color:var(--brand-text) }
.row b { min-width:19px; font-variant-numeric:tabular-nums; color:var(--muted) }
li:nth-child(-n+3) .row b {color:var(--brand-text)}
.row img { width:32px; height:32px; border-radius:8px }
.row small { flex:none; margin-left:auto; color:var(--muted) }
.muted { margin:16px 0 24px }
dialog { color:var(--ink); background:var(--surface); max-width:min(90vw,900px); border:none; padding:10px; border-radius:14px }
dialog img { max-width:100% }
dialog::backdrop { background:#12182080 }
#promotion { width:fit-content; max-width:min(92vw,560px); max-height:92vh; padding:0; border:0; border-radius:16px; background:transparent; overflow:visible }
#promotion .promotion-panel { position:relative; display:block; width:fit-content; max-width:100%; max-height:90vh; overflow:hidden; border-radius:16px; background:var(--surface); box-shadow:0 24px 64px rgba(8,12,20,.5) }
#promotion img { display:block; width:auto; height:auto; max-width:100%; max-height:88vh; border-radius:16px }
#promotion .promotion-close { position:absolute; top:12px; right:12px; z-index:2; display:grid; place-items:center; width:48px; height:48px; margin:0; padding:0; border:2px solid rgba(255,255,255,.92); border-radius:50%; background:rgba(10,14,22,.74); color:#fff; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.38); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:background .2s ease, transform .2s ease }
#promotion .promotion-close svg { display:block; width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round }
#promotion .promotion-close:hover { background:rgba(10,14,22,.92); transform:scale(1.05) }
#promotion .promotion-close:active { transform:scale(.97) }
#promotion .promotion-close:focus-visible { outline:3px solid #fff; outline-offset:3px }
#promotion::backdrop { background:rgba(8,12,20,.66); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px) }
@keyframes promotion-in { from { opacity:0; transform:translateY(8px) scale(.985) } to { opacity:1; transform:none } }
#promotion[open] { animation:promotion-in .18s ease-out }
@media(prefers-reduced-motion:reduce){ #promotion[open] { animation:none } }
@media(max-width:640px){
  #promotion .promotion-close { top:8px; right:8px; width:44px; height:44px }
  #promotion .promotion-close svg { width:22px; height:22px }
}
@media(max-width:1279px){
  :root { --rail:72px }
  main { padding-inline:32px }
  .stage { aspect-ratio:1713 / 780 }
  .feed { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .ranks { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) }
}
.drawer-brand,.backdrop { display:none }
@media(min-width:768px) and (max-width:1279px){
  body.drawer { overflow:hidden }
  #tablet-rail { display:flex }
  #sidebar { top:0; width:var(--expanded-rail); z-index:11; transform:translateX(-100%); visibility:hidden; transition:transform .2s ease,visibility 0s .2s }
  .drawer #sidebar { transform:translateX(0); visibility:visible; transition-delay:0s }
  .backdrop { display:block; position:fixed; inset:0; z-index:10; background:rgb(0 0 0 / 40%); opacity:0; visibility:hidden; transition:opacity .2s ease,visibility 0s .2s }
  .drawer .backdrop { opacity:1; visibility:visible; transition-delay:0s }
  .drawer-brand { height:var(--header); flex:none; display:flex; align-items:center; gap:12px; padding-left:24px }
  .drawer-brand .round { width:28px; height:28px; padding:0 }
  .drawer-brand img { width:142px; height:42px; object-fit:contain; object-position:left }
  .drawer .site-services { left:var(--expanded-rail); z-index:12 }
}
@media(max-width:767px){
  :root,body.compact { --rail:0px; --header:56px }
  .drawer #sidebar { width:var(--expanded-rail); box-shadow:4px 15px 30px #19252f1a }
  .drawer .backdrop { display:block; position:fixed; inset:var(--header) 0 0 var(--expanded-rail); background:#19233028; z-index:6 }
  main { padding:8px 16px 24px }
  header { display:flex; padding:0 12px; gap:8px }
  .brand { gap:3px }
  .brand img { width:65px }
  .search { min-width:60px; width:auto; flex:1 }
  .actions { gap:4px }
  .actions .pill { min-width:0; height:32px; font-size:12px; padding:5px 8px }
  .actions>a[href="/?ct=register"] { display:none }
  #discover { display:flex; flex-direction:column }
  #discover .filter-bar { order:-1; margin:0 -16px 8px; padding:8px 0 16px; border:0 }
  #discover .filters { padding-inline:20px }
  #discover .filter-arrows { display:none }
  .carousel { margin-bottom:32px }
  .carousel .controls { display:none }
  .stage { aspect-ratio:1.2 }
  .slide .poster { height:80% }
  .slide-shade { top:40%; bottom:20% }
  .feed { grid-template-columns:minmax(0,1fr); gap:16px }
  .card-copy { padding:10px 4px 12px }
  .ranks { grid-template-columns:1fr }
}
@media(max-width:479px){
  .caption { left:12.8px; right:12.8px; bottom:12.8px }
  .badge { width:72px; height:25.6px; font-size:11.2px; line-height:14.4px; gap:1.6px; margin-bottom:8px }
  .badge i { width:7.2px }
  .slide-intro p { width:calc(var(--cover-width,100%) - 25.6px); font-size:16px; line-height:22.4px }
  .expanded .slide-intro { max-height:var(--intro-height,44.8px); margin-bottom:8px }
  .identity { padding-top:8px }
  .slide-name { margin-left:8px }
  .identity img { width:48px; height:48px; border-radius:12.8px }
  .slide-name strong { font-size:14.4px; line-height:20.8px }
  .slide-name small { margin-top:3.2px; font-size:11.2px; line-height:17.6px }
  .expanded .slide-rating { max-width:48px; margin-left:8px }
  .slide-rating small { font-size:10px; line-height:12.8px }
  .slide-rating b { font-size:29.6px; line-height:29.6px }
}
@media(max-width:359px){
  .brand img { width:48px }
  .search-icon { padding-left:6px }
  #search-hint { left:32px }
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0s!important;transition-delay:0s!important;animation-duration:0s!important;scroll-behavior:auto!important}}

.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.search-panel { position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%); width:calc(100% + 2px); min-width:min(320px,90vw); max-height:min(720px,calc(100dvh - var(--header) - 12px)); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:16px; border:1px solid var(--control-line); border-radius:16px; background:var(--surface); box-shadow:0 16px 40px rgb(0 0 0 / 12%); animation:search-open .18s var(--ease) }
@keyframes search-open { from { opacity:0 } to { opacity:1 } }
.search-title { display:flex; justify-content:space-between; align-items:center; height:20px }
.search-title strong,.search-ranks h2 { font-size:14px; line-height:18px; font-weight:800 }
.search-title button { padding:0; font-size:12px; line-height:18px; color:var(--muted) }
.search-title button::before { content:"↻"; display:inline-block; margin-right:4px }
.search-tags { display:flex; flex-wrap:wrap; gap:8px; max-height:100px; overflow:auto; margin-top:8px; scrollbar-width:thin }
.search-tags:empty,.search-list:empty { display:none }
.search-tags button { height:28px; border-radius:20px; background:var(--wash); padding:0 10px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:18px }
.search-ranks { display:flex; margin-top:20px; border-top:1px solid var(--line); padding-top:16px }
.search-ranks section { flex:1; min-width:0 }
.search-ranks section+section { border-left:1px solid var(--line); margin-left:16px; padding-left:16px }
.search-ranks ol { counter-reset:search-rank; margin-top:8px }
.search-ranks li { display:flex; align-items:center; gap:8px; counter-increment:search-rank; height:36px; font-size:14px }
.search-ranks li::before { content:counter(search-rank); min-width:18px; color:var(--muted); text-align:center; font-size:12px; font-weight:700 }
.search-ranks li:nth-child(-n+3)::before { color:var(--brand-text) }
.search-ranks a { white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.search-list { margin-top:8px; font-size:14px }
.search-list a { display:block; padding:9px 8px; border-radius:8px }
.search-list a:hover,.search-list a:focus-visible { background:var(--wash) }
.search-ranks a:hover,.search-tags button:hover { color:var(--brand-text) }


.carousel + .filter-bar { margin-top:36px }
.filter-bar { position:sticky; top:var(--header); z-index:4; display:flex; align-items:center; gap:8px; padding:8px 0; margin-bottom:24px; border-bottom:1px solid transparent; background:var(--surface) }
.filter-bar .filters {min-width:0;flex:1;margin:0;scrollbar-width:none}
.filters::-webkit-scrollbar {display:none}
.filter-arrows {display:flex;gap:8px}
.filter-arrows button {width:32px;height:32px;border:1px solid var(--line);border-radius:50%;font-size:21px;line-height:1}
.filter-arrows button:disabled {opacity:.35}
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px }
.page-heading a { color:var(--muted); font-size:14px }
.server-list .row { padding-block:12px }
.server-list .row + .row { border-top:1px solid var(--line) }

.download-short,.mobile-nav { display:none }
.download-entry { position:relative }
.download-flyout { position:absolute; top:100%; left:-72px; padding-top:10px; width:368px; z-index:1; white-space:normal }
.download-card,.services-card { background:var(--surface); border:1px solid var(--control-line) }
.download-card { display:flex; align-items:center; padding:18px 22px; height:160px; gap:24px; border-radius:20px; box-shadow:0 16px 40px rgb(0 0 0 / 12%) }
.download-card figure { text-align:center; width:96px; flex:none }
.download-card figure img { background:white; width:96px; height:96px; border:1px solid var(--line); border-radius:8px; display:block }
.download-card figcaption,.download-card small { margin-top:6px; font-size:12px; line-height:18px; color:var(--muted) }
.download-card>div { border-left:1px solid var(--line); min-height:108px; padding-left:24px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center }
.download-card strong { font-size:16px; line-height:24px }
.download-card .pill { margin-top:8px }
.site-services { position:fixed; z-index:9; left:calc(var(--rail) - 1px); bottom:12px; width:300px; max-height:calc(100vh - var(--header) - 24px); overflow:auto; border-radius:16px; box-shadow:0 12px 30px rgb(0 0 0 / 8%) }
.services-card { display:grid; grid-template-columns:1fr 1fr; gap:24px 16px; padding:20px; border-radius:16px; font-size:14px; line-height:22px }
.services-card h2 { margin:0 0 16px; font-size:14px; line-height:22px }
.services-card a { display:block; margin-top:8px; color:var(--secondary-ink) }
.services-card a:hover,.site-legal-jump:hover { color:var(--brand-text) }
.site-legal-jump { grid-column:1/-1; border-top:1px solid var(--line); padding:12px 0 0; text-align:left; color:var(--muted); font-size:12px }
@media (max-width:767px){
  :root,body.compact { --header:64px }
  header { display:grid; grid-template-columns:138px minmax(0,1fr) auto; gap:12px; padding:0 12px 0 24px; height:var(--header) }
  .brand { gap:4px }
  .brand img { width:104px; height:38px }
  .search { width:100%; min-width:0 }
  .actions .pill { height:36px; font-size:14px }
  .actions>.pill,.actions>.account,.download-long { display:none }
  .download-short { display:inline }
  .download-entry .pill { min-width:78px }
  .mobile-nav { display:flex; align-items:stretch; position:fixed; z-index:8; bottom:0; left:0; right:0; padding-bottom:env(safe-area-inset-bottom); background:var(--surface); box-shadow:0 -1px 0 var(--line) }
  .mobile-nav a { min-width:0; flex:1; height:50px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:var(--secondary-ink); font-size:10px; line-height:12px }
  .mobile-nav [aria-current] { color:var(--brand-text); font-weight:700 }
  .mobile-nav .shell-icon { width:24px; height:24px }
  .mobile-nav img { width:28px; height:28px; border-radius:50% }
  #sidebar,.drawer .backdrop { bottom:calc(50px + env(safe-area-inset-bottom)) }
  main { padding-bottom:calc(74px + env(safe-area-inset-bottom)) }
  main:has(>#discover) { padding-top:0 }
}
@media (max-width:479px){
  :root,body.compact { --header:96px }
  header { grid-template-columns:1fr auto; grid-template-rows:48px 40px; align-content:start; column-gap:8px; row-gap:0; padding:0 16px }
  .brand { flex-direction:row-reverse; justify-content:flex-end; gap:8px }
  .brand img { width:104px; height:32px }
  .actions { grid-row:1; grid-column:2 }
  .download-entry .pill { height:28px; padding:0 12px; font-size:12px }
  .search { grid-row:2; grid-column:1/-1; width:calc(100% - 8px); height:34px }
  .search-icon { padding-left:6px }
  #search-hint { left:32px; right:40px }
  .search-submit { display:grid; width:32px; height:32px; margin:0 1px }
}

@media(max-width:767px){
  header:has(.search.is-open) { z-index:12 }
  header:has(.search.is-open)>.brand,header:has(.search.is-open)>.actions { visibility:hidden }
  header:has(.search.is-open)::before { content:""; position:fixed; inset:0 0 auto; height:64px; background:var(--surface) }
  header .search.is-open { position:fixed; top:11px; left:52px; right:16px; justify-self:stretch; width:auto; height:42px; margin:0; grid-area:auto; z-index:1 }
  .search.is-open .search-back { display:flex; position:absolute; left:-37px; top:6px; width:28px; height:28px; font:26px/1 system-ui }
  .search.is-open .search-panel { position:fixed; top:64px; left:0; right:0; bottom:0; width:auto; min-width:0; max-height:none; transform:none; border:0; border-radius:0; box-shadow:none; padding:0 8px 16px; overscroll-behavior:contain }
  .search.is-open .search-title { margin-top:16px }
  body:has(.search.is-open) { overflow:hidden }
}
@media(max-width:479px){
  .search.is-open input { margin-left:13px }
  .search:not(.is-open) { isolation:isolate; border:0; background:transparent }
  .search:not(.is-open)::before { content:""; position:absolute; z-index:-1; inset:1px 46px 1px 0; background:var(--wash); border-radius:24px }
  .search:not(.is-open) .search-icon { padding-left:7px }
  .search:not(.is-open) .search-submit { margin:0 1px 0 12px; background:var(--wash) }
  .search:not(.is-open) #search-hint { left:33px; right:52px }
}

.schedule-view { max-width:840px }
main>.schedule-view { padding-top:0; margin-top:-12px }
.schedule-navigation { position:sticky; top:var(--header); background:var(--surface); z-index:3; padding-bottom:12px }
.schedule-heading,.schedule-days,.schedule-switch,.schedule-days>div { display:flex; align-items:center }
.schedule-heading { height:52px; justify-content:space-between; gap:12px }
.schedule-heading h1,.business .schedule-heading h1 { font-size:16px; line-height:24px; margin:0; position:relative }
.schedule-heading h1::after { content:""; position:absolute; height:3px; left:6px; right:6px; bottom:-8px; border-radius:4px; background:var(--brand) }
.schedule-switch,.schedule-days>div { border-radius:99px; background:var(--wash) }
.schedule-switch { padding:3px; height:34px; gap:2px }
.schedule-switch a,.schedule-days>div a { text-align:center; white-space:nowrap; padding:5px 12px; font-size:12px; line-height:18px; border-radius:100px }
.schedule-switch a { min-width:78px }
.schedule-switch [aria-current],.schedule-days [aria-current] { color:var(--brand-text); background:var(--surface); font-weight:700; box-shadow:0 1px 3px #171b211a }
.schedule-days { gap:24px; margin-top:8px }
.today-link { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; color:var(--brand-text); background:var(--brand-wash); font-weight:700 }
.schedule-days>div { min-width:0; overflow:auto; scrollbar-width:none; padding:6px; flex:1; justify-content:safe center }
.schedule-days>div a { flex:1; line-height:22px }
.schedule-group { margin-top:12px; display:grid; grid-template-columns:44px minmax(0,1fr); gap:24px; align-items:start }
.schedule-group h2 { position:sticky; top:calc(var(--header) + 124px); text-align:center; font-size:20px; line-height:28px }
.schedule-group h2 small { display:block; font-size:14px; line-height:22px }
.schedule-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px }
.schedule-cards>a { overflow:hidden; border:1px solid var(--line); border-radius:12px }
.schedule-cards>a:hover { border-color:var(--brand); color:var(--brand-text) }
.schedule-cover { width:100%; aspect-ratio:16/9; display:block; object-fit:cover }
.schedule-game { padding:12px 10px 12px 16px; display:flex; align-items:center; gap:8px }
.schedule-game>img { width:44px; height:44px; border-radius:10px }
.schedule-game h3 { font-size:18px; line-height:26px; overflow-wrap:anywhere }
.schedule-game small { color:var(--muted); font-size:12px; line-height:18px }
@media(max-width:767px){
  main>.schedule-view { margin-top:-8px }
  .schedule-days,.schedule-group { gap:12px }
  .schedule-group { grid-template-columns:36px minmax(0,1fr) }
  .schedule-cards { grid-template-columns:minmax(0,1fr); gap:12px }
}
