/*
 * Falcon cockpit frame style guide (Protoss + Egyptian mural machine):
 * Burnished gold/brass sculpted rails with cyan energy seams; undulating
 * non-linear silhouette top & bottom only; third-person playfield stays open;
 * no outer rectangular bezel — black viewport reads as the full game screen.
 */

@font-face {
    font-family: 'Press Start 2P';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/press-start-2p.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/noto-sans-kr-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/noto-sans-kr-700.woff2') format('woff2');
}

:root {
    --bg-color: #030308;
    --hud-bg: rgba(4, 8, 18, 0.92);
    --console-bg: rgba(4, 8, 18, 0.95);
    --frame-color: rgba(0, 255, 204, 0.55);
    --frame-bright: #00ffcc;
    --proto-gold: #c9a227;
    --proto-gold-mid: #a8841a;
    --proto-gold-dark: #6e5610;
    --proto-gold-hi: #e8d278;
    --proto-cyan: #3de8ff;
    --proto-cyan-dim: rgba(61, 232, 255, 0.55);
    /* cockpit neon — synced to energy shield color via JS */
    --neon-line: #00ffcc;
    --neon-bloom: rgba(0, 255, 204, 0.55);
    --neon-mid: rgba(120, 255, 230, 0.9);
    --neon-core: #eaffff;
    --neon-glow: rgba(0, 255, 204, 0.85);
    --text-primary: #00ffcc;
    --text-dim: rgba(0, 255, 204, 0.45);
    --text-alert: #ff3366;
    --text-mission-points: #ffe066;
    --text-keystrokes: #c8ff3d;
    --beam-blue: #0032ff;
    --beam-cyan: #00ffff;
    --beam-core: #e6ffff;
    --font-pixel: 'Press Start 2P', monospace;
    --font-kr: 'Noto Sans KR', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: var(--text-primary);
    font-family: var(--font-kr);
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

#viewport {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

#game-container {
    width: 1000px;
    height: 700px;
    flex-shrink: 0;
    background-color: var(--bg-color);
    border: none;
    display: flex;
    flex-direction: column;
    position: relative;
    transform-origin: center center;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8);
}

/* ── HUD ── */
#hud {
    height: 60px;
    background: var(--hud-bg);
    border-bottom: none;
    display: grid;
    grid-template-columns: 1fr 1.35fr 1.35fr 1fr 1.25fr auto;
    align-items: center;
    padding: 0 14px 10px;
    gap: 6px;
    position: relative;
    z-index: 4;
}

.hud-readout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.hud-label {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3;
}

.hud-value {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hud-value-slot {
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}

/* 고정 슬롯: 숫자 자릿수 변화에도 레이아웃 유지 */
.slot-2 { width: 56px; }  /* CHALLENGE 1~14 / Final */
.slot-3 { width: 42px; }  /* 0~100 퍼센트 계기 */
.slot-4 { width: 56px; }  /* TRIGGERING SKILL ~999 */
.slot-6 { width: 84px; }  /* MISSION PTS ~999999 */

.mission-points-readout .hud-value {
    color: var(--text-mission-points);
    font-size: 14px;
    text-shadow: 0 0 10px rgba(255, 224, 102, 0.7);
}

.gauge-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gauge-container {
    width: 72px;
    height: 6px;
    flex-shrink: 0;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid var(--frame-color);
    position: relative;
    overflow: hidden;
}

.gauge-container div {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.energy-shield-gauge div {
    background: #00ffcc;
}

.beam-gauge div {
    background: #4dd9ff;
}

@keyframes beamGlow {
    0% { box-shadow: 0 0 4px #4dd9ff; background-color: #4dd9ff; }
    50% { box-shadow: 0 0 12px #ffffff, 0 0 6px #4dd9ff inset; background-color: #ccffff; }
    100% { box-shadow: 0 0 4px #4dd9ff; background-color: #4dd9ff; }
}

.beam-ready {
    animation: beamGlow 0.8s infinite alternate;
}

.settings-icon {
    font-size: 32px;
    color: #ff3333;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s, text-shadow 0.2s;
    font-family: var(--font-pixel);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    line-height: 1;
}

.settings-icon:hover {
    color: #ff6666;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
}

/* ── Game Area & Cockpit Frame ── */
#game-area {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#cockpit-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.cockpit-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 55%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

/* ── Protoss-style cockpit rails (top/bottom) ── */
.proto-rail {
    position: absolute;
    left: 0;
    right: 0;
    height: 26px;
    pointer-events: none;
    z-index: 5;
    line-height: 0;
    overflow: visible;
}

.proto-rail svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.proto-rail-hud {
    bottom: -14px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.proto-rail-console {
    top: -14px;
    filter: drop-shadow(0 -2px 6px rgba(0, 0, 0, 0.55));
}

/* neon sign: bloom / mid / bright core + soft pulse (color from --neon-*) */
.proto-rail .rail-neon-bloom,
.proto-rail .rail-neon-mid,
.proto-rail .rail-neon-core {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proto-rail .rail-neon-bloom {
    stroke: var(--neon-bloom);
    stroke-width: 5;
    animation: neonPulse 2.4s ease-in-out infinite alternate;
}

.proto-rail .rail-neon-mid {
    stroke: var(--neon-mid);
    stroke-width: 2.4;
    filter: drop-shadow(0 0 4px var(--neon-line));
    animation: neonPulse 2.4s ease-in-out infinite alternate;
}

.proto-rail .rail-neon-core {
    stroke: var(--neon-core);
    stroke-width: 1.1;
    filter:
        drop-shadow(0 0 2px #fff)
        drop-shadow(0 0 6px var(--neon-line))
        drop-shadow(0 0 12px var(--neon-glow));
    animation: neonPulse 2.4s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0% { opacity: 0.72; }
    100% { opacity: 1; }
}

.proto-rail .rail-groove {
    fill: none;
    stroke: var(--proto-gold-dark);
    stroke-width: 1;
    opacity: 0.7;
}

.proto-rail .rail-node {
    fill: var(--neon-core);
    filter:
        drop-shadow(0 0 3px var(--neon-line))
        drop-shadow(0 0 8px var(--neon-glow));
    animation: neonPulse 2.4s ease-in-out infinite alternate;
}

.proto-rail .rail-node-ring {
    fill: none;
    stroke: var(--proto-gold-hi);
    stroke-width: 1;
    filter: drop-shadow(0 0 3px var(--neon-line));
}

/* ── Overlay ── */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-kr);
    z-index: 3;
}

.overlay h1 {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-shadow: 2px 2px 0px #ff00ff, 0 0 20px rgba(0, 255, 204, 0.5);
    font-family: var(--font-pixel);
}

#start-overlay .title-subtitle {
    margin: 0 0 10px;
    font-family: var(--font-pixel);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-mission-points);
    text-shadow: 0 0 12px rgba(255, 224, 102, 0.45);
}

#start-overlay .title-season {
    margin: 0 0 14px;
    font-family: var(--font-pixel);
    font-size: 8px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
}

#start-overlay .title-tagline {
    margin: 0 0 28px;
    font-family: var(--font-kr);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(0, 255, 204, 0.85);
}

#start-overlay .title-prompt {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.overlay p {
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.overlay button {
    margin-top: 20px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--frame-bright);
    color: var(--text-primary);
    font-family: var(--font-pixel);
    font-size: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.overlay button:hover {
    background: var(--frame-bright);
    color: #000;
}

/* ── Center Banner (countdown & challenge intro) ── */
.center-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    font-family: var(--font-pixel);
    text-align: center;
    color: var(--text-primary);
    white-space: nowrap;
}

.center-banner.countdown {
    font-size: 120px;
    text-shadow:
        3px 3px 0 #ff00ff,
        0 0 24px rgba(0, 255, 204, 0.8);
    animation: countdownPop 1s ease-out forwards;
}

.center-banner.challenge {
    font-size: 46px;
    text-shadow:
        2px 2px 0 #ff00ff,
        0 0 24px rgba(0, 255, 204, 0.6);
    animation: challengeReveal 0.6s ease-out forwards;
}

@keyframes countdownPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
    25% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
}

@keyframes challengeReveal {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); letter-spacing: 24px; }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); letter-spacing: 2px; }
}

/* ── Console ── */
#console {
    height: 98px;
    background: var(--console-bg);
    border-top: none;
    padding: 18px 20px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
    position: relative;
    z-index: 4;
}

#console-msg-1,
#console-msg-2 {
    font-size: 12px;
    letter-spacing: 0.3px;
}

#console-msg-1 {
    color: var(--text-primary);
}

#console-msg-1.attack-missed {
    color: #ff9900;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 153, 0, 0.7);
}

#console-msg-1.missile-warning-active {
    color: #ff2244;
    font-weight: bold;
    text-shadow:
        0 0 6px #ff0033,
        0 0 14px #ff2244,
        0 0 24px rgba(255, 34, 68, 0.8);
    animation: missileWarningPulse 0.8s ease-in-out infinite alternate;
}

@keyframes missileWarningPulse {
    0% {
        color: #ff3355;
        text-shadow:
            0 0 6px #ff0033,
            0 0 12px #ff2244;
    }
    100% {
        color: #ff6677;
        text-shadow:
            0 0 10px #ff1133,
            0 0 20px #ff4466,
            0 0 32px rgba(255, 50, 80, 0.9);
    }
}

#console-msg-2.beam-code-active {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.beam-code-label {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.beam-code-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--beam-cyan);
    text-shadow:
        0 0 6px var(--beam-blue),
        0 0 14px var(--beam-cyan),
        0 0 24px rgba(0, 255, 255, 0.5);
    animation: beamCodePulse 1.2s ease-in-out infinite alternate;
}

@keyframes beamCodePulse {
    0% {
        color: var(--beam-cyan);
        text-shadow:
            0 0 6px var(--beam-blue),
            0 0 12px var(--beam-cyan);
    }
    100% {
        color: var(--beam-core);
        text-shadow:
            0 0 8px var(--beam-blue),
            0 0 20px var(--beam-cyan),
            0 0 30px rgba(230, 255, 255, 0.6);
    }
}

.input-container {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 255, 204, 0.15);
    padding-top: 6px;
}

.prompt-arrow {
    margin-right: 10px;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--frame-bright);
}

#type-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 26px;
    height: 26px;
    padding: 0;
    font-family: var(--font-kr);
    outline: none;
    flex-grow: 1;
    caret-color: var(--frame-bright);
}

#type-input:disabled {
    opacity: 0.4;
    cursor: default;
    caret-color: transparent;
}

/* ── Modals ── */
.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(4, 8, 18, 0.97);
    border: 1px solid var(--frame-color);
    padding: 30px 40px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
    min-width: 320px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-dim);
    font-family: "Segoe UI Symbol", "Apple Symbols", system-ui, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s, text-shadow 0.2s, transform 0.15s;
}

.modal .modal-close:hover {
    background: transparent;
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
    transform: scale(1.08);
}

#modal-settings {
    --settings-block-gap: 20px;
    --settings-title-gap: 12px;
    --settings-field-gap: 16px;
    --settings-hint-gap: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#modal-settings .modal-settings-header {
    position: relative;
    padding-bottom: var(--settings-title-gap);
    margin-bottom: var(--settings-block-gap);
}

#modal-settings .modal-settings-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--frame-bright);
}

#modal-settings h2 {
    margin: 0;
    line-height: 1;
    text-align: center;
}

#modal-settings .modal-settings-fields {
    display: flex;
    flex-direction: column;
    gap: var(--settings-field-gap);
    width: 100%;
    margin-bottom: var(--settings-block-gap);
}

#modal-settings .modal-settings-fields label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 13px;
    color: var(--text-dim);
}

#modal-settings .modal-settings-fields label > span {
    flex: 1 1 auto;
    text-align: left;
    min-width: 0;
}

#modal-settings .modal-settings-fields input,
#modal-settings .modal-settings-fields select {
    margin-left: 0;
    flex: 0 0 200px;
    width: 200px;
    max-width: 55%;
    text-align: left;
}

#modal-settings .modal-settings-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--settings-block-gap);
}

#modal-settings .modal-settings-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--settings-hint-gap);
    width: 100%;
}

#modal-settings .modal-settings-actions button {
    margin-top: 0;
}

#modal-settings .modal-settings-actions .modal-hint {
    margin: 0 !important;
}

#modal-settings .modal-settings-install {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--settings-hint-gap);
    width: 100%;
    padding-top: var(--settings-block-gap);
}

#modal-settings .modal-settings-install::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--frame-bright);
}

#modal-settings .modal-settings-install button {
    margin-top: 0;
}

#modal-settings .modal-settings-install #btn-install-pwa:disabled,
#modal-settings .modal-settings-install #btn-install-pwa.is-installed {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

#modal-settings .modal-settings-install #btn-install-pwa:disabled:hover,
#modal-settings .modal-settings-install #btn-install-pwa.is-installed:hover {
    background: transparent;
    color: var(--text-primary);
}

#modal-settings .modal-settings-install .modal-install-hint {
    margin: 0 !important;
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
}

.modal h2 {
    font-family: var(--font-pixel);
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.modal h3 {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 16px;
}

.modal p {
    font-size: 14px;
    color: var(--text-dim);
    margin: 6px 0;
}

.modal p span {
    font-family: var(--font-pixel);
    color: var(--text-mission-points);
    font-size: 12px;
}

#modal-game-over,
#modal-challenge-clear {
    min-width: 380px;
    padding: 28px 36px 24px;
}

#modal-game-over h2,
#modal-challenge-clear h2 {
    margin-bottom: 22px;
}

.game-over-scores {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.game-over-scores .score-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 2px;
}

.game-over-scores .score-label {
    font-size: 13px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.game-over-scores .score-value {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text-mission-points);
    text-align: right;
    word-break: break-all;
}

.game-over-scores .score-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.game-over-scores .score-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid var(--frame-color);
    background: rgba(0, 255, 204, 0.06);
    box-shadow: inset 0 0 18px rgba(0, 255, 204, 0.08);
}

.game-over-scores .score-box .score-label {
    font-family: var(--font-pixel);
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.game-over-scores .score-box .score-value {
    font-size: 16px;
    color: var(--frame-bright);
    text-shadow:
        0 0 8px rgba(0, 255, 204, 0.7),
        0 0 18px rgba(0, 255, 204, 0.35);
}

.game-over-ranking {
    margin-top: 20px;
    text-align: left;
}

.game-over-ranking h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

#scoreboard-list {
    list-style: none;
    max-height: 180px;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding: 4px 0;
}

#scoreboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 4px;
    font-size: 12px;
    color: var(--text-dim);
}

#scoreboard-list .rank-name {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#scoreboard-list .rank-score {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--text-mission-points);
    flex-shrink: 0;
    white-space: nowrap;
}

#scoreboard-list .rank-score-points,
#scoreboard-list .rank-score-dot {
    color: var(--text-mission-points);
}

#scoreboard-list .rank-score-keys {
    color: var(--text-keystrokes);
    text-shadow:
        0 0 4px #c8ff3d,
        0 0 10px rgba(180, 255, 40, 0.95),
        0 0 18px rgba(150, 255, 0, 0.55);
}

#scoreboard-list li.current-score .rank-score,
#scoreboard-list li.current-score .rank-score-points,
#scoreboard-list li.current-score .rank-score-dot {
    color: var(--text-mission-points);
    text-shadow: none;
    animation: none;
}

#scoreboard-list li.current-score .rank-score-keys {
    color: var(--text-keystrokes);
    text-shadow:
        0 0 4px #c8ff3d,
        0 0 10px rgba(180, 255, 40, 0.95),
        0 0 18px rgba(150, 255, 0, 0.55);
    animation: none;
}

#modal-game-over #btn-restart,
#modal-challenge-clear #btn-next-challenge {
    margin-top: 18px;
}

.modal-hint {
    margin-top: 12px !important;
    font-size: 11px !important;
    color: var(--text-dim);
    opacity: 0.8;
}

.modal label {
    font-size: 13px;
    color: var(--text-dim);
}

.modal input,
.modal select {
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid var(--frame-color);
    color: var(--text-primary);
    padding: 6px 10px;
    font-family: var(--font-kr);
    margin-left: 8px;
}

.modal button:not(.modal-close) {
    margin-top: 20px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--frame-bright);
    color: var(--text-primary);
    font-family: var(--font-pixel);
    font-size: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.modal button:not(.modal-close):hover {
    background: var(--frame-bright);
    color: #000;
}

.hidden {
    display: none !important;
}

ul {
    list-style: none;
    margin-top: 10px;
    text-align: left;
}

li {
    margin: 5px 0;
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-pixel);
    font-size: 9px;
}

li.current-score {
    color: var(--beam-cyan);
}

li.current-score .rank-name {
    color: var(--beam-cyan);
    text-shadow:
        0 0 6px var(--beam-blue),
        0 0 14px var(--beam-cyan),
        0 0 24px rgba(0, 255, 255, 0.5);
    animation: beamCodePulse 1.2s ease-in-out infinite alternate;
}
