:root {
  color-scheme: light;
  --ink: #19353d;
  --ink-soft: #536a70;
  --paper: #ffffff;
  --page: #f2f8f9;
  --line: #dce8e9;
  --teal: #087b78;
  --teal-dark: #075d5a;
  --teal-light: #e3f4ef;
  --berry: #ca315d;
  --berry-dark: #a42148;
  --berry-light: #fff0f4;
  --lime: #d7ef8c;
  --focus: #105dba;
  --radius: 8px;
  --shadow: 0 2px 5px rgb(25 53 61 / 5%);
  --z-menu: 20;
  --z-toast: 30;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 15px; line-height: 1.55; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.2; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: 36px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
button svg, a svg, summary svg { width: 19px; height: 19px; }
button > img, .icon-button > img, summary > img { width: 19px; height: 19px; flex-shrink: 0; }
button { border: 0; }
ul, ol { padding-left: 1.25rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: var(--z-toast); padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); color: white; }
.container { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.muted, .text-muted { color: var(--ink-soft); }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.3; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 7px; height: 7px; background: var(--berry); border-radius: 2px; }
.text-link { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.status-line, .status-message { font-size: 13px; color: var(--ink-soft); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1480px, calc(100% - 48px)); min-height: 84px; margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--berry); color: white; }
.brand-mark svg, .brand-mark img { width: 28px; height: 28px; }
.brand-mark img, .button > img { filter: brightness(0) invert(1); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.03; }
.brand-name { font-size: 24px; font-weight: 800; }
.brand-subtitle { margin-top: 4px; color: var(--teal); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.brand:hover { color: var(--ink); }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 42px; gap: 6px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.desktop-nav a[aria-current="page"] { color: var(--berry-dark); }
.desktop-nav a svg, .desktop-nav a img { width: 16px; height: 16px; }
.header-search { margin-left: auto; display: flex; align-items: center; width: 255px; height: 42px; padding-left: 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--page); }
.header-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.header-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.header-search button { display: grid; place-items: center; width: 42px; height: 40px; flex-shrink: 0; background: transparent; color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink-soft); }
.icon-button:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); }
.icon-button[aria-pressed="true"], .favorite-button[aria-pressed="true"] { background: var(--berry-light); color: var(--berry-dark); border-color: #edb3c4; }
.icon-button[aria-pressed="true"] svg, .favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.mobile-menu { display: none; }
.category-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.category-strip-inner { width: min(1400px, calc(100% - 64px)); min-height: 47px; margin-inline: auto; display: flex; align-items: center; gap: 25px; overflow-x: auto; scrollbar-width: thin; }
.category-strip a { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.category-strip a svg, .category-strip a img { width: 16px; height: 16px; color: var(--teal); }
.category-strip a[aria-current="page"] { color: var(--berry-dark); box-shadow: inset 0 -3px var(--berry); }
.category-strip .all-link { padding-right: 22px; border-right: 1px solid var(--line); color: var(--berry-dark); }

.page-shell { width: min(1400px, calc(100% - 64px)); margin: 30px auto 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.page-shell:has(> .sidebar) { grid-template-columns: 166px minmax(0, 1fr); }
.main-content { min-width: 0; }
.sidebar { align-self: start; padding-right: 20px; border-right: 1px solid var(--line); }
.sidebar-label { margin: 0 0 12px; font-size: 10px; color: var(--ink-soft); font-weight: 800; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 9px 10px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.sidebar-nav a svg, .sidebar-nav a img { color: var(--teal); width: 17px; height: 17px; }
.sidebar-nav a:hover { background: var(--paper); }
.sidebar-nav a[aria-current="page"] { background: var(--teal-light); color: var(--teal-dark); }
.sidebar-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.sidebar-note strong { display: block; color: var(--ink); margin-bottom: 5px; }
.sidebar-note svg { color: var(--teal); width: 24px; height: 24px; margin-bottom: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--ink-soft); font-size: 12px; }
.breadcrumbs a { color: var(--teal-dark); }
.breadcrumbs svg { width: 13px; height: 13px; }
.page-heading { margin-bottom: 25px; }
.page-heading .eyebrow { margin-bottom: 9px; color: var(--teal-dark); }
.page-heading h1 { margin-bottom: 10px; }
.page-heading p { max-width: 740px; margin: 0; color: var(--ink-soft); font-size: 15px; }
.section { margin-top: 36px; }
.section:first-child { margin-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; font-size: 24px; }
.section-heading h2 svg { width: 23px; height: 23px; color: var(--berry); }
.section-heading > a, .section-link { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.section-heading > a svg { width: 15px; height: 15px; }
.section-heading p { margin: 5px 0 0; font-size: 13px; color: var(--ink-soft); }

.featured-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr); gap: 16px; }
.feature-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature-card > a { display: block; min-width: 0; }
.feature-art { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 8.3; background: #d8e8ec; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-card > img { width: 100%; aspect-ratio: 16 / 8.3; object-fit: cover; }
.feature-badge { position: absolute; left: 15px; top: 15px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 4px; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.feature-badge svg { width: 13px; height: 13px; }
.feature-copy { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; }
.feature-copy h2 { font-size: 25px; margin-bottom: 4px; }
.feature-copy p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.feature-copy .eyebrow { margin-bottom: 6px; color: var(--teal-dark); font-size: 10px; }
.feature-copy .button { flex-shrink: 0; }
.feature-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-small { display: grid; grid-template-columns: 47% minmax(0, 1fr); align-items: stretch; }
.feature-small .feature-art { aspect-ratio: auto; min-height: 150px; height: 100%; }
.feature-small .feature-copy { min-width: 0; align-items: start; flex-direction: column; gap: 10px; padding: 16px; }
.feature-small .feature-copy h2, .feature-small .feature-copy h3 { font-size: 17px; }
.feature-small .feature-copy p { font-size: 11px; }
.feature-small .feature-copy .eyebrow { font-size: 9px; }
.feature-small .text-link { font-size: 11px; font-weight: 800; }

.button, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 800; line-height: 1.3; text-align: center; }
.button { background: var(--berry); color: white; }
.button:hover { color: white; background: var(--berry-dark); }
.button-secondary { background: var(--paper); color: var(--teal-dark); border-color: var(--line); }
.button-secondary:hover { background: var(--teal-light); color: var(--teal-dark); border-color: #b4d7cc; }
.button:disabled, .button-secondary:disabled, .icon-button:disabled { opacity: .55; cursor: default; }
.button svg, .button-secondary svg { width: 17px; height: 17px; }
.button-small { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge, .tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; background: var(--teal-light); color: var(--teal-dark); border-radius: 4px; font-size: 10px; font-weight: 800; line-height: 1.25; }
.badge-berry { background: var(--berry-light); color: var(--berry-dark); }
.badge-lime { background: var(--lime); color: var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.game-grid.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.game-card { position: relative; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.game-card:hover { border-color: #a6c8c5; }
.game-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e1eef0; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-thumb .badge { position: absolute; left: 9px; top: 9px; box-shadow: 0 1px 3px rgb(25 53 61 / 8%); }
.favorite-button, .game-card [data-favorite] { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgb(255 255 255 / 80%); border-radius: 5px; background: var(--paper); color: var(--ink-soft); box-shadow: 0 1px 4px rgb(25 53 61 / 12%); }
.favorite-button svg, .game-card [data-favorite] svg, .game-card [data-favorite] img { width: 17px; height: 17px; }
.favorite-button:hover, .game-card [data-favorite]:hover { color: var(--berry-dark); background: var(--berry-light); }
.game-card [data-favorite][aria-pressed="true"] { background: var(--berry-light); color: var(--berry-dark); border-color: #edb3c4; }
.game-card-body { padding: 11px 12px 12px; }
.game-card h3 { margin-bottom: 6px; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.game-card h3 a { display: block; }
.game-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; font-size: 10px; line-height: 1.45; color: var(--ink-soft); }
.game-meta svg { width: 12px; height: 12px; }
.game-meta span { display: inline-flex; align-items: center; gap: 3px; }
.game-meta .genre { color: var(--teal-dark); }
.game-meta .dot { color: #a2b3b7; }
.game-description { margin: 8px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.game-grid.compact .game-card-body { padding: 10px; }
.game-grid.compact h3 { font-size: 13px; }
.game-grid.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.genre-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.genre-tile { min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 75px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.genre-tile:hover { border-color: var(--teal); }
.genre-icon { display: grid; place-items: center; width: 37px; height: 37px; flex-shrink: 0; border-radius: 6px; color: var(--teal-dark); background: var(--teal-light); }
.genre-tile:nth-child(3n + 2) .genre-icon { background: var(--berry-light); color: var(--berry-dark); }
.genre-tile:nth-child(3n) .genre-icon { background: #eff7d8; color: #52700c; }
.genre-tile svg, .genre-tile img { width: 22px; height: 22px; }
.genre-tile strong { display: block; font-size: 12px; line-height: 1.25; }
.genre-tile small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.editorial-band { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 21px 0; border-block: 1px solid var(--line); }
.editorial-band > svg { width: 34px; height: 34px; color: var(--teal); }
.editorial-band strong { display: block; font-size: 16px; }
.editorial-band p { margin: 3px 0 0; font-size: 12px; color: var(--ink-soft); }
.editorial-band > a { margin-left: auto; flex-shrink: 0; }
.split-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.guide-card { overflow: hidden; min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.guide-card > a > img, .guide-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.guide-card-body { padding: 17px; }
.guide-card .eyebrow { margin-bottom: 9px; color: var(--teal-dark); font-size: 9px; }
.guide-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; }
.guide-card p { margin-bottom: 12px; font-size: 12px; color: var(--ink-soft); }
.guide-meta { display: flex; gap: 12px; color: var(--ink-soft); font-size: 10px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 14px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex-shrink: 0; font-size: 20px; line-height: 1; color: var(--teal); }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details > div, .faq-list details > p { max-width: 880px; margin: 0; padding: 0 28px 18px 0; color: var(--ink-soft); font-size: 13px; }

.browse-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; padding: 15px 0; border-block: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-size: 11px; font-weight: 800; }
.field input, .field select, .search-field { min-height: 43px; padding: 10px 12px; border: 1px solid #bbd1d3; border-radius: 5px; background: var(--paper); color: var(--ink); }
.browse-toolbar .field { min-width: 180px; }
.browse-toolbar .results-count { margin: 0 0 11px auto; color: var(--ink-soft); font-size: 12px; }
.search-form { display: flex; align-items: stretch; gap: 9px; max-width: 740px; margin-top: 20px; }
.search-form input { min-width: 0; flex: 1; min-height: 46px; padding: 12px 14px; background: var(--paper); border: 1px solid #bbd1d3; border-radius: 5px; }
.search-summary { margin: 18px 0; color: var(--ink-soft); font-size: 13px; }
.empty-state { padding: 38px 20px; border-block: 1px solid var(--line); text-align: center; }
.empty-state > svg { width: 34px; height: 34px; color: var(--teal); margin-bottom: 10px; }
.empty-state h2, .empty-state h3 { font-size: 21px; margin-bottom: 8px; }
.empty-state p { margin-bottom: 17px; color: var(--ink-soft); font-size: 13px; }
.storage-notice { padding: 10px 12px; margin-bottom: 16px; border-left: 3px solid var(--berry); background: var(--berry-light); font-size: 12px; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 25px; align-items: start; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.game-title-row h1 { font-size: 30px; }
.game-title-row .game-meta { font-size: 12px; margin-top: 8px; }
.player-shell { overflow: hidden; border: 1px solid #cedddd; border-radius: var(--radius); background: var(--paper); }
.player-stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; min-height: 280px; overflow: hidden; background: #123c43; color: white; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; }
.player-overlay { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: min(450px, 100%); padding: 24px; text-align: center; }
.player-overlay > img { width: 105px; height: 105px; object-fit: cover; border: 3px solid white; border-radius: 8px; margin-bottom: 15px; }
.player-overlay h2 { color: white; font-size: 26px; margin-bottom: 12px; }
.player-overlay p { color: #e0f0f0; font-size: 12px; margin-bottom: 17px; max-width: 350px; }
.player-overlay .button { min-width: 170px; min-height: 48px; font-size: 14px; }
.player-overlay .player-disclosure { font-size: 10px; line-height: 1.55; margin: 12px 0 0; }
.player-overlay .player-disclosure a { color: white; text-decoration: underline; }
.player-frame, #game-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.player-stage > iframe { position: absolute; inset: 0; }
.player-stage[data-state="ready"] { background: white; }
.player-status { margin: 0; padding: 10px 15px; background: var(--teal-light); color: var(--teal-dark); font-size: 12px; }
.player-status[data-kind="error"] { background: var(--berry-light); color: var(--berry-dark); }
.player-source { display: block; width: fit-content; margin: 0 15px 12px; font-size: 11px; }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 57px; padding: 9px 13px; background: var(--paper); border-top: 1px solid var(--line); }
.player-toolbar p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.player-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.player-tools .icon-button { width: 36px; height: 36px; }
.player-shell:fullscreen, .player-stage:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; background: #123c43; border: 0; border-radius: 0; }
.player-shell:fullscreen .player-stage { flex: 1; aspect-ratio: auto; }
.player-shell:fullscreen .player-toolbar { padding-bottom: max(9px, env(safe-area-inset-bottom)); }
.player-stage:fullscreen > iframe { position: absolute; inset: 0; height: 100%; }
.game-side-section { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.game-side-section h2 { margin-bottom: 14px; font-size: 18px; }
.game-side-section p { color: var(--ink-soft); font-size: 12px; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 11px 15px; margin: 0; font-size: 12px; }
.detail-list dt { color: var(--ink-soft); }
.detail-list dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.control-list { margin: 0; padding: 0; list-style: none; }
.control-list li { display: flex; align-items: start; gap: 9px; margin-top: 11px; color: var(--ink-soft); font-size: 12px; }
kbd { min-width: 27px; padding: 2px 5px; background: var(--paper); border: 1px solid #c5d5d7; border-bottom-width: 2px; border-radius: 3px; color: var(--ink); font: 11px Arial, sans-serif; text-align: center; }
.article-body, .prose { max-width: 850px; font-size: 15px; line-height: 1.75; }
.article-body h2, .prose h2 { font-size: 25px; margin: 30px 0 14px; }
.article-body h3, .prose h3 { font-size: 19px; margin: 24px 0 12px; }
.article-body p, .prose p, .article-body li, .prose li { color: var(--ink-soft); }
.article-body a, .prose a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body a.button, .prose a.button { color: white; text-decoration: none; }
.article-body li + li, .prose li + li { margin-top: 8px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; color: var(--ink-soft); font-size: 12px; }
.article-cover { width: 100%; max-width: 1000px; aspect-ratio: 16 / 7; object-fit: cover; margin: 24px 0; border-radius: var(--radius); }
.article-layout { display: grid; grid-template-columns: minmax(0, 850px) 260px; gap: 48px; }
.article-aside { padding-left: 22px; border-left: 1px solid var(--line); }
.article-aside h2 { font-size: 16px; margin-bottom: 13px; }
.article-aside ol { padding-left: 16px; color: var(--ink-soft); font-size: 12px; }
.article-aside li { margin-bottom: 10px; }
.notice { border-left: 3px solid var(--teal); padding: 13px 17px; background: var(--teal-light); font-size: 13px; }
.notice p:last-child { margin-bottom: 0; }
.data-table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 18px 0; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
.data-table th { background: var(--teal-light); font-weight: 800; }
.data-table td { color: var(--ink-soft); }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; width: min(1400px, calc(100% - 64px)); margin-inline: auto; padding: 40px 0 32px; }
.footer-brand p { max-width: 285px; color: var(--ink-soft); font-size: 12px; margin: 15px 0 0; }
.footer-group h2, .footer-group h3 { font-size: 12px; margin-bottom: 15px; }
.footer-group a { display: block; width: fit-content; font-size: 12px; color: var(--ink-soft); margin-bottom: 9px; }
.footer-group a:hover { color: var(--teal-dark); }
.footer-bottom { width: min(1400px, calc(100% - 64px)); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-inline: auto; padding: 18px 0 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); max-width: calc(100% - 32px); transform: translateX(-50%); padding: 11px 17px; border-radius: 6px; background: var(--ink); color: white; font-size: 12px; text-align: center; box-shadow: 0 3px 12px rgb(0 0 0 / 15%); }

@media (min-width: 1600px) {
  .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1240px) {
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 16px; }
  .header-search { width: 210px; }
  .desktop-nav .optional-nav { display: none; }
  .game-grid, .game-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); }
  .feature-small { grid-template-columns: 43% minmax(0, 1fr); }
  .feature-small .feature-copy { padding: 13px; }
  .feature-small .feature-art { min-height: 145px; }
  .feature-copy { padding: 17px; }
  .feature-copy h2 { font-size: 22px; }
  .game-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; }
}
@media (max-width: 1020px) {
  .header-inner { min-height: 76px; }
  .brand-name { font-size: 22px; }
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 12px; }
  .header-search { width: 180px; }
  .header-actions .optional-action { display: none; }
  .page-shell:has(> .sidebar) { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .featured-grid { grid-template-columns: minmax(0, 1.65fr) minmax(230px, 1fr); }
  .feature-small .feature-copy h2, .feature-small .feature-copy h3 { font-size: 16px; }
  .feature-small .feature-copy p { display: none; }
  .feature-small .feature-art { min-height: 133px; }
  .feature-copy .button { padding-inline: 12px; }
  .game-layout { grid-template-columns: minmax(0, 1fr); }
  .game-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .game-side-section { margin: 0; }
  .footer-inner { gap: 28px; }
}
@media (max-width: 780px) {
  h1 { font-size: 29px; }
  .container, .page-shell, .category-strip-inner, .footer-inner, .footer-bottom { width: calc(100% - 36px); }
  .header-inner { position: relative; width: calc(100% - 32px); gap: 13px; min-height: 72px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 7px; }
  .brand-mark svg, .brand-mark img { width: 24px; height: 24px; }
  .brand-name { font-size: 21px; }
  .brand-subtitle { font-size: 9px; }
  .desktop-nav, .header-actions { display: none; }
  .header-search { margin-left: auto; width: min(235px, 35%); height: 39px; }
  .header-search button { width: 37px; height: 37px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 5px; list-style: none; color: var(--teal-dark); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { background: var(--teal-light); border-color: #b4d7cc; }
  .mobile-menu-panel { position: absolute; z-index: var(--z-menu); left: 0; right: 0; top: calc(100% - 3px); padding: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 7px 7px; box-shadow: 0 8px 16px rgb(25 53 61 / 9%); }
  .mobile-menu-panel nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .mobile-menu-panel nav a { display: flex; align-items: center; gap: 9px; padding: 11px 7px; min-height: 42px; font-size: 13px; font-weight: 700; }
  .mobile-menu-panel nav a svg, .mobile-menu-panel nav a img { color: var(--teal); width: 17px; height: 17px; }
  .mobile-menu-panel .search-form { margin-top: 12px; }
  .mobile-menu-panel .search-form input { width: 100%; }
  .category-strip-inner { gap: 21px; min-height: 43px; }
  .category-strip a { min-height: 43px; font-size: 11px; }
  .category-strip .all-link { padding-right: 18px; }
  .page-shell { margin-top: 22px; margin-bottom: 42px; gap: 24px; }
  .page-heading { margin-bottom: 20px; }
  .page-heading p { font-size: 13px; }
  .section { margin-top: 29px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 21px; gap: 7px; }
  .section-heading h2 svg { width: 20px; height: 20px; }
  .section-heading > a, .section-link { font-size: 11px; }
  .featured-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-art, .feature-card > img { aspect-ratio: 16 / 8; }
  .feature-copy { padding: 16px; }
  .feature-copy h2 { font-size: 23px; }
  .feature-copy p { font-size: 11px; }
  .feature-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px; }
  .feature-small { grid-template-columns: 42% minmax(0, 1fr); }
  .feature-small .feature-art { aspect-ratio: auto; min-height: 125px; }
  .feature-small .feature-copy { padding: 12px; gap: 9px; }
  .feature-small .feature-copy h2, .feature-small .feature-copy h3 { font-size: 15px; }
  .feature-small .feature-copy .eyebrow { font-size: 8px; }
  .feature-small .feature-copy .eyebrow::before { width: 5px; height: 5px; }
  .feature-small .text-link { font-size: 10px; }
  .game-grid, .game-grid.compact, .game-grid.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .game-card-body { padding: 10px; }
  .game-card h3 { font-size: 13px; }
  .game-meta { font-size: 9px; }
  .genre-grid { gap: 10px; }
  .genre-tile { min-height: 69px; padding: 11px; gap: 9px; }
  .genre-icon { width: 32px; height: 32px; }
  .genre-tile strong { font-size: 11px; }
  .genre-tile small { font-size: 9px; }
  .genre-tile svg, .genre-tile img { width: 20px; height: 20px; }
  .guide-grid { gap: 12px; }
  .guide-card-body { padding: 13px; }
  .guide-card h3 { font-size: 15px; }
  .guide-card p { font-size: 11px; }
  .guide-card .eyebrow { font-size: 8px; }
  .guide-meta { font-size: 9px; gap: 7px; }
  .editorial-band { padding: 18px 0; gap: 12px; }
  .editorial-band strong { font-size: 14px; }
  .editorial-band p { font-size: 11px; }
  .editorial-band > svg { width: 27px; height: 27px; }
  .editorial-band > a { font-size: 11px; }
  .split-sections { grid-template-columns: 1fr; gap: 27px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; padding: 30px 0 24px; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 500px; margin-top: 12px; }
  .footer-bottom { font-size: 9px; padding: 16px 0 20px; }
}
@media (max-width: 520px) {
  .container, .page-shell, .category-strip-inner, .footer-inner, .footer-bottom { width: calc(100% - 28px); }
  .header-inner { width: calc(100% - 28px); gap: 10px; min-height: 68px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-subtitle { font-size: 8px; }
  .header-search { flex: 1; max-width: 210px; padding-left: 10px; margin-left: auto; }
  .header-search input { font-size: 11px; }
  .header-search button { width: 32px; }
  .header-search button svg { width: 17px; height: 17px; }
  .mobile-menu summary { width: 36px; height: 38px; }
  .mobile-menu-panel { left: -1px; right: -1px; }
  .category-strip-inner { gap: 18px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 12px; }
  .eyebrow { font-size: 10px; }
  .feature-copy { align-items: center; gap: 12px; padding: 14px; }
  .feature-copy h2 { font-size: 21px; }
  .feature-copy p { font-size: 10px; }
  .feature-copy .button { font-size: 11px; min-height: 39px; padding: 9px 11px; }
  .feature-copy .button svg { width: 15px; height: 15px; }
  .feature-copy .eyebrow { font-size: 8px; margin-bottom: 5px; }
  .feature-art, .feature-card > img { aspect-ratio: 16 / 9; }
  .feature-stack { gap: 10px; }
  .feature-small { grid-template-columns: 1fr; }
  .feature-small .feature-art { aspect-ratio: 16 / 8; min-height: 0; }
  .feature-small .feature-copy { gap: 7px; padding: 11px; }
  .feature-small .feature-copy h2, .feature-small .feature-copy h3 { font-size: 14px; }
  .feature-small .feature-copy .eyebrow { font-size: 8px; }
  .feature-small .text-link { display: inline-block; }
  .feature-badge { left: 11px; top: 11px; font-size: 8px; padding: 5px 7px; }
  .game-grid, .game-grid.compact, .game-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-thumb { aspect-ratio: 4 / 3; }
  .game-card h3 { font-size: 13px; }
  .game-meta { font-size: 9px; }
  .favorite-button { right: 7px; top: 7px; width: 32px; height: 32px; }
  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre-tile { padding: 11px 12px; }
  .genre-tile strong { font-size: 12px; }
  .genre-tile small { font-size: 10px; }
  .section-heading { gap: 10px; align-items: baseline; }
  .section-heading h2 { font-size: 20px; }
  .section-heading > a { font-size: 10px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
  .guide-card > a { display: block; height: 100%; }
  .guide-card > a > img, .guide-card > img { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .guide-card h3 { margin-bottom: 8px; font-size: 15px; }
  .guide-card p { display: none; }
  .guide-card .eyebrow { font-size: 8px; margin-bottom: 7px; }
  .editorial-band { align-items: start; flex-wrap: wrap; column-gap: 12px; }
  .editorial-band > div { flex: 1; }
  .editorial-band > a { margin-left: 39px; }
  .faq-list summary { font-size: 13px; padding: 16px 0; }
  .faq-list details > div, .faq-list details > p { font-size: 12px; }
  .browse-toolbar { gap: 12px; }
  .browse-toolbar .field { min-width: 0; flex: 1; }
  .field label, .field-label { font-size: 10px; }
  .field input, .field select { width: 100%; font-size: 12px; padding-inline: 10px; }
  .browse-toolbar .results-count { width: 100%; margin: 0; font-size: 11px; }
  .search-form { gap: 7px; }
  .search-form input { font-size: 13px; padding: 10px 12px; }
  .search-form .button { font-size: 12px; padding-inline: 13px; }
  .breadcrumbs { font-size: 10px; margin-bottom: 16px; gap: 6px; }
  .game-title-row { align-items: start; gap: 12px; }
  .game-title-row h1 { font-size: 26px; }
  .game-title-row .game-meta { font-size: 10px; }
  .game-title-row .button-row { gap: 5px; }
  .player-stage { aspect-ratio: 4 / 3; min-height: 280px; }
  .player-overlay { padding: 20px; }
  .player-overlay > img { width: 72px; height: 72px; margin-bottom: 12px; }
  .player-overlay h2 { font-size: 23px; margin-bottom: 10px; }
  .player-overlay p { font-size: 11px; margin-bottom: 14px; }
  .player-overlay .button { min-height: 44px; font-size: 13px; }
  .player-overlay .player-disclosure { font-size: 9px; }
  .player-toolbar { padding: 9px 10px; gap: 7px; }
  .player-toolbar p { font-size: 10px; }
  .player-tools { gap: 5px; }
  .player-tools .icon-button { width: 35px; height: 35px; }
  .player-status { font-size: 11px; padding: 9px 11px; }
  .game-sidebar { grid-template-columns: 1fr; gap: 22px; }
  .article-body, .prose { font-size: 14px; }
  .article-body h2, .prose h2 { font-size: 22px; }
  .article-body h3, .prose h3 { font-size: 18px; }
  .article-cover { aspect-ratio: 16 / 9; }
  .article-meta { font-size: 10px; }
  .data-table { font-size: 11px; }
  .data-table th, .data-table td { padding: 9px 7px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 23px 18px; }
  .footer-group:last-child { grid-column: 1 / -1; }
  .footer-group:last-child a { display: inline-block; margin-right: 18px; }
}
@media (max-width: 360px) {
  .header-search { display: none; }
  .mobile-menu { margin-left: auto; }
  .brand-name { font-size: 21px; }
  .feature-copy { flex-wrap: wrap; }
  .feature-copy .button { width: 100%; }
  .feature-small .feature-copy { flex-wrap: nowrap; }
  .section-heading h2 { font-size: 18px; }
  .section-heading > a svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

img{height:auto}.game-thumb img,.player-poster{height:100%}.guide-card>a>img{height:auto}.article-cover{height:auto}.page-shell{display:block}.text-link>img{display:inline-block;vertical-align:middle;width:18px;height:18px}
