:root {
    --gold: #fbbf24;
    --bg: #020617;
    --red: #ef4444;
}

body, html {
    height: 100%;
    margin: 0;
    background: var(--bg);
    font-family: 'Inter', system-ui, sans-serif;
    color: #fff;
}

body.map-page, body.map-page html {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
    background: #0d1117;
}

.glass {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.title-breath {
    animation: title-glow 3s infinite ease-in-out;
}

@keyframes title-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(251, 191, 36, 0.2); }
    50% { box-shadow: 0 0 30px rgba(251, 191, 36, 0.5); }
}

/* Map */
#map {
    height: 100vh;
    width: 100vw;
    z-index: 1;
    background: #0d1117;
    filter: saturate(0.85) contrast(1.15);
}

.leaflet-container {
    background: #0d1117;
}

.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4000;
    padding: 1.25rem 1rem 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.opus-title {
    margin: 0;
    padding: 0.65rem 1.75rem;
    border-radius: 999px;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    font-weight: 900;
    letter-spacing: 0.45em;
    text-indent: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(251, 191, 36, 0.35);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.opus-title:hover {
    border-color: rgba(251, 191, 36, 0.55);
}

.opus-title:focus-visible {
    outline: 1px solid rgba(251, 191, 36, 0.6);
    outline-offset: 3px;
}

.map-page-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.pointer-events-auto { pointer-events: auto; }

.menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 5000;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.menu-btn:hover {
    border-color: rgba(251, 191, 36, 0.65);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.15);
}

.menu-btn-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
    height: 13px;
}

.menu-btn-bar {
    position: relative;
    width: 18px;
    height: 1px;
    min-height: 1px;
    flex-shrink: 0;
    background: var(--gold);
    transform-origin: center center;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

body.menu-open .menu-btn-icon {
    display: block;
}

body.menu-open .menu-btn-bar {
    position: absolute;
    left: 0;
    top: 6px;
}

body.menu-open .menu-btn-bar:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

body.menu-open .menu-btn-bar:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-btn-bar:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 4500;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4600;
    width: min(280px, 82vw);
    height: 100%;
    padding: 4.5rem 1.5rem 2rem;
    background: rgba(2, 6, 23, 0.96);
    border-right: 1px solid rgba(251, 191, 36, 0.45);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

body.menu-open .menu-sidebar {
    transform: translateX(0);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-link {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.menu-link:hover {
    background: rgba(251, 191, 36, 0.08);
    color: var(--gold);
}

.menu-auth-label {
    padding: 0 1rem 0.5rem;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-sidebar .auth-btn-compact {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    border: none;
    border-radius: 8px;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

.menu-sidebar .auth-btn-compact:hover {
    background: rgba(251, 191, 36, 0.08);
    color: var(--gold);
}

/* About page */
.about-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.about-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(251, 191, 36, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(6, 182, 212, 0.04), transparent),
        var(--bg);
    z-index: 0;
}

.about-header {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.5rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.back-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.12);
}

.back-btn-arrow {
    font-size: 0.85rem;
    line-height: 1;
}

.about-main {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-title {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.65rem 1.75rem;
    border-radius: 999px;
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: 900;
    letter-spacing: 0.45em;
    text-indent: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(15, 23, 42, 0.6);
}

.about-tagline {
    margin: 0;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.about-section {
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
}

.about-section-title {
    margin: 0 0 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-text {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.about-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.about-rules {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-rules li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rule-num {
    flex-shrink: 0;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(251, 191, 36, 0.5);
    padding-top: 0.15rem;
}

.rule-body {
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.rule-body strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@media (max-width: 480px) {
    .opus-title {
        letter-spacing: 0.3em;
        text-indent: 0.3em;
        padding: 0.55rem 1.25rem;
    }

    .menu-btn {
        top: 0.75rem;
        left: 0.75rem;
        width: 40px;
        height: 40px;
    }

    .header-wrapper {
        padding-top: 1rem;
    }
}

.pin-glow-available {
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.85);
    animation: pin-pulse 2s infinite ease-in-out;
}

.pin-glow-playing {
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 22px var(--red);
    animation: pin-pulse 1.2s infinite ease-in-out;
}

@keyframes pin-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.75; }
}

.leaflet-popup-content-wrapper {
    background: rgba(2, 6, 23, 0.95) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 16px !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 180px !important;
    color: #fff;
}

.popup-stadium { padding: 1rem; }
.popup-stadium h3 { font-size: 0.75rem; font-weight: 600; margin: 0 0 0.25rem; }
.popup-stadium p { font-size: 0.6rem; opacity: 0.6; margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }
.popup-stadium .status-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.status-available { background: rgba(251, 191, 36, 0.2); color: var(--gold); }
.status-playing { background: rgba(239, 68, 68, 0.2); color: var(--red); }

.popup-enter-btn {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background 0.2s;
}
.popup-enter-btn:hover { background: var(--gold); color: #020617; }

.hidden { display: none !important; }

/* Stadium page */
.stadium-page {
    min-height: 100vh;
    background: var(--bg);
}

.stadium-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.stadium-header-title {
    text-align: center;
}

.stadium-header .btn-opus {
    justify-self: start;
    width: auto;
}

.stadium-header .btn-music {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.stadium-header .btn-music.playing {
    animation: music-btn-glow-pulse 1.8s ease-in-out infinite;
}

@keyframes music-btn-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 6px rgba(251, 191, 36, 0.2);
        border-color: rgba(251, 191, 36, 0.45);
    }
    50% {
        box-shadow: 0 0 22px rgba(251, 191, 36, 0.55);
        border-color: rgba(251, 191, 36, 0.85);
    }
}

.music-btn-icon {
    display: inline-flex;
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
}

.music-btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.stadium-header-spacer {
    justify-self: end;
    width: 72px;
}

.stadium-main {
    max-width: 520px;
    margin: 0 auto;
    padding: 1rem;
}

.seats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.seat-card {
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
}
.stadium-main-paris .seat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.seat-card.filled { border-color: rgba(251, 191, 36, 0.3); }
.seat-card.seat-active-turn {
    border-color: rgba(251, 191, 36, 0.55);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.12);
}
.seat-label { opacity: 0.5; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.55rem; }
.stadium-main-paris .seat-info { flex: 1; min-width: 0; }
.seat-name { font-weight: 600; margin-top: 0.25rem; }
.stadium-main-paris .seat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.turn-timer {
    display: none;
    flex-shrink: 0;
    margin-left: auto;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
    line-height: 1;
    text-align: right;
}

.turn-timer.active {
    display: block;
}

.turn-timer.urgent {
    color: #f87171;
    text-shadow: 0 0 16px rgba(248, 113, 113, 0.45);
    animation: timer-pulse 0.55s ease-in-out infinite alternate;
}

@keyframes timer-pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.08); opacity: 0.82; }
}

.lose-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lose-overlay.hiding {
    opacity: 0;
    pointer-events: none;
}

.lose-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    text-transform: uppercase;
    color: #f87171;
    text-shadow: 0 0 28px rgba(248, 113, 113, 0.45);
}

.lose-sub {
    margin: 0.75rem 0 0;
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.victory-decision-timer {
    margin: 0 0 0.75rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}

.spectator-bar {
    text-align: center;
    font-size: 0.6rem;
    opacity: 0.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gomoku-board {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 0;
    aspect-ratio: 1;
    background:
        linear-gradient(rgba(251, 191, 36, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.06) 1px, transparent 1px),
        rgba(15, 23, 42, 0.6);
    background-size: calc(100% / 15) calc(100% / 15);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    padding: 4px;
    touch-action: manipulation;
}

.gomoku-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    position: relative;
}

.gomoku-cell.playable { cursor: pointer; }
.gomoku-cell.playable:hover::after {
    content: '';
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.25);
    position: absolute;
}

.stone {
    width: 72%;
    height: 72%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}
.stone-red {
    background: radial-gradient(circle at 30% 30%, #f87171, #b91c1c);
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.45);
}
.stone-blue {
    background: radial-gradient(circle at 30% 30%, #60a5fa, #1e3a8a);
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.45);
}
.stone-lime {
    background: radial-gradient(circle at 30% 30%, #bef264, #65a30d);
    box-shadow: 0 2px 6px rgba(101, 163, 13, 0.5);
}
.stone-yellow {
    background: radial-gradient(circle at 30% 30%, #fde047, #ca8a04);
    box-shadow: 0 2px 6px rgba(202, 138, 4, 0.5);
}
.stone-bordeaux {
    background: radial-gradient(circle at 30% 30%, #be123c, #4c0519);
    box-shadow: 0 2px 6px rgba(76, 5, 25, 0.55);
}
.stone-dark-green {
    background: radial-gradient(circle at 30% 30%, #22c55e, #14532d);
    box-shadow: 0 2px 6px rgba(20, 83, 45, 0.55);
}

.stone.stone-last {
    outline: 2px solid rgba(251, 191, 36, 0.75);
    outline-offset: 1px;
}

.stone.stone-win {
    background: radial-gradient(circle at 32% 28%, #c9a227, #6b4f0a 72%, #3d2e06);
    box-shadow:
        0 0 10px rgba(107, 79, 10, 0.95),
        0 0 22px rgba(201, 162, 39, 0.65),
        0 0 38px rgba(201, 162, 39, 0.35),
        inset 0 -2px 6px rgba(45, 32, 4, 0.45);
    animation: win-stone-breathe 1.5s ease-in-out infinite;
}

@keyframes win-stone-breathe {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow:
            0 0 10px rgba(107, 79, 10, 0.85),
            0 0 20px rgba(201, 162, 39, 0.5),
            0 0 32px rgba(201, 162, 39, 0.28),
            inset 0 -2px 6px rgba(45, 32, 4, 0.45);
    }
    50% {
        transform: scale(1.07);
        filter: brightness(1.18);
        box-shadow:
            0 0 16px rgba(107, 79, 10, 1),
            0 0 32px rgba(201, 162, 39, 0.85),
            0 0 52px rgba(212, 175, 55, 0.45),
            inset 0 -1px 4px rgba(61, 46, 6, 0.35);
    }
}

.match-status {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.btn-opus {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    background: transparent;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-opus:hover { background: var(--gold); color: #020617; }
.btn-opus:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-opus.primary { background: var(--gold); color: #020617; }

.auth-btn-compact {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
}

.victory-banner {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    animation: title-glow 2s infinite;
}

/* Paris stadium */
.stadium-main-paris .board-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.seat-card.staff {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.04);
}

.seat-card.staff .seat-name {
    color: var(--gold);
    letter-spacing: 0.12em;
    font-size: 0.6rem;
    text-transform: uppercase;
}

.stadium-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.75rem;
}

.stadium-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.88);
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
}

.cinematic-msg {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    padding: 0 1rem;
}

.cinematic-count {
    margin: 0.75rem 0 0;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 0 0 24px rgba(251, 191, 36, 0.45);
}

.victory-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1rem;
}

.victory-modal {
    width: min(320px, 100%);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.victory-modal-title {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.victory-modal .btn-opus {
    width: 100%;
    text-align: center;
}
