/*
 * The Tidan Games shop (Pages/Shared/_ShopLayout.cshtml): the shop, the account pages, and on the shop host the pages it
 * shares with the game site. Laid out like a game store. Night navy from Arcana's art with one gold accent (picked over
 * navy and blue, violet, and brown and gold by three blind judges a round, 2026-11-07), in the game's own font, Myriad
 * Pro (the user, 2026-11-07: "use the same font we use in the game"). Every colour is a token below.
 */

/* Myriad Pro, the game's own text font (realm-client-master ui/text/TextFonts.hx), from the same ClientAssets files. */
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/myriad-pro-regular.woff') format('woff');
}
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/myriad-pro-bold.woff') format('woff');
}

:root {
    --bg: #12131c;
    --bar: #0b0c12;
    --surface: #1a1c29;
    --surface-2: #232636;
    --surface-3: #2d3045;
    --line: #2f3247;
    --line-strong: #474b66;
    --text: #eeecf4;
    --text-dim: #b6b4c8;
    /* gold: the buy buttons, the picked option, links */
    --accent: #f0b54a;
    --accent-hover: #f6c86e;
    --on-accent: #1a1206;
    --tag: #3a2d12;
    --on-tag: #f6c86e;
    /* focus ring and brand hover */
    --violet: #8fb8ff;
    --lilac: #f6c86e;
    --ok: #7bd88f;
    --ok-tint: #1d3326;
    --on-ok: #0a1a10;
    --danger: #ff8a8a;
    --danger-tint: #3a1d24;
    --notice: #ffd36b;
    --shade: #0a0b12;
    --sans: 'Myriad Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --wrap: 80rem;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.sh {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.6 var(--sans);
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1, h2 { font-weight: 700; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.65rem; }
p { margin: 0 0 1em; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--surface-2); color: var(--text); padding: 0.5rem 0.75rem; }

.sh-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sh-page { padding-top: 1.5rem; padding-bottom: 3rem; }
.sh-main { flex: 1 0 auto; }
.sh-sandbox { margin: 0; padding: 0.4rem 1rem; background: var(--notice); color: var(--shade); font-weight: 700; text-align: center; }
.sh-icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sh-muted { color: var(--text-dim); }
.sh-big { font-size: 1.25rem; font-weight: 700; }
.sh-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Top bar: the company, download, support, the account ---- */
.sh-top { background: var(--bar); border-bottom: 1px solid var(--line); }
.sh-top__row { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; }
.sh-brand {
    font: 700 1.5rem/1 var(--sans);
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.sh-brand:hover { color: var(--lilac); }
.sh-top__right { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.sh-util {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.7rem; border-radius: 6px;
    color: var(--text-dim); text-decoration: none; font-size: 0.9375rem;
    background: none; border: 0; font-family: inherit; cursor: pointer;
}
.sh-util:hover, .menu.is-open > .sh-util { color: var(--text); background: var(--surface); }
.sh-util--login { color: var(--text); }
.sh-account { position: relative; }
.sh-account__name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Games bar: each game's menu, then each product ---- */
.sh-nav { padding: 0.75rem 0; }
.sh-nav__row { display: flex; align-items: center; }
.sh-nav__list {
    list-style: none; margin: 0; padding: 0.25rem;
    display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    width: 100%;
}
.sh-nav__list > li { position: relative; }
.sh-nav__list .menu__button, .sh-nav__link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 0.9rem; border-radius: 6px;
    color: var(--text); text-decoration: none; font: 700 0.9375rem/1.2 var(--sans);
    background: none; border: 0; cursor: pointer;
}
.sh-nav__list .menu__button:hover, .sh-nav__link:hover, .sh-nav__list .menu.is-open > .menu__button {
    background: var(--surface-2); color: var(--text);
}
.sh-nav__toggle { display: none; }
.caret {
    display: inline-block; width: 0.45em; height: 0.45em; margin-top: -0.2em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}

/* Dropdown menus (site.js opens .menu with .is-open; a pointer that can hover opens it too). */
.sh-menu {
    display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 20;
    min-width: 15rem; list-style: none; margin: 0; padding: 0.4rem;
    background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.45);
}
.sh-menu--right { left: auto; right: 0; }
.menu.is-open > .sh-menu { display: block; }
@media (hover: hover) {
    .menu:hover:not(.is-closed) > .sh-menu { display: block; }
}
.sh-menu a, .sh-menu__form button {
    display: block; width: 100%; padding: 0.5rem 0.75rem; border-radius: 6px;
    color: var(--text); text-decoration: none; text-align: left;
    background: none; border: 0; font: inherit; cursor: pointer;
}
.sh-menu a:hover, .sh-menu__form button:hover { background: var(--surface-3); color: var(--text); }
.sh-menu .is-head {
    padding: 0.5rem 0.75rem 0.25rem; color: var(--text-dim);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.sh-menu .divider { height: 1px; margin: 0.35rem 0.25rem; background: var(--line); }
.sh-menu__form { margin: 0; }

/* ---- Buttons ---- */
.sh-btn, body.sh .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 2.75rem; padding: 0.6rem 1.25rem; border-radius: 6px;
    background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong);
    font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
}
.sh-btn:hover, body.sh .btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--lilac); }
.sh-btn--primary, body.sh .btn.accept, body.sh .btn.buy {
    background: var(--accent); color: var(--on-accent); border-color: var(--accent);
}
.sh-btn--primary:hover, body.sh .btn.accept:hover, body.sh .btn.buy:hover {
    background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent);
}
.sh-btn--danger, body.sh .btn.close { background: transparent; color: var(--danger); border-color: var(--danger); }
.sh-btn--danger:hover, body.sh .btn.close:hover { background: var(--danger-tint); color: var(--danger); border-color: var(--danger); }
.sh-btn--wide, body.sh .btn.wide { width: 100%; }
.sh-actions, body.sh .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.sh-actions form { margin: 0; }
.sh-panel form + .sh-fine { margin-top: 0.75rem; }

/* ---- Small labels ---- */
.sh-kicker { margin: 0 0 0.35rem; color: var(--text-dim); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sh-label { color: var(--text-dim); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sh-badge {
    flex: none; align-self: center; padding: 0.2rem 0.55rem; border-radius: 4px;
    background: var(--tag); color: var(--on-tag); box-shadow: inset 0 0 0 1px var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.sh-pill {
    display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; margin-right: 0.35rem;
    background: var(--surface-3); color: var(--text); font-size: 0.8125rem; font-weight: 700;
}
.sh-pill--on, .sh-state-fulfilled { background: var(--ok-tint); color: var(--ok); }
.sh-state-refunded, .sh-state-failed { background: var(--danger-tint); color: var(--danger); }
.sh-fine, body.sh .fine { color: var(--text-dim); font-size: 0.875rem; }

/* ---- Hero banner (shop home, game page): real art, pixels kept sharp ---- */
.sh-hero { position: relative; overflow: hidden; background: var(--shade); border-bottom: 1px solid var(--line); }
.sh-hero__art {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%; image-rendering: pixelated;
}
.sh-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgb(10 11 18 / 0.92) 0%, rgb(10 11 18 / 0.75) 40%, rgb(10 11 18 / 0.1) 75%);
}
.sh-hero__inner { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.sh-hero__title { font-size: clamp(2.5rem, 6vw, 4rem); max-width: 18ch; text-shadow: 0 2px 12px rgb(0 0 0 / 0.6); }
.sh-hero__text { max-width: 36rem; font-size: 1.125rem; color: var(--text); }
.sh-hero__price { font-size: 1.25rem; font-weight: 700; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.sh-hero--game .sh-hero__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* ---- Product cards ---- */
.sh-section { margin-top: 1rem; }
.sh-section + .sh-section { margin-top: 2.5rem; }
.sh-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sh-section__head h2 { margin: 0; }
.sh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.sh-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; color: var(--text); text-decoration: none;
    transition: border-color 120ms ease, transform 120ms ease;
}
.sh-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.sh-card__art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; }
.sh-card__body { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.sh-card__name { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.sh-card__summary { color: var(--text-dim); font-size: 0.9375rem; flex: 1; }
.sh-card__price { margin-top: 0.5rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-card:hover { transition: none; transform: none; } }

/* ---- Breadcrumbs ---- */
.sh-crumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--text-dim); font-size: 0.9375rem; }
.sh-crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.sh-crumbs li + li::before { content: '/'; color: var(--line-strong); }
.sh-crumbs a { color: var(--text-dim); text-decoration: none; display: inline-flex; }
.sh-crumbs a:hover { color: var(--text); }
.sh-crumbs [aria-current] { color: var(--text); }

/* ---- Product page: media left, buying right ---- */
.sh-product { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 26rem; align-items: start; }
.sh-gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--shade); border: 1px solid var(--line); }
.sh-gallery__item, .sh-gallery__item > img, .sh-gallery__item iframe, .sh-video { width: 100%; height: 100%; }
.sh-gallery__item[hidden] { display: none; }
.sh-gallery__item img { object-fit: cover; image-rendering: pixelated; }
.sh-gallery__item iframe { border: 0; }
.sh-video { position: relative; display: block; }
.sh-video img { width: 100%; height: 100%; object-fit: cover; }
.sh-video__play {
    position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem;
    display: grid; place-items: center; border-radius: 50%;
    background: rgb(10 11 18 / 0.7); border: 2px solid var(--text);
}
.sh-video__play svg { width: 2rem; height: 2rem; fill: var(--text); margin-left: 0.2rem; }
.sh-video:hover .sh-video__play { background: var(--accent); border-color: var(--accent); }
.sh-video:hover .sh-video__play svg { fill: var(--on-accent); }
.sh-gallery__thumbs { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sh-thumb {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
    border: 2px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--shade); cursor: pointer;
}
.sh-thumb img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; opacity: 0.7; }
.sh-thumb:hover img, .sh-thumb[aria-pressed='true'] img { opacity: 1; }
.sh-thumb[aria-pressed='true'] { border-color: var(--accent); }
.sh-thumb--video::after {
    content: ''; position: absolute; left: 50%; top: 50%; margin: -0.5rem 0 0 -0.35rem;
    border-style: solid; border-width: 0.5rem 0 0.5rem 0.8rem; border-color: transparent transparent transparent var(--text);
}

.sh-buy { position: sticky; top: 1rem; }
.sh-buy__title { margin-bottom: 0.25rem; }
.sh-buy__summary { color: var(--text-dim); }
.sh-buy__form { margin: 0 0 0.75rem; }
.sh-options { border: 0; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.sh-options legend { padding: 0; margin-bottom: 0.6rem; }
.sh-opt {
    position: relative; display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; border-radius: var(--radius); cursor: pointer;
    background: var(--surface); border: 1px solid var(--line);
}
.sh-opt:hover { border-color: var(--line-strong); background: var(--surface-2); }
.sh-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sh-opt__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sh-opt__label { font-weight: 700; font-size: 1.0625rem; }
.sh-opt__price { font-weight: 700; color: var(--text); }
.sh-opt__note { color: var(--text-dim); font-size: 0.875rem; }
.sh-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.sh-opt:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.sh-total { margin: 1.25rem 0 1rem; }
.sh-total__price { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1.2; }
.sh-total__billing { margin: 0.15rem 0 0; color: var(--text-dim); }
.sh-buy > .sh-btn { margin-bottom: 1rem; }
.sh-owned { margin: 1.25rem 0 1rem; padding: 1rem; border-radius: var(--radius); background: var(--ok-tint); border: 1px solid var(--ok); }
.sh-owned p { margin: 0; }
.sh-owned__title { margin-bottom: 0.4rem !important; }

.sh-about, .sh-compare { max-width: 52rem; margin-top: 2.5rem; }
.sh-about p { color: var(--text); }

/* ---- Tables (compare, transaction history) ---- */
.sh-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sh-table { width: 100%; border-collapse: collapse; }
.sh-table th, .sh-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.sh-table tbody tr:last-child th, .sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table thead th { color: var(--text-dim); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sh-table tbody th { font-weight: 400; }
.sh-table .is-paid { background: var(--surface-2); font-weight: 700; }
.sh-table thead .is-paid { color: var(--accent); }

/* ---- Account pages: side menu, then panels ---- */
.sh-acct { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.sh-acct__nav { position: sticky; top: 1rem; }
.sh-acct__hello { color: var(--text-dim); font-size: 0.9375rem; overflow-wrap: anywhere; }
.sh-acct__hello strong { color: var(--text); }
.sh-acct__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sh-acct__nav a {
    display: block; padding: 0.6rem 0.85rem; border-radius: 6px;
    color: var(--text-dim); text-decoration: none; font-weight: 700;
}
.sh-acct__nav a:hover { background: var(--surface); color: var(--text); }
.sh-acct__nav a[aria-current='page'] { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.sh-panel, body.sh .panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.sh-panel > :last-child, body.sh .panel > :last-child { margin-bottom: 0; }
.sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.sh-facts, body.sh .facts { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 0.5rem 1rem; margin: 0 0 1rem; }
.sh-facts dt, body.sh .facts dt { color: var(--text-dim); }
.sh-facts dd, body.sh .facts dd { margin: 0; overflow-wrap: anywhere; }
.sh-game { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; padding: 0; overflow: hidden; }
.sh-game__art { width: 100%; height: 100%; min-height: 10rem; object-fit: cover; image-rendering: pixelated; }
.sh-game__body { padding: 1.25rem 1.5rem 1.25rem 0; }
.sh-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sh-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.sh-list li:last-child { border-bottom: 0; }

/* ---- Forms and notices ---- */
.sh-form, body.sh .form { display: grid; gap: 1rem; margin: 0 0 1rem; }
.sh-form--row { grid-template-columns: minmax(0, 18rem) auto; align-items: end; }
.sh-field, body.sh .field { display: grid; gap: 0.35rem; }
.sh-field label, body.sh .field label { font-weight: 700; font-size: 0.9375rem; }
body.sh input:not([type='radio']):not([type='checkbox']):not([type='hidden']), body.sh select, body.sh textarea {
    width: 100%; min-height: 2.75rem; padding: 0.6rem 0.75rem; border-radius: 6px;
    background: var(--shade); color: var(--text); border: 1px solid var(--line-strong); font: inherit;
}
body.sh input:focus-visible, body.sh select:focus-visible, body.sh textarea:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
body.sh textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
body.sh .panel--form { max-width: 40rem; }
body.sh .panel h2 { font-size: 1.4rem; }
.sh-alert, body.sh .alert { padding: 0.75rem 1rem; border-radius: 6px; border: 1px solid; margin: 0 0 1rem; }
.sh-alert--ok, body.sh .alert--ok { background: var(--ok-tint); border-color: var(--ok); color: var(--text); }
.sh-alert--error, body.sh .alert--error { background: var(--danger-tint); border-color: var(--danger); color: var(--text); }

/* ---- Pages shared with the game site (log in, checkout, terms): their markup in the shop frame ---- */
.sh-plain { max-width: 52rem; }
.sh-plain:has(.panel--narrow) { max-width: 28rem; }
.sh-plain:has(.panel--narrow) > h1 { text-align: center; margin-top: 1rem; }
.sh-plain:has(.panel--narrow) > .fine { text-align: center; }
body.sh .panel--narrow { padding: 1.75rem; }
body.sh .lede { font-size: 1.125rem; }
body.sh .back { margin: 0 0 1rem; }
body.sh .back a { color: var(--text-dim); }
body.sh .divider { display: flex; align-items: center; gap: 0.75rem; color: var(--text-dim); font-size: 0.875rem; margin: 1.25rem 0; }
body.sh .divider::before, body.sh .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
body.sh .admin-qr { background: #fff; padding: 0.5rem; border-radius: 6px; image-rendering: pixelated; }
body.sh code { background: var(--shade); padding: 0.1rem 0.35rem; border-radius: 4px; }

/* ---- Footer ---- */
.sh-foot { margin-top: 3rem; background: var(--bar); border-top: 1px solid var(--line); }
.sh-foot__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.sh-brand--foot { font-size: 1.35rem; }
.sh-foot__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.sh-foot__links a { color: var(--text-dim); text-decoration: none; }
.sh-foot__links a:hover { color: var(--text); text-decoration: underline; }
.sh-foot__legal { margin: 0 0 0 auto; color: var(--text-dim); font-size: 0.875rem; }

/* ---- Narrow screens ---- */
@media (max-width: 960px) {
    .sh-product { grid-template-columns: minmax(0, 1fr); }
    .sh-buy { position: static; }
    .sh-acct { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .sh-acct__nav { position: static; }
    .sh-acct__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
    .sh-acct__nav a { background: var(--surface); }
    .sh-acct__hello { margin-bottom: 0.5rem; }
}
@media (max-width: 720px) {
    h1 { font-size: 2.1rem; }
    .sh-util { padding: 0.45rem 0.5rem; }
    .sh-top__right .sh-util:not(.sh-util--login):not(.menu__button) { display: none; }
    .sh-account__name { max-width: 7rem; }
    .sh-nav__toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 2.75rem; height: 2.75rem; padding: 0 0.7rem; border-radius: 6px;
        background: var(--surface); border: 1px solid var(--line); cursor: pointer;
    }
    .sh-nav__toggle span { display: block; height: 2px; background: var(--text); border-radius: 1px; }
    .sh-nav__row { flex-wrap: wrap; gap: 0.5rem; }
    .sh-nav__list { display: none; flex-direction: column; align-items: stretch; }
    .sh-nav__list.is-open { display: flex; }
    .sh-nav__list .menu__button, .sh-nav__link { width: 100%; justify-content: space-between; }
    .sh-menu { position: static; box-shadow: none; margin: 0.25rem 0; }
    .sh-grid { grid-template-columns: minmax(0, 1fr); }
    .sh-game { grid-template-columns: minmax(0, 1fr); }
    .sh-game__art { height: 9rem; min-height: 0; }
    .sh-game__body { padding: 0 1.25rem 1.25rem; }
    .sh-facts, body.sh .facts { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
    .sh-facts dd, body.sh .facts dd { margin-bottom: 0.5rem; }
    .sh-form--row { grid-template-columns: minmax(0, 1fr); }
    .sh-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sh-hero__inner { padding-top: 3rem; padding-bottom: 3rem; }
    .sh-hero::after { background: linear-gradient(180deg, rgb(10 11 18 / 0.55) 0%, rgb(10 11 18 / 0.9) 70%); }
    .sh-list li { grid-template-columns: 1fr auto; }
    .sh-list li .sh-muted { grid-column: 1; grid-row: 2; }
    .sh-foot__legal { margin-left: 0; }
}
