:root {
    --ink: #16120c;
    --paper: #f3ead7;
    --paper-dim: #d9cdb6;
    --amber: #ffb000;
    --amber-deep: #c47a00;
    --slug: #e23b22;
    --slug-dark: #8d1d12;
    --olive: #3c4634;
    --brass: #b08958;
    --crt: #07110c;
    --glow: #d6ff9a;
    --text: #231c14;
    --text-dim: #6d604f;
    --amber-text: #a85a00;
    --glow-text: #2f7d14;
    --danger: #c0392b;
    --surface: #fffcf5;
    --surface-2: rgba(70, 48, 18, 0.06);
    --field: #ffffff;
    --line: rgba(60, 42, 18, 0.16);
    --shadow: 0 18px 40px rgba(70, 48, 18, 0.16);
    --stencil: "Black Ops One", "Arial Narrow", Impact, sans-serif;
    --ui: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    font-family: var(--body);
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(255, 176, 0, 0.14), transparent 55%),
        linear-gradient(180deg, #fbf3e3 0%, #f7efe0 40%, #f3eadb 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(70, 48, 18, 0.05) 0.6px, transparent 0.6px);
    background-size: 3px 3px;
}

/* Arcade hardware keeps its dark plastic and glass on the light page. */
.cabinet, .bezel, .crt, .crt-poster, .game-art, .machine-screen, .save-shot, .mini-shot, .boot {
    --text: #f3ead7;
    --text-dim: #d9cdb6;
    --amber-text: var(--amber);
    --glow-text: var(--glow);
    --line: rgba(243, 234, 215, 0.16);
    color: var(--text);
}

a { color: inherit; }

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 18px;
    border-bottom: 1px solid var(--line);
}

.brand-kicker,
.eyebrow {
    margin: 0;
    font-family: var(--ui);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--amber-text);
}

.brand h1,
.page-title {
    margin: 2px 0 0;
    font-family: var(--stencil);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.brand h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.top-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 8px 12px;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.pill strong { color: var(--glow-text); font-weight: 600; }

.floor {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
    gap: 22px;
    padding: 28px 0 10px;
}

.cabinet-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cabinet {
    background:
        linear-gradient(180deg, #4a4036 0%, #2b241d 18%, #1a1612 100%);
    border-radius: 18px 18px 22px 22px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    padding: 14px;
    position: relative;
}

.cabinet::before,
.cabinet::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d7c3a2, #6d5840 55%, #2a2118);
    top: 18px;
}

.cabinet::before { left: 16px; }
.cabinet::after { right: 16px; }

.marquee {
    margin: 8px 8px 12px;
    border-radius: 10px;
    padding: 16px 18px 14px;
    text-align: center;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 7px),
        linear-gradient(180deg, #ffd56a, #ffb000 40%, #e07a00);
    color: #2a1208;
    box-shadow: inset 0 -8px 0 rgba(120, 40, 0, 0.25), 0 8px 0 #5c3b16;
}

.marquee span {
    font-family: var(--stencil);
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.06em;
    display: block;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35);
}

.marquee small {
    font-family: var(--ui);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.screen-art {
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    background: #06110c;
    border: 8px solid #0d0d0d;
    box-shadow: inset 0 0 0 2px #3a3228, 0 10px 0 #070605;
    aspect-ratio: 16 / 9;
}

.screen-art svg { width: 100%; height: 100%; display: block; }

.plate-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 12px 8px;
    font-family: var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.play-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--slug);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 6px 0 var(--slug-dark);
}

.side-card,
.brief {
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(70, 48, 18, 0.08);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 18px 16px;
}

.side-card h2,
.brief h2 {
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 1.05rem;
    margin: 6px 0 10px;
}

.side-card p,
.brief p,
.note {
    color: var(--text-dim);
    line-height: 1.45;
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.facts li {
    background: var(--surface-2);
    border-radius: 10px;
    padding: 8px 10px;
}

.facts span {
    display: block;
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--brass);
}

.facts strong {
    font-weight: 600;
    font-size: 0.98rem;
}

.site-foot {
    padding: 8px 0 28px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.back {
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--amber-text);
}

.play-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    padding: 22px 0 28px;
    align-items: start;
}

.bezel {
    background: linear-gradient(180deg, #3a332c, #1a1612 30%);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

:root {
    --screen-aspect: 1.3333;
    --screen-room: 250px;
}

.crt {
    position: relative;
    background: var(--crt);
    border-radius: 12px;
    border: 10px solid #090909;
    box-shadow: inset 0 0 0 2px #3d342b, 0 12px 0 #070605;
    aspect-ratio: var(--screen-aspect);
    width: min(100%, calc(max(160px, 100svh - var(--screen-room)) * var(--screen-aspect)));
    margin-inline: auto;
    overflow: hidden;
}

body.game-on .marquee,
body.theater .marquee { display: none; }
body.theater .wrap { width: min(1680px, calc(100% - 24px)); }
body.theater .play-layout { grid-template-columns: 1fr; }

#game:fullscreen { background: #000; display: grid; place-items: center; }
#game:-webkit-full-screen { background: #000; display: grid; place-items: center; }
#game:fullscreen .ejs_canvas_parent {
    width: min(100vw, calc(100vh * var(--screen-aspect)));
    height: min(100vh, calc(100vw / var(--screen-aspect)));
}
#game:-webkit-full-screen .ejs_canvas_parent {
    width: min(100vw, calc(100vh * var(--screen-aspect)));
    height: min(100vh, calc(100vw / var(--screen-aspect)));
}
body.screen-fill #game:fullscreen .ejs_canvas_parent { width: 100vw; height: 100vh; }
body.screen-fill #game:-webkit-full-screen .ejs_canvas_parent { width: 100vw; height: 100vh; }

.screen-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.boot, .game-mount {
    position: absolute;
    inset: 0;
}

.boot {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
        radial-gradient(circle at 50% 40%, #163024, #07110c 70%);
}

.boot h2 {
    margin: 6px 0 14px;
    font-family: var(--stencil);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0.04em;
    text-shadow: 0 0 18px rgba(214, 255, 154, 0.25);
}

.power {
    appearance: none;
    border: 0;
    cursor: pointer;
    background: var(--amber);
    color: #2a1604;
    font-family: var(--stencil);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    padding: 12px 22px 10px;
    border-radius: 8px;
    box-shadow: 0 6px 0 var(--amber-deep);
}

.power:hover { transform: translateY(-1px); }
.power:disabled { cursor: wait; opacity: 0.7; transform: none; }

.boot-note, .coin-strip {
    font-family: var(--ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.boot-note { max-width: 36ch; color: var(--glow); }

.game-mount[hidden], .boot[hidden] { display: none; }

#game { width: 100%; height: 100%; }
#game canvas {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.picture-picks {
    display: flex;
    gap: 8px;
    margin: 10px 8px 0;
}
.picture-picks button {
    font-family: var(--ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    padding: 6px 12px;
    cursor: pointer;
}
.picture-picks button.is-on {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber-text);
}
.picture-picks .picks-label {
    align-self: center;
    font-family: var(--ui);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass);
    margin-left: 6px;
}

.coin-strip {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 8px 4px;
    color: var(--text);
    font-size: 0.95rem;
}

.lamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lamp i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6a2a22;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.lamp.on i {
    background: var(--glow);
    box-shadow: 0 0 10px var(--glow);
}

.controls-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.controls-head h2 { margin: 0; }

.text-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--amber-text);
    font-family: var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.pad-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    color: var(--text-dim);
    font-family: var(--ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.pad-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6a2a22;
    flex: none;
}

.pad-status.is-on { color: var(--glow-text); }
.pad-status.is-on::before {
    background: var(--glow);
    box-shadow: 0 0 8px var(--glow);
}

.bind-list { margin-top: 8px; }

.bind-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
}

.bind-row span {
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-text);
}

.bind-key, .bind-pad {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 8px;
    min-width: 64px;
    padding: 6px 8px;
    cursor: pointer;
    font-family: var(--ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bind-row.is-listening .bind-key,
.bind-row.is-listening .bind-pad {
    border-color: var(--amber-text);
    color: var(--amber-text);
}

.error {
    color: var(--danger);
    min-height: 1.2em;
}

@media (max-width: 860px) {
    .floor, .play-layout { grid-template-columns: 1fr; }
    .topbar { flex-direction: column; align-items: flex-start; }
    .coin-strip { flex-direction: column; }
}

.home {
    --display: "Fraunces", Georgia, serif;
    overflow-x: clip;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(226, 59, 34, 0.12), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(255, 176, 0, 0.16), transparent 55%),
        linear-gradient(180deg, #fbf2e1 0%, #f7efe0 32%, #f3eadb 100%);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 0 8px;
}

.wordmark {
    font-family: var(--stencil);
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 16px;
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-links a { text-decoration: none; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav .pill { margin-left: auto; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 42px 0 36px;
}

.hero-copy { min-width: 0; }

.hero h1 {
    margin: 8px 0 12px;
    font-family: var(--display);
    font-weight: 560;
    font-style: italic;
    font-size: clamp(2.6rem, 8vw, 6.2rem);
    letter-spacing: -0.03em;
    line-height: 0.92;
    padding-right: 0.06em;
}

.lede {
    max-width: 38rem;
    color: var(--text-dim);
    font-size: 1.12rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: var(--slug);
    color: white;
    font-family: var(--stencil);
    letter-spacing: 0.04em;
    font-size: 1.2rem;
    padding: 12px 18px 10px;
    border-radius: 10px;
    box-shadow: 0 7px 0 var(--slug-dark);
}

.cta:hover { transform: translateY(-1px); }
.cta-ghost {
    background: transparent;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line);
}
.cta.is-disabled { pointer-events: none; opacity: 0.6; }

.crt-poster {
    background: linear-gradient(180deg, #3c342c, #161310);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.crt-poster-glass {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    border: 10px solid #090909;
    overflow: hidden;
    position: relative;
    background: #07110c;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.crt-poster-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crt-poster-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
}

.crt-poster-glass p,
.crt-poster-glass span {
    margin: 0;
    font-family: var(--ui);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--glow);
}

.crt-poster-glass strong {
    font-family: var(--stencil);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 8px 0;
}

.crt-poster-coin {
    margin-top: 12px;
    text-align: center;
    font-family: var(--ui);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--amber-text);
    animation: blink 1.4s steps(1) infinite;
}

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.ticker-track {
    display: flex;
    gap: 42px;
    width: max-content;
    padding: 10px 0;
    animation: marquee 22s linear infinite;
    font-family: var(--stencil);
    letter-spacing: 0.12em;
    color: var(--amber-text);
}

.ticker-track span::before {
    content: "●";
    margin-right: 42px;
    color: var(--slug);
    font-size: 0.7rem;
}

.band { padding: 34px 0 8px; }

.account-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}
.account-head .cta { flex: 0 0 auto; }
#admin-login { max-width: 420px; margin-top: 18px; }
#admin-logout[hidden], #admin-login[hidden] { display: none; }

.section-head h2 {
    margin: 4px 0 6px;
    font-family: var(--display);
    font-weight: 560;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-head p { margin: 0; color: var(--text-dim); }

.system-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    min-width: 0;
    max-width: 100%;
}

.machine {
    appearance: none;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    border-radius: 16px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, #fffaf0), var(--surface) 70%);
    padding: 14px 14px 12px;
    box-shadow: 0 8px 20px rgba(70, 48, 18, 0.1);
}

.machine strong {
    display: block;
    margin-top: 12px;
    font-family: var(--stencil);
    font-weight: 400;
    letter-spacing: 0.04em;
    font-size: 1.25rem;
}

.machine em, .machine span {
    display: block;
    font-style: normal;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.machine span { margin-top: 8px; color: color-mix(in srgb, var(--accent) 75%, #000); }
.machine.is-on { outline: 2px solid var(--accent); outline-offset: 2px; }

.machine-screen {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #111;
    background: #07110c;
}

.machine-screen img,
.glass-card img,
.empty-shelf img,
.ticket-shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.machine-screen.is-poster img { object-position: center top; }

.glass-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    min-width: 0;
}

.glass-card {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.glass-card img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.glass-card span {
    display: block;
    margin-top: 8px;
    font-family: var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.92rem;
    color: var(--amber-text);
}

.glass-card:hover img { transform: translateY(-2px); }

.cart {
    display: block;
    width: 54px;
    height: 68px;
    border-radius: 6px 6px 8px 8px;
    background:
        linear-gradient(#1b1b1b, #1b1b1b) 8px 8px / 38px 10px no-repeat,
        linear-gradient(180deg, #d7d2c8, #8d887e);
    box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.25);
}
.cart-neogeo {
    width: 72px;
    background:
        linear-gradient(#f2c14e, #f2c14e) 0 0 / 100% 14px no-repeat,
        linear-gradient(180deg, #c4372a, #6e1c16);
}
.cart-snes {
    background:
        radial-gradient(circle at 12px 18px, #e23b22 4px, transparent 5px),
        radial-gradient(circle at 26px 18px, #e2c022 4px, transparent 5px),
        radial-gradient(circle at 40px 18px, #3caa4a 4px, transparent 5px),
        radial-gradient(circle at 19px 32px, #3d7adf 4px, transparent 5px),
        linear-gradient(180deg, #d9d4cb, #9a958c);
}
.cart-megadrive {
    background:
        linear-gradient(#3d8bfd, #3d8bfd) 0 0 / 100% 8px no-repeat,
        linear-gradient(180deg, #2a2a2a, #111);
}
.cart-gb {
    width: 42px;
    height: 64px;
    border-radius: 8px 8px 10px 10px;
    background:
        linear-gradient(#c5d67a, #c5d67a) 7px 10px / 28px 22px no-repeat,
        linear-gradient(180deg, #c5b48a, #8c7a52);
}
.cart-lg { width: 84px; height: 108px; flex: none; }

.ticket-list { display: grid; gap: 14px; margin-top: 16px; }

.ticket {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.ticket-shot { min-height: 160px; }

.ticket-body small {
    font-family: var(--ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-text);
}

.ticket-body h3 {
    margin: 4px 0 8px;
    font-family: var(--stencil);
    font-weight: 400;
    letter-spacing: 0.03em;
    font-size: 1.8rem;
}

.ticket-marquee {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 18px 12px;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 7px),
        linear-gradient(180deg, #ffd56a, #ffb000 45%, #e07a00);
    color: #2a1208;
}

.ticket-marquee small {
    font-family: var(--ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ticket-marquee strong {
    font-family: var(--stencil);
    font-weight: 400;
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-top: 6px;
}

.ticket-body { padding: 18px 18px 16px; }
.ticket-body p { margin: 0; color: var(--text-dim); line-height: 1.45; }
.ticket-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.empty-shelf {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px dashed var(--line);
    background: var(--surface-2);
}

.empty-shelf img {
    width: 220px;
    height: 150px;
    flex: none;
    border-radius: 10px;
}

.empty-shelf h3 {
    margin: 0 0 6px;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.empty-shelf p { margin: 0; color: var(--text-dim); }
.empty-shelf code {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--text);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.reasons article {
    padding: 16px 16px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.reasons h2 {
    margin: 6px 0 8px;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.15rem;
}

.reasons p { margin: 0; color: var(--text-dim); line-height: 1.45; }

@keyframes blink {
    50% { opacity: 0.25; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
    .hero, .ticket, .reasons { grid-template-columns: 1fr; }
    .system-row {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .machine { min-width: 148px; }
    .system-row, .glass-row { min-width: 0; }
    .glass-row {
        display: flex;
        overflow-x: auto;
    }
    .glass-card { min-width: 180px; }
    .empty-shelf { align-items: flex-start; }
    .empty-shelf img { width: 120px; height: 88px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .nav-links {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }
    .nav .pill { margin-left: 0; }
    .hero-actions .cta { max-width: 100%; }
}

.ad-slot { margin: 28px 0 0; display: grid; gap: 12px; }
.ad-slot[hidden] { display: none; }
.ad-card {
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card-form, .seat {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.card-form h3, .seat strong { font-family: var(--ui); letter-spacing: 0.04em; margin: 0; }
.card-form label, .field-row label { display: grid; gap: 4px; font-size: 0.92rem; }
.card-form input, .card-form select, .card-form textarea {
    width: 100%;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    border: 0;
    font: inherit;
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.check { display: flex !important; align-items: center; gap: 8px; }
.check input { width: auto; }
.form-error { min-height: 1.2em; color: var(--danger); margin: 0; }
.stack { display: grid; gap: 10px; margin-top: 14px; }
.user-row, .game-row { align-items: center; }
body.desk .wrap { width: min(1180px, calc(100% - 32px)); }
.desk-shell:not([hidden]) { display: block; margin-top: 18px; }
body.desk .nav { flex-wrap: wrap; row-gap: 10px; }
.desk-nav:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px; }
.desk-nav a {
    padding: 6px 10px 5px;
    border: 1px solid transparent;
    color: var(--text);
}
.desk-nav a:hover { border-color: var(--line); background: var(--surface); }
.desk-nav a.is-on {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber-text);
}
.nav-leave { margin-left: auto; }
.desk-main { min-width: 0; }
.player-counts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.player-counts div {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.player-counts strong { font-family: var(--stencil); font-size: 1.6rem; color: var(--amber-text); }
.player-counts span { font-family: var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-size: 0.85rem; }
.player-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.player-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.player-filters button {
    font-family: var(--ui);
    letter-spacing: 0.04em;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    padding: 6px 10px;
    cursor: pointer;
}
.player-filters button.is-on { background: var(--amber); color: var(--ink); border-color: var(--amber-text); }
#player-search {
    min-width: 220px;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    border: 0;
    font: inherit;
}
.table-wrap { overflow-x: auto; }
.player-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.player-table th {
    text-align: left;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-dim);
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
}
.player-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.player-table td:last-child { text-align: right; }
.import-table td:last-child { text-align: left; }
.import-table code { word-break: break-all; }
.comment-cell { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 420px; }
.cover-cell { width: 84px; }
.cover-thumb {
    display: grid;
    place-items: center;
    width: 72px;
    height: 54px;
    padding: 0;
    overflow: hidden;
    color: var(--amber-text);
    background: var(--surface-2);
    border: 1px dashed rgba(168, 90, 0, 0.45);
    border-radius: 6px;
    font: 600 0.72rem var(--ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.cover-thumb:hover { border-color: var(--amber-text); background: rgba(255, 176, 0, 0.1); }
.cover-thumb { position: relative; }
.cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-auto {
    position: absolute;
    right: 2px;
    bottom: 2px;
    padding: 0 4px;
    font-style: normal;
    font-size: 0.6rem;
    color: var(--ink, #14110e);
    background: var(--amber);
    border-radius: 3px;
}
.game-art img[src^="/thumbs/"], .cover-thumb img[src^="/thumbs/"] { image-rendering: pixelated; }
.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 8px;
    background: #6b6258;
}
.status-dot.is-online { background: #7ddc6b; box-shadow: 0 0 8px rgba(125, 220, 107, 0.7); }
.status-dot.is-playing { background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 0, 0.7); }
.status-dot.is-disabled { background: var(--slug); }
.user-edit-row td { background: rgba(255, 176, 0, 0.06); }
.user-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    align-items: end;
    text-align: left;
}
.user-editor label { display: grid; gap: 4px; }
.user-editor input:not([type=checkbox]), .user-editor select {
    width: 100%;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    border: 0;
    font: inherit;
}
.new-player { margin-top: 14px; }
.new-player summary {
    cursor: pointer;
    font-family: var(--ui);
    letter-spacing: 0.04em;
    font-weight: 600;
}
.new-player form { display: grid; gap: 10px; margin-top: 10px; }
.rom-upload:not([hidden]) { display: grid; gap: 6px; }
.rom-upload progress { width: 100%; height: 10px; accent-color: var(--amber, #f5b400); }
.rom-upload span { font-size: 0.9rem; opacity: 0.85; }
#game-save:disabled { opacity: 0.5; cursor: wait; }
@media (max-width: 800px) {
    .player-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.fav-btn {
    font-family: var(--ui);
    letter-spacing: 0.06em;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
}
.fav-btn.is-on { color: var(--ink); background: var(--amber); border-color: var(--amber-text); }
.fav-btn[hidden] { display: none; }
.save-slots { display: grid; gap: 8px; margin: 8px 0 18px; }
.save-slot {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.save-shot {
    width: 72px;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--crt);
}
.save-shot img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.save-shot span { font-family: var(--stencil); color: var(--text-dim); }
.save-slot.is-empty .save-shot { opacity: 0.55; }
.save-info strong { display: block; font-family: var(--ui); letter-spacing: 0.04em; }
.save-info small { color: var(--text-dim); }
.save-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.save-actions .text-btn:disabled, .mini-actions .text-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.library-head { margin-top: 28px; }
.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.mini-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
}
.mini-shot { aspect-ratio: 4 / 3; background: var(--crt); overflow: hidden; }
.mini-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-body { display: grid; gap: 4px; padding: 10px 12px 12px; align-content: start; }
.mini-body small {
    font-family: var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-text);
}
.mini-body strong { font-family: var(--stencil); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.02em; }
.mini-body span { color: var(--text-dim); font-size: 0.9rem; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.mini-actions .cta { padding: 8px 14px; font-size: 0.95rem; }
.empty-note { margin-top: 12px; color: var(--text-dim); }
.library-search {
    width: min(360px, 100%);
    margin-top: 12px;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    border: 0;
    font: inherit;
}
.library-band[hidden] { display: none; }
a.mini-card { color: inherit; text-decoration: none; }
a.mini-card:hover { border-color: var(--amber-text); }
.shelf-sub {
    margin: 18px 0 0;
    font-family: var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.panel[hidden] { display: none; }

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.game-grid.is-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .game-grid.is-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .game-grid.is-five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.game-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(70, 48, 18, 0.1);
}
.game-art {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--crt);
    overflow: hidden;
}
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
a.game-art:hover img { transform: scale(1.04); }
.game-art-soon {
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 14px;
    text-align: center;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 5px),
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 45%, #1d1814), #0d0b09 75%);
}
.game-art-soon span {
    font-family: var(--stencil);
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--text);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
    overflow-wrap: anywhere;
}
.game-art-soon em {
    justify-self: center;
    font-style: normal;
    font-family: var(--ui);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 70%, white);
    color: color-mix(in srgb, var(--accent) 40%, white);
}
.game-card.is-soon { opacity: 0.82; }
.game-art-soon.has-image { padding: 0; }
.game-art-soon.has-image span { display: none; }
.game-art-soon.has-image img { position: absolute; inset: 0; filter: saturate(0.75) brightness(0.8); }
.game-art-soon.has-image em {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: rgba(13, 11, 9, 0.8);
}
.game-body { display: grid; gap: 6px; align-content: start; padding: 12px 14px 14px; min-width: 0; }
.game-body small {
    font-family: var(--ui);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--amber-text);
    overflow-wrap: anywhere;
}
.game-body h3 {
    margin: 0;
    font-family: var(--ui);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.game-body h3 a { color: inherit; text-decoration: none; }
.game-body h3 a:hover { color: var(--amber-text); }
.kind-tag {
    justify-self: start;
    font-family: var(--ui);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-dim);
}
.soon-note { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.stars { display: flex; align-items: center; flex-wrap: wrap; gap: 1px; }
.stars button {
    appearance: none;
    border: 0;
    background: none;
    padding: 0 1px;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    color: #d6cbb9;
}
.stars button.is-on { color: #e89a00; }
.stars.is-mine button.is-on { color: #f07800; text-shadow: 0 0 6px rgba(240, 120, 0, 0.35); }
.stars:hover button { color: #f07800; }
.stars button:hover ~ button { color: #d6cbb9; text-shadow: none; }
.stars-note { margin-left: 6px; font-size: 0.8rem; color: var(--text-dim); }
.stars.is-big button { font-size: 1.8rem; }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.cta-small { font-size: 0.95rem; padding: 7px 12px 6px; border-radius: 8px; }
.icon-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-family: var(--ui);
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.icon-btn:hover { border-color: var(--amber-text); }
.icon-btn.is-on { color: var(--amber-text); border-color: var(--amber-text); }
.icon-btn[data-like].is-on { color: #d63a3a; border-color: #d63a3a; }
.comment-count { font-size: 0.85rem; color: var(--text-dim); }
.shelf-more { display: flex; justify-content: center; margin: 22px 0 6px; }
.shelf-more [hidden] { display: none; }
.machine-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.machine-tabs a {
    font-family: var(--ui);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-dim);
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.machine-tabs a.is-on, .machine-tabs a:hover { color: var(--ink); background: var(--amber); border-color: var(--amber-text); }
.list-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 18px; }
#game-search, #home-search {
    flex: 1 1 260px;
    max-width: 420px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    border: 0;
    border-radius: 8px;
    font: inherit;
}
.home-search { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.home-search #home-search { max-width: none; padding: 12px 14px; }
.hall-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translate(-50%, 30px);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--amber);
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: var(--shadow);
    transition: opacity 0.2s, transform 0.2s;
}
.hall-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hall-toast a { color: var(--amber-text); }
.share-sheet {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0;
    background: var(--surface);
    color: var(--text);
    width: min(440px, calc(100% - 32px));
}
.share-sheet::backdrop { background: rgba(40, 28, 12, 0.45); }
.share-box { display: grid; gap: 14px; padding: 18px; }
.share-box h3 { margin: 0; font-family: var(--ui); letter-spacing: 0.06em; text-transform: uppercase; }
.share-copy { display: flex; gap: 8px; }
.share-copy input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
    font: inherit;
}
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-links a {
    font-family: var(--ui);
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--text);
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
}
.share-links a:hover { border-color: var(--amber-text); color: var(--amber-text); }
.share-box .text-btn { justify-self: end; }

.community {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    margin: 28px 0 40px;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(70, 48, 18, 0.08);
}
.community[hidden] { display: none; }
.community-about h2 {
    margin: 4px 0 4px;
    font-family: var(--stencil);
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.03em;
}
.community-about #about-meta { margin: 0 0 10px; font-family: var(--ui); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.community-about #about-text { line-height: 1.55; color: var(--text); }
.community-sub {
    margin: 18px 0 8px;
    font-family: var(--ui);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-dim);
}
.community-talk .community-sub { margin-top: 0; }
.comment-form { display: grid; gap: 8px; }
.comment-form[hidden], #comment-signin[hidden] { display: none; }
.comment-form textarea {
    width: 100%;
    resize: vertical;
    padding: 10px 12px;
    border-radius: 8px;
    border: 0;
    background: var(--field);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
    font: inherit;
}
.comment-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.comment-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; max-height: 560px; overflow: auto; }
.comment {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.comment.is-mine { border-color: rgba(255, 176, 0, 0.45); }
.comment-head { display: flex; align-items: baseline; gap: 10px; font-size: 0.85rem; color: var(--text-dim); }
.comment-head strong { color: var(--amber-text); font-family: var(--ui); letter-spacing: 0.04em; font-size: 0.95rem; }
.comment-head .text-btn { margin-left: auto; font-size: 0.75rem; }
.comment p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
@media (max-width: 860px) {
    .community { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .split { grid-template-columns: 1fr; }
}

.app-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
    padding: 32px;
    border-radius: 24px;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(255, 176, 0, 0.22), transparent 60%),
        var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.app-copy h2 { margin: 4px 0 12px; font-family: var(--stencil); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.app-copy > p { color: var(--text-dim); max-width: 56ch; }
.app-points { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.app-points li { padding-left: 22px; position: relative; color: var(--text-dim); }
.app-points li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; background: var(--amber); box-shadow: 2px 2px 0 var(--slug); }
.app-points strong { color: var(--text); }
.app-copy .note { margin-top: 14px; font-size: 0.88rem; }
.app-phones { position: relative; height: 440px; }
.phone {
    position: absolute;
    width: 200px;
    aspect-ratio: 412 / 860;
    padding: 8px;
    border-radius: 30px;
    background: #16120c;
    box-shadow: 0 24px 50px rgba(40, 28, 12, 0.35), inset 0 0 0 2px #3a332c;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.phone-front { left: 8%; top: 0; transform: rotate(-5deg); z-index: 2; }
.phone-back { right: 4%; top: 30px; transform: rotate(7deg); }
@media (max-width: 860px) {
    .app-band { grid-template-columns: 1fr; padding: 22px; }
    .app-phones { height: 380px; }
    .phone { width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
    .crt-poster-coin, .ticker-track { animation: none; }
}
