:root {
  color-scheme: light;
  /* Основной текст стал чуть мягче, чтобы не резать глаза на новом фоне */
  --ink: #1a202c;
  --ink-soft: #4a5568;
  --muted: #718096;
  
  /* Новые, более мягкие цвета фона и границ */
  --paper: #2d4d77;       /* Был #f5f7fa. Теперь мягкий серо-голубой */
  --surface: #f8fafc;     /* Был #ffffff. Карточки теперь не слепят, а мягко выделяются */
  --surface-tint: #edf2f7;
  --line: #cbd5e1;        /* Чуть более заметные, но мягкие границы */
  
  /* Акцентные цвета остались теми же, они отлично работают с новым фоном */
  --accent: #6278df;
  --accent-deep: #455cc5;
  --coral: #ed765e;
  --teal: #355a6d;
  
  --display: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.45 var(--body);
}
a { color: inherit; text-decoration: none; }
a:hover { color: #35666a; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px;
  background: var(--accent); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid #32828a; outline-offset: 3px; }
.utility-bar { background: var(--ink); color: #e8eeee; }
.utility-inner {
  min-height: 34px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font: 10px var(--mono); letter-spacing: .04em;
}
.utility-links { display: flex; align-items: center; gap: 25px; }
.utility-links a { color: #e8eeee; }
.utility-links a:hover { color: var(--accent); }
.utility-note { color: #a8b4b7; }
.masthead {
  display: grid; grid-template-columns: 205px minmax(220px, 1fr) auto;
  align-items: center; gap: 32px; min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark {
  display: grid; place-items: center; width: 41px; height: 41px; border-radius: 12px;
  background: var(--accent); color: var(--ink); font: 900 19px/1 var(--display);
  transform: rotate(-5deg);
}
.brand-copy { font: 800 21px/.95 var(--display); letter-spacing: -.06em; }
.brand-copy small {
  display: block; margin-top: 5px; color: var(--muted);
  font: 9px var(--mono); letter-spacing: .09em; text-transform: uppercase;
}
.search-form { display: flex; height: 45px; border: 1px solid #ccd6d9; background: var(--surface); }
.search-form input {
  min-width: 0; width: 100%; border: 0; outline: 0; padding: 0 15px;
  background: transparent; color: var(--ink); font-size: 13px;
}
.search-form input::placeholder { color: #879398; }
.search-form:focus-within { outline: 3px solid #32828a; outline-offset: 3px; }
.search-button {
  flex: 0 0 48px; border: 0; background: var(--accent); color: var(--ink);
  font-size: 20px; cursor: default;
}
.account-links { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.account-links a { padding: 10px 13px; font-size: 12px; font-weight: 700; }
.account-links .sign-in { border: 1px solid var(--line); background: var(--surface); }
.account-links .register { background: var(--ink); color: white; }
.main-nav {
  display: flex; align-items: center; gap: 8px; padding: 12px 0 15px;
  border-top: 1px solid var(--line);
}
.nav-label {
  margin-right: 12px; color: var(--muted); font: 9px var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
}
.nav-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px;
  border: 1px solid #e1e6e7; background: var(--surface); border-radius: 5px;
  font-size: 11px; font-weight: 700;
}
.nav-chip::before { content: ""; width: 20px; height: 20px; border-radius: 4px; background-position: center; background-size: cover; }
.nav-adventure::before { background-image: url("assets/cover-emberfall.jpg"); }
.nav-rpg::before { background-image: url("assets/cover-blackwater.jpg"); }
.nav-sci-fi::before { background-image: url("assets/cover-solaris.jpg"); }
.nav-coop::before { background-image: url("assets/cover-wildsignal.jpg"); }
.nav-strategy::before { background-image: url("assets/cover-wildsignal.jpg"); }
.hero {
  position: relative; min-height: 274px; overflow: hidden; display: grid;
  grid-template-columns: 1fr 1fr; align-items: center; margin: 5px 0 23px;
  border-radius: 8px; background: #dae8e8;
}
.hero::before {
  position: absolute; content: ""; inset: 0 0 0 37%;
  background: linear-gradient(90deg, #dce9e7 0%, rgba(220,233,231,.28) 27%, rgba(20,29,57,.04) 100%),
    url("assets/market-hero.jpg") center 51% / cover no-repeat;
}
.hero-copy { position: relative; z-index: 1; padding: 31px 42px; max-width: 570px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: #486b6d;
  font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--coral); }
.hero h1 { max-width: 470px; margin: 13px 0 9px; font: 800 clamp(30px, 3.5vw, 45px)/.98 var(--display); letter-spacing: -.055em; }
.hero p { max-width: 410px; margin: 0 0 17px; color: #536469; font-size: 12px; }
.hero-cta { display: inline-flex; align-items: center; gap: 11px; padding: 10px 14px; background: var(--ink); color: white; font-size: 11px; font-weight: 700; }
.hero-cta:hover { background: #3b5357; color: white; }
.hero-badge {
  position: absolute; z-index: 1; top: 21px; right: 22px; padding: 8px 11px;
  border-radius: 4px; background: var(--accent); font: 9px var(--mono);
  letter-spacing: .07em; text-transform: uppercase;
}
.crumb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 41px; margin-bottom: 15px; padding: 0 13px;
  background: var(--teal); color: #f4fbfa; border-radius: 4px;
}
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; }
.breadcrumbs a { color: #d2e3df; }
.breadcrumbs span[aria-current] { color: white; font-weight: 700; }
.crumb-meta { color: #d5e5e2; font: 9px var(--mono); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; }
.catalog-main { min-width: 0; }
.catalog-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin: 0 0 13px;
}
.catalog-heading h2 { margin: 0; font: 800 26px/1 var(--display); letter-spacing: -.045em; }
.demo-label { color: var(--muted); font: 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 15px; padding: 10px; background: var(--surface); border: 1px solid var(--line);
}
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-label { margin-right: 5px; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.filter {
  padding: 6px 9px; border: 1px solid #e2e7e8; border-radius: 3px;
  color: #526066; background: #f8faf9; font-size: 10px;
}
.filter.selected { border-color: var(--ink); background: var(--ink); color: white; }
.sort-control { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 10px; }
.sort-control label { color: var(--muted); }
.sort-control select { max-width: 142px; border: 1px solid var(--line); background: white; padding: 6px 7px; color: var(--ink); font-size: 10px; }
.catalog-notice { margin: 0 0 14px; color: var(--muted); font-size: 10px; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-card {
  min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #e0e5e5;
  border-radius: 5px; box-shadow: 0 2px 8px rgba(27,45,50,.035);
}
.cover-wrap { position: relative; height: 184px; overflow: hidden; background: #233238; }
.cover { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .cover { transform: scale(1.035); }
.cover-tag {
  position: absolute; left: 9px; top: 9px; padding: 5px 7px; border-radius: 3px;
  background: var(--accent); color: var(--ink); font: 8px var(--mono);
  letter-spacing: .03em; text-transform: uppercase;
}
.card-body { padding: 10px 11px 11px; }
.card-topline { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }
.game-title { margin: 6px 0 7px; font: 700 16px/1.05 var(--display); letter-spacing: -.025em; }
.game-title a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.rating-line { display: flex; align-items: center; gap: 5px; color: #516267; font-size: 9px; }
.rating { color: #a65d27; font: 700 10px var(--mono); }
.card-specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 9px 0; }
.spec {
  padding: 3px 5px; border-radius: 2px; background: #eff3f2;
  color: #56656a; font: 8px var(--mono); text-transform: uppercase;
}
.sidebar { display: grid; gap: 15px; }
.side-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.side-panel h2 { margin: 0; padding: 12px 13px; border-bottom: 1px solid var(--line); font: 700 14px var(--display); }
.side-release-art { position: relative; height: 150px; overflow: hidden; background: #172b36; }
.side-release-art img { width: 100%; height: 100%; object-fit: cover; }
.release-date {
  position: absolute; left: 9px; bottom: 9px; padding: 5px 7px;
  background: var(--accent); color: var(--ink); font: 8px var(--mono); text-transform: uppercase;
}
.release-copy { padding: 12px 13px 14px; }
.release-copy h3 { margin: 0 0 5px; font: 700 17px var(--display); }
.release-copy p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.release-link { color: #38676b; font-size: 10px; font-weight: 700; }
.genre-list { list-style: none; margin: 0; padding: 4px 13px 11px; }
.genre-list li + li { border-top: 1px solid #edf0f0; }
.genre-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 10px; }
.genre-list small { color: var(--muted); font: 8px var(--mono); }
.side-note { padding: 13px; background: #eef4e1; }
.side-note strong { display: block; margin-bottom: 4px; font-size: 11px; }
.side-note p { margin: 0; color: #627067; font-size: 9px; line-height: 1.5; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 26px 0 37px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 31px; height: 31px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 3px; background: white; font: 10px var(--mono);
}
.pagination [aria-current] { background: var(--ink); color: white; border-color: var(--ink); }
.footer { padding: 23px 0; background: var(--ink); color: #e6eded; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { font: 800 14px var(--display); }
.footer-inner p { margin: 0; color: #afbbbd; font-size: 9px; }
.footer-links { display: flex; gap: 14px; color: #cbd5d5; font-size: 9px; }
.auth-modal {
  position: fixed; inset: 0; z-index: 10; display: none; align-items: center;
  justify-content: center; padding: 18px; background: rgba(24,34,38,.65);
}
.auth-modal:target { display: flex; }
.modal-card {
  position: relative; width: min(100%, 400px); padding: 27px;
  border-radius: 8px; background: var(--surface); box-shadow: 0 18px 70px rgba(10,20,24,.25);
}
.modal-close { position: absolute; top: 13px; right: 15px; font-size: 20px; color: var(--muted); }
.modal-card h2 { margin: 0 0 5px; font: 800 27px var(--display); letter-spacing: -.04em; }
.modal-card > p { margin: 0 0 18px; color: var(--muted); font-size: 11px; }
.auth-form { display: grid; gap: 11px; }
.auth-form label { display: grid; gap: 5px; font-size: 10px; font-weight: 700; }
.auth-form input { width: 100%; height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 3px; }
.auth-submit { min-height: 40px; border: 0; border-radius: 3px; background: var(--ink); color: white; font-weight: 700; }
.demo-warning { margin: 14px 0 0 !important; padding: 9px; background: #f0f4e3; color: #53614c !important; font-size: 9px !important; }

@media (max-width: 1100px) {
  .shell { width: min(100% - 36px, 1000px); }
  .masthead { grid-template-columns: 180px minmax(180px, 1fr) auto; gap: 18px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 15px; }
  .cover-wrap { height: 164px; }
}
@media (max-width: 820px) {
  .masthead { grid-template-columns: 1fr auto; gap: 13px; padding: 15px 0; }
  .search-form { grid-column: 1 / -1; grid-row: 2; }
  .main-nav { overflow-x: auto; }
  .nav-label { flex: 0 0 auto; }
  .nav-chip { flex: 0 0 auto; }
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .side-note { grid-column: 1 / -1; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cover-wrap { height: clamp(145px, 26vw, 210px); }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .utility-inner { min-height: 32px; }
  .utility-links { width: 100%; justify-content: space-between; gap: 9px; }
  .utility-links a { font-size: 8px; }
  .utility-note { display: none; }
  .masthead { min-height: 0; }
  .brand-copy { font-size: 19px; }
  .account-links { gap: 4px; }
  .account-links a { padding: 8px; font-size: 10px; }
  .main-nav { gap: 6px; margin-inline: -14px; padding: 10px 14px 13px; }
  .nav-label { display: none; }
  .nav-chip { padding: 6px 9px; font-size: 9px; }
  .hero { min-height: 320px; grid-template-columns: 1fr; align-items: end; }
  .hero::before { inset: 0; background: linear-gradient(0deg, rgba(222,235,231,.98) 0%, rgba(222,235,231,.82) 47%, rgba(222,235,231,.08) 100%), url("assets/market-hero.jpg") center / cover no-repeat; }
  .hero-copy { padding: 24px; }
  .hero h1 { font-size: 36px; }
  .hero-badge { top: 12px; right: 12px; }
  .crumb-bar { align-items: flex-start; flex-direction: column; gap: 3px; padding: 9px 11px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .catalog-heading h2 { font-size: 24px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .filters { gap: 5px; }
  .filter-label { width: 100%; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; max-width: none; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cover-wrap { height: clamp(160px, 54vw, 245px); }
  .card-body { padding: 9px; }
  .game-title { font-size: 15px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .side-note { grid-column: auto; }
  .side-release-art { height: 180px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Premium editorial finish */
body { background: var(--paper); color: var(--ink); }
a:hover { color: #85683b; }
.shell { width: min(1380px, calc(100% - 64px)); }
.utility-bar { background: #17232c; }
.utility-inner { min-height: 38px; font-size: 9px; letter-spacing: .08em; }
.utility-links { gap: 28px; }
.utility-note { color: #bdc4c6; }
.masthead { min-height: 91px; grid-template-columns: 225px minmax(240px, 1fr) auto; gap: 36px; }
.brand { gap: 13px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--accent);
  transform: none; font-family: var(--display);
}
.brand-copy { font-size: 22px; letter-spacing: -.045em; }
.brand-copy small { color: #8a9294; font-size: 8px; letter-spacing: .13em; }
.search-form { height: 48px; border-color: #e4e1db; border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(25,38,48,.025); }
.search-form input { padding-inline: 17px; font-size: 12px; }
.search-button { flex-basis: 50px; background: #f0eee9; color: var(--ink); border-radius: 0 7px 7px 0; }
.account-links { gap: 8px; }
.account-links a { border-radius: 6px; font-size: 11px; }
.account-links .sign-in { border-color: #e4e1db; }
.account-links .register { background: var(--ink); }
.main-nav { gap: 9px; padding: 12px 0 18px; border-color: #e8e5df; }
.nav-label { letter-spacing: .13em; }
.nav-chip { gap: 8px; padding: 7px 13px 7px 8px; border-color: #e8e5df; border-radius: 999px; font-size: 10px; }
.nav-chip::before { width: 24px; height: 24px; border-radius: 50%; }
.hero {
  min-height: 308px; margin: 4px 0 25px; border-radius: 16px; background: #e9e5dc;
  box-shadow: 0 12px 32px rgba(25,38,48,.055);
}
.hero::before {
  inset: 0 0 0 34%;
  background: linear-gradient(90deg, #e9e5dc 0%, rgba(233,229,220,.88) 10%, rgba(233,229,220,.14) 53%, rgba(20,29,57,.02) 100%),
    url("assets/market-hero.jpg") center 51% / cover no-repeat;
}
.hero-copy { padding: 38px 48px; max-width: 600px; }
.eyebrow { color: #76684f; font-size: 9px; letter-spacing: .14em; }
.eyebrow::before { background: var(--accent-deep); width: 22px; }
.hero h1 { max-width: 490px; margin-top: 16px; font-size: clamp(35px, 4vw, 51px); font-weight: 700; letter-spacing: -.045em; line-height: 1.01; }
.hero p { max-width: 390px; color: #5f696b; font-size: 13px; line-height: 1.65; }
.hero-cta { padding: 12px 16px; border-radius: 6px; background: var(--ink); font-size: 11px; }
.hero-cta:hover { background: #2b414c; }
.hero-badge { top: 20px; right: 21px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); padding: 8px 12px; font-size: 8px; }
.crumb-bar {
  min-height: 42px; margin-bottom: 20px; padding: 0 2px; background: transparent; color: var(--muted); border-radius: 0;
}
.breadcrumbs { gap: 10px; font-size: 10px; }
.breadcrumbs a { color: #737e82; }
.breadcrumbs span[aria-current] { color: var(--ink); }
.crumb-meta { color: #8a9294; font-size: 8px; letter-spacing: .04em; }
.catalog-layout { grid-template-columns: minmax(0, 1fr) 282px; gap: 25px; }
.catalog-heading { margin-bottom: 16px; }
.catalog-heading h2 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
.demo-label { font-size: 8px; letter-spacing: .08em; }
.toolbar { margin-bottom: 16px; padding: 11px 12px; border-color: #e7e4de; border-radius: 9px; box-shadow: 0 3px 12px rgba(25,38,48,.025); }
.filter-label { letter-spacing: .08em; }
.filter { padding: 7px 11px; border-color: #ebe8e2; border-radius: 999px; background: #fbfaf8; font-size: 10px; }
.filter.selected { border-color: var(--ink); background: var(--ink); }
.sort-control select { padding: 7px 9px; border-color: #e7e4de; border-radius: 5px; }
.catalog-notice { margin-bottom: 16px; font-size: 10px; }
.game-grid { gap: 16px; }
.game-card {
  display: flex; flex-direction: column; border-color: #e8e5df; border-radius: 10px;
  box-shadow: 0 5px 20px rgba(25,38,48,.045); transition: transform .22s ease, box-shadow .22s ease;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,38,48,.09); }
.cover-wrap { height: 195px; background: #273944; }
.cover-tag { left: 11px; top: 11px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.94); font-size: 8px; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 13px 13px 14px; }
.card-topline { font-size: 8px; letter-spacing: .035em; }
.game-title { margin: 8px 0 9px; font-size: 18px; line-height: 1.1; letter-spacing: -.025em; }
.rating-line { gap: 6px; font-size: 9px; }
.rating {
  padding: 3px 6px; border-radius: 4px; background: #f5f0e6; color: #8a6c37;
  font-size: 9px;
}
.card-specs { gap: 5px; margin: 11px 0 15px; }
.spec { padding: 4px 6px; border-radius: 999px; background: #f2f1ed; color: #647078; font-size: 7px; }
.download-button {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  min-height: 40px; margin-top: auto; padding: 9px 12px; border: 1px solid var(--ink);
  border-radius: 6px; background: var(--ink); color: #fff; font: 600 11px var(--body);
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.download-button span { color: var(--accent); font-size: 15px; line-height: 1; }
.download-button:hover { border-color: #2d4650; background: #2d4650; color: #fff; transform: translateY(-1px); }
.download-button:focus-visible { outline-color: var(--accent-deep); }
.sidebar { gap: 16px; }
.side-panel { border-color: #e7e4de; border-radius: 10px; box-shadow: 0 5px 20px rgba(25,38,48,.035); }
.side-panel h2 { padding: 14px 15px; font-size: 15px; }
.side-release-art { height: 166px; }
.release-date { border-radius: 999px; background: rgba(255,255,255,.94); padding: 6px 9px; font-size: 8px; }
.release-copy { padding: 14px 15px 16px; }
.release-copy h3 { font-size: 19px; }
.release-copy p { font-size: 11px; line-height: 1.6; }
.release-link { color: #596d6e; font-size: 10px; }
.genre-list { padding-inline: 15px; }
.genre-list a { padding: 10px 0; font-size: 11px; }
.genre-list small { font-size: 8px; }
.side-note { padding: 15px; border-color: #e7e2d6; background: #f2efe7; }
.side-note strong { font-size: 11px; }
.side-note p { color: #69706b; font-size: 10px; line-height: 1.6; }
.pagination { gap: 7px; padding: 30px 0 40px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; border-color: #e6e3dd; border-radius: 6px; font-size: 9px; }
.pagination [aria-current] { background: var(--ink); }
.footer { padding: 27px 0; background: #17232c; }
.footer-inner p { color: #b7c0c1; font-size: 9px; }
.footer-links { color: #d0d6d6; }
.auth-modal { backdrop-filter: blur(5px); }
.modal-card { border: 1px solid #ebe8e2; border-radius: 12px; }
.auth-form input { border-color: #e4e1db; border-radius: 5px; }
.auth-submit { border-radius: 5px; background: var(--ink); }

@media (max-width: 1100px) {
  .shell { width: min(100% - 44px, 1020px); }
  .masthead { grid-template-columns: 205px minmax(180px, 1fr) auto; gap: 22px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cover-wrap { height: 190px; }
}
@media (max-width: 820px) {
  .masthead { grid-template-columns: 1fr auto; gap: 13px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cover-wrap { height: clamp(155px, 27vw, 210px); }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 30px); }
  .utility-inner { min-height: 34px; }
  .main-nav { margin-inline: -15px; padding-inline: 15px; }
  .hero { min-height: 340px; }
  .hero::before {
    inset: 0;
    background: linear-gradient(0deg, rgba(233,229,220,.98) 0%, rgba(233,229,220,.82) 48%, rgba(233,229,220,.08) 100%),
      url("assets/market-hero.jpg") center / cover no-repeat;
  }
  .hero-copy { padding: 24px; }
  .hero h1 { font-size: 38px; }
  .crumb-bar { align-items: flex-start; flex-direction: column; gap: 3px; padding: 8px 0; }
  .catalog-heading h2 { font-size: 27px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .cover-wrap { height: clamp(155px, 53vw, 230px); }
  .card-body { padding: 10px; }
  .game-title { font-size: 16px; }
  .card-specs { margin: 9px 0 12px; }
  .download-button { min-height: 38px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .side-note { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Featured carousel */
.hero-carousel {
  display: block;
  min-height: 340px;
  padding: 0;
  background: #e9e5dc;
  touch-action: pan-y;
}
.hero-carousel::before { display: none; }
.hero-slides { position: relative; min-height: 340px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  min-height: 340px;
  overflow: hidden;
  align-items: center;
  border-radius: inherit;
  background: #e9e5dc;
}
.hero-slide.is-active { display: grid; }
.hero-slide {
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.hero-slide::before {
  position: absolute;
  z-index: 1;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #e9e5dc 0%, rgba(233,229,220,.95) 35%, rgba(233,229,220,.55) 58%, rgba(20,29,57,.06) 100%);
  pointer-events: none;
}
.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide .hero-copy { z-index: 2; max-width: 630px; padding: 40px 48px 56px; }
.hero-slide h1, .hero-slide h2 {
  max-width: 500px;
  margin: 16px 0 10px;
  color: var(--ink);
  font: 700 clamp(35px, 4vw, 51px)/1.01 var(--display);
  letter-spacing: -.045em;
}
.hero-slide .hero-badge { z-index: 2; }
.hero-controls {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 5px 16px rgba(25,38,48,.1);
  backdrop-filter: blur(12px);
}
.hero-arrow, .hero-dot {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  cursor: pointer;
}
.hero-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
.hero-arrow:hover { background: #f0eee9; }
.hero-dots { display: flex; align-items: center; gap: 5px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: #b9b8b2; }
.hero-dot.is-active { width: 19px; border-radius: 999px; background: var(--ink); }

/* Game detail pages */
.cover-link { display: block; width: 100%; height: 100%; }
.detail-site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.back-to-catalog {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
.back-to-catalog:hover { border-color: #c9c4b9; }
.detail-shell { padding-bottom: 55px; }
.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 10px;
}
.detail-breadcrumbs a { color: #737e82; }
.detail-breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }
.detail-heading { padding: 4px 0 23px; }
.detail-heading .eyebrow { margin-bottom: 5px; }
.detail-heading h1 { margin: 6px 0 11px; font: 700 clamp(32px, 4vw, 46px)/1.04 var(--display); letter-spacing: -.04em; }
.detail-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #637078; font-size: 11px; }
.detail-rating-line .rating { font-size: 10px; }
.detail-layout { display: grid; grid-template-columns: minmax(245px, 310px) minmax(0, 1fr); gap: 22px; align-items: start; }
.detail-sidebar { position: sticky; top: 18px; display: grid; gap: 14px; }
.detail-cover {
  position: relative;
  height: 355px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #273944;
  box-shadow: 0 7px 25px rgba(25,38,48,.08);
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .cover-tag { z-index: 1; }
.detail-quick-facts, .detail-panel {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(25,38,48,.035);
}
.detail-quick-facts h2, .detail-panel h2 {
  margin: 0 0 14px;
  font: 700 19px/1.2 var(--display);
  letter-spacing: -.02em;
}
.detail-quick-facts dl, .requirements-list { margin: 0; }
.detail-quick-facts dl > div, .requirements-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid #efede8;
  font-size: 10px;
}
.detail-quick-facts dt, .requirements-list dt, .detail-info-grid dt { color: var(--muted); }
.detail-quick-facts dd, .requirements-list dd, .detail-info-grid dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.detail-content { display: grid; gap: 14px; min-width: 0; }
.detail-panel { padding: 20px 22px; }
.detail-panel h2 { margin-bottom: 11px; font-size: 21px; }
.detail-placeholder { margin: 0; color: #68747a; font-size: 12px; line-height: 1.7; }
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}
.detail-info-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #efede8;
  font-size: 10px;
}
.detail-gallery-placeholder {
  display: grid;
  min-height: 126px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px dashed #d8d4cb;
  border-radius: 8px;
  background: #faf9f6;
  color: var(--muted);
  text-align: center;
}
.detail-gallery-placeholder p { margin: 0; font-size: 10px; }
.gallery-placeholder-mark { color: #9b8c6f; font-size: 24px; line-height: 1; }
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 23px;
  border-radius: 11px;
  background: #192630;
  color: #fff;
  box-shadow: 0 8px 24px rgba(25,38,48,.12);
}
.download-panel .eyebrow { color: #cfb985; }
.download-panel h2 { margin: 6px 0 4px; font: 700 22px/1.2 var(--display); }
.download-panel p { margin: 0; color: #c4cdce; font-size: 10px; line-height: 1.5; }
.detail-download-button { flex: 0 0 190px; width: auto; min-height: 44px; margin: 0; border-color: var(--accent); background: var(--accent); color: var(--ink); }
.detail-download-button span { color: var(--ink); }
.detail-download-button:hover { border-color: #d5b77e; background: #d5b77e; color: var(--ink); }
.detail-not-found { padding: 10px 0 35px; }

@media (max-width: 820px) {
  .hero-carousel, .hero-slides, .hero-slide { min-height: 320px; }
  .hero-slide .hero-copy { max-width: 570px; padding: 32px 35px 58px; }
  .detail-layout { grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: 16px; }
  .detail-cover { height: 300px; }
  .detail-quick-facts, .detail-panel { padding: 15px; }
}
@media (max-width: 600px) {
  .hero-carousel, .hero-slides, .hero-slide { min-height: 350px; }
  .hero-slide { align-items: end; }
  .hero-slide::before {
    background: linear-gradient(0deg, rgba(233,229,220,.98) 0%, rgba(233,229,220,.88) 44%, rgba(233,229,220,.12) 100%);
  }
  .hero-slide .hero-copy { align-self: end; max-width: none; padding: 25px 23px 65px; }
  .hero-slide h1, .hero-slide h2 { font-size: 37px; }
  .hero-slide .hero-badge { top: 12px; right: 12px; }
  .hero-controls { right: 12px; bottom: 12px; }
  .detail-site-header { min-height: 74px; gap: 10px; }
  .detail-site-header .brand-copy { font-size: 18px; }
  .back-to-catalog { padding: 9px; font-size: 9px; }
  .detail-breadcrumbs { gap: 7px; padding: 17px 0; font-size: 9px; }
  .detail-heading { padding-bottom: 17px; }
  .detail-heading h1 { font-size: 34px; }
  .detail-layout { grid-template-columns: 1fr; gap: 14px; }
  .detail-sidebar { position: static; grid-template-columns: minmax(0, 1fr); }
  .detail-cover { height: auto; aspect-ratio: 1.2 / 1; }
  .detail-content { gap: 11px; }
  .detail-info-grid { grid-template-columns: 1fr; }
  .download-panel { align-items: stretch; flex-direction: column; gap: 16px; padding: 19px; }
  .detail-download-button { flex-basis: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel *, .hero-carousel *::before, .hero-carousel *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Product-page community, recommendations and media */
.detail-rating-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  max-width: 100%;
  padding: 13px 17px 13px 13px;
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(25,38,48,.035);
}
.rating-gauge {
  position: relative;
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-deep) 0 var(--rating-percent, 87%), #efede8 var(--rating-percent, 87%) 100%);
}
.rating-gauge::before {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.rating-gauge span { position: relative; z-index: 1; color: var(--ink); font: 700 11px var(--mono); }
.rating-summary-copy .eyebrow { font-size: 8px; }
.rating-summary-copy p { margin: 4px 0 2px; color: #58656a; font-size: 10px; }
.rating-summary-copy p strong { color: var(--ink); font-size: 12px; }
.rating-summary-copy small { color: var(--muted); font-size: 8px; }
.detail-platform-chip { margin-left: 10px; padding: 7px 10px; border-radius: 999px; background: #f2f1ed; color: #5d6b72; font-size: 9px; }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.detail-section-heading .eyebrow { display: block; margin-bottom: 4px; font-size: 8px; }
.detail-section-heading h2 { margin: 0; }
.demo-tag { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #e9e5dc; border-radius: 999px; color: #7a756b; font: 8px var(--mono); }
.recommendations-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.recommended-card { min-width: 0; overflow: hidden; border: 1px solid #e9e6e0; border-radius: 8px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.recommended-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(25,38,48,.08); }
.recommended-card-link { display: block; height: 100%; }
.recommended-image { position: relative; overflow: hidden; aspect-ratio: 1.55 / 1; background: #263742; }
.recommended-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.recommended-card:hover img { transform: scale(1.04); }
.recommended-copy { display: grid; gap: 5px; padding: 10px; }
.recommended-category { overflow: hidden; color: var(--muted); font: 7px var(--mono); text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.recommended-copy h3 { display: -webkit-box; overflow: hidden; min-height: 34px; margin: 0; font: 700 13px/1.25 var(--display); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.recommended-rating { color: #8a6c37; font: 8px var(--mono); }
.trailer-player { overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #101820; }
.trailer-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.media-note { margin: 10px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.detail-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-screenshot { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin: 0; border-radius: 7px; background: #263742; }
.detail-screenshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.detail-screenshot:hover img { transform: scale(1.035); }
.detail-screenshot figcaption { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; border-radius: 999px; background: rgba(23,35,44,.78); color: white; font: 8px var(--mono); }
.comments-panel { padding-bottom: 17px; }
.comments-panel .detail-section-heading { margin-bottom: 6px; }
.comments-panel h2 { display: flex; align-items: center; gap: 8px; }
.comment-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px; background: #f1efe9; color: #6d716f; font: 9px var(--mono); }
.comment-list { display: grid; gap: 9px; margin-top: 12px; }
.comment-card { padding: 12px 13px; border: 1px solid #eeece7; border-radius: 8px; background: #fcfbf9; }
.comment-card-heading { display: flex; align-items: center; gap: 9px; }
.comment-avatar { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e9e3d6; color: #6c5a3d; font: 700 11px var(--display); }
.comment-author { display: grid; gap: 2px; }
.comment-author strong { color: var(--ink); font-size: 9px; }
.comment-demo-label { color: var(--muted); font-size: 8px; }
.comment-card p { margin: 9px 0 0 39px; color: #59666b; font-size: 10px; line-height: 1.55; }

@media (max-width: 1100px) {
  .recommendations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .detail-rating-summary { gap: 10px; padding: 10px; }
  .rating-gauge { flex-basis: 52px; width: 52px; height: 52px; }
  .rating-gauge::before { width: 41px; height: 41px; }
  .detail-platform-chip { margin-left: auto; }
  .recommendations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .recommended-copy { padding: 8px; }
  .recommended-copy h3 { font-size: 12px; }
  .detail-section-heading { align-items: flex-start; }
  .demo-tag { font-size: 7px; }
  .comment-card p { margin-left: 0; }
}

/* Game storefront finish */
.brand-mark { color: #aeb9ff; }
.brand-copy { letter-spacing: -.035em; }
.hero-badge { border-radius: 6px; }
.nav-chip { border-radius: 7px; }
.game-grid { gap: 15px; }
.game-card {
  border-color: #e1e5eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,39,52,.045);
}
.game-card:hover { box-shadow: 0 7px 18px rgba(27,39,52,.095); }
.cover-wrap {
  height: auto;
  aspect-ratio: 4 / 5;
  background: #252f3a;
}
.cover-link { overflow: hidden; }
.cover { transition: transform .25s ease; }
.cover-tag {
  border-radius: 5px;
  background: rgba(22,31,43,.86);
  color: #fff;
  letter-spacing: .02em;
}
.card-body { padding: 13px 13px 14px; }
.card-topline { color: #697684; font-size: 8px; letter-spacing: .04em; }
.game-title { font: 700 16px/1.18 var(--display); letter-spacing: -.025em; }
.rating { border-radius: 4px; background: #edf0fc; color: #4359bb; }
.spec { border-radius: 5px; background: #f1f3f6; color: #5e6872; }
.download-button {
  border-color: #4e64d1;
  border-radius: 6px;
  background: #4e64d1;
}
.download-button:hover { border-color: #3e52b8; background: #3e52b8; }

body[data-page="game"] { background: var(--paper); }
body[data-page="game"] .detail-site-header { border-bottom-color: #e1e5eb; }
body[data-page="game"] .back-to-catalog { border-radius: 7px; }
body[data-page="game"] .detail-shell { padding-bottom: 62px; }
body[data-page="game"] .detail-breadcrumbs { padding-block: 18px 20px; }
body[data-page="game"] .detail-heading { padding-bottom: 23px; }
body[data-page="game"] .detail-heading h1 {
  margin: 5px 0 14px;
  font: 750 clamp(32px, 4vw, 45px)/1.08 var(--display);
  letter-spacing: -.045em;
}
body[data-page="game"] .detail-rating-summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid #e0e4eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(27,39,52,.035);
}
body[data-page="game"] .rating-score {
  color: #465dc5;
  font: 750 27px/.95 var(--display);
  letter-spacing: -.06em;
}
body[data-page="game"] .rating-summary-copy { display: grid; gap: 3px; }
body[data-page="game"] .rating-summary-label {
  color: #56616d;
  font-size: 9px;
  font-weight: 700;
}
body[data-page="game"] .rating-summary-copy p { margin: 0; color: #717c88; font-size: 9px; }
body[data-page="game"] .rating-summary-copy p strong { color: var(--ink); font-size: 10px; }
body[data-page="game"] .rating-summary-copy small { color: #8a939c; font-size: 8px; }
body[data-page="game"] .detail-platform-chip {
  margin-left: 8px;
  padding: 6px 9px;
  border: 1px solid #e5e8ef;
  border-radius: 6px;
  background: #f7f8fb;
  color: #55616f;
  font-size: 9px;
}
body[data-page="game"] .detail-layout { grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); gap: 22px; }
body[data-page="game"] .detail-sidebar { position: static; gap: 12px; }
body[data-page="game"] .detail-cover {
  height: auto;
  aspect-ratio: 4 / 5;
  border-color: #e1e5eb;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(27,39,52,.08);
}
body[data-page="game"] .detail-cover .cover-tag { border-radius: 5px; }
body[data-page="game"] .detail-quick-facts,
body[data-page="game"] .detail-panel {
  border: 1px solid #e1e5eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,39,52,.035);
}
body[data-page="game"] .detail-quick-facts { padding: 15px; }
body[data-page="game"] .detail-quick-facts h2,
body[data-page="game"] .detail-panel h2 {
  font: 700 17px/1.25 var(--display);
  letter-spacing: -.025em;
}
body[data-page="game"] .detail-quick-facts dl > div,
body[data-page="game"] .requirements-list > div { font-size: 9px; }
body[data-page="game"] .detail-content { gap: 13px; }
body[data-page="game"] .detail-panel { padding: 17px 18px; }
body[data-page="game"] .detail-panel h2 { margin-bottom: 12px; }
body[data-page="game"] .detail-placeholder { color: #596674; font-size: 11px; line-height: 1.75; }
body[data-page="game"] .detail-section-heading { margin-bottom: 12px; }
body[data-page="game"] .detail-section-heading h2 { margin: 0; }
body[data-page="game"] .recommended-card {
  border-color: #e3e7ed;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(27,39,52,.035);
}
body[data-page="game"] .recommended-card:hover { box-shadow: 0 5px 13px rgba(27,39,52,.09); }
body[data-page="game"] .recommended-image { aspect-ratio: 4 / 5; }
body[data-page="game"] .recommended-copy { gap: 6px; padding: 10px; }
body[data-page="game"] .recommended-category { color: #687481; font-size: 7px; }
body[data-page="game"] .recommended-copy h3 { font: 700 12px/1.3 var(--display); }
body[data-page="game"] .recommended-rating { color: #4b60bf; font-size: 8px; }
body[data-page="game"] .trailer-player { border-radius: 8px; }
body[data-page="game"] .detail-screenshot { border-radius: 8px; }
body[data-page="game"] .detail-screenshot figcaption { border-radius: 5px; background: rgba(24,34,47,.82); }
body[data-page="game"] .media-note { color: #7f8993; font-size: 8px; }
body[data-page="game"] .download-panel {
  border: 1px solid #1e2936;
  border-radius: 10px;
  background: #202a34;
  box-shadow: 0 4px 12px rgba(27,39,52,.1);
}
body[data-page="game"] .download-panel h2 { font: 700 21px/1.2 var(--display); }
body[data-page="game"] .download-panel .eyebrow { color: #c2ccff; }
body[data-page="game"] .detail-download-button {
  border-color: #6278df;
  border-radius: 6px;
  background: #6278df;
  color: #fff;
}
body[data-page="game"] .detail-download-button span { color: #fff; }
body[data-page="game"] .detail-download-button:hover { border-color: #7589ed; background: #7589ed; color: #fff; }
body[data-page="game"] .comments-panel { padding-bottom: 16px; }
body[data-page="game"] .comment-count {
  min-width: 22px;
  height: 22px;
  border: 1px solid #e2e6ed;
  border-radius: 5px;
  background: #f5f7fb;
  color: #596674;
}
body[data-page="game"] .comment-card {
  border-color: #e5e8ed;
  border-radius: 8px;
  background: #fbfcfe;
}
body[data-page="game"] .comment-avatar { border-radius: 7px; background: #e9edfb; color: #465dc5; }

@media (max-width: 1100px) {
  .cover-wrap { height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 820px) {
  body[data-page="game"] .detail-layout { grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .cover-wrap { height: auto; aspect-ratio: 4 / 5; }
  body[data-page="game"] .detail-layout { grid-template-columns: 1fr; }
  body[data-page="game"] .detail-cover { aspect-ratio: 4 / 5; }
  body[data-page="game"] .detail-rating-summary { gap: 10px; padding: 9px 11px; }
  body[data-page="game"] .rating-score { font-size: 24px; }
  body[data-page="game"] .detail-platform-chip { margin-left: auto; }
  body[data-page="game"] .detail-panel { padding: 15px; }
}
