/* Good Game Daily — a quiet home for very good games. */
@layer reset, base, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: dark;
    --bg: #121512;
    --panel: #1b1f1a;
    --panel-raised: #22271f;
    --text: #f1f2e9;
    --muted: #a4ab9e;
    --subtle: #7e8877;
    --lime: #c7f36b;
    --lime-hover: #d9ff8e;
    --line: #30372b;
    --radius: 16px;
    --shell: 1280px;
  }
  body { background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  ::selection { color: #121512; background: var(--lime); }
  :focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
  h1, h2, h3, h4 { font-weight: 650; line-height: 1.14; text-wrap: balance; }
  h1 { font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -2.6px; }
  h2 { font-size: 30px; letter-spacing: -1.1px; }
  h3 { font-size: 19px; letter-spacing: -.35px; }
  em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
  p { color: var(--muted); }
  small { font-size: 12px; line-height: 1.6; }
  button { color: inherit; }
  button:disabled { cursor: wait; opacity: .55; }
  input, select, textarea { width: 100%; min-width: 0; padding: 13px 15px; background: #151914; border: 1px solid #414b39; border-radius: 8px; color: var(--text); line-height: 1.5; }
  input::placeholder, textarea::placeholder { color: #909a87; opacity: 1; }
  input:focus, select:focus, textarea:focus { border-color: var(--lime); }
  select { cursor: pointer; }
  textarea { resize: vertical; min-height: 110px; }
  label { display: grid; gap: 8px; color: #dce1d5; font-size: 13px; font-weight: 500; }
  form > label + label { margin-top: 18px; }
  form > .button, form > small { margin-top: 22px; }
  form > small { display: block; color: var(--muted); }
  a, button, input, select, textarea { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
  .muted { color: var(--muted); }
  .lime { color: var(--lime); }
  .full-width { width: 100%; }
  .page-shell { width: min(var(--shell), calc(100% - 96px)); min-height: 50vh; margin: 0 auto; padding-bottom: 84px; }
  .eyebrow { display: block; color: #b8c2ac; font-size: 10px; font-weight: 650; letter-spacing: 1.65px; line-height: 1.6; }
  .live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #c7f36b12; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 650; line-height: 1.5; text-align: center; }
  .button svg { width: 18px; height: 18px; }
  .button-lime { color: #1b2411; background: var(--lime); }
  .button-lime:hover { background: var(--lime-hover); box-shadow: 0 3px 18px #bafa3910; }
  .button-outline { background: transparent; color: var(--text); border-color: #45503b; }
  .button-outline:hover { border-color: #718559; background: #c7f36b09; }
  .button-small { min-height: 39px; padding: 9px 15px; font-size: 11px; gap: 12px; }
  .text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 0; border: 0; background: transparent; color: #d2dbc8; font-size: 12px; font-weight: 550; line-height: 1.5; }
  .text-link svg { width: 17px; height: 17px; }
  .text-link:hover { color: var(--lime); }
  .icon-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #c0c8b8; }
  .icon-button:hover { color: var(--lime); background: #c7f36b0d; border-color: #c7f36b2b; }
  .save-button[aria-pressed="true"] { color: var(--lime); border-color: #c7f36b55; }
  .save-button[aria-pressed="true"] svg { fill: #c7f36b20; }
  .skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; transform: translateY(-180%); border-radius: 6px; color: #121512; background: var(--lime); }
  .skip-link:focus { transform: translateY(0); }
}

@layer components {
  /* Navigation and frame */
  .site-header { position: relative; z-index: 20; border-bottom: 1px solid #ffffff0b; background: var(--bg); }
  .header-inner { display: flex; align-items: center; width: min(var(--shell), calc(100% - 96px)); min-height: 87px; margin: 0 auto; gap: 42px; }
  .brand { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 23px; font-weight: 700; letter-spacing: -1.1px; line-height: 1; }
  .brand > span:not(.brand-symbol):not(.brand-period) { font-weight: 400; }
  .brand-symbol { display: grid; place-items: center; width: 29px; height: 29px; margin-right: 10px; border-radius: 7px; color: #1d2c13; background: var(--lime); transform: rotate(-5deg); }
  .brand-symbol svg { width: 23px; height: 23px; transform: rotate(5deg); }
  .brand-period { color: var(--lime); }
  .site-header nav { display: flex; align-self: stretch; gap: 28px; margin-left: auto; }
  .site-header nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #aab2a3; font-size: 12px; white-space: nowrap; }
  .site-header nav a:hover, .site-header nav a.active { color: var(--text); }
  .site-header nav a.active::after { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--lime); content: ""; }
  .nav-dot { width: 4px; height: 4px; margin-top: -8px; border-radius: 50%; background: var(--lime); }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .header-actions > .button { margin-left: 8px; }
  .menu-toggle { display: none; }
  .preview-bar { padding: 8px 24px; border-bottom: 1px solid #c7f36b14; color: #d5e0c6; background: #202a19; text-align: center; font-size: 9px; font-weight: 650; letter-spacing: 1px; }
  .preview-bar span { margin-left: 13px; color: #aab69f; font-size: 10px; font-weight: 400; letter-spacing: .15px; }
  .site-footer { border-top: 1px solid var(--line); background: #10130f; }
  .footer-top, .footer-bottom { width: min(var(--shell), calc(100% - 96px)); margin: 0 auto; }
  .footer-top { display: flex; justify-content: space-between; gap: 80px; padding: 58px 0 48px; }
  .footer-top .brand { font-size: 23px; }
  .footer-top p { margin-top: 20px; color: #919c87; font-size: 13px; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
  .footer-links > div { display: flex; flex-direction: column; gap: 10px; }
  .footer-links strong { margin-bottom: 7px; font-size: 12px; font-weight: 550; }
  .footer-links a { color: #a4ad9c; font-size: 12px; }
  .footer-links a:hover { color: var(--lime); }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 25px; border-top: 1px solid #ffffff09; color: #939d88; font-size: 10px; }
  .footer-bottom > span:last-child { display: flex; align-items: center; gap: 8px; }
  .footer-bottom svg { width: 13px; height: 13px; }

  /* Homepage */
  .hero { display: grid; grid-template-columns: 1fr 1.13fr; gap: 50px; padding: 58px 0 45px; }
  .hero-copy { align-self: center; padding: 15px 0; }
  .hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; color: #c7d2ba; }
  .hero h1 { margin: 23px 0 22px; font-size: clamp(42px, 4.6vw, 65px); line-height: 1.06; letter-spacing: -2.8px; }
  .hero h1 em { display: inline-block; margin-top: 5px; letter-spacing: -2.6px; }
  .hero-copy > p { max-width: 340px; font-size: 14px; line-height: 1.85; }
  .hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
  .hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 32px; font-size: 10px; line-height: 1.6; color: #97a28b; }
  .hero-proof strong { color: #c0cab5; font-weight: 400; }
  .orbit-icons { display: flex; padding-left: 5px; }
  .orbit-icons img { width: 31px; height: 31px; margin-left: -5px; object-fit: cover; border: 2px solid var(--bg); border-radius: 50%; }
  .hero-feature { position: relative; min-width: 0; min-height: 430px; overflow: hidden; isolation: isolate; border: 1px solid #fff2; border-radius: 17px; background: #2b3925; }
  .hero-art { position: absolute; inset: 0; z-index: -2; }
  .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 600ms ease; }
  .hero-feature:hover .hero-art img { transform: scale(1.025); }
  .hero-feature::after { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #07110d26 0%, transparent 30%, #0a130d73 57%, #08110ded 100%); content: ""; }
  .feature-top { position: absolute; inset: 20px 22px auto; display: flex; align-items: center; justify-content: space-between; }
  .label-glass { padding: 7px 12px; border: 1px solid #ffffff38; border-radius: 5px; color: #fff; background: #10170e68; backdrop-filter: blur(12px); font-size: 9px; letter-spacing: 1px; }
  .feature-top .save-button { color: #fff; background: #10170e70; border-color: #ffffff38; backdrop-filter: blur(12px); }
  .feature-caption { position: absolute; inset: auto 27px 24px; color: #fff; }
  .feature-caption > .eyebrow { color: #d5edbe; font-size: 9px; }
  .feature-caption h2 { max-width: 90%; margin-top: 9px; font-size: 33px; font-weight: 600; letter-spacing: -.8px; }
  .feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
  .feature-bottom > span { color: #d2ddcb; font-size: 11px; }
  .circle-arrow { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid #ffffff4d; border-radius: 50%; }
  .circle-arrow:hover { background: var(--lime); color: #16200f; border-color: var(--lime); }
  .feature-caption .store-badge { margin-top: 9px; }
  .discovery-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #9fa995; font-size: 10px; }
  .discovery-strip > span, .discovery-strip a { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
  .discovery-strip svg { width: 15px; height: 15px; }
  .discovery-strip a:hover { color: var(--lime); }
  .content-section { margin-top: 58px; }
  .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
  .section-heading h2 { margin-top: 9px; font-size: 27px; }
  .section-heading > .text-link { padding-bottom: 3px; flex-shrink: 0; font-size: 11px; }
  .section-heading .eyebrow { color: #98a58d; font-size: 9px; }
  .genre-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
  .genre-tile { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 147px; padding: 18px 10px 15px; overflow: hidden; border: 1px solid #313a2b; border-radius: 10px; background: #1a2018; }
  .genre-tile:hover { border-color: #8aa866; background: #232e1d; }
  .genre-art { display: grid; place-items: center; height: 54px; color: #c7d8b6; font-family: Georgia, serif; font-size: 38px; line-height: 1; }
  .genre-tile:nth-child(2n) .genre-art { color: #d2c3a2; }
  .genre-tile:nth-child(3n) .genre-art { color: #bcb8da; }
  .genre-tile:nth-child(4n) .genre-art { color: #9ecab6; }
  .genre-tile strong { margin-top: 8px; font-size: 12px; font-weight: 500; }
  .genre-tile small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #95a089; font-size: 9px; }
  .genre-tile small svg { width: 11px; height: 11px; }
  .split-section { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; margin-top: 66px; }
  .charts-panel { min-width: 0; }
  .charts-panel .section-heading { margin-bottom: 10px; }
  .section-intro { margin-bottom: 19px; color: #99a48d; font-size: 10px; }
  .chart-row { display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .chart-row:hover .chart-name strong { color: var(--lime); }
  .rank { min-width: 24px; color: #86917d; font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 400; }
  .chart-row .app-icon { width: 45px; height: 45px; border-radius: 10px; }
  .chart-name { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 4px; }
  .chart-name strong { overflow: hidden; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
  .chart-name small { color: #9ca58f; font-size: 10px; }
  .chart-rating .rating { font-size: 11px; }
  .chart-rating .muted { display: none; }
  .chart-row > svg { width: 15px; height: 15px; margin-left: 14px; color: #89947e; }
  .community-callout { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #3b4930; border-radius: var(--radius); background: #222b1c; }
  .community-callout > .eyebrow { font-size: 9px; color: #c0d1aa; }
  .chat-illustration { align-self: center; display: flex; flex-direction: column; align-items: flex-start; width: 92%; margin: 31px 0 36px; }
  .chat-illustration > span { padding: 9px 16px; border: 1px solid #586944; border-radius: 12px 12px 12px 2px; color: #d5e4c1; background: #344327; font-family: Georgia, serif; font-size: 20px; font-style: italic; transform: rotate(-4deg); }
  .chat-illustration > span:nth-child(2) { align-self: flex-end; margin-top: 10px; border-color: #465637; background: #1a2415; font-size: 16px; transform: rotate(4deg); }
  .chat-illustration > div { align-self: center; margin-top: 18px; color: #a9bd90; font-size: 9px; letter-spacing: .5px; }
  .community-callout h2 { font-size: 31px; line-height: 1.16; }
  .community-callout p { margin: 16px 0 22px; font-size: 12px; line-height: 1.8; color: #b3c1a4; }
  .community-callout > small { margin-top: 14px; color: #9aac89; font-size: 9px; }
  .manifesto { margin-top: 79px; padding: 56px 20px 12px; border-top: 1px solid var(--line); text-align: center; }
  .manifesto .eyebrow { color: #a6b396; font-size: 9px; }
  .manifesto h2 { margin: 20px 0 24px; font-size: 48px; letter-spacing: -1.6px; }

  /* Discovery cards and controls */
  .game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .game-grid > div { min-width: 0; }
  .game-card { height: 100%; overflow: hidden; border: 1px solid #343c2e; border-radius: 11px; background: var(--panel); transition: border-color 160ms ease, box-shadow 160ms ease; }
  .game-card:hover { border-color: #60714e; box-shadow: 0 8px 26px #0002; }
  .card-visual { position: relative; display: block; aspect-ratio: 1.6; overflow: hidden; background: #2b392a; }
  .card-visual > img, .card-visual > .image-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
  .game-card:hover .card-visual > img { transform: scale(1.035); }
  .card-visual::after { position: absolute; inset: 65% 0 0; pointer-events: none; background: linear-gradient(transparent, #0004); content: ""; }
  .tone-1 { background: #3b3028; }
  .tone-2 { background: #303249; }
  .tone-3 { background: #28383d; }
  .platform-badge, .pulse-badge { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #ffffff30; border-radius: 4px; color: #fff; background: #121b14b8; backdrop-filter: blur(10px); font-size: 9px; font-weight: 550; line-height: 1.4; }
  .platform-badge { top: 12px; left: 12px; }
  .pulse-badge { right: 12px; bottom: 12px; color: #d8f9ae; }
  .pulse-badge svg { width: 12px; height: 12px; }
  .card-content { display: flex; flex-direction: column; padding: 17px 16px 14px; }
  .card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .game-identity { display: flex; align-items: center; min-width: 0; gap: 11px; }
  .game-identity > span { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
  .app-icon { flex-shrink: 0; width: 40px; height: 40px; object-fit: cover; border: 1px solid #ffffff12; border-radius: 9px; }
  .game-identity h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: -.1px; text-wrap: initial; }
  .game-identity small { overflow: hidden; color: #9ca591; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .card-top .icon-button { width: 29px; height: 32px; padding: 5px; border-radius: 6px; }
  .card-top .icon-button svg { width: 16px; height: 16px; }
  .card-description { display: -webkit-box; min-height: 36px; margin-top: 14px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; line-height: 1.8; color: #a6af9b; }
  .tag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
  .tag { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 9px; border: 1px solid #424c38; border-radius: 5px; color: #b1bca4; background: #22291e; font-size: 9px; line-height: 1.5; font-weight: 450; }
  a.tag:hover { color: var(--lime); border-color: #788c5b; background: #2c3823; }
  .tag.selected { color: #192310; border-color: var(--lime); background: var(--lime); }
  .card-content > .tag-row { margin-top: 15px; }
  .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 13px; border-top: 1px solid #39402f; font-size: 10px; }
  .rating { display: inline-flex; align-items: center; gap: 4px; color: #e4eacb; white-space: nowrap; font-size: 12px; }
  .rating svg { width: 11px; height: 11px; color: #d7db93; }
  .rating .muted { margin-left: 2px; font-size: .85em; }
  .store-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: #dce2d4; }
  .store-badge > span:last-child { display: flex; align-items: baseline; gap: 3px; }
  .store-badge small, .store-badge strong { font-size: 9px; font-weight: 450; }
  .store-badge:hover { color: var(--lime); }
  .apple-mark { font-size: 7px; }
  .card-content > .store-badge { margin-top: 11px; opacity: .85; }
  .store-badge.large { justify-content: center; gap: 9px; min-height: 52px; padding: 9px 20px; border: 1px solid #738360; border-radius: 8px; background: #0e120c; }
  .store-badge.large > span:last-child { display: flex; align-items: flex-start; flex-direction: column; gap: 0; }
  .store-badge.large small { font-size: 9px; }
  .store-badge.large strong { font-size: 17px; font-weight: 550; line-height: 1.2; }
  .store-badge.large .apple-mark { font-size: 17px; }
  .image-placeholder { display: grid; place-items: center; background: #2c3a23; color: #b7d49a; font-size: 24px; font-weight: 700; letter-spacing: -1px; }
  .page-heading { padding: 67px 0 35px; }
  .page-heading h1 { max-width: 960px; margin-top: 17px; }
  .page-heading p { max-width: 680px; margin-top: 21px; font-size: 15px; line-height: 1.8; }
  .browse-controls { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #1a2017; }
  .search-field { position: relative; flex: 1; min-width: 0; }
  .search-field svg { position: absolute; top: 50%; left: 15px; width: 18px; height: 18px; color: #9ba68f; transform: translateY(-50%); }
  .search-field input { padding-left: 44px; background: #121810; }
  .browse-controls > .sort-control { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; white-space: nowrap; }
  .sort-control select { width: auto; min-width: 148px; font-size: 12px; }
  .browse-controls > .button { margin: 0; font-size: 12px; }
  .filter-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 23px 0; }
  .filter-chips .tag { min-height: 35px; padding: 6px 15px; border-radius: 6px; font-size: 11px; }
  .result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 29px 0 21px; color: #c8d1bf; font-size: 12px; }
  .result-heading small { color: var(--muted); font-size: 10px; }
  .result-heading a:hover { color: var(--lime); }
  .pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
  .pagination-direction { display: inline-flex; align-items: center; width: fit-content; min-height: 40px; color: #c3d0b6; font-size: 12px; }
  .pagination-direction:last-child { justify-self: end; }
  .pagination-direction:hover { color: var(--lime); }
  .pagination-direction.is-disabled { color: #7d8972; }
  .pagination-pages { display: flex; align-items: center; justify-content: center; gap: 7px; }
  .pagination-number { display: inline-grid; place-items: center; min-width: 38px; min-height: 40px; padding: 7px; border: 1px solid #3d4a31; border-radius: 6px; color: #bac9ac; background: #1c2616; font-size: 12px; font-variant-numeric: tabular-nums; }
  a.pagination-number:hover { color: var(--lime); border-color: #88a367; background: #28371d; }
  .pagination-number.selected { color: #1c2b10; border-color: var(--lime); background: var(--lime); font-weight: 600; }
  .pagination-gap { min-width: 17px; color: #98a88a; font-size: 13px; text-align: center; }
  .pagination-position { color: #a9b69a; font-size: 11px; text-align: center; white-space: nowrap; }

  /* Game detail and media */
  .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 30px 0; font-size: 11px; color: #99a58c; }
  .breadcrumbs a:hover { color: var(--lime); }
  .breadcrumbs > span:last-child { color: #cad2bf; }
  .game-detail-head { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
  .detail-icon { flex-shrink: 0; width: 118px; height: 118px; object-fit: cover; border: 1px solid #ffffff1a; border-radius: 25px; }
  .game-detail-head > div:nth-child(2) { flex: 1; min-width: 0; }
  .game-detail-head h1 { margin: 10px 0 9px; font-size: 42px; line-height: 1.14; letter-spacing: -1.6px; overflow-wrap: anywhere; }
  .game-detail-head p { font-size: 12px; }
  .game-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 15px; color: #c0cbb5; font-size: 11px; }
  .status-pill { padding: 3px 8px; border: 1px solid #465d32; border-radius: 4px; color: #bbdc98; background: #25361c; font-size: 9px; }
  .detail-actions { display: flex; flex-shrink: 0; flex-direction: column; align-items: stretch; gap: 10px; min-width: 175px; }
  .detail-actions .store-badge { width: 100%; }
  .detail-actions .button { min-height: 41px; font-size: 11px; }
  .detail-summary { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin: 30px 0 43px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .detail-summary p { max-width: 800px; font-size: 13px; }
  .detail-summary > span { display: flex; align-items: center; flex-shrink: 0; gap: 7px; color: #aab89c; font-size: 10px; }
  .detail-summary svg { width: 16px; height: 16px; }
  .screenshot-gallery { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #586748 #1b2117; padding-bottom: 14px; }
  .screenshot { position: relative; flex: 0 0 auto; max-width: min(80vw, 570px); height: 295px; padding: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid #4b5741; border-radius: 12px; background: #20291b; }
  .screenshot > img { width: auto; height: 100%; object-fit: contain; }
  .screenshot > span { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #ffffff70; border-radius: 50%; color: white; background: #0a120bb0; font-size: 17px; }
  .screenshot:hover { border-color: var(--lime); }
  .footnote { margin-top: 15px; color: #99a58d; font-size: 10px; line-height: 1.8; }
  .footnote a { color: #bfccaF; text-decoration: underline; text-underline-offset: 3px; }
  .footnote .store-badge { margin-left: 9px; }
  .detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; margin-top: 50px; }
  .detail-section + .detail-section { margin-top: 40px; }
  .detail-section h2 { margin-bottom: 20px; font-size: 27px; }
  .description-copy p { margin: 0 0 18px; color: #b7c1ac; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
  .fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .fact-grid > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .fact-grid dt { color: #939f86; font-size: 10px; }
  .fact-grid dd { margin-top: 4px; font-size: 12px; overflow-wrap: anywhere; }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { position: relative; padding: 18px 28px 18px 0; color: #e0e6d8; cursor: pointer; font-size: 13px; list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { position: absolute; top: 18px; right: 5px; color: var(--lime); content: "+"; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { padding-bottom: 20px; font-size: 12px; line-height: 1.8; }
  .faq details a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
  .signal-panel { padding: 25px; border: 1px solid #3a452f; border-radius: 12px; background: #1d2518; }
  .signal-panel + .signal-panel { margin-top: 20px; }
  .signal-panel .eyebrow { color: #b5c5a3; font-size: 8px; }
  .signal-panel h2, .signal-panel h3 { margin: 11px 0 16px; font-size: 26px; line-height: 1.17; }
  .signal-panel p { margin-bottom: 20px; color: #b2bfa6; font-size: 12px; line-height: 1.8; }
  .signal-panel small { color: #9fae92; font-size: 10px; }
  .signal-panel > .text-link { margin-top: 20px; font-size: 11px; }
  .big-score { margin: 23px 0 8px; color: var(--lime); font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -3px; }
  .big-score small { margin-left: 6px; color: #9fb08b; font-size: 18px; letter-spacing: 0; }
  .pending-signal { margin: 28px 0 16px; color: #a3bc8d; font-size: 38px; line-height: 1; }
  .pending-signal small { margin-left: 4px; font-size: 11px; }
  .source-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid #3a472e; color: #a9b79b; font-size: 10px; }
  .source-row strong { color: #e0eacc; font-size: 11px; font-weight: 500; white-space: nowrap; }
  .source-row + small { display: block; margin-top: 14px; }
  .evidence-link { display: inline-block; margin: 0 9px 10px 0; color: #c1d4a9; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }

  /* Charts and release calendar */
  .tabs { display: flex; align-items: center; gap: 30px; margin: 12px 0 27px; border-bottom: 1px solid var(--line); }
  .tabs > a { position: relative; padding: 15px 0; font-size: 13px; color: #a4b196; }
  .tabs > a.selected { color: var(--lime); }
  .tabs > a.selected::after { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--lime); content: ""; }
  .tabs > .text-link { margin-left: auto; font-size: 11px; }
  .info-banner { margin: 20px 0 28px; padding: 18px 22px; border: 1px solid #3f4e31; border-left: 3px solid #91ad67; border-radius: 0 8px 8px 0; color: #bdc9ad; background: #20291a; font-size: 12px; line-height: 1.8; }
  .rank-table { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
  .rank-table-head, .rank-table-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 180px 155px; align-items: center; gap: 18px; padding: 18px 24px; }
  .rank-table-head { background: #1d2518; color: #a8b49b; font-size: 9px; letter-spacing: 1.1px; }
  .rank-table-row { min-height: 92px; border-top: 1px solid var(--line); color: #c4cfb8; font-size: 12px; }
  .rank-table-row:hover { background: #20291b; }
  .rank-table-row .app-icon { width: 48px; height: 48px; border-radius: 11px; }
  .rank-table-row .game-identity strong { color: var(--text); font-size: 14px; font-weight: 550; }
  .rank-table-row .game-identity small { font-size: 10px; }
  .rank-table-row .lime { font-size: 22px; }
  .source-coverage { display: block; color: #9dad8e; font-size: 9px; }
  .upcoming-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 40px; align-items: center; gap: 27px; padding: 28px; border-bottom: 1px solid var(--line); }
  .upcoming-row:first-child { border-top: 1px solid var(--line); }
  .release-date { display: flex; flex-direction: column; align-items: center; padding: 19px 12px; border: 1px solid #465837; border-radius: 8px; background: #202d18; color: #aebfa0; font-size: 10px; line-height: 1.5; }
  .release-date > span { color: var(--lime); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
  .release-date > strong { margin: 3px 0; color: #eff5e5; font-size: 31px; font-weight: 500; }
  .upcoming-row h2 { margin: 11px 0 12px; font-size: 25px; }
  .upcoming-row p { max-width: 680px; margin-bottom: 13px; font-size: 12px; }
  .upcoming-row h2 a:hover { color: var(--lime); }
  .upcoming-row small { display: inline-block; margin-left: 20px; color: #a0ae94; font-size: 10px; }
  .explainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 55px; }
  .explainer-grid article { padding: 26px; border-top: 1px solid #516240; }
  .explainer-grid article > span { color: #a8be8d; font-size: 12px; }
  .explainer-grid h3 { margin: 20px 0 13px; font-size: 20px; }
  .explainer-grid p { font-size: 12px; line-height: 1.8; }
  .empty-state { display: flex; flex-direction: column; align-items: center; padding: 62px 26px; border: 1px dashed #3d4a31; border-radius: 12px; background: #181e15; text-align: center; }
  .empty-icon { display: grid; place-items: center; width: 53px; height: 53px; margin-bottom: 20px; border: 1px solid #4a5f35; border-radius: 50%; color: #b5d391; background: #26371c; }
  .empty-icon svg { width: 25px; height: 25px; }
  .empty-state h3 { max-width: 470px; font-size: 24px; }
  .empty-state p { max-width: 490px; margin: 14px 0 0; font-size: 13px; line-height: 1.85; }
  .empty-state .button { margin-top: 26px; }
  .rank-table + .empty-state { margin-top: 18px; }

  /* Conversations */
  .community-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .community-heading > .button { flex-shrink: 0; }
  .community-filter-context { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 0; }
  .community-filter-context strong { color: #e0eace; font-weight: 550; }
  .community-filter-context .text-link { flex-shrink: 0; font-size: 11px; }
  .community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; }
  .community-layout .filter-chips { margin-top: 0; }
  .community-sidebar { padding-top: 0; }
  .community-sidebar .signal-panel h3 { font-size: 29px; }
  .community-sidebar .signal-panel + .signal-panel h3 { font-size: 23px; }
  .thread-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 50px; align-items: start; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
  .thread-row h3 { margin-top: 12px; font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; text-wrap: initial; }
  .thread-row h3 a:hover { color: var(--lime); }
  .thread-row p { margin-top: 9px; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
  .thread-row .tag-row > small { margin-left: 3px; color: #99a88b; font-size: 10px; }
  .vote-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 37px; min-height: 58px; padding: 6px; border: 1px solid #415132; border-radius: 6px; color: #b3c49f; background: #212c19; font-size: 15px; line-height: 1.3; }
  .vote-button span { font-size: 11px; }
  .vote-button:hover, .vote-button[aria-pressed="true"] { color: var(--lime); border-color: var(--lime); }
  .thread-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 15px; color: #9da991; font-size: 10px; }
  .avatar-letter { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #d0e4b7; background: #354929; font-size: 9px; font-weight: 500; text-transform: uppercase; }
  .reply-count { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 26px; color: #c1cdb5; font-size: 12px; }
  .reply-count svg { width: 16px; height: 16px; }
  .reply-count span { display: block; width: 100%; color: #8f9d82; font-size: 9px; text-align: center; }
  .discussion-detail { max-width: 850px; margin: 46px auto 0; }
  .discussion-detail > h1 { margin-top: 20px; font-size: 43px; line-height: 1.17; letter-spacing: -1.5px; overflow-wrap: anywhere; }
  .discussion-detail > .thread-meta { margin-top: 22px; }
  .discussion-body { margin: 32px 0; color: #c8d1bd; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
  .discussion-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .reply-section { margin-top: 40px; }
  .reply-section > h2 { margin-bottom: 22px; font-size: 25px; }
  .reply-section { scroll-margin-top: 28px; }
  .reply-heading { margin: 0 0 22px; }
  .reply-heading h2 { font-size: 25px; }
  .reply-heading > span { color: #9dac8e; font-size: 11px; }
  .reply { position: relative; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .reply > strong { font-size: 13px; font-weight: 550; }
  .reply > time { margin-left: 12px; color: #98a58b; font-size: 10px; }
  .reply > p { margin-top: 12px; color: #bdc8b1; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
  .reply > .text-link { margin-top: 12px; font-size: 10px; }
  #reply-form { margin-top: 32px; }
  #my-topics { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
  #my-topics h2 { margin-bottom: 15px; font-size: 22px; }
  #my-topic-list > article, #my-topic-list > div { margin-top: 12px; padding: 16px 18px; border: 1px solid #3e4c32; border-radius: 8px; background: #1e2818; }

  /* Documentation and moderation */
  .prose { max-width: 790px; margin: 66px auto 0; }
  .prose h1 { margin: 18px 0 24px; font-size: 50px; }
  .prose .lead { padding-bottom: 32px; border-bottom: 1px solid var(--line); color: #c5d0b9; font-size: 18px; line-height: 1.7; }
  .prose h2 { margin: 36px 0 16px; font-size: 26px; }
  .prose h3 { margin: 28px 0 12px; }
  .prose p { margin-bottom: 18px; color: #b5c1a8; font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
  .prose p strong { color: #e0e9d6; font-weight: 550; }
  .prose p a, .prose li a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
  .prose li { margin: 10px 0; color: #b5c1a8; }
  .sources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .sources-grid .signal-panel { margin: 0; padding: 30px; }
  .sources-grid .signal-panel h2 { font-size: 26px; }
  .sources-grid .signal-panel p { font-size: 13px; }
  .table-title { margin: 42px 0 20px; font-size: 26px; }
  .source-log { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .source-log > div { display: grid; grid-template-columns: minmax(0, 1fr) 70px 130px 130px; gap: 20px; padding: 18px 23px; border-bottom: 1px solid var(--line); color: #a8b69a; font-size: 12px; }
  .source-log > div:last-child { border: 0; }
  .source-log > div > strong { color: #d5dfca; font-weight: 500; }
  .source-log > p { padding: 24px; font-size: 13px; }
  .error-page { padding: 110px 0 100px; text-align: center; }
  .error-page h1, .error-page p { margin-left: auto; margin-right: auto; }
  .error-page > .button { margin-top: 30px; }
  #admin-status { min-height: 24px; margin: 20px 0; font-size: 13px; }
  #load-admin { margin-left: 10px; }
  #admin-queue > article, #admin-queue > section, #admin-queue > div { margin: 16px 0; padding: 25px; border: 1px solid #485b37; border-radius: 10px; background: #202b19; }
  #admin-queue h2 { margin-bottom: 15px; font-size: 25px; }
  #admin-queue h3 { margin-bottom: 12px; font-size: 20px; }
  #admin-queue p { margin: 10px 0 16px; font-size: 13px; overflow-wrap: anywhere; }
  #admin-queue .button { margin: 6px 8px 6px 0; }
  #upcoming-form { padding: 25px; border: 1px solid #3e4e31; border-radius: 12px; background: #1d2717; }

  /* Dialogs and feedback */
  dialog { color: var(--text); }
  dialog::backdrop { background: #020701c9; backdrop-filter: blur(5px); }
  .modal { position: fixed; width: min(510px, calc(100% - 36px)); max-height: calc(100dvh - 50px); margin: auto; padding: 42px; overflow-y: auto; border: 1px solid #52613f; border-radius: 16px; background: #1e2818; box-shadow: 0 28px 110px #0007; }
  .modal-close { position: absolute; top: 14px; right: 14px; }
  .modal-symbol { display: grid; place-items: center; width: 51px; height: 51px; margin-bottom: 25px; border: 1px solid #6f8750; border-radius: 11px; color: var(--lime); background: #354826; transform: rotate(-5deg); }
  .modal-symbol svg { width: 31px; height: 31px; }
  .modal > .eyebrow { font-size: 8px; }
  .modal h2 { margin: 17px 0 18px; font-size: 38px; letter-spacing: -1.2px; }
  .modal > p { margin-bottom: 26px; font-size: 13px; line-height: 1.85; }
  .modal > small { display: block; margin-top: 15px; color: #acb99e; font-size: 10px; }
  .modal > small a { text-decoration: underline; text-underline-offset: 3px; }
  .modal > .text-link { margin-top: 17px; }
  .modal .form-status { margin: 12px 0 0; }
  .compose-modal { width: min(610px, calc(100% - 36px)); padding-top: 42px; }
  .compose-modal h2 { font-size: 32px; }
  .form-status { min-height: 0; margin-top: 13px; color: #d5e4c0; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
  .form-status:empty { display: none; }
  .form-status.error, .error { color: #f2bcb0; }
  .form-status.success { color: var(--lime); }
  .lightbox { position: fixed; width: fit-content; max-width: calc(100% - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 24px; border: 1px solid #4b5d38; border-radius: 12px; background: #141d10; box-shadow: 0 30px 100px #0008; }
  .lightbox > .icon-button { position: absolute; top: 8px; right: 8px; z-index: 2; border: 1px solid #a6bd8180; color: white; background: #10180de0; }
  .lightbox > img { width: auto; max-width: 100%; max-height: calc(100dvh - 140px); margin: 0 auto; object-fit: contain; border-radius: 5px; }
  .lightbox > p { margin-top: 12px; color: #b8c7a6; font-size: 11px; text-align: center; }
  .toast { position: fixed; z-index: 200; bottom: 28px; left: 50%; width: max-content; max-width: calc(100% - 36px); padding: 13px 20px; border: 1px solid #6b8550; border-radius: 9px; color: #edf9df; background: #2b3c20; box-shadow: 0 9px 40px #0006; font-size: 13px; text-align: center; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
  .toast.show, .toast.visible, .toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }
}

@layer responsive {
  @media (min-width: 1600px) {
    .hero { gap: 70px; }
    .hero-feature { min-height: 455px; }
  }
  @media (max-width: 1180px) {
    .page-shell, .header-inner, .footer-top, .footer-bottom { width: calc(100% - 64px); }
    .header-inner { gap: 22px; }
    .site-header nav { gap: 20px; }
    .header-actions { gap: 3px; }
    .header-actions .saved-nav { display: none; }
    .hero { gap: 30px; grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 53px; }
    .hero-feature { min-height: 414px; }
    .hero-buttons { gap: 15px; }
    .hero-buttons .button { padding: 12px 16px; }
    .hero-buttons .text-link { font-size: 11px; }
    .game-grid { gap: 14px; }
    .card-content { padding: 14px 12px; }
    .card-top .app-icon { width: 33px; height: 33px; border-radius: 8px; }
    .card-top .game-identity { gap: 8px; }
    .card-top .game-identity h3 { font-size: 12px; }
    .card-top .icon-button { width: 24px; }
    .genre-strip { gap: 9px; }
    .genre-tile { padding-left: 6px; padding-right: 6px; }
    .split-section { gap: 25px; }
    .community-callout { padding: 26px; }
    .footer-links { gap: 40px; }
    .detail-columns { grid-template-columns: minmax(0, 1fr) 290px; gap: 35px; }
    .detail-summary { align-items: flex-start; }
    .detail-summary > span { max-width: 180px; flex-shrink: 1; }
    .rank-table-head, .rank-table-row { grid-template-columns: 50px minmax(0, 1fr) 150px 125px; }
  }
  @media (max-width: 960px) {
    .header-inner { min-height: 75px; gap: 25px; }
    .header-actions > .button { display: none; }
    .site-header nav { margin-left: auto; gap: 24px; }
    .header-actions .saved-nav { display: inline-flex; }
    .hero { grid-template-columns: .95fr 1fr; gap: 25px; padding-top: 44px; }
    .hero h1 { font-size: 46px; letter-spacing: -2px; }
    .hero h1 em { letter-spacing: -2px; }
    .hero-copy > p { font-size: 13px; }
    .hero-feature { min-height: 405px; }
    .hero-buttons { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 23px; }
    .hero-proof { margin-top: 23px; }
    .feature-caption { left: 22px; right: 22px; }
    .feature-caption h2 { font-size: 28px; }
    .feature-top { left: 16px; right: 16px; }
    .genre-strip { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .genre-tile { min-height: 128px; padding: 13px 10px; }
    .genre-art { height: 43px; font-size: 31px; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
    .card-content { padding: 18px; }
    .card-top .app-icon { width: 43px; height: 43px; border-radius: 10px; }
    .card-top .game-identity { gap: 12px; }
    .card-top .game-identity h3 { font-size: 14px; }
    .card-top .game-identity small { font-size: 10px; }
    .card-top .icon-button { width: 35px; }
    .card-description { font-size: 12px; min-height: 43px; }
    .card-bottom { font-size: 12px; }
    .tag { font-size: 10px; }
    .split-section { grid-template-columns: 1.25fr 1fr; gap: 25px; }
    .split-section .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .section-heading h2 { font-size: 24px; }
    .chart-row { gap: 10px; }
    .chart-rating { display: none; }
    .chart-row > svg { margin-left: 0; }
    .community-callout h2 { font-size: 27px; }
    .community-callout { padding: 24px; }
    .chat-illustration { width: 100%; margin: 36px 0; }
    .chat-illustration > span { font-size: 17px; }
    .chat-illustration > span:nth-child(2) { font-size: 13px; }
    .footer-top { gap: 40px; }
    .footer-links { gap: 25px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
    .browse-controls { flex-wrap: wrap; }
    .search-field { flex-basis: 100%; }
    .browse-controls > .sort-control { flex: 1; }
    .sort-control select { flex: 1; }
    .game-detail-head { flex-wrap: wrap; gap: 23px; }
    .game-detail-head h1 { font-size: 34px; }
    .detail-icon { width: 95px; height: 95px; border-radius: 20px; }
    .detail-actions { flex-direction: row; width: 100%; gap: 14px; }
    .detail-actions .store-badge { width: auto; min-width: 175px; }
    .detail-actions .button { min-width: 175px; }
    .detail-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 25px; }
    .signal-panel { padding: 22px; }
    .community-layout { grid-template-columns: minmax(0, 1fr); }
    .community-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
    .community-sidebar .signal-panel + .signal-panel { margin: 0; }
    .community-heading { align-items: flex-start; flex-direction: column; }
    .rank-table-head, .rank-table-row { grid-template-columns: 40px minmax(0, 1fr) 130px 100px; gap: 14px; padding-left: 17px; padding-right: 17px; }
    .rank-table-row .rating .muted { display: none; }
    .source-log > div { grid-template-columns: minmax(0, 1fr) 40px 100px 110px; gap: 14px; }
  }
  @media (max-width: 700px) {
    .page-shell, .header-inner, .footer-top, .footer-bottom { width: calc(100% - 40px); }
    .page-shell { padding-bottom: 56px; }
    h1 { letter-spacing: -1.6px; }
    .header-inner { min-height: 72px; justify-content: space-between; gap: 16px; }
    .brand { font-size: 21px; }
    .brand-symbol { width: 28px; height: 28px; }
    .header-actions { gap: 2px; }
    .header-actions .saved-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid #51603f; background: #1b2516; box-shadow: 0 20px 40px #0005; }
    .site-header nav a { min-height: 47px; padding: 10px 12px; border-radius: 5px; font-size: 14px; }
    .site-header nav a.active { color: var(--lime); background: #2a391f; }
    .site-header nav a.active::after { display: none; }
    .site-header.menu-open nav, .site-header:has(.menu-toggle[aria-expanded="true"]) nav { display: flex; }
    .preview-bar { padding: 8px 20px; font-size: 8px; text-align: left; }
    .preview-bar span { display: block; margin: 3px 0 0; font-size: 9px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 38px 0 29px; }
    .hero-copy { padding: 0; }
    .hero h1 { margin-top: 20px; font-size: clamp(46px, 8.3vw, 58px); line-height: 1.08; letter-spacing: -2px; }
    .hero-copy > p { max-width: 370px; font-size: 14px; }
    .hero-buttons { flex-direction: row; align-items: center; gap: 22px; margin-top: 26px; }
    .hero-proof { margin-top: 23px; }
    .hero-feature { min-height: 350px; }
    .feature-caption { bottom: 24px; }
    .feature-caption h2 { font-size: 31px; }
    .discovery-strip { align-items: flex-start; flex-direction: column; gap: 10px; padding: 15px 0; font-size: 9px; }
    .discovery-strip .muted { display: none; }
    .content-section { margin-top: 43px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 20px; }
    .section-heading h2 { margin-top: 8px; font-size: 25px; }
    .section-heading > .text-link { font-size: 11px; }
    .genre-strip { gap: 9px; }
    .genre-tile { min-height: 119px; padding: 13px 6px; }
    .genre-tile strong { font-size: 10px; }
    .genre-tile small { font-size: 8px; gap: 3px; }
    .genre-art { height: 37px; font-size: 29px; }
    .game-grid { gap: 15px; }
    .card-content { padding: 13px; }
    .card-top { gap: 4px; align-items: flex-start; }
    .card-top .game-identity { align-items: flex-start; gap: 7px; }
    .card-top .app-icon { display: none; }
    .card-top .game-identity h3 { font-size: 13px; }
    .card-top .game-identity small { font-size: 9px; }
    .card-top .icon-button { width: 25px; height: 30px; margin-top: -4px; }
    .card-top .icon-button svg { width: 15px; height: 15px; }
    .card-description { min-height: 39px; margin-top: 11px; font-size: 11px; }
    .card-content > .tag-row { gap: 4px; margin-top: 11px; }
    .card-content .tag { min-height: 23px; padding: 3px 6px; font-size: 8px; }
    .card-bottom { margin-top: 14px; padding-top: 11px; font-size: 10px; }
    .card-bottom .rating { font-size: 10px; }
    .card-bottom .rating .muted { display: none; }
    .card-content > .store-badge { margin-top: 9px; }
    .platform-badge { top: 8px; left: 8px; padding: 3px 6px; font-size: 8px; }
    .pulse-badge { right: 8px; bottom: 8px; padding: 3px 6px; font-size: 8px; }
    .split-section { grid-template-columns: minmax(0, 1fr); gap: 35px; margin-top: 45px; }
    .split-section .section-heading { flex-direction: row; align-items: flex-end; }
    .chart-rating { display: inline; }
    .chart-row { gap: 14px; }
    .community-callout { padding: 29px; }
    .chat-illustration { max-width: 340px; margin: 30px auto 35px; }
    .chat-illustration > span { font-size: 21px; }
    .chat-illustration > span:nth-child(2) { font-size: 16px; }
    .community-callout h2 { font-size: 33px; }
    .community-callout p { font-size: 13px; }
    .manifesto { margin-top: 50px; padding: 44px 0 3px; }
    .manifesto h2 { font-size: 39px; }
    .footer-top { flex-direction: column; gap: 36px; padding: 40px 0 32px; }
    .footer-links { gap: 25px; }
    .footer-links strong { font-size: 11px; }
    .footer-links a { font-size: 10px; }
    .footer-bottom { padding: 20px 0; font-size: 9px; }
    .footer-bottom > span:last-child { gap: 6px; line-height: 1.8; }
    .page-heading { padding: 43px 0 28px; }
    .page-heading h1 { font-size: 40px; margin-top: 15px; letter-spacing: -1.6px; }
    .page-heading p { margin-top: 18px; font-size: 13px; }
    .browse-controls { gap: 12px; padding: 12px; }
    .search-field input { font-size: 12px; }
    .browse-controls > .sort-control { font-size: 10px; gap: 8px; }
    .sort-control select { width: 125px; min-width: 0; font-size: 11px; }
    .browse-controls > .button { min-height: 43px; padding: 10px 13px; font-size: 11px; }
    .filter-chips { gap: 7px; margin: 20px 0; }
    .filter-chips .tag { min-height: 33px; padding: 6px 12px; font-size: 10px; }
    .result-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin: 24px 0 18px; font-size: 11px; }
    .result-heading small { font-size: 9px; }
    .pagination { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 28px; padding-top: 20px; }
    .pagination-pages { grid-column: 1 / -1; grid-row: 1; gap: 6px; }
    .pagination-direction { font-size: 11px; }
    .pagination-number { min-width: 35px; min-height: 38px; font-size: 11px; }
    .pagination-gap { min-width: 15px; }
    .cursor-pagination .pagination-position { grid-column: 1 / -1; grid-row: 1; }
    .breadcrumbs { gap: 7px; margin: 22px 0; font-size: 10px; }
    .game-detail-head { align-items: flex-start; gap: 18px; margin-top: 28px; }
    .detail-icon { width: 75px; height: 75px; border-radius: 16px; }
    .game-detail-head h1 { margin: 10px 0 10px; font-size: 29px; letter-spacing: -.9px; }
    .game-detail-head p { font-size: 11px; }
    .game-detail-head .tag { min-height: 21px; padding: 2px 6px; font-size: 8px; }
    .game-meta { gap: 11px; margin-top: 13px; font-size: 10px; }
    .game-meta .rating { font-size: 11px; }
    .game-meta .rating .muted { display: none; }
    .detail-actions { gap: 12px; margin-top: 8px; }
    .detail-actions .store-badge, .detail-actions .button { flex: 1; min-width: 0; }
    .detail-actions .store-badge { padding: 9px 12px; }
    .detail-summary { align-items: flex-start; flex-direction: column; gap: 15px; margin: 25px 0 33px; padding: 20px 0; }
    .detail-summary p { font-size: 12px; }
    .detail-summary > span { max-width: 100%; }
    .screenshot-gallery { gap: 12px; }
    .screenshot { height: 245px; max-width: 85vw; border-radius: 9px; }
    .detail-columns { grid-template-columns: minmax(0, 1fr); gap: 35px; margin-top: 37px; }
    .detail-columns > aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
    .detail-columns > aside .signal-panel + .signal-panel { margin: 0; }
    .detail-columns .signal-panel { padding: 20px; }
    .detail-columns .signal-panel h2, .detail-columns .signal-panel h3 { font-size: 23px; }
    .detail-columns .signal-panel .button { padding: 10px 12px; font-size: 11px; }
    .detail-columns .signal-panel .button svg { display: none; }
    .detail-section h2 { font-size: 25px; }
    .description-copy p { font-size: 12px; }
    .footnote { font-size: 9px; }
    .tabs { gap: 23px; margin: 0 0 22px; }
    .tabs > a { padding: 13px 0; font-size: 12px; }
    .tabs > .text-link { display: none; }
    .info-banner { padding: 15px 17px; font-size: 11px; }
    .rank-table-head, .rank-table-row { grid-template-columns: 27px minmax(0, 1fr) 70px; gap: 10px; padding: 15px 13px; }
    .rank-table-head { font-size: 8px; letter-spacing: .65px; }
    .rank-table-head > span:last-child { display: none; }
    .rank-table-row > span:last-child { grid-column: 2 / -1; margin-top: -5px; padding-left: 47px; color: #a3b294; font-size: 9px; }
    .rank-table-row > span:last-child::before { content: "Storefront · "; color: #899c79; }
    .rank-table-row:has(.source-coverage) > span:last-child::before { content: "24h change · "; }
    .rank-table-row { min-height: 80px; }
    .rank-table-row .rank { font-size: 15px; }
    .rank-table-row .game-identity { gap: 10px; }
    .rank-table-row .game-identity strong { font-size: 12px; line-height: 1.4; }
    .rank-table-row .game-identity small { font-size: 8px; }
    .rank-table-row .app-icon { width: 37px; height: 37px; border-radius: 8px; }
    .rank-table-row .lime { font-size: 20px; }
    .rank-table-row .rating { font-size: 11px; }
    .source-coverage { font-size: 8px; }
    .upcoming-row { grid-template-columns: 70px minmax(0, 1fr) 28px; gap: 16px; padding: 24px 0; }
    .release-date { padding: 14px 7px; }
    .release-date > strong { font-size: 25px; }
    .upcoming-row h2 { font-size: 22px; }
    .upcoming-row p { font-size: 11px; }
    .upcoming-row .text-link { font-size: 10px; }
    .upcoming-row small { display: block; margin: 8px 0 0; font-size: 9px; }
    .upcoming-row .save-button { width: 28px; height: 32px; padding: 4px; }
    .explainer-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 35px; }
    .explainer-grid article { padding: 22px 4px; }
    .explainer-grid h3 { margin: 12px 0 9px; font-size: 21px; }
    .empty-state { padding: 43px 23px; }
    .empty-state h3 { font-size: 23px; }
    .empty-state p { font-size: 12px; }
    .empty-state .button { font-size: 11px; padding: 12px 17px; }
    .community-layout { gap: 32px; }
    .community-heading { gap: 22px; }
    .community-filter-context { align-items: flex-start; flex-direction: column; gap: 12px; }
    .community-sidebar { gap: 15px; }
    .community-sidebar .signal-panel { padding: 20px; }
    .community-sidebar .signal-panel h3 { font-size: 26px; }
    .community-sidebar .signal-panel + .signal-panel h3 { font-size: 23px; }
    .thread-row { grid-template-columns: 32px minmax(0, 1fr) 34px; gap: 13px; padding: 23px 0; }
    .vote-button { width: 32px; min-height: 54px; }
    .thread-row h3 { font-size: 17px; }
    .thread-row p { font-size: 11px; }
    .thread-meta { gap: 6px; font-size: 9px; }
    .reply-count { gap: 3px; font-size: 11px; }
    .reply-count svg { width: 14px; height: 14px; }
    .discussion-detail { margin-top: 32px; }
    .discussion-detail > h1 { font-size: 33px; line-height: 1.2; letter-spacing: -1px; }
    .discussion-body { font-size: 14px; margin: 25px 0; }
    .discussion-actions .button { min-height: 42px; padding: 10px 15px; font-size: 11px; }
    .discussion-actions .text-link { font-size: 11px; }
    .reply > time { display: block; margin: 5px 0 0; }
    .prose { margin-top: 43px; }
    .prose h1 { font-size: 38px; letter-spacing: -1.5px; }
    .prose .lead { font-size: 16px; }
    .prose h2 { font-size: 25px; }
    .prose p { font-size: 13px; }
    .sources-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .sources-grid .signal-panel { padding: 24px; }
    .source-log > div { grid-template-columns: minmax(0, 1fr) 35px 85px; gap: 10px; padding: 16px; font-size: 10px; }
    .source-log time { grid-column: 1 / -1; color: #8f9f81; font-size: 9px; }
    .table-title { font-size: 24px; }
    .error-page { padding: 80px 0; }
    #upcoming-form { padding: 20px; }
    #admin-queue > article, #admin-queue > section, #admin-queue > div { padding: 20px; }
    .modal { max-height: calc(100dvh - 28px); width: calc(100% - 28px); padding: 34px 25px; }
    .modal h2 { font-size: 35px; }
    .compose-modal h2 { font-size: 30px; }
    .modal input, .modal select, .modal textarea { font-size: 16px; }
    .lightbox { max-width: calc(100% - 24px); padding: 14px; }
    .lightbox > img { max-height: calc(100dvh - 125px); }
    .toast { bottom: 18px; font-size: 12px; }
  }
  @media (max-width: 420px) {
    .page-shell, .header-inner, .footer-top, .footer-bottom { width: calc(100% - 32px); }
    .hero h1 { font-size: 44px; }
    .hero h1 em { letter-spacing: -2.3px; }
    .hero-buttons { gap: 16px; }
    .hero-buttons .button { font-size: 12px; gap: 10px; padding: 12px 14px; }
    .hero-buttons .text-link { font-size: 10px; }
    .hero-feature { min-height: 310px; }
    .feature-caption h2 { font-size: 28px; }
    .game-grid { gap: 11px; }
    .card-content { padding: 12px 10px; }
    .card-top .game-identity h3 { font-size: 12px; }
    .card-description { font-size: 10px; min-height: 36px; }
    .card-content > .tag-row { min-height: 23px; }
    .card-content .tag { font-size: 7px; padding: 3px 5px; }
    .card-content .store-badge { gap: 4px; }
    .card-content .store-badge small, .card-content .store-badge strong { font-size: 8px; }
    .genre-strip { gap: 7px; }
    .genre-tile strong { font-size: 9px; }
    .genre-tile { min-height: 111px; }
    .section-heading h2 { font-size: 24px; }
    .split-section .section-heading { align-items: flex-start; flex-direction: column; }
    .footer-links { gap: 16px; }
    .footer-links strong { font-size: 10px; }
    .footer-links a { font-size: 9px; }
    .detail-columns > aside, .community-sidebar { grid-template-columns: minmax(0, 1fr); }
    .detail-columns > aside .signal-panel + .signal-panel, .community-sidebar .signal-panel + .signal-panel { margin: 0; }
    .game-detail-head { gap: 14px; }
    .detail-icon { width: 65px; height: 65px; border-radius: 14px; }
    .game-detail-head h1 { font-size: 26px; }
    .game-detail-head .tag-row { gap: 4px; }
    .rank-table-head, .rank-table-row { grid-template-columns: 23px minmax(0, 1fr) 61px; gap: 8px; padding-left: 11px; padding-right: 11px; }
    .rank-table-row .game-identity { gap: 8px; }
    .rank-table-row .app-icon { width: 32px; height: 32px; border-radius: 7px; }
    .rank-table-row .game-identity strong { font-size: 11px; }
    .rank-table-row > span:last-child { padding-left: 40px; }
    .upcoming-row { grid-template-columns: 60px minmax(0, 1fr) 25px; gap: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-feature:hover .hero-art img, .game-card:hover .card-visual > img { transform: none; }
  }
  @media (forced-colors: active) {
    .button, .tag, .icon-button, .save-button, .genre-tile, .game-card, .signal-panel { border: 1px solid ButtonText; }
    .hero-feature::after { background: transparent; }
    .feature-caption, .feature-top { color: CanvasText; background: Canvas; }
    .live-dot, .nav-dot { background: Highlight; }
  }
  @media print {
    :root { color-scheme: light; --bg: white; --text: black; --muted: #333; --line: #ccc; --lime: #334e1c; }
    body { color: black; background: white; }
    .site-header, .site-footer, .preview-bar, dialog, .toast, .save-button, .detail-actions, .hero-buttons, .community-callout, .community-sidebar, .discussion-actions, #reply-form { display: none !important; }
    .page-shell { width: 100%; padding: 0; }
    .page-heading, .prose { margin-top: 0; padding-top: 0; }
    .detail-columns { display: block; }
    .detail-columns > aside { display: none; }
    .screenshot-gallery { flex-wrap: wrap; overflow: visible; }
    .screenshot { height: 180px; border-color: #ccc; }
    .game-card, .signal-panel, .source-log, .info-banner, .tag, .status-pill { color: black; background: white; border-color: #ccc; }
    a { color: black; }
    h1, h2, h3, .game-card, .thread-row, .reply { break-inside: avoid; }
  }
}
