.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(22px, 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 12px;
    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: 12px 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: 18px;
    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;
}

.hall-game-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 20px auto 26px;
}

.hall-game-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid #594777;
    color: #e7def3;
    background: #171333;
    font: 600 .95rem/1.3 var(--font-ui);
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}

.hall-game-nav a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}

.hall-board {
    margin: 0 auto 22px;
    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 {
    --scores-mint: #ff9ed8;
    --scores-mint-dim: #d776ff;
    --scores-black: #11091b;
    --scores-line: rgba(255, 158, 216, .42);
    border-color: #9d3c93;
}

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

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

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

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

.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 .scoreboard-period {
    border-color: var(--scores-line);
}

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

.hall-board .board-row {
    font-size: .8rem;
}

@media (max-width: 780px) {
    .hall-main { width: min(100% - 32px, 640px); }
}

@media (max-width: 520px) {
    .hall-main { width: min(100% - 28px, 440px); }
    .hall-hero { padding: 22px 14px; }
    .hall-game-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hall-game-nav a { justify-content: center; padding-right: 8px; padding-left: 8px; text-align: center; }
    .hall-board .board-row { font-size: .74rem; }
}

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

@media (prefers-reduced-motion: reduce) {
    .hall-game-nav a { transition: none; }
}
