.hall-main {
    width: min(100% - 48px, 1060px);
    margin: 0 auto;
    padding-bottom: 28px;
}

.hall-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: clamp(28px, 5vw, 52px) 0 16px;
    padding: clamp(16px, 2.4vw, 26px) clamp(18px, 4vw, 40px);
    border: 2px solid var(--violet);
    background:
        radial-gradient(ellipse at 50% 0, rgba(215, 118, 255, .18), transparent 65%),
        linear-gradient(145deg, rgba(32, 24, 61, .97), rgba(13, 11, 31, .97));
    box-shadow: 0 0 22px rgba(215, 118, 255, .16), inset 0 0 0 3px rgba(17, 11, 38, .7);
    text-align: center;
}

.hall-fireworks {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
    pointer-events: none;
    image-rendering: pixelated;
}

.hall-hero > :not(.hall-fireworks) {
    position: relative;
    z-index: 1;
}

.hall-hero .eyebrow {
    margin: 0 0 6px;
    color: var(--cyan);
    font-size: .8rem;
}

.hall-hero h1 {
    margin: 0;
    color: var(--gold);
    font-family: var(--font-pixel);
    font-size: clamp(1rem, 3vw, 1.65rem);
    line-height: 1.6;
    text-shadow: 3px 3px 0 #783f9a, 0 0 18px rgba(255, 225, 123, .24);
}

.hall-hero > p:not(.eyebrow) {
    margin: 6px auto 0;
    color: #e2dced;
    font: 400 1rem/1.55 var(--font-ui);
}

.hall-return-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 9px 16px;
    border: 2px solid #fff2ac;
    border-radius: 5px;
    color: #211630;
    background: linear-gradient(180deg, #fff0a1, #e5b943);
    box-shadow: 0 4px 0 #79591d, 0 0 16px rgba(255, 225, 123, .24);
    font: 700 1rem/1.25 var(--font-ui);
    text-decoration: none;
}

.weekly-wins {
    display: grid;
    width: min(100%, 660px);
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    margin: 10px auto 0;
    padding: 7px 10px;
    border: 1px solid rgba(215, 118, 255, .72);
    border-radius: 4px;
    background: linear-gradient(110deg, rgba(28, 19, 54, .95), rgba(8, 11, 30, .96));
    box-shadow: inset 0 0 0 1px rgba(76, 232, 255, .08), 0 0 12px rgba(215, 118, 255, .12);
    text-align: left;
}

.weekly-wins-label {
    color: var(--cyan);
    font: 800 .62rem/1.2 var(--font-ui);
    letter-spacing: .09em;
    white-space: nowrap;
}

.weekly-wins-window {
    min-width: 0;
    overflow: hidden;
    padding: 2px 0;
    border-left: 1px solid rgba(139, 99, 192, .5);
    outline-offset: 3px;
    scrollbar-color: #8b63c0 rgba(9, 8, 23, .8);
    scrollbar-width: thin;
}

.weekly-wins-track {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.weekly-wins-group {
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0 7px 0 0;
    list-style: none;
}

.weekly-winner-chip {
    display: inline-flex;
    min-height: 25px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 225, 123, .46);
    border-radius: 3px;
    background: rgba(255, 225, 123, .08);
    white-space: nowrap;
}

.weekly-winner-initials {
    color: #fff7d1;
    font: 800 .76rem/1 var(--font-ui);
    letter-spacing: .08em;
}

.weekly-winner-count {
    color: var(--gold);
    font: 800 .7rem/1 var(--font-ui);
}

.weekly-winner-empty {
    color: #c9bfd9;
    font: 400 .76rem/1.3 var(--font-ui);
    white-space: nowrap;
}

.weekly-wins-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.weekly-wins:not(.is-scrolling) .weekly-wins-group-copy {
    display: none;
}

.weekly-wins.is-scrolling .weekly-wins-track {
    width: max-content;
    justify-content: flex-start;
    animation: weekly-wins-marquee var(--weekly-wins-duration, 24s) linear infinite;
}

.weekly-wins.is-scrolling .weekly-wins-window:hover .weekly-wins-track,
.weekly-wins.is-scrolling .weekly-wins-window:focus-within .weekly-wins-track {
    animation-play-state: paused;
}

@keyframes weekly-wins-marquee {
    to { transform: translateX(-50%); }
}

.hall-explorer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin: 20px auto 30px;
}

.hall-picker-panel {
    min-width: 0;
    padding: 14px;
    border: 2px solid #594777;
    background:
        repeating-linear-gradient(0deg, rgba(76, 232, 255, .018) 0, rgba(76, 232, 255, .018) 1px, transparent 1px, transparent 4px),
        linear-gradient(145deg, rgba(32, 24, 61, .98), rgba(13, 11, 31, .98));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22), inset 0 0 0 2px rgba(17, 11, 38, .52);
}

.hall-picker-heading {
    margin: 0 0 12px;
}

.hall-picker-heading .eyebrow {
    margin: 0 0 5px;
    color: var(--cyan);
    font: 700 .68rem/1.5 var(--font-ui);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hall-picker-heading h2 {
    margin: 0;
    color: #f3e7ff;
    font: 700 1.05rem/1.35 var(--font-pixel);
}

.hall-picker-heading > p:last-child {
    margin: 8px 0 0;
    color: #c9bfd9;
    font: 400 .9rem/1.45 var(--font-ui);
}

.hall-game-nav {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 3px 10px;
    overscroll-behavior: contain;
    scrollbar-color: #8b63c0 rgba(9, 8, 23, .8);
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    cursor: grab;
    touch-action: pan-x pan-y;
}

.hall-game-nav.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
    -webkit-user-select: none;
}

.hall-game-nav.is-dragging .hall-game-option {
    cursor: grabbing;
}

.hall-game-option {
    display: grid;
    min-height: 92px;
    flex: 0 0 225px;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 7px;
    border: 1px solid #594777;
    border-radius: 4px;
    color: #f1e8ff;
    background: linear-gradient(135deg, rgba(31, 24, 55, .96), rgba(13, 11, 31, .96));
    text-align: left;
    cursor: grab;
    scroll-snap-align: center;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.hall-game-option:hover {
    border-color: var(--cyan);
    transform: translateY(-1px);
}

.hall-game-option:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.hall-game-option.is-active {
    border-color: var(--gold);
    background:
        radial-gradient(ellipse at 20% 0, rgba(255, 225, 123, .14), transparent 68%),
        linear-gradient(135deg, rgba(61, 43, 82, .98), rgba(17, 12, 34, .98));
    box-shadow: 0 0 14px rgba(255, 225, 123, .17), inset 0 0 0 1px rgba(255, 225, 123, .16);
}

.hall-picker-cartridge {
    width: 56px;
    max-width: 56px;
    justify-self: center;
}

.hall-picker-cartridge .cart-label-name {
    font-size: .43rem;
    line-height: 1.32;
}

.hall-picker-cartridge .cart-turntable-art {
    width: 30%;
    border-width: 2px;
    font-size: .38rem;
}

.hall-option-copy,
.hall-option-index,
.hall-option-name,
.hall-option-action {
    display: block;
    min-width: 0;
}

.hall-option-index {
    margin-bottom: 5px;
    color: var(--cyan);
    font: 700 .63rem/1.35 var(--font-ui);
    letter-spacing: .055em;
}

.hall-hype .hall-option-index { color: #ff9ed8; }
.hall-record .hall-option-index { color: var(--gold); }
.hall-cable .hall-option-index { color: var(--violet); }
.hall-simon .hall-option-index { color: #b9a3ff; }
.hall-yeti .hall-option-index { color: #ff9bb5; }

.hall-option-name {
    color: #fff5dc;
    font: 700 .98rem/1.25 var(--font-ui);
}

.hall-option-action {
    margin-top: 4px;
    color: #c4bad3;
    font: 600 .76rem/1.3 var(--font-ui);
}

.hall-game-option.is-active .hall-option-action {
    color: var(--gold);
}

.hall-boards {
    min-width: 0;
}

.hall-board[hidden] {
    display: none !important;
}

.hall-board {
    --hall-cart-body: #3156a4;
    --hall-cart-label: #34e3ed;
    min-width: 0;
    width: 100%;
    margin: 0;
    border-width: 2px;
    background:
        repeating-linear-gradient(0deg, rgba(76, 232, 255, .018) 0, rgba(76, 232, 255, .018) 1px, transparent 1px, transparent 4px),
        linear-gradient(145deg, rgba(32, 24, 61, .98), rgba(13, 11, 31, .98));
}

.hall-bass {
    --scores-mint: #4ce8ff;
    --scores-mint-dim: #b7a0ef;
    --scores-black: #080817;
    --scores-line: rgba(76, 232, 255, .4);
    border-color: #4778a4;
}

.hall-hype {
    --hall-cart-body: #923657;
    --hall-cart-label: #ff638a;
    --scores-mint: #ff9ed8;
    --scores-mint-dim: #d776ff;
    --scores-black: #11091b;
    --scores-line: rgba(255, 158, 216, .42);
    border-color: #9d3c93;
}

.hall-record {
    --hall-cart-body: #745432;
    --hall-cart-label: #ffe17b;
    --scores-mint: #ffe17b;
    --scores-mint-dim: #d776ff;
    --scores-black: #17100b;
    --scores-line: rgba(255, 225, 123, .42);
    border-color: #c79c4d;
}

.hall-runner {
    --hall-cart-body: #315c86;
    --hall-cart-label: #65eaff;
    --scores-mint: #4ce8ff;
    --scores-mint-dim: #d776ff;
    --scores-black: #080817;
    --scores-line: rgba(76, 232, 255, .4);
    border-color: #4ce8ff;
}

.hall-cable {
    --hall-cart-body: #603b87;
    --hall-cart-label: #d776ff;
    --scores-mint: #ffe17b;
    --scores-mint-dim: #d776ff;
    --scores-black: #100d20;
    --scores-line: rgba(215, 118, 255, .42);
    border-color: #9d64c2;
}

.hall-breakout {
    --hall-cart-body: #812641;
    --hall-cart-label: #ff6d79;
    --scores-mint: #ffe17b;
    --scores-mint-dim: #d776ff;
    --scores-black: #100d20;
    --scores-line: rgba(215, 118, 255, .42);
    border-color: #d776ff;
}

.hall-yeti {
    --hall-cart-body: #34548e;
    --hall-cart-label: #d9f2ff;
    --scores-mint: #9cecff;
    --scores-mint-dim: #b7a0ef;
    --scores-black: #080817;
    --scores-line: rgba(76, 232, 255, .4);
    border-color: #4778a4;
}

.hall-thrower {
    --hall-cart-body: #812641;
    --hall-cart-label: #ff6d79;
    --scores-mint: #ffe17b;
    --scores-mint-dim: #d776ff;
    --scores-black: #100d20;
    --scores-line: rgba(239, 48, 73, .42);
    border-color: #ef3049;
}

.hall-flapper {
    --hall-cart-body: #285a73;
    --hall-cart-label: #65eaff;
    --scores-mint: #4ce8ff;
    --scores-mint-dim: #b7a0ef;
    --scores-black: #080817;
    --scores-line: rgba(76, 232, 255, .4);
    border-color: #4ce8ff;
}

.hall-maze {
    --hall-cart-body: #285a73;
    --hall-cart-label: #4ce8ff;
    --scores-mint: #4ce8ff;
    --scores-mint-dim: #b7a0ef;
    --scores-black: #080817;
    --scores-line: rgba(76, 232, 255, .4);
    border-color: #4c9ab0;
}

.hall-sudoku {
    --hall-cart-body: #826132;
    --hall-cart-label: #ffe17b;
    --scores-mint: #ffe17b;
    --scores-mint-dim: #d776ff;
    --scores-black: #17100b;
    --scores-line: rgba(255, 225, 123, .42);
    border-color: #c79c4d;
}

.hall-word-find {
    --hall-cart-body: #603b87;
    --hall-cart-label: #d776ff;
    --scores-mint: #e4a0ff;
    --scores-mint-dim: #b7a0ef;
    --scores-black: #100d20;
    --scores-line: rgba(215, 118, 255, .42);
    border-color: #9d64c2;
}

.hall-maze .hall-option-index { color: #4ce8ff; }
.hall-sudoku .hall-option-index { color: #ffe17b; }
.hall-word-find .hall-option-index { color: #d776ff; }
.hall-groove { --hall-cart-label: #d776ff; }
.hall-mini-putt { --hall-cart-label: #81e6a4; }
.hall-notes-toss { --hall-cart-label: #ffe17b; }
.hall-groove .hall-option-index { color: #d776ff; }
.hall-mini-putt .hall-option-index { color: #81e6a4; }
.hall-notes-toss .hall-option-index { color: #ffe17b; }
.hall-picker-cartridge .cart-groove-art {
    display: grid;
    width: 45px;
    height: 45px;
    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 9px rgba(76,232,255,.5);
    font-size: 1.15rem;
}
.hall-picker-cartridge .cart-putt-art {
    color: #fff5cc;
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(76,232,255,.7));
}
.hall-picker-cartridge .cart-notes-art {
    color: #ffe17b;
    font-size: 2rem;
    line-height: 1;
    transform: rotate(-18deg);
    text-shadow: 0 0 7px rgba(255,225,123,.65);
}

.hall-board h2 {
    position: relative;
    font-size: clamp(.9rem, 1.8vw, 1.05rem);
    text-shadow: 0 0 10px rgba(215, 118, 255, .22);
}

.hall-cartridge-link {
    position: absolute;
    top: 50%;
    left: -12px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 4px;
    text-decoration: none;
    z-index: 1;
}

.hall-cartridge-link::before {
    pointer-events: none;
    display: block;
    width: 20px;
    height: 26px;
    border: 1px solid rgba(235, 229, 255, .9);
    border-radius: 2px 2px 4px 4px;
    background-color: var(--hall-cart-body);
    background-image:
        linear-gradient(var(--hall-cart-label), var(--hall-cart-label)),
        linear-gradient(90deg, transparent 0 20%, #080817 20% 34%, transparent 34% 66%, #080817 66% 80%, transparent 80%);
    background-position: center 4px, bottom 2px;
    background-size: 12px 14px, 100% 3px;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 2px rgba(10, 9, 25, .42), 0 0 7px rgba(215, 118, 255, .3);
    content: "";
    transition: transform .15s ease, box-shadow .15s ease;
}

.hall-cartridge-link:hover::before {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px rgba(10, 9, 25, .42), 0 0 10px rgba(255, 225, 123, .6);
}

.hall-cartridge-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.hall-cartridge-link:focus-visible::before {
    box-shadow: inset 0 0 0 2px rgba(10, 9, 25, .42), 0 0 10px rgba(255, 225, 123, .6);
}

@media (prefers-reduced-motion: reduce) {
    .hall-cartridge-link::before { transition: none; }
}

.hall-cartridge-link:active::before {
    transform: translateY(1px);
}

.hall-game-index {
    margin: 0 0 8px;
    color: var(--cyan);
    font: 700 .75rem/1.5 var(--font-ui);
    letter-spacing: .08em;
    text-align: center;
}

.hall-hype .hall-game-index { color: #ff9ed8; }
.hall-record .hall-game-index { color: var(--gold); }
.hall-cable .hall-game-index { color: var(--violet); }

.hall-board .scoreboards-note {
    color: #ddd4ed;
    font: 400 .95rem/1.5 var(--font-ui);
}

.hall-board .scoreboards-columns {
    grid-template-columns: minmax(0, 1fr);
}

.hall-board .scoreboard-period {
    padding: clamp(14px, 2.2vw, 22px);
    border-color: var(--scores-line);
    background:
        radial-gradient(ellipse at 0 0, rgba(255, 225, 123, .08), transparent 62%),
        linear-gradient(145deg, rgba(19, 15, 37, .98), rgba(9, 8, 23, .98));
}

.hall-board .scoreboard-period h3 {
    min-height: 0;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
    text-shadow: 0 0 12px rgba(255, 225, 123, .24);
}

.hall-board .board-status {
    color: #ddd4ed;
    font: 400 .9rem/1.5 var(--font-ui);
}

.hall-board .board-status:empty {
    display: none;
}

.hall-board .board-list {
    gap: 7px;
    padding-top: 0;
}

.hall-board .board-row {
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid rgba(215, 118, 255, .22);
    background: rgba(6, 6, 18, .58);
    font-size: .98rem;
}

.hall-board .board-row-leader {
    position: relative;
    min-height: 88px;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto;
    gap: 9px;
    padding: 32px 13px 13px;
    border: 2px solid var(--gold);
    background:
        radial-gradient(ellipse at 25% 0, rgba(255, 225, 123, .16), transparent 70%),
        linear-gradient(135deg, rgba(64, 44, 88, .88), rgba(15, 11, 30, .98));
    box-shadow: 0 0 16px rgba(255, 225, 123, .16), inset 0 0 12px rgba(215, 118, 255, .08);
}

.hall-board .board-leader-badge {
    position: absolute;
    top: 8px;
    left: 13px;
    color: var(--gold);
    font: 800 .72rem/1.2 var(--font-ui);
    letter-spacing: .1em;
    text-shadow: 0 0 10px rgba(255, 225, 123, .28);
}

.hall-board .board-row-leader .board-rank {
    display: grid;
    min-width: 2.4rem;
    min-height: 2.4rem;
    place-items: center;
    border: 1px solid rgba(255, 225, 123, .8);
    background: rgba(255, 225, 123, .12);
    color: var(--gold);
    font: 800 1rem/1 var(--font-ui);
}

.hall-board .board-row-leader .board-initials {
    color: #fff7d1;
    font: 800 clamp(1.1rem, 3vw, 1.45rem)/1.15 var(--font-ui);
    letter-spacing: .08em;
}

.hall-board .board-row-leader .board-score {
    color: var(--gold);
    font: 800 clamp(1.15rem, 3vw, 1.5rem)/1.15 var(--font-ui);
    text-shadow: 0 0 12px rgba(255, 225, 123, .22);
}

@media (max-width: 780px) {
    .hall-main { width: min(100% - 32px, 640px); }
    .hall-game-option { flex-basis: min(72vw, 225px); }
    .hall-picker-cartridge {
        width: 48px;
        max-width: 48px;
    }
}

@media (max-width: 520px) {
    .hall-main { width: min(100% - 28px, 440px); }
    .hall-hero { padding: 16px 14px; }
    .hall-picker-panel { padding: 11px; }
    .hall-game-option { flex-basis: min(78vw, 235px); }
    .hall-board .board-row { font-size: .95rem; }
}

@media (max-width: 359px) {
    .hall-main { width: calc(100% - 24px); }
    .hall-board .board-row { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hall-game-option { transition: none; }
    .weekly-wins.is-scrolling .weekly-wins-window { overflow-x: auto; }
    .weekly-wins.is-scrolling .weekly-wins-track { width: max-content; animation: none; }
    .weekly-wins.is-scrolling .weekly-wins-group-copy { display: none; }
}
