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

:root {
    --bg1: #061b39;
    --bg2: #073e82;
    --panel: rgba(4, 35, 82, .94);
    --line: rgba(80, 196, 255, .35);
    --white: #fff;
    --muted: rgba(255,255,255,.62);
    --cyan: #16baff;
    --green: #19e77b;
    --red: #ff4052;
    --yellow: #ffd43d;
    --blue: #159dff;
    --lime: #25d97b;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: white;
    background: #04162f;
}

button, input {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.sky {
    position: fixed;
    inset: 0;
    z-index: -10;
    background:
        radial-gradient(circle at 25% 25%, rgba(0,160,255,.42), transparent 27%),
        radial-gradient(circle at 80% 15%, rgba(24,95,255,.28), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(0,42,130,.6), transparent 42%),
        linear-gradient(145deg, #063b86 0%, #062a63 48%, #04162f 100%);
}

.sky::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .3;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 34px 34px;
}

.screen {
    position: fixed;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.screen.active {
    display: block;
}

.topbar {
    height: 70px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 22px;
    position: relative;
    z-index: 20;
}

.brand {
    font-size: 18px;
    font-weight: 950;
    letter-spacing: .4px;
    text-align: center;
}

.author {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 20, 45, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    font-weight: 800;
    opacity: .8;
    pointer-events: none;
}

.hub-button,
.back-button {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid rgba(40,200,255,.65);
    border-radius: 13px;
    color: white;
    background: rgba(0, 32, 75, .76);
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.hub-button:hover,
.back-button:hover {
    background: rgba(0, 68, 130, .9);
}

.menu-wrap {
    width: min(900px, calc(100% - 32px));
    height: calc(100% - 70px);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.game-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-horse {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 23px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.18);
    font-size: 42px;
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.eyebrow {
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.5px;
    opacity: .58;
}

.game-logo h1 {
    margin-top: 4px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1;
    font-weight: 1000;
}

.game-logo p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
}

.mode-grid {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mode-card {
    min-height: 155px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 23px;
    color: white;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 45px rgba(0,0,0,.24);
    transition: transform .18s ease, filter .18s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.07);
}

.mode-card.single {
    background: linear-gradient(145deg, #18df72, #079e50);
}

.mode-card.room {
    background: linear-gradient(145deg, #14bdff, #0874df);
}

.mode-card.join {
    background: linear-gradient(145deg, #786cff, #3d2fc0);
}

.mode-icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    margin-right: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
    font-size: 31px;
}

.mode-text strong {
    display: block;
    font-size: 17px;
    font-weight: 1000;
}

.mode-text small {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 700;
}

.mode-arrow {
    position: absolute;
    right: 17px;
    bottom: 12px;
    font-size: 24px;
    opacity: .82;
}

.center-page {
    width: min(850px, calc(100% - 30px));
    height: calc(100% - 70px);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(4,48,105,.96), rgba(2,25,61,.98));
    box-shadow: 0 30px 75px rgba(0,0,0,.35);
}

.setup-panel {
    width: min(700px, 100%);
    padding: 30px;
}

.panel-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    font-size: 27px;
    margin-bottom: 16px;
}

.setup-panel h2 {
    margin-top: 5px;
    font-size: 30px;
    font-weight: 1000;
}

.setup-panel > p {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.5;
}

.field {
    display: block;
    margin-top: 24px;
}

.field span {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .7px;
    opacity: .75;
}

.field input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(100,200,255,.24);
    border-radius: 13px;
    outline: none;
    padding: 0 17px;
    color: white;
    background: rgba(0, 15, 45, .7);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    text-align: center;
}

.field input:focus {
    border-color: #19bfff;
    box-shadow: 0 0 0 3px rgba(25,191,255,.12);
}

.primary-button,
.green-action {
    width: 100%;
    min-height: 55px;
    margin-top: 18px;
    border: none;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, #1ae87b, #05b95d);
    font-size: 13px;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 13px 30px rgba(0,200,100,.18);
}

.primary-button:hover,
.green-action:hover {
    filter: brightness(1.07);
}

.lobby-page {
    width: min(980px, calc(100% - 30px));
    height: calc(100% - 70px);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lobby-card {
    width: 100%;
    padding: 27px;
    border: 1px solid rgba(43,187,255,.4);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(4,48,105,.97), rgba(2,25,61,.99));
    box-shadow: 0 30px 75px rgba(0,0,0,.38);
}

.lobby-room-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 4px 22px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.room-label {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.4px;
}

.room-code-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.room-code-line strong {
    font-size: clamp(25px, 4vw, 38px);
    letter-spacing: 8px;
    line-height: 1;
}

.room-title-block p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
}

.copy-small {
    height: 35px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #13b9ff, #0876df);
    color: white;
    font-size: 9px;
    font-weight: 950;
    cursor: pointer;
}

.players-count {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    color: #17e887;
    font-size: 12px;
    font-weight: 950;
}

.players-count span,
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19e77b;
    box-shadow: 0 0 13px #19e77b;
}

.players-count em {
    font-style: normal;
    color: rgba(255,255,255,.5);
    font-size: 9px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.player-card {
    min-height: 180px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
    overflow: hidden;
}

.player-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
}

.red-player::before { background: #ff4052; }
.yellow-player::before { background: #ffd43d; }
.green-player::before { background: #20d976; }
.blue-player::before { background: #159dff; }

.empty-slot {
    border-style: dashed;
    background: rgba(255,255,255,.025);
}

.slot-number {
    position: absolute;
    left: 11px;
    top: 9px;
    color: rgba(255,255,255,.35);
    font-size: 10px;
    font-weight: 900;
}

.player-avatar,
.empty-plus {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.09);
    font-size: 28px;
}

.empty-plus {
    border: 1px dashed rgba(255,255,255,.2);
    color: rgba(255,255,255,.42);
    font-size: 31px;
}

.player-card strong {
    margin-top: 10px;
    font-size: 14px;
}

.player-card small {
    margin-top: 5px;
    color: rgba(255,255,255,.45);
    font-size: 9px;
    font-weight: 900;
}

.ready {
    margin-top: 9px;
    color: #18e77b;
    font-size: 9px;
    font-weight: 950;
}

.lobby-footer {
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.lobby-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #18e77b;
    font-size: 11px;
    font-weight: 900;
}

.lobby-note {
    max-width: 650px;
    margin: 8px auto 0;
    color: rgba(255,255,255,.47);
    font-size: 10px;
    line-height: 1.5;
}

.lobby-start {
    width: min(400px, 100%);
    margin-top: 16px;
}

.game-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 43%, #405e70, #19394f 48%, #071b31 100%);
}

.game-layout {
    width: 100%;
    height: calc(100% - 70px);
    display: grid;
    grid-template-columns: 190px minmax(430px, 680px) 190px;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 20px;
}

.side-panel,
.game-right-panel {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 14px;
    background: rgba(4,23,44,.72);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.turn-badge,
.mini-title {
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1px;
}

.dice {
    height: 95px;
    display: grid;
    place-items: center;
    font-size: 58px;
}


.game-player-name {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

.player-color-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: var(--player-color);
    box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 0 9px var(--player-color);
}

.player-avatar-mini {
    font-size: 12px;
    line-height: 1;
}

.dice.rolling {
    animation: ludoDiceRoll .12s linear infinite;
}

@keyframes ludoDiceRoll {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(12deg) scale(1.08); }
    50% { transform: rotate(-12deg) scale(.94); }
    75% { transform: rotate(10deg) scale(1.06); }
    100% { transform: rotate(0deg) scale(1); }
}

.side-panel .primary-button {
    margin-top: 0;
}

.race-info {
    margin-top: 14px;
    display: grid;
    gap: 7px;
}

.race-info > div,
.game-player-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    font-size: 10px;
}

.race-info b {
    opacity: .65;
}

.game-right-panel {
    align-self: center;
}

.game-player-row {
    margin-top: 8px;
}

.board-wrap {
    width: min(100%, 680px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.board-shell {
    width: 100%;
    aspect-ratio: 1;
    padding: 10px;
    border-radius: 27px;
    background: linear-gradient(145deg, #9a5d25, #d59a4e 45%, #75431e);
    box-shadow:
        0 25px 55px rgba(0,0,0,.36),
        inset 0 0 0 2px rgba(255,255,255,.18);
}

.board {
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
    overflow: hidden;
    border-radius: 17px;
    background: #f5ead1;
    border: 2px solid #5f3a1e;
    box-shadow: inset 0 0 30px rgba(77,42,12,.16);
}

.cell {
    position: relative;
    border: 1px solid rgba(80,54,25,.12);
    background: #f7ecd4;
}

.cell.lane {
    border-radius: 4px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}

.cell.lane.red { background: #ef4753; }
.cell.lane.yellow { background: #f6c531; }
.cell.lane.green { background: #22b56a; }
.cell.lane.blue { background: #1e93e6; }

/*
 * Ô vòng tròn trên đường đua: nền kem, viền màu theo nhánh —
 * đúng phong cách bàn cờ cá ngựa in sẵn.
 */
.cell.circle::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: #f9f1de;
    border: 2.5px solid currentColor;
}

.cell.circle.ring-red { color: #e6394a; }
.cell.circle.ring-yellow { color: #d99a12; }
.cell.circle.ring-green { color: #1a9c58; }
.cell.circle.ring-blue { color: #1177c9; }

.cell.center-circle {
    z-index: 8;
}

.cell.center-circle::after {
    inset: 12%;
    background: #f9f1de;
    border-width: 2.5px;
}


/*
 * Ô xuất phát: vòng tròn đặc màu, có ký hiệu đầu ngựa trắng.
 */
.cell.entry::after {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: clamp(13px, 2.2vw, 25px);
    font-weight: 1000;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

.cell.entry.ring-red::after { background: #e6394a; content: "↑"; }
.cell.entry.ring-yellow::after { background: #d99a12; content: "↓"; }
.cell.entry.ring-green::after { background: #1a9c58; content: "←"; }
.cell.entry.ring-blue::after { background: #1177c9; content: "→"; }

/*
 * Khung logo 4 góc chuồng — tấm thẻ bo tròn, viền đậm, biểu
 * tượng đầu ngựa và chữ, giống mẫu bàn cờ cá ngựa in sẵn.
 */
.home-zone {
    position: absolute;
    z-index: 4;
    width: 40%;
    height: 40%;
    padding: 4%;
    display: grid;
    grid-template-rows: 18% 18% 48% 16%;
    justify-items: center;
    border-radius: 9%;
    text-align: center;
    box-shadow:
        inset 0 0 0 3px rgba(255,255,255,.55),
        0 10px 22px rgba(0,0,0,.14);
}

.home-zone.yellow {
    left: 0;
    top: 0;
    background: linear-gradient(160deg, #fff7d6, #ffe49a);
    border: 3px solid #d99a12;
}

.home-zone.green {
    right: 0;
    top: 0;
    background: linear-gradient(160deg, #d8f6e4, #a5e5c1);
    border: 3px solid #1a9c58;
}

.home-zone.blue {
    left: 0;
    bottom: 0;
    background: linear-gradient(160deg, #d8edff, #acd5ff);
    border: 3px solid #1177c9;
}

.home-zone.red {
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, #ffdfe1, #ffbcc1);
    border: 3px solid #e6394a;
}

.home-title {
    grid-row: 1;
    align-self: center;
    font-size: clamp(9px, 1.85vw, 19px);
    font-weight: 950;
    letter-spacing: .5px;
}

.home-zone.red .home-title,
.home-zone.red .home-sub { color: #b81f2f; }
.home-zone.yellow .home-title,
.home-zone.yellow .home-sub { color: #a9740a; }
.home-zone.green .home-title,
.home-zone.green .home-sub { color: #106b3c; }
.home-zone.blue .home-title,
.home-zone.blue .home-sub { color: #0a5da3; }

.home-emblem {
    display: none;
    grid-row: 2;
    align-self: center;
    width: 16%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    font-size: clamp(14px, 3.6vw, 38px);
    box-shadow:
        inset 0 0 0 3px currentColor,
        0 6px 14px rgba(0,0,0,.12);
}

.home-zone.red .home-emblem { color: #e6394a; }
.home-zone.yellow .home-emblem { color: #d99a12; }
.home-zone.green .home-emblem { color: #1a9c58; }
.home-zone.blue .home-emblem { color: #1177c9; }

.home-sub {
    grid-row: 4;
    align-self: center;
    font-size: clamp(6px, 1.15vw, 12px);
    font-weight: 900;
    letter-spacing: .4px;
    opacity: .88;
}

.home-tick {
    position: absolute;
    width: 11%;
    height: 11%;
    border-color: currentColor;
    opacity: .55;
}

.home-zone.red .home-tick { color: #e6394a; }
.home-zone.yellow .home-tick { color: #d99a12; }
.home-zone.green .home-tick { color: #1a9c58; }
.home-zone.blue .home-tick { color: #1177c9; }

.home-tick.tl { top: 6%; left: 6%; border-top: 3px solid; border-left: 3px solid; }
.home-tick.tr { top: 6%; right: 6%; border-top: 3px solid; border-right: 3px solid; }
.home-tick.bl { bottom: 6%; left: 6%; border-bottom: 3px solid; border-left: 3px solid; }
.home-tick.br { bottom: 6%; right: 6%; border-bottom: 3px solid; border-right: 3px solid; }

.center-goal {
    position: absolute;
    z-index: 7;
    left: 40%;
    top: 40%;
    width: 20%;
    height: 20%;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
}

.tri {
    position: absolute;
    inset: 0;
}

.tri-top {
    background: #d99a12;
    clip-path: polygon(0 0, 100% 0, 50% 50%);
}

.tri-right {
    background: #1a9c58;
    clip-path: polygon(100% 0, 100% 100%, 50% 50%);
}

.tri-bottom {
    background: #e6394a;
    clip-path: polygon(100% 100%, 0 100%, 50% 50%);
}

.tri-left {
    background: #1177c9;
    clip-path: polygon(0 100%, 0 0, 50% 50%);
}

.piece {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
    width: 5.2%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid white;
    color: transparent;
    box-shadow:
        0 5px 8px rgba(0,0,0,.32),
        inset 0 3px 3px rgba(255,255,255,.42);
}

.piece.red { background: #ed3144; }
.piece.yellow { background: #efc222; }
.piece.green { background: #13b85c; }
.piece.blue { background: #0789dd; }

.piece.red { left: 11.7%; }
.piece.yellow { right: 11.7%; }
.piece.green { left: 11.7%; }
.piece.blue { right: 11.7%; }

.p1 { top: 11.7%; }
.p2 { top: 21%; }
.p3 { top: 11.7%; }
.p4 { top: 21%; }

.game-right-panel #gamePlayers {
    margin-top: 9px;
}

@media (max-width: 900px) {
    .mode-grid {
        grid-template-columns: 1fr;
        width: min(500px, 100%);
    }

    .mode-card {
        min-height: 100px;
    }

    .game-layout {
        grid-template-columns: 150px minmax(350px, 1fr);
    }

    .game-right-panel {
        display: none;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 0 12px;
    }

    .brand {
        font-size: 14px;
    }

    .author {
        font-size: 10px;
    }

    .hub-button,
    .back-button {
        min-height: 38px;
        padding: 0 11px;
        font-size: 9px;
    }

    .game-logo {
        transform: scale(.9);
    }

    .lobby-room-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-card {
        min-height: 145px;
    }

    .game-layout {
        grid-template-columns: 1fr;
        height: calc(100% - 70px);
        padding: 5px 10px 10px;
    }

    .side-panel {
        display: grid;
        grid-template-columns: 1fr 80px 1.4fr;
        align-items: center;
        gap: 8px;
        order: 2;
    }

    .dice {
        height: 55px;
        font-size: 38px;
    }

    .race-info {
        display: none;
    }

    .board-wrap {
        order: 1;
        width: min(94vw, 620px);
        margin: auto;
    }
}

@media (max-width: 480px) {
    .game-logo {
        flex-direction: column;
        text-align: center;
    }

    .logo-horse {
        width: 65px;
        height: 65px;
    }

    .setup-panel,
    .lobby-card {
        padding: 19px;
    }

    .room-code-line strong {
        letter-spacing: 4px;
    }

    .copy-small {
        padding: 0 9px;
    }

    .players-grid {
        gap: 8px;
    }

    .player-card {
        min-height: 125px;
    }

    .player-avatar,
    .empty-plus {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* =========================================================
   WINNER MODAL
========================================================= */

.winner-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 12, 27, .78);
    backdrop-filter: blur(10px);
}

.winner-modal.show {
    display: flex;
    animation: winnerModalIn .22s ease-out;
}

.winner-card {
    width: min(460px, 92vw);
    padding: 34px 30px 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(12,35,58,.98), rgba(6,22,40,.98));
    box-shadow: 0 28px 80px rgba(0,0,0,.45), 0 0 45px rgba(34,197,94,.12);
}

.winner-trophy {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 14px;
}

.winner-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #7dd3fc;
}

.winner-card h2 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 5vw, 42px);
    color: #fff;
}

.winner-card p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 16px;
}

#winnerName {
    font-weight: 900;
    color: #facc15;
}

.winner-menu-button {
    width: 100%;
    min-height: 52px;
    font-weight: 900;
}

@keyframes winnerModalIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
