:root[data-theme="arcade"] {
    color-scheme: light;
    --background: #fffdf7;
    --panel: #fff;
    --panel-high: #f5efe6;
    --field: #fffdf7;
    --select-caret: var(--line);
    --line: #1e1b4b;
    --text: #1e1b4b;
    --muted: #475569;
    --mint: #064e3b;
    --mint-dark: #a7f3d0;
    --frost: #16445f;
    --warm: #78350f;
    --error: #881337;
    --radius: .9rem;
    --yellow: #fde047;
    --mint-fill: #6ee7b7;
    --lilac: #e9d5ff;
    --sky: #bae6fd;
    --peach: #fed7aa;
    --rose: #fda4af;
    --rose-pale: #ffe4e6;
    --link: #4c3282;
    --subtle-line: #a5a0b7;
    --shadow-ink: var(--line);
    --card-shadow: 4px 4px 0 var(--shadow-ink);
    --control-shadow: 2px 2px 0 var(--shadow-ink);
    --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

[data-theme="arcade"] ::selection { color: var(--text); background: var(--lilac); }
[data-theme="arcade"] :focus-visible { outline-color: #633cc2; }
[data-theme="arcade"] :is(h1, h2, h3, .brand) { font-family: "Avenir Next", system-ui, sans-serif; }
[data-theme="arcade"] :is(.eyebrow, .badge, time, .zone) { font-family: var(--mono); }
[data-theme="arcade"] :is(.eyebrow, .brand-accent, .person h2 small) { color: var(--link); }

[data-theme="arcade"] .site-header { background: var(--background); border-bottom: 2px solid var(--line); }
[data-theme="arcade"] .brand-mark { background: var(--yellow); border: 1px solid var(--line); box-shadow: var(--control-shadow); }
[data-theme="arcade"] .main-nav a:hover { color: var(--text); background: var(--lilac); }
[data-theme="arcade"] .main-nav a[aria-current="page"] { color: var(--text); background: var(--yellow); border-color: var(--line); }
[data-theme="arcade"] :is(.languages, .year-menu summary, .year-menu ul, .account-panel) { box-shadow: var(--control-shadow); }
[data-theme="arcade"] .languages button[aria-pressed="true"] { color: var(--text); background: var(--yellow); }
[data-theme="arcade"] .skip-link { color: var(--text); background: var(--yellow); border: 1px solid var(--line); }

[data-theme="arcade"] :is(.hero, .gate, .card, .empty-state) { border: 2px solid var(--line); box-shadow: var(--card-shadow); }
[data-theme="arcade"] :is(.hero, .gate) {
    background: radial-gradient(ellipse at 92% 27%, #f8edaf, transparent 46%),
        linear-gradient(118deg, #f7dfed, #fff1db 46%, #e2eef5);
}
[data-theme="arcade"] .hero-accent { color: var(--text); background: linear-gradient(transparent 67%, var(--yellow) 67% 91%, transparent 91%); }
[data-theme="arcade"] .hero-year { color: var(--muted); }
[data-theme="arcade"] .orbit { border-color: #3f237329; }
[data-theme="arcade"] .live-dot { background: #047857; box-shadow: 0 0 0 .18rem #04785722; }
[data-theme="arcade"] .summary-card:is(:hover, :focus-visible),
[data-theme="arcade"] .game-preview:hover { border-color: var(--line); box-shadow: 2px 2px 0 var(--line); }
[data-theme="arcade"] .summary-card-featured { background: linear-gradient(125deg, #fef3c7, var(--panel) 78%); }
[data-theme="arcade"] .empty-state { border-style: dashed; background: #faf5ff; }
[data-theme="arcade"] .empty-mark { color: var(--link); }
[data-theme="arcade"] .session-card.confirmed { background: linear-gradient(125deg, #dcfce7, var(--panel) 78%); }
[data-theme="arcade"] .session-card.cancelled { border-style: dashed; }
[data-theme="arcade"] :is(.slot-time p, .names) { color: var(--text); }
[data-theme="arcade"] :is(.slot-time .local-time, .slot-time .zone) { color: var(--muted); }
[data-theme="arcade"] .vote-details dl div { border: 1px solid var(--subtle-line); background: var(--panel-high); }
[data-theme="arcade"] .game-art {
    color: var(--link);
    border-color: var(--line);
    background: repeating-linear-gradient(140deg, transparent 0 9px, #4c328214 9px 10px),
        linear-gradient(140deg, var(--lilac), var(--sky));
}
[data-theme="arcade"] .avatar { border: 1px solid var(--line); color: var(--text); background: var(--mint-fill); }
[data-theme="arcade"] .avatar-1 { background: var(--sky); }
[data-theme="arcade"] .avatar-2 { background: var(--lilac); }
[data-theme="arcade"] .avatar-3 { background: var(--peach); }

[data-theme="arcade"] .admin-create summary { color: var(--link); }
[data-theme="arcade"] .button { color: var(--text); background: var(--panel-high); border-color: var(--line); box-shadow: var(--control-shadow); }
[data-theme="arcade"] .button:hover:where(:not(:disabled)) { background: var(--lilac); border-color: var(--line); }
[data-theme="arcade"] .button.primary { color: var(--text); background: var(--yellow); border-color: var(--line); font-weight: 800; }
[data-theme="arcade"] .button.primary:hover:not(:disabled) { background: #facc15; }
[data-theme="arcade"] .button.filter-toggle { background: var(--lilac); }
[data-theme="arcade"] .button.filter-toggle:hover { background: #ddc0fc; }
[data-theme="arcade"] .button.filter-toggle[data-active] { background: var(--mint-fill); }
[data-theme="arcade"] .button.filter-toggle[data-active]:hover { background: var(--mint-dark); }
[data-theme="arcade"] .game-view-controls .button[aria-pressed="true"] { color: var(--link); background: var(--lilac); }
[data-theme="arcade"] .badge { color: var(--text); background: var(--panel-high); border: 1px solid var(--line); border-radius: 999px; }
[data-theme="arcade"] .badge.mint, [data-theme="arcade"] .vote[aria-pressed="true"] { color: var(--mint); background: var(--mint-fill); border-color: var(--line); }
[data-theme="arcade"] .badge.frost { color: var(--frost); background: var(--sky); }
[data-theme="arcade"] :is(.badge.warm, .vote-maybe[aria-pressed="true"]) { color: var(--warm); background: var(--peach); }
[data-theme="arcade"] :is(.vote-no, .vote-pass)[aria-pressed="true"] { color: var(--error); background: var(--rose); }

[data-theme="arcade"] :is(.notice, .toast) { color: var(--mint); border-color: var(--line); background: var(--mint-dark); box-shadow: var(--control-shadow); }
[data-theme="arcade"] :is(.notice.error, .toast[data-kind="error"]) { color: var(--error); background: var(--rose-pale); }
[data-theme="arcade"] .toast-dismiss:is(:hover, :focus-visible), [data-theme="arcade"] .toast progress { background: #1e1b4b1a; }

[data-theme="arcade"] label { color: var(--text); }
[data-theme="arcade"] :is(input:not([type="hidden"]), textarea, select, .genre-filter-trigger) { border-color: #736c8f; }
[data-theme="arcade"] :is(input, textarea)::placeholder { color: #625b76; }
[data-theme="arcade"] input::file-selector-button { background: var(--lilac); }
[data-theme="arcade"] :is(.suggest, .slot-calendar, .game-vote-dialog)::backdrop { background: #28203f6b; }
[data-theme="arcade"] .autocomplete :is(ul, .hint) { border-color: var(--line); background: var(--panel); box-shadow: var(--card-shadow); }
[data-theme="arcade"] .autocomplete li:is(:hover, [aria-selected="true"]) { background: var(--lilac); }
[data-theme="arcade"] .admin-editions a:is(:hover, [aria-current]) { border-color: var(--line); background: var(--lilac); }
[data-theme="arcade"] .slot-calendar-grid button:hover { background: var(--lilac); }
[data-theme="arcade"] .slot-calendar-grid button[aria-pressed="true"] { border-color: var(--line); background: var(--yellow); color: var(--text); }

:root[data-theme="arcade"][data-color-scheme="dark"] {
    color-scheme: dark;
    --background: #141225;
    --panel: #201d34;
    --panel-high: #2c2842;
    --field: #19162c;
    --select-caret: var(--muted);
    --line: #494261;
    --text: #f8f4ff;
    --muted: #c4bed5;
    --mint: #b5f5db;
    --mint-dark: #173c36;
    --frost: #c2e9ff;
    --warm: #ffdab3;
    --error: #ffc3cd;
    --mint-fill: #214c40;
    --lilac: #3b2f59;
    --sky: #233e57;
    --peach: #513726;
    --rose: #5a2b40;
    --rose-pale: #4a2538;
    --link: #d8c3ff;
    --subtle-line: #403953;
    --shadow-ink: #0a0814;
    --gold-ink: #1e1b4b;
}
[data-color-scheme="dark"] :focus-visible { outline-color: var(--yellow); }
[data-color-scheme="dark"] :is(.hero, .gate) {
    background: radial-gradient(ellipse at 95% 23%, #423765, transparent 50%),
        linear-gradient(118deg, #382439, #2b263d 46%, #1a3041);
}
[data-color-scheme="dark"] .hero-accent { background: linear-gradient(transparent 67%, #806125 67% 91%, transparent 91%); }
[data-color-scheme="dark"] .orbit { border-color: #d8c3ff38; }
[data-color-scheme="dark"] .live-dot { background: #6ee7b7; box-shadow: 0 0 0 .18rem #6ee7b733; }
[data-color-scheme="dark"] .summary-card-featured { background: linear-gradient(125deg, #392e3e, var(--panel) 78%); }
[data-color-scheme="dark"] .session-card.confirmed { background: linear-gradient(125deg, #233a39, var(--panel) 78%); }
[data-color-scheme="dark"] .empty-state { background: #262039; }
[data-color-scheme="dark"] :is(.main-nav a[aria-current="page"], .languages button[aria-pressed="true"], .button.primary, .skip-link, .slot-calendar-grid button[aria-pressed="true"]) { color: var(--gold-ink); }
[data-color-scheme="dark"] .button.filter-toggle:hover { background: #4d3e6d; }
[data-color-scheme="dark"] .button.filter-toggle[data-active]:hover { background: #2b594d; }
[data-color-scheme="dark"] :is(input:not([type="hidden"]), textarea, select, .genre-filter-trigger) { border-color: #655c80; }
[data-color-scheme="dark"] :is(input, textarea)::placeholder { color: #b0a7c6; }
[data-color-scheme="dark"] :is(.suggest, .slot-calendar, .game-vote-dialog)::backdrop { background: #0a0814b8; }
[data-color-scheme="dark"] .toast-dismiss:is(:hover, :focus-visible),
[data-color-scheme="dark"] .toast progress { background: #ffffff26; }
