:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-soft: #0d111b;
  --surface: #101624;
  --surface-2: #151d2e;
  --surface-3: #1b2538;
  --text: #f4f7fb;
  --muted: #98a5bb;
  --faint: #68768d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #8fe35a;
  --accent-2: #31d0aa;
  --accent-ink: #08110a;
  --danger: #ff6b7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1440px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, rgba(143, 227, 90, 0.12), transparent 34rem),
    radial-gradient(circle at 95% 8%, rgba(49, 208, 170, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
body.player-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(8,17,10,.25);
  border-top-color: var(--accent-ink);
  border-radius: 999px;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
::selection { background: rgba(143, 227, 90, 0.35); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.84);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: 1.18rem;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #101507;
  background:
    radial-gradient(circle at 30% 25%, #f5ffd7, transparent 35%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(143, 227, 90, .2);
}
.logo-text span { color: var(--accent); }
.header-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.header-nav a,
.nav-toggle,
.icon-button {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  padding: .66rem .9rem;
  font-size: .92rem;
  font-weight: 750;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.header-nav a:hover,
.header-nav a[aria-current="page"],
.nav-toggle:hover,
.icon-button:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--line);
}
.header-search {
  flex: 1 1 290px;
  max-width: 500px;
  margin-left: auto;
  position: relative;
}
.header-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 3rem 0 1rem;
  color: var(--text);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}
.header-search input:focus { border-color: rgba(143, 227, 90, .55); box-shadow: 0 0 0 4px rgba(143,227,90,.11); }
.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
}
.nav-toggle,
.icon-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  background: transparent;
  cursor: pointer;
}

.app-shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 2rem;
}
.sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 1.3rem .3rem 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.side-title {
  margin: 1.4rem 0 .55rem;
  color: var(--faint);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.side-list { display: grid; gap: .22rem; }
.side-link {
  display: flex;
  align-items: center;
  gap: .62rem;
  min-height: 39px;
  padding: .48rem .7rem;
  border-radius: 13px;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
  transition: color .14s ease, background .14s ease;
}
.side-link:hover,
.side-link[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.055); }
.side-link .emoji { width: 24px; text-align: center; }
.side-count { margin-left: auto; color: var(--faint); font-size: .76rem; font-weight: 800; }

.main-content { min-width: 0; padding: 1.6rem 0 3.2rem; }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.8rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(120deg, rgba(143,227,90,.18), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(49,208,170,.28), transparent 20rem),
    linear-gradient(145deg, #111827, #0b101a 65%);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 31rem;
  height: 31rem;
  border-radius: 999px;
  background: rgba(143,227,90,.12);
  filter: blur(20px);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1,
.page-title h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.15rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero p,
.page-title p {
  max-width: 780px;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
  max-width: 850px;
}
.stat-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.stat-card strong { display: block; font-size: 1.35rem; line-height: 1; }
.stat-card span { display: block; margin-top: .35rem; color: var(--muted); font-size: .82rem; }

.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}
.page-title h1 { font-size: clamp(2rem, 5vw, 3.45rem); }
.page-title p { font-size: 1rem; }
.count-pill,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}
.badge.new { color: #78e8ff; border-color: rgba(120,232,255,.28); background: rgba(120,232,255,.08); }
.badge.hot { color: #ffb36a; border-color: rgba(255,179,106,.28); background: rgba(255,179,106,.08); }
.badge.free { color: var(--accent); border-color: rgba(143,227,90,.28); background: rgba(143,227,90,.08); }

.section { margin-top: 2rem; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.035em;
}
.section-head p { margin: .35rem 0 0; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 850; font-size: .92rem; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: .9rem;
}
.game-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  background: var(--surface);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143,227,90,.38);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.card-thumb {
  position: relative;
  aspect-ratio: 1 / .82;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(143,227,90,.22), transparent 45%),
    linear-gradient(145deg, #182033, #0e1421);
}
.card-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}
.game-card:hover .card-thumb > img { transform: scale(1.045); }
.card-thumb img.is-broken { opacity: 0; }
.card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -.08em;
  background: linear-gradient(145deg, rgba(143,227,90,.12), rgba(49,208,170,.08));
}
.card-icon {
  position: absolute;
  left: .65rem;
  bottom: .65rem;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-play {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}
.game-card:hover .card-play,
.game-card:focus-within .card-play { opacity: 1; transform: translateY(0); }
.card-body { padding: .72rem .78rem .82rem; }
.card-title {
  display: -webkit-box;
  min-height: 2.55em;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: .94rem;
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: -.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .48rem;
  color: var(--faint);
  font-size: .76rem;
  font-weight: 720;
}
.card-flags {
  position: absolute;
  top: .58rem;
  left: .58rem;
  display: flex;
  gap: .35rem;
}
.mini-badge {
  padding: .18rem .45rem;
  border-radius: 999px;
  color: #0a1209;
  background: var(--accent);
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mini-badge.trend { color: #170d04; background: #ffb36a; }

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .8rem;
}
.tax-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 78px;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.tax-card:hover { transform: translateY(-3px); border-color: rgba(143,227,90,.34); }
.tax-card .emoji {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.35rem;
  background: rgba(143,227,90,.12);
}
.tax-card strong { display: block; font-size: .98rem; }
.tax-card span:not(.emoji) { display: block; margin-top: .14rem; color: var(--muted); font-size: .8rem; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: 1rem 0 1.1rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255,255,255,.035);
}
.toolbar input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  color: var(--text);
  background: rgba(0,0,0,.16);
  outline: none;
}
.toolbar input:focus { border-color: rgba(143,227,90,.5); }
.toolbar .result-count { color: var(--muted); font-size: .88rem; font-weight: 750; white-space: nowrap; }
.empty-state {
  display: none;
  padding: 3rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
.empty-state.is-visible { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  font-weight: 850;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(143,227,90,.35); }
.btn.primary {
  color: var(--accent-ink);
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(143,227,90,.2);
}
.btn.ghost { background: transparent; }
.btn.danger { color: #fff; background: linear-gradient(135deg, #ff5876, #b54cff); border: 0; }
.btn svg { flex: 0 0 auto; }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--faint);
  font-size: .86rem;
  font-weight: 730;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-hidden="true"] { color: var(--line-strong); }

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 1.3rem;
  align-items: start;
}
.player-card,
.info-card,
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.025));
  overflow: hidden;
}
.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  overflow: hidden;
  background: #06080d;
}
.player-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.player-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #151d2e, #080b12);
}
.player-poster > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: blur(1px) saturate(1.12);
}
.player-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.74));
}
.poster-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: .85rem;
  padding: 1rem;
  text-align: center;
}
.poster-icon {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.25);
  border-radius: 25px;
  background: var(--surface-2);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.poster-icon img { width: 100%; height: 100%; object-fit: cover; }
.play-cta {
  min-width: 170px;
  min-height: 58px;
  font-size: 1.05rem;
}
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .8rem;
  border-top: 1px solid var(--line);
}
.player-title { min-width: 0; }
.player-title strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.player-title span { color: var(--muted); font-size: .82rem; }
.player-actions { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: end; }
.small-btn {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 36px;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.small-btn:hover { color: var(--text); border-color: var(--line-strong); }
.game-side { display: grid; gap: 1rem; }
.info-card { padding: 1.05rem; }
.info-card h2,
.info-card h3,
.related-card h2 { margin: 0 0 .8rem; font-size: 1.05rem; }
.meta-list { display: grid; gap: .68rem; }
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .68rem;
  border-bottom: 1px solid var(--line);
}
.meta-row:last-child { padding-bottom: 0; border-bottom: 0; }
.meta-row span { color: var(--faint); font-size: .82rem; }
.meta-row strong { color: var(--text); font-size: .86rem; text-align: right; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-cloud a {
  padding: .42rem .66rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font-size: .79rem;
  font-weight: 760;
}
.tag-cloud a:hover { color: var(--text); border-color: rgba(143,227,90,.35); }

.content-card {
  margin-top: 1.25rem;
  padding: clamp(1.1rem, 2.3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.032);
}
.content-card h2,
.content-card h3 { margin-top: 0; letter-spacing: -.025em; }
.content-card p { color: var(--muted); }
.content-card ul { color: var(--muted); padding-left: 1.25rem; }
.content-card li + li { margin-top: .4rem; }
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}
.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.faq details {
  border-top: 1px solid var(--line);
  padding: .9rem 0;
}
.faq summary {
  color: var(--text);
  font-weight: 820;
  cursor: pointer;
}
.faq details p { margin-bottom: 0; }

.prose {
  color: var(--muted);
  max-width: 900px;
}
.prose h2,
.prose h3 { color: var(--text); letter-spacing: -.025em; }
.prose a { color: var(--accent); }
.prose code {
  padding: .15rem .4rem;
  border-radius: 7px;
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, .6fr));
  gap: 2rem;
}
.footer-grid h3 {
  margin: 0 0 .7rem;
  color: var(--text);
  font-size: .86rem;
}
.footer-grid p,
.footer-grid a { color: var(--muted); font-size: .88rem; }
.footer-grid ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .82rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.modal.is-open { display: flex; }
.modal-card {
  width: min(100%, 540px);
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #101624;
  box-shadow: var(--shadow);
}
.modal-card h2 { margin-top: 0; }
.modal-actions { display: flex; justify-content: end; gap: .6rem; margin-top: 1rem; }

@media (min-width: 981px) {
  .game-grid.compact { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
  .game-grid.large { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 218px minmax(0, 1fr); gap: 1.3rem; }
  .game-layout { grid-template-columns: minmax(0, 1fr); }
  .game-side { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 66px; flex-wrap: wrap; padding: .55rem 0; }
  .header-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .header-search { order: 2; }
  .app-shell { display: block; }
  .sidebar {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
    padding: 0 0 1rem;
  }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner { width: min(100% - 1rem, var(--max)); gap: .55rem; }
  .logo-text { display: none; }
  .header-search { flex-basis: 190px; }
  .app-shell,
  .footer-inner { width: min(100% - 1rem, var(--max)); }
  .sidebar { grid-template-columns: 1fr; }
  .side-list { display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .35rem; }
  .side-link { flex: 0 0 auto; }
  .side-count { display: none; }
  .hero { padding: 1.4rem; border-radius: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card-thumb { aspect-ratio: 1 / .9; }
  .card-icon { width: 40px; height: 40px; border-radius: 12px; }
  .page-title { display: block; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .result-count { padding-left: .5rem; }
  .player-stage { min-height: 220px; }
  .player-bar { align-items: stretch; flex-direction: column; }
  .player-actions { justify-content: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
