:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #11141b;
  --panel-raised: #151922;
  --panel-hover: #1a1f2a;
  --line: rgba(255,255,255,.075);
  --line-strong: rgba(255,255,255,.12);
  --text: #f3f4f8;
  --muted: #9298a7;
  --quiet: #656c7a;
  --pink: #ff4e91;
  --pink-soft: #ff76ab;
  --purple: #a46bff;
  --blue: #59c9ff;
  --green: #7de4bd;
  --gold: #f0c979;
  --sidebar-width: 222px;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 28px 16px 18px; background: #0d0f15; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px; margin-bottom: 47px; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: white; background: linear-gradient(140deg, #ff4e91, #a851f4); border-radius: 12px; box-shadow: 0 5px 22px rgba(243,67,143,.2); }
.brand-mark svg { width: 28px; height: 28px; stroke-width: 1.5; }
.brand-mark svg path:first-child { fill: rgba(255,255,255,.13); }
.brand-name { color: #f8f8fb; font: 700 13px/1 var(--font-display); letter-spacing: .115em; }
.brand-name span { display: block; margin-top: 5px; color: #9195a4; font: 600 9px/1 var(--font-body); letter-spacing: .32em; }
.nav-label, .section-kicker, .board-label { color: #727987; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.nav-label { display: block; padding: 0 14px; margin-bottom: 12px; }
.side-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 0 13px; color: #9096a5; border-radius: 9px; font-size: 12px; font-weight: 500; transition: color .18s ease, background .18s ease; }
.nav-link svg { width: 18px; height: 18px; color: #737b8a; transition: color .18s ease; }
.nav-link:hover { color: #f0f1f5; background: rgba(255,255,255,.045); }
.nav-link:hover svg { color: #e1e2ea; }
.nav-link.active { color: #fff; background: linear-gradient(100deg, rgba(255,78,145,.2), rgba(170,85,255,.12)); box-shadow: inset 2px 0 #ff5d9c; }
.nav-link.active svg { color: #ff72aa; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom > .nav-link { margin-bottom: 20px; }
.sidebar-note { display: flex; align-items: center; gap: 8px; padding: 14px 8px 0; border-top: 1px solid var(--line); color: #6d7380; font-size: 10px; }
.status-dot, .live-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(125,228,189,.55); }
.main-column { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 38px; background: rgba(11,13,18,.92); border-bottom: 1px solid rgba(255,255,255,.055); backdrop-filter: blur(18px); }
.search-form { position: relative; display: flex; align-items: center; width: min(390px, 40vw); height: 38px; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; background: #11141a; transition: border-color .2s; }
.search-form:focus-within { border-color: rgba(168,239,97,.48); }
.search-icon { position: absolute; left: 13px; width: 16px; height: 16px; color: #747c8a; }
.search-form input { flex: 1; min-width: 0; height: 100%; padding: 0 10px 0 38px; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 11px; }
.search-form input::placeholder { color: #737987; }
.search-form button { align-self: stretch; margin: 4px; padding: 0 13px; color: #e6e7ec; background: #20242d; border: 0; border-radius: 6px; cursor: pointer; font-size: 10px; transition: background .2s; }
.search-form button:hover { background: #2a2f3b; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; transition: transform .2s, filter .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button-primary { color: white; background: linear-gradient(110deg, #ff4f92, #be54eb); box-shadow: 0 5px 18px rgba(230,65,153,.18); }
.button-primary svg, .button-ghost svg { width: 16px; height: 16px; }
.button-spark { font-size: 15px; }
.button-ghost { color: #f0edf4; border-color: rgba(255,255,255,.2); background: rgba(15,17,24,.46); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.icon-button { display: inline-grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; padding: 0; color: #9097a5; background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: color .2s, background .2s; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { color: white; background: rgba(255,255,255,.07); }
.menu-toggle { display: none; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 26px; max-width: 1600px; padding: 29px 38px 0; margin: 0 auto; }
.primary-content { min-width: 0; }
.hero { position: relative; display: flex; align-items: center; min-height: 305px; overflow: hidden; isolation: isolate; background: #211a31; border: 1px solid rgba(255,255,255,.08); border-radius: 5px 18px 5px 18px; box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; object-fit: cover; object-position: center 46%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(18,13,29,.96) 0%, rgba(24,14,39,.86) 36%, rgba(32,12,39,.22) 72%, rgba(12,14,23,.08) 100%), linear-gradient(0deg, rgba(9,10,16,.18), transparent 48%); }
.hero-copy { width: min(58%, 460px); padding: 36px 0 39px 39px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #d5c9e2; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.eyebrow-line { width: 18px; height: 1px; background: var(--pink); }
.hero h1 { margin: 17px 0 10px; font: 700 clamp(26px, 3vw, 39px)/1.08 var(--font-display); letter-spacing: -.04em; }
.hero h1 span { color: #ff79ad; }
.hero-copy > p { max-width: 335px; margin: 0; color: #c2baca; font-size: 11px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-index { position: absolute; bottom: 17px; left: 50%; display: flex; align-items: center; gap: 7px; color: #c5bacd; font: 600 8px var(--font-display); letter-spacing: .1em; }
.hero-index i { width: 23px; height: 2px; background: var(--pink); border-radius: 5px; }
.hero-orbit-label { position: absolute; right: 19px; bottom: 16px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.75); font-size: 8px; letter-spacing: .1em; }
.orbit-dot { width: 6px; height: 6px; border: 1px solid #ff80af; border-radius: 50%; }

.section-block { margin-top: 36px; scroll-margin-top: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 17px; }
.section-heading h2, .discovery-heading h2 { margin: 6px 0 0; font: 600 20px/1.15 var(--font-display); letter-spacing: -.035em; }
.heading-count { margin-left: 5px; color: #686f7d; font: 500 10px var(--font-body); letter-spacing: .04em; vertical-align: middle; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 3px; color: #f28ab2; font-size: 10px; font-weight: 600; white-space: nowrap; }
.text-link svg, .card-play svg, .subtle-button svg, .discovery-browse svg { width: 14px; height: 14px; }
.text-link:hover { color: #ffb2ce; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.game-card { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 5px 12px 5px 12px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.game-image-link { position: relative; display: block; overflow: hidden; aspect-ratio: 1.72; background: #191b29; }
.game-image-link > a { position: absolute; inset: 0; display: block; }
.game-art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game-card:hover .game-art { transform: scale(1.045); }
.image-label { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: rgba(12,14,21,.8); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: #eaeaf0; font-size: 7px; font-weight: 700; letter-spacing: .1em; backdrop-filter: blur(5px); }
.image-label .live-dot { width: 5px; height: 5px; }
.upcoming-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(8,10,15,.22), transparent 80%); pointer-events: none; }
.upcoming-label { color: #ddd6e6; background: rgba(24,19,35,.8); }
.favorite-button { position: absolute; top: 8px; right: 8px; display: grid; width: 29px; height: 29px; place-items: center; padding: 0; color: #d9d7e0; background: rgba(12,14,21,.72); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; cursor: pointer; backdrop-filter: blur(4px); transition: color .18s, background .18s, transform .18s; }
.favorite-button:hover { transform: scale(1.07); color: #ff84b4; }
.favorite-button svg { width: 14px; height: 14px; }
.favorite-button[aria-pressed="true"] { color: #ff6da7; background: rgba(255,78,145,.2); }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.disabled-favorite { color: #a29ba8; cursor: default; }
.game-card-body { padding: 13px 13px 12px; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-title-row h3 { overflow: hidden; margin: 0; font: 600 14px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.game-title-row h3 a:hover { color: #ff9bc0; }
.category-pill { flex: 0 0 auto; padding: 4px 6px; border-radius: 4px; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.category-pill.puzzle { color: #dcacff; background: rgba(164,107,255,.14); }
.category-pill.arcade { color: #80d9ff; background: rgba(89,201,255,.12); }
.category-pill.adventure { color: #f3ca87; background: rgba(240,201,121,.11); }
.game-card-body > p { min-height: 30px; margin: 8px 0 10px; color: #9399a7; font-size: 10px; line-height: 1.45; }
.game-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.card-play { display: inline-flex; align-items: center; gap: 6px; color: #f58ab5; font-size: 10px; font-weight: 700; }
.card-play:hover { color: #ffb3cf; }
.game-runtime, .coming-copy { color: #777e8d; font-size: 9px; }
.coming-copy { color: #8d7a9d; }
.empty-state { padding: 22px; color: var(--muted); text-align: center; background: var(--panel); border: 1px dashed var(--line-strong); border-radius: 9px; font-size: 12px; }

.trending-block { margin-top: 38px; }
.trending-heading { margin-bottom: 14px; }
.filter-row { display: flex; gap: 7px; margin-bottom: 15px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 29px; padding: 0 10px; color: #969dab; background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 9px; transition: background .18s, color .18s, border-color .18s; }
.filter-chip:hover { color: white; border-color: var(--line-strong); }
.filter-chip.active { color: #fff; background: rgba(255,78,145,.15); border-color: rgba(255,78,145,.36); }
.filter-chip span { color: #ff9cbe; font-size: 8px; }
.trending-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.trend-card { min-width: 0; overflow: hidden; background: #10131a; border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, transform .2s; }
.trend-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.trend-art-link { position: relative; display: block; overflow: hidden; aspect-ratio: 1.8; background: #1b1a27; }
.trend-art-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.trend-card:hover .trend-art-link img { transform: scale(1.04); }
.trend-badge { position: absolute; top: 8px; right: 8px; padding: 5px 7px; border-radius: 4px; color: white; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.new-badge { background: rgba(245,72,143,.91); }
.soon-badge { background: rgba(14,15,23,.82); border: 1px solid rgba(255,255,255,.15); color: #c9c0d1; }
.trend-info { position: relative; padding: 11px 12px 13px; }
.category-text { color: #777f8e; font-size: 7px; font-weight: 700; letter-spacing: .09em; }
.tiny-dot { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: #ff79ac; }
.trend-info h3 { margin: 6px 25px 4px 0; font: 600 13px/1.2 var(--font-display); }
.trend-info h3 a:hover { color: #ff9bc0; }
.trend-info p { margin: 0; color: #8d94a2; font-size: 9px; line-height: 1.45; }
.trend-arrow { position: absolute; right: 11px; bottom: 13px; display: grid; width: 25px; height: 25px; place-items: center; color: #fa90b8; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.trend-arrow svg { width: 13px; height: 13px; }
.trend-arrow-disabled { color: #74707c; }
.trend-card[hidden], .game-card[hidden], .trend-card.is-hidden { display: none; }

.compact-section { margin-top: 32px; }
.compact-section .section-heading { margin-bottom: 12px; }
.recent-panel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: linear-gradient(110deg, rgba(22,25,34,.9), rgba(17,20,27,.8)); border: 1px solid var(--line); border-radius: 9px; }
.recent-empty-icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; color: #d08aff; background: rgba(164,107,255,.12); border-radius: 10px; }
.recent-empty-icon svg { width: 18px; height: 18px; }
.recent-panel strong { font-size: 10px; font-weight: 600; }
.recent-panel p { margin: 5px 0 0; color: #868d9b; font-size: 9px; }
.subtle-button { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #e4d7f3; white-space: nowrap; font-size: 9px; font-weight: 600; }
.subtle-button:hover { color: #f4a3c2; }
.favorite-summary { display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 10px 13px; color: #8d94a2; background: #10131a; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.favorite-summary-star { color: #f28ab2; font-size: 18px; }
.favorite-summary a { margin-left: auto; color: #ee87b0; font-size: 9px; }
.favorite-summary-list { display: flex; flex-wrap: wrap; gap: 8px; }
.favorite-summary-item { display: inline-flex; align-items: center; gap: 7px; color: #d9dbe3; font-size: 10px; }
.favorite-summary-item img { width: 25px; height: 25px; object-fit: cover; border-radius: 5px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 24px 0 20px; margin-top: 24px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; color: #d8d9e0; font: 600 10px var(--font-display); }
.small-mark { width: 22px; height: 22px; border-radius: 7px; }
.small-mark svg { width: 18px; height: 18px; }
.site-footer nav { display: flex; gap: 15px; }
.site-footer nav a, .copyright { color: #737a88; font-size: 9px; }
.site-footer nav a:hover { color: #d7d9e1; }
.copyright { margin-left: auto; }
.game-explainer { width: min(100% - 76px, 1340px); overflow: hidden; margin: 26px auto 0; background: linear-gradient(145deg, rgba(20,22,31,.98), rgba(14,17,23,.97)); border: 1px solid rgba(164,107,255,.17); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.game-explainer-heading { padding: 23px 28px 0; }
.game-explainer-heading h2 { margin: 8px 0 7px; color: #f4eff8; font: 600 clamp(22px,3vw,28px)/1.2 var(--font-display); letter-spacing: -.035em; }
.game-explainer-heading p { max-width: 760px; margin: 0; color: #a1a5b2; font-size: 10px; line-height: 1.7; }
.seo-faq { max-width: 900px; margin-top: 25px; }
.seo-faq > h3 { margin: 0 0 10px; color: #e8e4ee; font: 600 15px/1.4 var(--font-display); }
.seo-faq details { padding: 12px 13px; border-top: 1px solid var(--line); }
.seo-faq summary { color: #e3e0e9; cursor: pointer; font-size: 10px; font-weight: 600; }
.seo-faq details p { margin: 9px 0 0; color: #9ca2b0; font-size: 10px; line-height: 1.7; }
.guides-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 19px; padding: 18px; background: linear-gradient(120deg, rgba(164,107,255,.065), rgba(255,78,145,.03)); border: 1px solid var(--line); border-radius: 9px; }
.guides-teaser h2 { margin: 7px 0 6px; font: 600 17px var(--font-display); }
.guides-teaser > div > p { margin: 0 0 11px; color: #969daa; font-size: 9px; line-height: 1.65; }
.guide-teaser-card { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 8px; background: rgba(9,11,16,.45); border: 1px solid var(--line); border-radius: 7px; transition: border-color .18s, transform .18s; }
.guide-teaser-card:hover { transform: translateY(-2px); border-color: rgba(255,126,177,.28); }
.guide-teaser-card > img { flex: 0 0 auto; width: 69px; height: 69px; object-fit: cover; border-radius: 5px; }
.guide-teaser-card > span { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.guide-teaser-card small { color: #bb92d9; font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.guide-teaser-card strong { color: #e7e3ed; font: 600 11px/1.4 var(--font-display); }
.guide-read { color: #f18ab3; font-size: 8px; font-weight: 600; }

.discovery-panel { position: sticky; top: 96px; align-self: start; overflow: hidden; padding: 0 14px 14px; background: linear-gradient(150deg, #171521, #10141b 56%); border: 1px solid rgba(164,107,255,.16); border-radius: 4px 15px 4px 15px; box-shadow: 0 16px 36px rgba(0,0,0,.17); }
.discovery-panel::before { display: block; height: 4px; margin: 0 -14px 17px; background: linear-gradient(90deg, #ff5b99, #aa78ff 52%, rgba(170,120,255,.12)); content: ""; }
.discovery-heading { display: flex; align-items: center; justify-content: space-between; }
.discovery-heading h2 { font-size: 17px; }
.discovery-intro { margin: 8px 0 13px; color: #858c99; font-size: 10px; line-height: 1.5; }
.quick-pick-list { display: flex; flex-direction: column; gap: 0; counter-reset: queue; }
.quick-pick { display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 7px 2px; border-top: 1px solid rgba(255,255,255,.075); transition: border-color .2s, background .2s, transform .2s; counter-increment: queue; }
.quick-pick::before { content: "0" counter(queue); color: #707e69; font: 600 9px var(--font-display); }
.quick-pick[href]:hover { transform: translateX(2px); background: rgba(168,239,97,.045); }
.quick-pick.is-upcoming { opacity: .76; }
.quick-thumb { flex: 0 0 auto; width: 41px; height: 41px; overflow: hidden; border-radius: 3px; }
.quick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.quick-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.quick-copy strong { overflow: hidden; color: #e9eaf0; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.quick-copy small { color: #848b98; font-size: 8px; }
.quick-copy .tiny-dot { margin-left: 0; }
.quick-arrow { width: 13px; height: 13px; color: #9299a6; }
.quick-pick:hover .quick-arrow { color: #ff88b5; }
.soon-mini { flex: 0 0 auto; padding: 4px 5px; color: #b8a0ca; background: rgba(164,107,255,.1); border-radius: 4px; font-size: 6px; font-weight: 700; letter-spacing: .06em; }
.discovery-note { padding: 11px 10px; margin-top: 11px; background: rgba(164,107,255,.055); border-left: 2px solid #a77be6; border-radius: 0 5px 5px 0; }
.discovery-note strong { color: #d8c9e7; font-size: 9px; font-weight: 600; }
.discovery-note p { margin: 5px 0 0; color: #92909d; font-size: 8px; line-height: 1.5; }
.discovery-browse { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 0; color: #dc9bb9; font-size: 9px; font-weight: 600; }
.discovery-browse svg { width: 13px; height: 13px; }
.mobile-backdrop { display: none; }

.site-dialog { width: min(420px, calc(100vw - 32px)); padding: 27px; color: var(--text); background: #161923; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 25px 100px rgba(0,0,0,.6); }
.site-dialog::backdrop { background: rgba(2,3,7,.74); backdrop-filter: blur(4px); }
.site-dialog h2 { margin: 8px 30px 12px 0; font: 600 22px var(--font-display); }
.dialog-content { color: #9da3af; font-size: 12px; line-height: 1.7; }
.dialog-close { position: absolute; top: 13px; right: 14px; width: 28px; height: 28px; color: #aeb3bd; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font-size: 23px; }
.dialog-close:hover { color: white; background: rgba(255,255,255,.07); }
.dialog-setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0 2px; color: #e4e4ea; border-top: 1px solid var(--line); }
.dialog-setting input { width: 17px; height: 17px; accent-color: var(--pink); }
.reduce-motion * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

@media (min-width: 1600px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; padding-right: 48px; padding-left: 48px; }
  .hero { min-height: 340px; }
}
@media (max-width: 1180px) {
  :root { --sidebar-width: 190px; }
  .content-grid { grid-template-columns: minmax(0,1fr) 220px; gap: 18px; padding-right: 23px; padding-left: 23px; }
  .topbar { padding: 0 23px; }
  .hero { min-height: 285px; }
  .hero-copy { padding-left: 29px; }
  .game-grid, .trending-grid { gap: 10px; }
  .game-card-body { padding: 11px 10px; }
}
@media (max-width: 980px) {
  .content-grid { grid-template-columns: minmax(0,1fr); }
  .discovery-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .discovery-heading, .discovery-intro, .quick-pick-list { grid-column: 1; }
  .discovery-note { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .discovery-browse { grid-column: 2; grid-row: 3; align-self: end; }
  .quick-pick-list { margin-bottom: 0; }
  .site-footer { margin-top: 10px; }
}
@media (max-width: 760px) {
  :root { --sidebar-width: 0px; }
  .sidebar { width: 264px; max-width: calc(100vw - 52px); transform: translateX(-102%); transition: transform .25s ease; box-shadow: 25px 0 60px rgba(0,0,0,.32); }
  .sidebar.is-open { transform: translateX(0); }
  .mobile-backdrop.is-visible { position: fixed; inset: 0; z-index: 25; display: block; background: rgba(0,0,0,.58); }
  .main-column { margin-left: 0; }
  .topbar { height: 64px; padding: 0 18px; gap: 12px; }
  .menu-toggle { display: inline-grid; }
  .search-form { width: min(350px, 48vw); margin-right: auto; }
  .topbar-actions { gap: 7px; }
  .top-play { min-height: 35px; padding: 0 10px; font-size: 9px; }
  .topbar-actions .icon-button { width: 30px; }
  .content-grid { padding: 20px 18px 0; }
  .hero { min-height: 292px; }
  .hero-copy { width: 64%; padding-left: 25px; }
  .hero h1 { font-size: clamp(27px, 5vw, 36px); }
  .game-explainer { width: calc(100% - 36px); }
  .game-explainer-heading { padding: 20px 20px 0; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 74px; }
  .topbar { padding: 0 12px; gap: 7px; }
  .search-form { width: auto; flex: 1; }
  .search-form button { padding: 0 9px; font-size: 9px; }
  .topbar-actions { gap: 3px; }
  .topbar-actions .icon-button { display: none; }
  .top-play { min-height: 34px; gap: 5px; padding: 0 9px; font-size: 8px; white-space: nowrap; }
  .content-grid { padding: 13px 13px 0; }
  .game-explainer { width: calc(100% - 26px); margin-top: 20px; }
  .game-explainer-heading { padding: 18px 15px 0; }
  .hero { min-height: 360px; align-items: end; }
  .hero-art { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,10,23,.97) 0%, rgba(20,12,30,.88) 38%, rgba(17,13,24,.12) 100%); }
  .hero-copy { width: 100%; padding: 30px 20px 45px; }
  .hero h1 { margin-top: 13px; font-size: clamp(29px, 9vw, 39px); }
  .hero-copy > p { max-width: 310px; font-size: 10px; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .button { min-height: 39px; padding: 0 12px; }
  .hero-index { left: auto; right: 18px; bottom: 14px; }
  .hero-orbit-label { display: none; }
  .section-block { margin-top: 29px; }
  .section-heading h2 { font-size: 18px; }
  .section-kicker { font-size: 8px; }
  .text-link { font-size: 9px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .game-card:last-child { grid-column: auto; }
  .game-image-link { aspect-ratio: 1.48; }
  .game-card-body { padding: 10px 9px; }
  .game-title-row { align-items: start; flex-direction: column-reverse; gap: 6px; }
  .game-title-row h3 { font-size: 13px; }
  .game-card-body > p { min-height: 30px; margin: 6px 0 8px; font-size: 9px; }
  .category-pill { padding: 3px 5px; font-size: 6px; }
  .game-card-footer { gap: 5px; }
  .card-play { gap: 3px; font-size: 9px; }
  .game-runtime, .coming-copy { font-size: 7px; text-align: right; }
  .trending-block { margin-top: 31px; }
  .trending-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .trend-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 38% 1fr; }
  .trend-card:last-child .trend-art-link { aspect-ratio: auto; min-height: 102px; }
  .trend-info { padding: 9px; }
  .trend-info h3 { font-size: 12px; }
  .trend-info p { font-size: 8px; }
  .trend-arrow { right: 8px; bottom: 8px; width: 22px; height: 22px; }
  .trend-badge { top: 5px; right: 5px; padding: 4px 5px; font-size: 6px; }
  .filter-row { margin-right: -13px; }
  .discovery-panel { display: block; padding: 0 13px 14px; }
  .discovery-panel::before { margin-right: -13px; margin-left: -13px; }
  .discovery-intro { margin: 8px 0 8px; }
  .discovery-note { margin-top: 8px; }
  .recent-panel { flex-wrap: wrap; gap: 10px; padding: 13px; }
  .recent-panel > div:nth-child(2) { flex: 1; min-width: 180px; }
  .subtle-button { margin-left: 47px; }
  .favorite-summary { flex-wrap: wrap; }
  .favorite-summary a { margin-left: auto; }
  .site-footer { gap: 12px; padding-bottom: 17px; }
  .site-footer nav { order: 3; width: 100%; }
  .guides-teaser { grid-template-columns: 1fr; gap: 13px; padding: 14px; }
  .copyright { margin-left: auto; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
