@font-face {
    font-family: "Press Start 2P";
    src: url("/games/fonts/PressStart2P-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --ink: #fff4df;
    --muted: #c4bfd6;
    --red: #ef3049;
    --red-deep: #5e122a;
    --cyan: #4ce8ff;
    --cyan-soft: #a3f5ff;
    --violet: #d776ff;
    --gold: #ffe17b;
    --bg: #100b21;
    --panel: #171333;
    --line: #5e4c9c;
    --font-pixel: "Press Start 2P", "Courier New", monospace;
    --font-body: "Courier New", "Lucida Console", monospace;
    --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 50% -12%, rgba(112, 46, 181, .42), transparent 48rem),
        linear-gradient(180deg, #130d2b 0%, #100b21 45%, #190b23 100%);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
}
body::before {
    position: fixed;
    z-index: 10;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(205, 226, 255, .11) 4px, transparent 5px);
    content: "";
}
a { color: inherit; }
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
    border-radius: 2px;
    box-shadow: 0 0 0 2px #170e2e;
}
.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px clamp(18px, 5vw, 68px);
    border-bottom: 1px solid rgba(110, 87, 174, .55);
    background: rgba(14, 9, 30, .94);
    box-shadow: 0 5px 25px rgba(4, 2, 15, .36);
}
.brand { display: inline-flex; min-height: 42px; align-items: center; }
.brand img { display: block; width: 132px; height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.top-link {
    color: #d8d0eb;
    font: 700 .875rem/1.2 var(--font-ui);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.top-link:hover, footer a:hover { color: var(--cyan); }
.availability-link { color: var(--ink); border-bottom: 2px solid var(--red); padding: 7px 0; }
main { width: min(100% - 40px, 1180px); margin: 0 auto; }
.intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy player" "copy hall";
    align-items: center;
    gap: 20px;
    padding: clamp(24px, 4vw, 44px) 0 16px;
}
.intro-copy-wrap { grid-area: copy; min-width: 0; }
.eyebrow {
    margin: 0 0 13px;
    color: var(--cyan);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .game-title {
    font-family: var(--font-pixel);
    font-weight: 400;
    text-transform: uppercase;
}
h1 {
    margin: 0;
    color: #effaff;
    font-size: clamp(1.35rem, 3.3vw, 2.75rem);
    line-height: 1.5;
    letter-spacing: -.08em;
    text-shadow: 3px 3px 0 #6c3ed2, 0 0 20px rgba(76,232,255,.36);
}
h1 span { color: var(--gold); text-shadow: 3px 3px 0 #a72f5f, 0 0 17px rgba(255,225,123,.35); }
.intro-copy {
    max-width: 445px;
    margin: 10px 0 0;
    color: #cec7dd;
    font-size: 1rem;
    line-height: 1.6;
}
.player-tag {
    grid-area: player;
    align-self: center;
    justify-self: end;
    width: max-content;
    min-width: 156px;
    padding: 12px 14px;
    border: 1px solid #7357bd;
    color: var(--gold);
    background: #21163d;
    box-shadow: 4px 4px 0 #0b0718, 0 0 17px rgba(171,106,255,.18);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    white-space: nowrap;
}
.player-tag span { display: block; color: var(--cyan); font-size: .72rem; }
.player-tag .player-completed-count {
    display: block;
    margin-top: 2px;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
}
.arcade-room {
    position: relative;
    isolation: isolate;
    min-height: 174px;
    margin: 16px 0 25px;
    overflow: hidden;
    border: 2px solid #423576;
    background:
        linear-gradient(180deg, rgba(15,11,41,.18), rgba(13,8,27,.93)),
        repeating-linear-gradient(90deg, transparent 0 58px, rgba(75,53,144,.14) 59px 61px),
        linear-gradient(180deg, #24164a, #120c28 72%, #0d0920);
    box-shadow: inset 0 0 30px rgba(7,3,19,.65), 0 10px 30px rgba(3,2,12,.35);
}
.room-sign {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 50%;
    min-width: 250px;
    padding: 11px 15px;
    border: 2px solid var(--cyan);
    color: #f3f5ff;
    background: #140d2d;
    box-shadow: 0 0 0 4px #2e1c58, 0 0 20px rgba(76,232,255,.48), inset 0 0 12px rgba(76,232,255,.12);
    font-family: var(--font-pixel);
    font-size: .55rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 0 9px var(--cyan);
    transform: translateX(-50%);
}
.room-sign span { color: var(--gold); }
.room-dancers {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 200px;
    height: 90px;
    overflow: visible;
    filter: drop-shadow(0 0 9px rgba(76, 232, 255, .4));
    transform: translateX(-50%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.room-dancers:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    filter: drop-shadow(0 0 8px rgba(255, 225, 123, .75));
}
.room-dance-pair {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: wedding-dance-sway 1.35s ease-in-out infinite alternate;
}
.room-dancer-bride {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: wedding-dance-step 1.05s ease-in-out infinite alternate;
}
.room-dancer-groom {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: wedding-dance-step 1.05s ease-in-out -0.52s infinite alternate-reverse;
}
@keyframes wedding-dance-sway {
    from { transform: translateY(1px) rotate(-1deg); }
    to { transform: translateY(-2px) rotate(1deg); }
}
@keyframes wedding-dance-step {
    from { transform: rotate(-2deg); }
    to { transform: rotate(2deg); }
}
.room-pixels {
    position: absolute;
    inset: 0;
    opacity: .8;
    background:
        linear-gradient(90deg, transparent 3%, #de5aff 3% 3.3%, transparent 3.3% 16%, #4ce8ff 16% 16.3%, transparent 16.3% 83%, #e94bc5 83% 83.3%, transparent 83.3% 96%, #4ce8ff 96% 96.3%, transparent 96.3%),
        linear-gradient(180deg, transparent 0 18%, rgba(162,63,226,.2) 18% 20%, transparent 20% 72%, rgba(84,220,255,.11) 72% 74%, transparent 74%),
        radial-gradient(ellipse at 50% 108%, rgba(78,220,255,.33), transparent 52%);
}
.room-cabinet {
    position: absolute;
    bottom: 11px;
    width: 84px;
    height: 95px;
    border: 2px solid #7e4ed7;
    background: linear-gradient(180deg, #592f96 0 15%, #21143d 15% 86%, #4a267a 86%);
    box-shadow: 0 0 14px rgba(209,91,255,.28), inset 0 0 0 5px rgba(8,6,24,.3);
}
.room-cabinet::before {
    position: absolute;
    top: 19px;
    right: 9px;
    left: 9px;
    height: 41px;
    border: 2px solid var(--cyan);
    background: repeating-linear-gradient(0deg, #171135 0 5px, #24204d 6px 9px);
    box-shadow: 0 0 11px rgba(76,232,255,.45);
    content: "";
}
.room-cabinet::after {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    width: 22px;
    height: 5px;
    margin: auto;
    background: var(--red);
    box-shadow: 11px 0 0 var(--gold), 0 0 8px var(--red);
    content: "";
}
.room-cabinet-left { left: 8%; transform: skewY(-4deg); }
.room-cabinet-right { right: 8%; transform: skewY(4deg); border-color: #c04de1; }
.room-cabinet-right::before { border-color: var(--violet); }
.secret-game-portal {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 15.5%;
    display: grid;
    width: 56px;
    min-height: 70px;
    place-items: center;
    border: 2px solid rgba(76, 232, 255, .62);
    color: var(--cyan-soft);
    background:
        linear-gradient(180deg, rgba(49, 30, 83, .9), rgba(18, 13, 39, .96));
    box-shadow: 0 0 12px rgba(76, 232, 255, .16), inset 0 0 13px rgba(76, 232, 255, .1);
    text-decoration: none;
    transform: perspective(90px) rotateY(-5deg);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.secret-game-portal::before {
    position: absolute;
    inset: 7px 6px 14px;
    border: 1px solid rgba(215, 118, 255, .55);
    background: repeating-linear-gradient(0deg, rgba(22, 15, 44, .86) 0 4px, rgba(60, 39, 96, .75) 5px 7px);
    content: "";
}
.secret-game-portal::after {
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    content: "";
    transform: translateX(-50%);
}
.secret-game-portal-mark {
    position: relative;
    z-index: 1;
    color: var(--gold);
    font: 400 .72rem/1 var(--font-pixel);
    text-shadow: 1px 1px #812c68, 0 0 8px rgba(255, 225, 123, .45);
}
.secret-game-portal-label {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: calc(100% + 9px);
    padding: 7px 9px;
    border: 1px solid var(--cyan);
    color: var(--cyan-soft);
    background: #110c27;
    box-shadow: 0 0 12px rgba(76, 232, 255, .3);
    font: 700 .68rem/1.2 var(--font-ui);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(4px);
    transition: opacity .18s ease, transform .18s ease;
    white-space: nowrap;
}
.secret-game-portal:hover,
.secret-game-portal:focus-visible {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 225, 123, .15), 0 0 22px rgba(76, 232, 255, .55), inset 0 0 14px rgba(76, 232, 255, .16);
    transform: perspective(90px) rotateY(-5deg) translateY(-3px);
}
.secret-game-portal:hover .secret-game-portal-label,
.secret-game-portal:focus-visible .secret-game-portal-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.secret-game-portal:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.room-floor {
    position: absolute;
    right: -5%;
    bottom: -62px;
    left: -5%;
    height: 100px;
    border-top: 2px solid rgba(76,232,255,.65);
    background: repeating-linear-gradient(90deg, transparent 0 86px, rgba(76,232,255,.24) 87px 89px), repeating-linear-gradient(0deg, #160e2f 0 21px, rgba(111,68,189,.33) 22px 23px);
    transform: perspective(85px) rotateX(24deg);
    transform-origin: top;
}
.room-caption {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 50%;
    color: #cfc7e6;
    font-size: .56rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}
.selection-section { padding: 7px 0 0; }
.selection-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "title hint";
    align-items: end;
    gap: 15px;
    margin-bottom: 16px;
}
.selection-title { grid-area: title; }
.selection-heading .eyebrow { margin-bottom: 8px; color: var(--violet); }
.selection-heading h2 {
    margin: 0;
    color: #fff3d3;
    font-size: clamp(.77rem, 1.65vw, 1.08rem);
    line-height: 1.65;
    text-shadow: 2px 2px 0 #7436a5;
}
.selection-hint { grid-area: hint; margin: 0 0 2px; color: #d8d1e4; font: 400 1rem/1.5 var(--font-ui); text-align: right; }
.intro-hall-of-fame {
    grid-area: hall;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}
.hall-of-fame-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 2px solid #fff2ac;
    border-radius: 5px;
    color: #211630;
    background: linear-gradient(180deg, #fff0a1, #e5b943);
    box-shadow: 0 4px 0 #79591d, 0 0 18px rgba(255, 225, 123, .28);
    font: 700 1rem/1.25 var(--font-ui);
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.4);
    white-space: nowrap;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.hall-of-fame-link span { color: #72501a; font-size: 1.1em; }
.hall-of-fame-link:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #79591d, 0 0 24px rgba(255, 225, 123, .42);
}
.hall-of-fame-link:active { transform: translateY(2px); box-shadow: 0 2px 0 #79591d; }
.arcade-install {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px 18px;
    margin: 0 0 24px;
    padding: 13px 16px;
    border: 1px solid rgba(76, 232, 255, .52);
    border-left: 4px solid var(--gold);
    background:
        radial-gradient(ellipse at 0 50%, rgba(215, 118, 255, .15), transparent 55%),
        linear-gradient(110deg, rgba(25, 17, 50, .96), rgba(10, 10, 27, .96));
    box-shadow: inset 0 0 0 1px rgba(76, 232, 255, .06), 0 5px 14px rgba(5, 3, 16, .3);
}
.arcade-install[hidden],
.arcade-install-help[hidden] { display: none; }
.arcade-install-message {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}
.arcade-install-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 225, 123, .75);
    color: var(--gold);
    background: rgba(15, 10, 31, .86);
    box-shadow: 0 0 12px rgba(215, 118, 255, .18), inset 0 0 0 3px rgba(215, 118, 255, .11);
    font: 400 .46rem/1.5 var(--font-pixel);
    text-align: center;
}
.arcade-install-copy { min-width: 0; }
.arcade-install-kicker {
    margin: 0 0 4px;
    color: var(--cyan);
    font: 800 .62rem/1.2 var(--font-ui);
    letter-spacing: .13em;
}
.arcade-install-copy h2 {
    margin: 0;
    color: var(--gold);
    font: 800 1rem/1.35 var(--font-ui);
    letter-spacing: 0;
    text-transform: none;
}
.arcade-install-copy > p:last-child {
    margin: 3px 0 0;
    color: var(--muted);
    font: 400 .82rem/1.4 var(--font-ui);
}
.arcade-install-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.arcade-install-action {
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #ff93aa;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(180deg, #ff5475, #c90d38);
    box-shadow: 0 3px 0 #780b26, 0 0 13px rgba(239, 48, 73, .27);
    font: 800 .84rem/1.2 var(--font-ui);
    white-space: nowrap;
    cursor: pointer;
}
.arcade-install-action:hover { filter: brightness(1.08); }
.arcade-install-action:active { transform: translateY(2px); box-shadow: 0 1px 0 #780b26; }
.arcade-install-action:focus-visible,
.arcade-install-dismiss:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
.arcade-install-dismiss {
    min-height: 38px;
    padding: 7px 5px;
    border: 0;
    color: #c4bfd6;
    background: transparent;
    font: 700 .78rem/1.2 var(--font-ui);
    cursor: pointer;
}
.arcade-install-dismiss:hover { color: var(--ink); }
.arcade-install-help {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 0 0 61px;
    border-top: 1px solid rgba(139, 99, 192, .38);
    color: #e0d9eb;
    font: 400 .84rem/1.5 var(--font-ui);
}
.arcade-install-help p { margin: 0; }
.arcade-install-help ol { margin: 0; padding-left: 20px; }
.arcade-install-help li + li { margin-top: 3px; }
.arcade-install-help strong { color: var(--gold); }
.weekly-challenge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr);
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    margin: 0 0 28px;
    padding: clamp(18px, 3vw, 28px);
    border: 2px solid var(--cyan);
    border-bottom: 5px solid #315077;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(215,118,255,.22), transparent 55%),
        linear-gradient(115deg, rgba(22,18,50,.98), rgba(11,11,29,.98));
    box-shadow: 0 7px 0 #090615, 0 0 24px rgba(76,232,255,.14), inset 0 0 0 3px rgba(17,11,38,.72);
}
.weekly-challenge-copy { min-width: 0; }
.weekly-challenge-kicker {
    margin: 0 0 10px;
    color: var(--cyan);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.weekly-challenge-copy h2 {
    margin: 0;
    color: var(--gold);
    font-size: clamp(.85rem, 1.6vw, 1.18rem);
    line-height: 1.7;
    text-shadow: 2px 2px 0 #7436a5, 0 0 14px rgba(255,225,123,.25);
}
.weekly-challenge-metric {
    margin: 8px 0 0;
    color: #e8e0f5;
    font: 500 1rem/1.5 var(--font-ui);
}
.weekly-challenge-countdown {
    margin: 7px 0 0;
    color: #bcb3d1;
    font: 600 .82rem/1.5 var(--font-ui);
}
.weekly-challenge-winner {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 13px;
    padding: 10px 13px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    color: #fff7d1;
    background:
        linear-gradient(110deg, rgba(255,225,123,.2), rgba(133,74,190,.22) 56%, rgba(12,10,29,.86));
    box-shadow: 0 0 20px rgba(255,225,123,.23), inset 0 0 0 1px rgba(255,255,255,.09);
}
.weekly-challenge-winner[hidden] { display: none; }
.weekly-challenge-winner-medal {
    display: grid;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid #fff2ad;
    border-radius: 50%;
    color: #6d4712;
    background: linear-gradient(145deg, #fff7b5, #ffcf45 58%, #e99922);
    box-shadow: 0 0 14px rgba(255,225,123,.5), inset 0 1px 2px #fff;
    font-size: 1.35rem;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.weekly-challenge-winner-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.weekly-challenge-winner-label {
    color: var(--gold);
    font: 400 .52rem/1.6 var(--font-pixel);
    letter-spacing: .035em;
    text-transform: uppercase;
}
.weekly-challenge-winner-name {
    color: #fff;
    font: 800 .95rem/1.35 var(--font-ui);
    text-shadow: 0 0 12px rgba(255,225,123,.35);
}
.weekly-challenge-winner-details {
    color: #e9ddbc;
    font: 600 .78rem/1.4 var(--font-ui);
    overflow-wrap: anywhere;
}
.weekly-challenge-play {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 18px;
    border: 2px solid #ff8da5;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(180deg, #f44765, #c7193c);
    box-shadow: 0 4px 0 #6f1025, 0 0 17px rgba(239,48,73,.25);
    font: 800 1rem/1.2 var(--font-ui);
    text-decoration: none;
    transition: transform .16s ease, filter .16s ease;
}
.weekly-challenge-play:hover { filter: brightness(1.1); transform: translateY(-2px); }
.weekly-challenge-play:active { transform: translateY(2px); }
.weekly-challenge-board {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #554785;
    background: rgba(7,8,20,.72);
    box-shadow: inset 0 0 18px rgba(118,75,202,.12);
}
.weekly-challenge-board-heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(115,87,189,.5);
    color: var(--gold);
    font: 400 .55rem/1.6 var(--font-pixel);
}
.weekly-challenge-board-heading span:last-child {
    color: var(--cyan);
    text-align: right;
}
.weekly-challenge-scores {
    display: grid;
    gap: 3px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
}
.weekly-challenge-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 4px 7px;
    border: 1px solid rgba(115,87,189,.22);
    color: #e8e0f5;
    background: rgba(28,22,54,.55);
    font: 600 .86rem/1.3 var(--font-ui);
}
.weekly-challenge-row:first-child {
    border-color: rgba(255,225,123,.66);
    color: #fff2c4;
    background: linear-gradient(90deg, rgba(255,225,123,.14), rgba(28,22,54,.55));
}
.weekly-challenge-place-1 .weekly-challenge-rank,
.weekly-challenge-place-1 .weekly-challenge-score { color: var(--gold); }
.weekly-challenge-place-2 {
    border-color: rgba(217,224,237,.56);
    background: linear-gradient(90deg, rgba(217,224,237,.12), rgba(28,22,54,.55));
}
.weekly-challenge-place-2 .weekly-challenge-rank,
.weekly-challenge-place-2 .weekly-challenge-score { color: #d9e0ed; }
.weekly-challenge-place-3 {
    border-color: rgba(205,127,50,.65);
    background: linear-gradient(90deg, rgba(205,127,50,.13), rgba(28,22,54,.55));
}
.weekly-challenge-place-3 .weekly-challenge-rank,
.weekly-challenge-place-3 .weekly-challenge-score { color: #cd7f32; }
.weekly-challenge-rank { color: var(--cyan); font-family: var(--font-body); }
.weekly-challenge-initials { font-weight: 800; letter-spacing: .08em; }
.weekly-challenge-score { color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.weekly-challenge-status {
    margin: 9px 0 0;
    color: #c5bdd8;
    font: 400 .85rem/1.45 var(--font-ui);
}
.weekly-challenge-status:empty { display: none; }
.weekly-challenge-status.error { color: #ff9caf; }
.game-shelves { display: grid; gap: 25px; }
.game-shelf + .game-shelf { padding-top: 19px; border-top: 1px solid rgba(110, 87, 174, .55); }
.game-shelf-heading { display: flex; align-items: baseline; gap: 12px; margin: 0 0 13px; }
.game-shelf-heading .shelf-kicker { margin: 0; color: var(--cyan); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.game-shelf-heading h3 { margin: 0; color: #fff2c4; font-size: clamp(.75rem, 1.2vw, .85rem); line-height: 1.6; text-shadow: 2px 2px 0 #7436a5; }
.game-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-content: start; }
.game-choice {
    position: relative;
    display: grid;
    grid-template-columns: clamp(82px, 9vw, 112px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 1.2vw, 16px);
    min-height: 171px;
    padding: 12px;
    border: 2px solid #684ab0;
    border-bottom: 5px solid #39245f;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(105deg, rgba(131,62,207,.19), transparent 61%), #191432;
    box-shadow: 0 7px 0 #0a0717, 0 0 18px rgba(108,65,190,.14), inset 0 0 0 3px rgba(17,11,38,.7);
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
.game-bass { border-color: #684ab0; border-bottom-color: #39245f; background: linear-gradient(105deg, rgba(76,232,255,.15), transparent 62%), #191432; }
.game-hype { border-color: #9d3c93; border-bottom-color: #5b2459; background: linear-gradient(105deg, rgba(224,49,105,.16), transparent 62%), #191432; }
.game-record-flip { border-color: #c79c4d; border-bottom-color: #725227; background: linear-gradient(105deg, rgba(255,225,123,.16), transparent 62%), #191432; }
.game-turntable { border-color: #b68a45; border-bottom-color: #725227; background: linear-gradient(105deg, rgba(76,232,255,.12), rgba(255,225,123,.1) 48%, transparent 72%), #191432; }
.game-runner { border-color: #4ce8ff; border-bottom-color: #265278; background: linear-gradient(105deg, rgba(76,232,255,.16), transparent 62%), #191432; }
.game-cable { border-color: #d776ff; border-bottom-color: #64377d; background: linear-gradient(105deg, rgba(215,118,255,.17), transparent 62%), #191432; }
.game-simon { border-color: #8e7aff; border-bottom-color: #4a388b; background: linear-gradient(105deg, rgba(142,122,255,.18), transparent 62%), #191432; }
.game-breakout { border-color: #ef3049; border-bottom-color: #772039; background: linear-gradient(105deg, rgba(239,48,73,.18), transparent 62%), #191432; }
.game-wax-hunt { border-color: #ff8eaa; border-bottom-color: #74294d; background: linear-gradient(105deg, rgba(255, 75, 112, .18), rgba(76, 232, 255, .08) 54%, transparent 76%), #191432; }
.game-wax-hunt:hover { border-color: #ffe17b; }
.game-yeti { border-color: #ef4775; border-bottom-color: #772c62; background: linear-gradient(105deg, rgba(243,65,99,.18), rgba(76,232,255,.1) 46%, transparent 72%), #191432; }
.game-stacker { border-color: #ffe17b; border-bottom-color: #725227; background: linear-gradient(105deg, rgba(255,225,123,.18), transparent 62%), #191432; }
.game-swatter { border-color: #4ce8ff; border-bottom-color: #265278; background: linear-gradient(105deg, rgba(76,232,255,.16), rgba(215,118,255,.08) 50%, transparent 72%), #191432; }
.game-thrower { border-color: #ef3049; border-bottom-color: #772039; background: linear-gradient(105deg, rgba(239,48,73,.16), rgba(255,225,123,.08) 50%, transparent 72%), #191432; }
.game-flapper { border-color: #4ce8ff; border-bottom-color: #265278; background: linear-gradient(105deg, rgba(76,232,255,.16), rgba(215,118,255,.08) 50%, transparent 72%), #191432; }
.game-maze { border-color: #4ce8ff; border-bottom-color: #265278; background: linear-gradient(105deg, rgba(76,232,255,.16), transparent 62%), #191432; }
.game-sudoku { border-color: #ffe17b; border-bottom-color: #725227; background: linear-gradient(105deg, rgba(255,225,123,.16), transparent 62%), #191432; }
.game-word-find { border-color: #d776ff; border-bottom-color: #64377d; background: linear-gradient(105deg, rgba(215,118,255,.17), transparent 62%), #191432; }
.game-color-by-tap { border-color: #4ce8ff; border-bottom-color: #265278; background: linear-gradient(105deg, rgba(76,232,255,.16), rgba(255,225,123,.1) 52%, transparent 72%), #191432; }
.game-choice:hover { z-index: 1; border-color: var(--cyan); background-color: #211a43; transform: translateY(-3px); }
.game-hype:hover { border-color: #ff85d6; }
.game-record-flip:hover { border-color: var(--gold); }
.game-turntable:hover { border-color: var(--cyan); }
.game-runner:hover { border-color: var(--cyan); }
.game-cable:hover { border-color: var(--violet); }
.game-simon:hover { border-color: #b9a3ff; }
.game-breakout:hover { border-color: var(--gold); }
.game-yeti:hover { border-color: #fff; }
.game-stacker:hover { border-color: #fff2bd; }
.game-swatter:hover { border-color: #fff; }
.game-thrower:hover { border-color: var(--gold); }
.game-flapper:hover { border-color: #fff; }
.game-maze:hover { border-color: var(--cyan); }
.game-sudoku:hover { border-color: var(--gold); }
.game-word-find:hover { border-color: var(--violet); }
.game-color-by-tap:hover { border-color: var(--gold); }
.game-shelf-note { margin: -6px 0 13px; color: #d4cde3; font: 400 1rem/1.5 var(--font-ui); }
.cartridge {
    position: relative;
    display: block;
    width: 100%;
    max-width: 132px;
    aspect-ratio: .79;
    justify-self: center;
    padding: 8% 8% 10%;
    border: 2px solid #d6c8ff;
    border-radius: 4px 4px 9px 9px;
    background: linear-gradient(105deg, rgba(255,255,255,.18), transparent 15% 78%, rgba(0,0,0,.32)), #5538a0;
    box-shadow: inset 2px 0 3px rgba(255,255,255,.18), inset -3px 0 4px rgba(0,0,0,.55), 0 7px 8px rgba(0,0,0,.5), 0 0 15px rgba(107,74,208,.32);
    transition: transform .18s ease;
}
.cartridge::before {
    position: absolute;
    top: 0;
    right: 13%;
    left: 13%;
    height: 6%;
    border-right: 1px solid rgba(255,255,255,.22);
    border-bottom: 1px solid rgba(0,0,0,.62);
    border-left: 1px solid rgba(255,255,255,.17);
    border-radius: 0 0 4px 4px;
    content: "";
}
.cartridge-save { background-color: #2d538d; }
.cartridge-bass { background-color: #3156a4; }
.cartridge-hype { background-color: #923657; }
.cartridge-record { background-color: #745432; }
.cartridge-turntable { background-color: #6a5739; }
.cartridge-runner { background-color: #315c86; }
.cartridge-cable { background-color: #603b87; }
.cartridge-simon { background-color: #51408f; }
.cartridge-breakout { background-color: #812641; }
.cartridge-yeti { background-color: #7e2c59; }
.cartridge-maze { background-color: #285a73; }
.cartridge-sudoku { background-color: #826132; }
.cartridge-word-find { background-color: #603b87; }
.cartridge-color-by-tap { background-color: #285a73; }
.cartridge-stacker { background-color: #826132; }
.cartridge-swatter { background-color: #285a73; }
.cartridge-thrower { background-color: #812641; }
.cartridge-flapper { background-color: #285a73; }
.cart-top, .cart-bottom { position: absolute; right: 14%; left: 14%; display: flex; justify-content: space-between; }
.cart-top { top: 3%; }
.cart-bottom { bottom: 4%; }
.cart-top i { width: 4px; height: 4px; border-radius: 50%; background: #100c20; box-shadow: inset 0 1px 1px rgba(255,255,255,.25); }
.cart-bottom i { width: 15%; height: 3px; background: rgba(12,11,22,.8); box-shadow: 0 1px rgba(255,255,255,.14); }
.cart-label {
    position: relative;
    display: flex;
    height: 80%;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.62);
    border-radius: 2px;
    background: linear-gradient(145deg, #38d9f3, #3156b0 48%, #421c77);
    box-shadow: inset 0 0 0 3px rgba(17,13,35,.57), inset 0 0 17px rgba(0,0,0,.34);
}
.cartridge-hype .cart-label { background: linear-gradient(145deg, #ff638a, #9d286c 51%, #401e76); }
.cartridge-bass .cart-label { background: linear-gradient(145deg, #34e3ed, #4161ca 52%, #5c2a9b); }
.cartridge-record .cart-label { background: linear-gradient(145deg, #ffe17b, #a96146 52%, #4a286e); }
.cartridge-turntable .cart-label { background: linear-gradient(145deg, #ffe17b, #428eb0 48%, #422a72); }
.cartridge-runner .cart-label { background: linear-gradient(145deg, #65eaff, #3c4cab 52%, #58258f); }
.cartridge-cable .cart-label { background: linear-gradient(145deg, #d776ff, #4e45aa 52%, #31205d); }
.cartridge-simon .cart-label { background: linear-gradient(145deg, #b9a3ff, #6252bd 52%, #29235d); }
.cartridge-breakout .cart-label { background: linear-gradient(145deg, #ff6d79, #c43157 52%, #49205d); }
.cartridge-wax-hunt .cart-label { background: linear-gradient(145deg, #ff9aaf, #b8346b 52%, #2b3d73); }
.cartridge-yeti .cart-label { background: linear-gradient(145deg, #c5507c, #602a70 52%, #17152c); }
.cartridge-maze .cart-label { background: linear-gradient(145deg, #65eaff, #317a9c 52%, #253263); }
.cartridge-sudoku .cart-label { background: linear-gradient(145deg, #ffe17b, #b78036 52%, #51346b); }
.cartridge-word-find .cart-label { background: linear-gradient(145deg, #e4a0ff, #8c4db9 52%, #38235f); }
.cartridge-color-by-tap .cart-label { background: linear-gradient(145deg, #ffe17b, #35a5b9 48%, #49266f); }
.cartridge-stacker .cart-label { background: linear-gradient(145deg, #ffe17b, #b78036 52%, #51346b); }
.cartridge-swatter .cart-label { background: linear-gradient(145deg, #65eaff, #317a9c 52%, #253263); }
.cartridge-thrower .cart-label { background: linear-gradient(145deg, #ff6d79, #c43157 52%, #49205d); }
.cartridge-flapper .cart-label { background: linear-gradient(145deg, #65eaff, #317a9c 52%, #253263); }
.cart-turntable-art {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 3px solid #e9d89e;
    border-radius: 50%;
    color: #fff1bd;
    background:
        radial-gradient(circle, #100b21 0 11%, #ffe17b 12% 16%, transparent 17%),
        repeating-radial-gradient(circle, #272038 0 3px, #514164 4px 5px, #171426 6px 8px);
    box-shadow: 0 0 10px rgba(76, 232, 255, .3);
    font: 800 .48rem/1 var(--font-ui);
    text-shadow: 0 1px #000;
}
.cart-color-art {
    color: var(--gold);
    font: 900 clamp(1rem, 2.2vw, 1.45rem)/1 var(--font-ui);
    letter-spacing: .1em;
    text-shadow: 2px 2px #5a246c, 0 0 12px rgba(76, 232, 255, .8);
}
.cart-runner-art { display: grid; height: 27%; place-items: center; font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1; filter: drop-shadow(0 0 7px rgba(76,232,255,.62)); }
.cart-breakout-art { display: grid; height: 27%; place-items: center; font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1; filter: drop-shadow(0 0 7px rgba(255,225,123,.62)); }
.cart-yeti-art { display: block; width: 54%; height: 32%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(76,232,255,.52)); }
.cart-stacker-art, .cart-swatter-art { display: grid; height: 27%; place-items: center; font-family: var(--font-ui); font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1; filter: drop-shadow(0 0 7px rgba(255,225,123,.62)); }
.cart-swatter-art { filter: drop-shadow(0 0 7px rgba(76,232,255,.62)); }
.cart-cable-art { filter: drop-shadow(0 0 7px rgba(215,118,255,.62)); }
.cart-simon-art { display: grid; width: 48%; aspect-ratio: 1; grid-template-columns: repeat(2,1fr); gap: 3px; }
.cart-simon-art i { border: 1px solid rgba(255,255,255,.7); border-radius: 3px; box-shadow: 0 0 5px currentColor; }
.cart-simon-art i:nth-child(1) { color: #ff4770; background: #ef3049; }
.cart-simon-art i:nth-child(2) { color: #48ffc0; background: #1cba82; }
.cart-simon-art i:nth-child(3) { color: #ffe17b; background: #e2ad32; }
.cart-simon-art i:nth-child(4) { color: #4ce8ff; background: #1bafd0; }
.cart-label-mark { color: #fff5dd; font: 700 clamp(.35rem, .8vw, .48rem) var(--font-body); letter-spacing: .12em; text-shadow: 0 1px #211719; }
.cart-label-art { display: flex; height: 27%; align-items: center; justify-content: center; gap: 4px; }
.cart-wax-hunt-art { position: relative; width: 31px; height: 31px; border: 3px solid #c6c9d7; border-radius: 50%; background: repeating-radial-gradient(circle, #111528 0 3px, #6a7081 4px 5px); box-shadow: 0 0 9px rgba(255, 225, 123, .55); }
.cart-wax-hunt-art i { width: 7px; height: 7px; border: 2px solid #ff557d; border-radius: 50%; background: #ffe17b; }
.cart-dance i { width: 4px; background: var(--gold); transform: skew(-12deg); box-shadow: 0 0 5px rgba(255,225,123,.45); }
.cart-dance i:nth-child(1), .cart-dance i:nth-child(4) { height: 50%; }
.cart-dance i:nth-child(2) { height: 100%; }
.cart-dance i:nth-child(3) { height: 75%; }
.cart-bass-art { gap: 3px; }
.cart-bass-art i {
    width: 4px;
    height: 55%;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 7px rgba(255,225,123,.78);
}
.cart-bass-art i:nth-child(2), .cart-bass-art i:nth-child(4) { height: 100%; }
.cart-bass-art i:nth-child(3) { height: 35%; }
.cart-record-art {
    width: 42%;
    height: auto;
    aspect-ratio: 1;
    border: 2px solid rgba(255,255,255,.68);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, #21152f 0 3px, #8a4777 4px 5px, #291934 6px 8px);
    box-shadow: 0 0 9px rgba(255,225,123,.44);
}
.cart-record-art i { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); box-shadow: 0 0 5px rgba(255,225,123,.8); }
.cart-label-name { color: #fff3d7; font: 400 clamp(.45rem, 1vw, .65rem)/1.45 var(--font-pixel); letter-spacing: -.08em; text-align: center; text-shadow: 2px 2px 0 rgba(27,11,55,.9); }
.cart-button-art {
    display: grid;
    width: 34%;
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid #ffc6da;
    border-radius: 50%;
    color: #fff1db;
    background: radial-gradient(circle at 34% 27%, #ffb1bd, #e51c52 73%);
    box-shadow: inset 0 -4px 0 rgba(57,0,0,.5), 0 2px 0 #381819, 0 0 11px rgba(255,57,119,.48);
    font: 400 clamp(.4rem, .9vw, .58rem) var(--font-pixel);
}
.game-copy { display: block; min-width: 0; }
.game-index { display: block; margin-bottom: 9px; color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.game-bass .game-index { color: var(--cyan); }
.game-hype .game-index { color: #ff9ed8; }
.game-record-flip .game-index { color: var(--gold); }
.game-runner .game-index { color: var(--cyan); }
.game-cable .game-index { color: var(--violet); }
.game-simon .game-index { color: #b9a3ff; }
.game-breakout .game-index { color: var(--gold); }
.game-yeti .game-index { color: #ff9bb5; }
.game-thrower .game-index { color: #ff9bb5; }
.game-flapper .game-index { color: var(--cyan); }
.game-title { display: block; color: #fff2c4; font-size: clamp(.72rem, 1.3vw, .96rem); line-height: 1.65; letter-spacing: -.07em; }
.game-description { display: block; max-width: 720px; margin-top: 7px; color: #e2dced; font: 400 1rem/1.55 var(--font-ui); }
.play-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--cyan); font: 700 1rem/1.25 var(--font-ui); }
.play-link span { color: var(--gold); font-size: .95rem; }
.game-choice:hover .cartridge { transform: translateY(-4px) rotate(-1deg); }
.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3vw, 31px);
    min-height: 105px;
    margin: 26px 0 29px;
    padding: 15px 20px;
    border: 2px dashed #8c54ad;
    background: linear-gradient(90deg, rgba(69,28,100,.36), rgba(24,16,48,.86), rgba(69,28,100,.36));
    box-shadow: inset 0 0 20px rgba(129,63,182,.13);
    text-align: center;
}
.coming-copy { max-width: 470px; }
.coming-copy h2 {
    margin: 0;
    color: #edaaff;
    font-size: clamp(.75rem, 1.4vw, .88rem);
    line-height: 1.6;
    text-shadow: 2px 2px 0 #452364;
}
.coming-copy p { margin: 7px 0 0; color: #e2dced; font: 400 1rem/1.55 var(--font-ui); }
.coming-copy .coming-idea { color: #f2eafa; }
.coming-copy .coming-idea a {
    color: var(--cyan);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .18em;
}
.coming-copy .coming-idea a:hover { color: #fff; }
.coming-copy .coming-idea a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.coin-slot {
    display: grid;
    width: 90px;
    flex: 0 0 90px;
    aspect-ratio: 100 / 124;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
}
.coin-slot:hover { transform: translateY(-2px); filter: brightness(1.15); }
.coin-slot:active { transform: translateY(1px) scale(.98); }
.coin-slot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.coin-slot-device {
    position: relative;
    display: block;
    flex: 0 0 auto;
    padding-right: 30px;
}
.coin-slot-machine { display: block; width: 100%; height: 100%; overflow: visible; image-rendering: pixelated; }
.coin-slot-count {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 90px;
    box-sizing: border-box;
    color: var(--gold);
    font: 1.1rem/1.15 var(--font-pixel);
    letter-spacing: .05em;
    text-shadow: 1px 1px 0 #090611, 0 0 7px rgba(255, 225, 123, .55);
    writing-mode: vertical-rl;
    text-orientation: upright;
    transform: translateY(-50%);
}
.coin-slot-cabinet { transform-box: fill-box; transform-origin: center; }
.coin-slot-opening { stroke: #1c0710; stroke-width: 1; }
.coin-slot-mark { fill: #f20d17; }
.coin-slot-text {
    fill: #ff1414;
    font-family: var(--font-pixel);
    font-size: 8px;
    text-anchor: middle;
}
.coin-slot-to-play { font-size: 7px; }
.coin-flight {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: var(--coin-size, 88px);
    height: var(--coin-size, 88px);
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
    will-change: transform, opacity;
}
.coin-flight-art { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(2px 4px 0 rgba(15,8,18,.7)); }
.coming-soon.is-inserting .coin-flight { animation: coin-flight-across .85s cubic-bezier(.18,.72,.22,1) both; }
.coin-slot.is-inserting .coin-slot-cabinet { animation: coin-slot-rattle .42s .42s ease-in-out; }
.coin-slot.is-inserting .coin-slot-opening { animation: coin-slot-flash .45s .4s ease-out; }
.coin-slot.is-inserting .coin-slot-mark { animation: coin-slot-blink .16s .4s steps(2,end) 3; }
.coin-slot-status {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
@keyframes coin-flight-across {
    0% { opacity: 0; transform: translate(var(--coin-start-x), var(--coin-start-y)) scale(.3) rotate(-35deg); }
    12% { opacity: 1; transform: translate(var(--coin-start-x), var(--coin-start-y)) scale(1.02) rotate(0); }
    72% { opacity: 1; transform: translate(var(--coin-end-x), var(--coin-end-y)) scale(.92) rotate(540deg); }
    92% { opacity: 1; transform: translate(var(--coin-end-x), var(--coin-end-y)) scale(.12) rotate(720deg); }
    100% { opacity: 0; transform: translate(var(--coin-end-x), var(--coin-end-y)) scale(.08) rotate(750deg); }
}
@keyframes coin-slot-rattle {
    20% { transform: translateX(-2px) rotate(-2deg); }
    45% { transform: translateX(2px) rotate(2deg); }
    70% { transform: translateX(-1px); }
}
@keyframes coin-slot-flash { 35% { fill: var(--gold); filter: drop-shadow(0 0 4px var(--gold)); } }
@keyframes coin-slot-blink { 50% { opacity: .2; } }
.coming-soon { position: relative; }
.bottom-note { display: flex; align-items: center; gap: 18px; padding: 21px 0 29px; border-top: 1px solid #44365e; }
.note-rule { align-self: stretch; width: 4px; background: var(--red); box-shadow: 0 0 9px rgba(239,48,73,.5); }
.bottom-note p { flex: 1; margin: 0; color: #d4cde3; font: 400 .95rem/1.6 var(--font-ui); }
.bottom-note p strong { color: var(--ink); font-weight: 700; }
.bottom-note > a { color: #f0e8fb; font-size: .75rem; text-decoration: none; }
.bottom-note > a span { margin-left: 5px; color: var(--cyan); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 17px clamp(20px, 5vw, 68px); border-top: 1px solid #35294b; color: #c4bfd6; background: rgba(12,8,25,.72); font-size: .75rem; }
footer p { margin: 0; }
footer p > span { margin: 0 8px; color: #736783; }
footer a { color: #cbc2d7; text-decoration: none; }
@media (max-width: 780px) {
    main { width: min(100% - 32px, 640px); }
    .intro { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; padding-bottom: 12px; }
    .player-tag { justify-self: start; }
    .arcade-install { grid-template-columns: 1fr; gap: 10px; }
    .arcade-install-actions { justify-content: flex-start; }
    .arcade-install-help { padding-left: 0; }
    .weekly-challenge { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 980px) {
    .game-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .game-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .topbar { min-height: 62px; padding-right: 16px; padding-left: 16px; }
    .brand img { width: 116px; }
    .topbar nav { gap: 13px; }
    .top-link { font-size: .875rem; }
    main { width: min(100% - 28px, 440px); }
    .intro {
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas: "copy copy" "player hall";
        gap: 14px 10px;
        padding-top: 16px;
        padding-bottom: 10px;
    }
    h1 { font-size: clamp(1.05rem, 5vw, 1.45rem); line-height: 1.65; }
    .intro-copy { font-size: 1rem; }
    .player-tag { min-width: 156px; padding: 8px 12px; font-size: .75rem; }
    .intro-hall-of-fame { justify-content: flex-end; margin: 0; }
    .hall-of-fame-link { min-height: 44px; gap: 7px; padding: 9px 12px; font-size: .9rem; }
    .arcade-room { min-height: 148px; margin: 10px 0 23px; }
    .arcade-install { margin-bottom: 20px; padding: 12px; }
    .arcade-install-mark { width: 42px; height: 42px; font-size: .39rem; }
    .arcade-install-copy h2 { font-size: .92rem; }
    .arcade-install-copy > p:last-child { font-size: .8rem; }
    .arcade-install-action { min-height: 42px; }
    .room-sign { top: 15px; min-width: 205px; padding: 9px 11px; font-size: .44rem; }
    .room-dancers { bottom: 19px; width: 150px; height: 68px; }
    .room-cabinet { width: 65px; height: 77px; }
    .room-cabinet-left { left: 4%; }
    .room-cabinet-right { right: 4%; }
    .room-cabinet::before { top: 16px; right: 7px; left: 7px; height: 32px; }
    .secret-game-portal { top: 14px; right: 17%; width: 48px; min-height: 62px; }
    .secret-game-portal-label { right: calc(100% + 6px); font-size: .66rem; }
    .room-caption { bottom: 10px; font-size: .48rem; }
    .selection-heading {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "hint";
        align-items: start;
        gap: 8px;
    }
    .selection-heading h2 { font-size: .78rem; }
    .selection-hint { margin-top: 0; text-align: left; }
    .weekly-challenge { gap: 15px; margin-bottom: 24px; padding: 15px 13px; }
    .weekly-challenge-copy h2 { font-size: .75rem; }
    .weekly-challenge-board-heading { font-size: .47rem; }
    .weekly-challenge-row { grid-template-columns: 24px minmax(0, 1fr) auto; font-size: .85rem; }
    .weekly-challenge-play { width: 100%; }
    .game-shelf-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .game-shelf-heading h3 { font-size: .75rem; }
    .game-choice { grid-template-columns: 86px minmax(0, 1fr); gap: 13px; min-height: 147px; padding: 10px; }
    .game-title { font-size: .72rem; line-height: 1.65; }
    .game-description { font-size: 1rem; line-height: 1.5; }
    .game-index { font-size: .75rem; letter-spacing: .04em; }
    .play-link { margin-top: 8px; font-size: 1rem; }
    .cart-label-name { font-size: .39rem; }
    .coming-soon { gap: 14px; min-height: 110px; margin-top: 22px; padding: 13px 10px; }
    .coming-copy h2 { font-size: .75rem; }
    .coming-copy p { font-size: 1rem; }
    .coin-slot { width: 80px; flex-basis: 80px; }
    .bottom-note { gap: 12px; }
    .bottom-note > a { max-width: 125px; font-size: .75rem; line-height: 1.5; }
}
@media (max-width: 380px) {
    .intro { grid-template-columns: max-content minmax(0, 1fr); gap: 14px 6px; }
    .player-tag { min-width: 150px; padding: 7px 9px; font-size: .72rem; }
    .player-tag span { font-size: .72rem; }
    .hall-of-fame-link { gap: 5px; padding: 8px 9px; font-size: .9rem; }
}
@media (max-width: 360px) {
    main { width: calc(100% - 24px); }
    .brand img { width: 105px; }
    .topbar nav { gap: 10px; }
    .top-link { font-size: .875rem; }
    .game-choice { grid-template-columns: 75px minmax(0, 1fr); gap: 10px; padding-right: 8px; padding-left: 8px; }
    .game-title { font-size: .72rem; }
    .game-description { font-size: 1rem; }
    .cart-label-mark { font-size: .32rem; }
    .cart-label-name { font-size: .34rem; }
    .coin-slot { width: 68px; flex-basis: 68px; }
}
@media (max-width: 340px) {
    .intro {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "player" "hall";
        gap: 12px;
    }
    .intro-hall-of-fame { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.game-groove-stack {
    border-color: #d66cff;
    border-bottom-color: #6d387d;
    background: linear-gradient(105deg, rgba(214,108,255,.18), transparent 68%), #191432;
}
.game-dj-mini-putt {
    border-color: #81e6a4;
    border-bottom-color: #376d55;
    background: linear-gradient(105deg, rgba(84,220,153,.16), rgba(255,225,123,.08) 55%, transparent 75%), #191432;
}
.game-dj-notes-toss {
    border-color: #ffe17b;
    border-bottom-color: #725227;
    background: linear-gradient(105deg, rgba(255,225,123,.16), rgba(76,232,255,.08) 55%, transparent 75%), #191432;
}
.cartridge-groove-stack .cart-label {
    background: linear-gradient(145deg, #462a78, #1c183e 58%, #0c1026);
}
.cart-groove-art {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border: 2px solid #4ce8ff;
    border-radius: 50%;
    color: #ffe17b;
    background: repeating-radial-gradient(circle, #141122 0 3px, #35234e 4px 6px, #171323 7px 9px);
    box-shadow: 0 0 10px rgba(76,232,255,.5);
    font-size: 1.3rem;
}
.cartridge-mini-putt .cart-label {
    background: linear-gradient(145deg, #d4b75e, #267d70 52%, #163344);
}
.cart-putt-art {
    color: #fff5cc;
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(76,232,255,.75));
}
.cartridge-notes-toss .cart-label {
    background: linear-gradient(145deg, #4b8ca0, #383273 53%, #25173f);
}
.cart-notes-art {
    color: #ffe17b;
    font-size: 2.2rem;
    line-height: 1;
    transform: rotate(-18deg);
    text-shadow: 0 0 7px rgba(255,225,123,.65);
}

.arcade-reminders {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    gap: 22px;
    margin: 0 0 26px;
    padding: 20px;
    border: 1px solid rgba(76,232,255,.72);
    border-bottom: 5px solid #247f8b;
    background:
        linear-gradient(110deg, rgba(76,232,255,.09), transparent 58%),
        rgba(10,12,31,.72);
    box-shadow: 0 0 18px rgba(76,232,255,.1);
}
.arcade-reminders[hidden],
.arcade-reminder-initials[hidden],
.arcade-reminders-actions [hidden] {
    display: none;
}
.arcade-reminders-intro h2 {
    margin: 0 0 8px;
    color: var(--gold);
    font-family: "Press Start 2P", monospace;
    font-size: .9rem;
    line-height: 1.7;
    text-shadow: 0 2px 0 #7c3d50;
}
.arcade-reminders-intro > p:last-child {
    margin: 0;
    color: #ded9eb;
    font-size: .94rem;
    line-height: 1.5;
}
.arcade-reminders-form {
    display: grid;
    gap: 9px;
    align-content: start;
}
.arcade-reminder-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 35px;
    padding: 7px 10px;
    border: 1px solid rgba(160,139,205,.42);
    background: rgba(8,10,25,.6);
    color: #f5f1ff;
    font-size: .9rem;
    line-height: 1.35;
    cursor: pointer;
}
.arcade-reminder-option input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #4ce8ff;
}
.arcade-reminder-option:focus-within {
    outline: 2px solid #4ce8ff;
    outline-offset: 2px;
}
.arcade-reminder-initials {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    align-items: center;
    gap: 12px;
    color: #ffe17b;
    font-size: .82rem;
    font-weight: 800;
}
.arcade-reminder-initials input {
    width: 74px;
    min-height: 40px;
    border: 1px solid #ffe17b;
    border-radius: 5px;
    background: #090a16;
    color: #ffe17b;
    font: 800 1.2rem "Courier New", monospace;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
}
.arcade-reminder-initials input:focus-visible {
    outline: 2px solid #4ce8ff;
    outline-offset: 2px;
}
.arcade-reminder-note {
    margin: 0;
    color: #bcb3d1;
    font-size: .72rem;
    line-height: 1.45;
}
.arcade-reminders-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 3px;
}
.arcade-reminders-actions .arcade-install-action {
    min-height: 44px;
    padding: 10px 15px;
}
.arcade-reminders-actions .arcade-install-dismiss {
    padding: 9px 6px;
}
.arcade-reminders-status {
    min-height: 1.2em;
    margin: 0;
    color: #4ce8ff;
    font-size: .8rem;
    line-height: 1.45;
}
.arcade-reminders-status[data-state="error"] { color: #ff8ca0; }
.arcade-reminders-status[data-state="success"] { color: #a5f0b8; }

@media (max-width: 780px) {
    .arcade-reminders { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 520px) {
    .arcade-reminders { gap: 11px; margin-bottom: 20px; padding: 13px; }
    .arcade-reminders-intro h2 { font-size: .76rem; }
    .arcade-reminders-intro > p:last-child { font-size: .86rem; }
    .arcade-reminder-option { gap: 8px; padding: 7px 8px; font-size: .82rem; }
    .arcade-reminder-note { font-size: .68rem; }
    .arcade-reminders-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
    .arcade-reminders-actions .arcade-install-action { width: 100%; }
}
