/* /Components/MultiplayerQuestionView.razor.rz.scp.css */
.mp-question-container[b-3viaeu2cno] {
    width: 100%;
    color: #f8fafc;
    padding: 26px 24px 24px;
    border-radius: 18px;
    background: linear-gradient(168deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.94) 45%, rgba(49, 46, 129, 0.92) 100%);
    border: 2px solid rgba(251, 191, 36, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 36px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mp-question-header[b-3viaeu2cno] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mp-question-number[b-3viaeu2cno] {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 999px;
    color: #0f172a;
    background: linear-gradient(90deg, #fde047, #fb923c);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.45);
}

.mp-timer-pill[b-3viaeu2cno] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border: 2px solid rgba(254, 202, 202, 0.5);
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.45);
    animation: mp-timer-glow-b-3viaeu2cno 1.4s ease-in-out infinite;
}

.mp-options-grid[b-3viaeu2cno] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.mp-option-btn[b-3viaeu2cno] {
    padding: 16px 14px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.12s ease, filter 0.12s ease;
    white-space: normal;
    word-break: break-word;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.mp-option-btn:nth-child(4n + 1)[b-3viaeu2cno] {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.55), rgba(79, 70, 229, 0.4));
    border-color: rgba(165, 180, 252, 0.55);
}

.mp-option-btn:nth-child(4n + 2)[b-3viaeu2cno] {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.5), rgba(5, 150, 105, 0.38));
    border-color: rgba(110, 231, 183, 0.5);
}

.mp-option-btn:nth-child(4n + 3)[b-3viaeu2cno] {
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.5), rgba(217, 119, 6, 0.4));
    border-color: rgba(253, 224, 71, 0.55);
}

.mp-option-btn:nth-child(4n + 4)[b-3viaeu2cno] {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.5), rgba(190, 24, 93, 0.38));
    border-color: rgba(251, 207, 232, 0.5);
}

.mp-option-btn:hover:not(:disabled)[b-3viaeu2cno] {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.mp-option-btn:active:not(:disabled)[b-3viaeu2cno] {
    transform: translateY(0) scale(0.99);
}

.mp-option-btn:disabled[b-3viaeu2cno] {
    cursor: not-allowed;
    opacity: 0.96;
}

.mp-option-selected[b-3viaeu2cno] {
    border-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(0, 0, 0, 0.4);
    filter: brightness(1.12);
}

/* After timer: mute choices that were neither correct nor the player’s wrong pick */
.mp-options-grid--revealed .mp-option-btn:not(.mp-option-correct):not(.mp-option-wrong)[b-3viaeu2cno] {
    opacity: 0.42 !important;
    filter: grayscale(0.55) brightness(0.72) !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
    box-shadow: none !important;
    transform: none !important;
}

.mp-option-correct[b-3viaeu2cno] {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    filter: none !important;
    border: 3px solid #4ade80 !important;
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.95), rgba(5, 150, 105, 0.88)) !important;
    box-shadow:
        0 0 0 2px rgba(15, 23, 42, 0.6),
        0 0 28px rgba(74, 222, 128, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.35) !important;
    transform: scale(1.03);
    animation: mp-correct-highlight-b-3viaeu2cno 1.25s ease-in-out infinite;
}

.mp-option-correct[b-3viaeu2cno]::after {
    content: "Correct";
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ecfdf5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mp-option-wrong[b-3viaeu2cno] {
    opacity: 1 !important;
    filter: none !important;
    border-color: rgba(248, 113, 113, 0.95) !important;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.65), rgba(185, 28, 28, 0.55)) !important;
}

.mp-reveal-banner[b-3viaeu2cno] {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.35), rgba(16, 185, 129, 0.25));
    border: 2px solid rgba(74, 222, 128, 0.55);
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.25);
}

.mp-reveal-label[b-3viaeu2cno] {
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #bbf7d0;
}

.mp-reveal-value[b-3viaeu2cno] {
    font-weight: 900;
    color: #fff;
    font-size: 1.05em;
}

.mp-template-standard .mp-standard-question[b-3viaeu2cno] {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.mp-standard-image img[b-3viaeu2cno] {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    margin-top: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.mp-template-imageguess .mp-imageguess-image img[b-3viaeu2cno] {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.4);
}

.mp-imageguess-subtitle[b-3viaeu2cno] {
    margin-top: 18px;
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.mp-template-textandimage[b-3viaeu2cno] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.mp-textandimage-image img[b-3viaeu2cno] {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.mp-textandimage-question[b-3viaeu2cno] {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.mp-options-grid-textandimage[b-3viaeu2cno] {
    grid-template-columns: 1fr;
}

.mp-template-audioguess[b-3viaeu2cno] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mp-audioguess-circle[b-3viaeu2cno] {
    width: 128px;
    height: 128px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.45), rgba(99, 102, 241, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(196, 181, 253, 0.55);
    font-size: 48px;
    box-shadow: 0 0 28px rgba(167, 139, 250, 0.35);
}

.mp-audioguess-question[b-3viaeu2cno] {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* Category-tinted shells (stronger than before) */
.bg-category-general[b-3viaeu2cno],
.bg-category-generalknowledge[b-3viaeu2cno],
.bg-category-brands[b-3viaeu2cno],
.bg-category-geography[b-3viaeu2cno],
.bg-category-math[b-3viaeu2cno],
.bg-category-history[b-3viaeu2cno],
.bg-category-science[b-3viaeu2cno],
.bg-category-nature[b-3viaeu2cno],
.bg-category-movies[b-3viaeu2cno],
.bg-category-sports[b-3viaeu2cno],
.bg-category-programming[b-3viaeu2cno] {
    background:
        radial-gradient(ellipse 90% 70% at 10% 0%, rgba(56, 189, 248, 0.22), transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 100%, rgba(244, 114, 182, 0.18), transparent 45%),
        linear-gradient(168deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.94) 100%);
}

.bg-category-geography[b-3viaeu2cno] {
    background:
        radial-gradient(ellipse 85% 65% at 15% 10%, rgba(56, 189, 248, 0.35), transparent 55%),
        linear-gradient(168deg, rgba(15, 23, 42, 0.96) 0%, rgba(12, 74, 110, 0.5) 100%);
}

.bg-category-history[b-3viaeu2cno] {
    background:
        radial-gradient(ellipse 85% 65% at 20% 0%, rgba(192, 132, 252, 0.38), transparent 50%),
        linear-gradient(168deg, rgba(15, 23, 42, 0.96) 0%, rgba(88, 28, 135, 0.45) 100%);
}

.bg-category-nature[b-3viaeu2cno] {
    background:
        radial-gradient(ellipse 85% 65% at 10% 20%, rgba(74, 222, 128, 0.35), transparent 50%),
        linear-gradient(168deg, rgba(15, 23, 42, 0.96) 0%, rgba(20, 83, 45, 0.42) 100%);
}

/* Desktop: keep card within viewport */
@media (min-width: 981px) {
    .mp-question-container[b-3viaeu2cno] {
        padding: 20px 18px 18px;
    }

    .mp-question-header[b-3viaeu2cno] {
        margin-bottom: 14px;
    }

    .mp-standard-image img[b-3viaeu2cno] {
        max-height: min(24vh, 220px);
        margin-top: 10px;
    }

    .mp-template-imageguess .mp-imageguess-image img[b-3viaeu2cno] {
        max-height: min(34vh, 300px);
    }

    .mp-textandimage-image img[b-3viaeu2cno] {
        max-height: min(22vh, 180px);
    }

    .mp-template-standard .mp-standard-question[b-3viaeu2cno],
    .mp-imageguess-subtitle[b-3viaeu2cno],
    .mp-textandimage-question[b-3viaeu2cno],
    .mp-audioguess-question[b-3viaeu2cno] {
        font-size: clamp(22px, 2.2vw, 28px);
    }

    .mp-options-grid[b-3viaeu2cno] {
        gap: 12px;
        margin-top: 14px;
    }

    .mp-option-btn[b-3viaeu2cno] {
        padding: 12px 14px;
        font-size: 15px;
    }
}

@keyframes mp-correct-highlight-b-3viaeu2cno {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(15, 23, 42, 0.6),
            0 0 22px rgba(74, 222, 128, 0.55),
            0 8px 24px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow:
            0 0 0 2px rgba(15, 23, 42, 0.6),
            0 0 36px rgba(190, 242, 100, 0.85),
            0 8px 28px rgba(0, 0, 0, 0.4);
    }
}

@keyframes mp-timer-glow-b-3viaeu2cno {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.45);
    }
    50% {
        box-shadow: 0 0 32px rgba(248, 113, 113, 0.65);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-5bokhlspmq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5bokhlspmq] {
    flex: 1;
}

.sidebar[b-5bokhlspmq] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5bokhlspmq] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5bokhlspmq]  a, .top-row[b-5bokhlspmq]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5bokhlspmq]  a:hover, .top-row[b-5bokhlspmq]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5bokhlspmq]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-5bokhlspmq] {
        justify-content: space-between;
    }

    .top-row[b-5bokhlspmq]  a, .top-row[b-5bokhlspmq]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-5bokhlspmq] {
        flex-direction: row;
    }

    .sidebar[b-5bokhlspmq] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5bokhlspmq] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5bokhlspmq]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5bokhlspmq], article[b-5bokhlspmq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home-root[b-7h7v0xjxfj] {
    min-height: 100vh;
    padding: 32px 18px;
    background: radial-gradient(circle at 20% 10%, rgba(80, 80, 255, 0.18), rgba(0, 0, 0, 0.35) 55%);
    color: white;
}

.home-shell[b-7h7v0xjxfj] {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 38px rgba(15, 23, 42, 0.28);
}

.home-title[b-7h7v0xjxfj] {
    margin: 0;
    font-size: 38px;
    font-weight: 900;
    color: #0f172a;
}

.home-subtitle[b-7h7v0xjxfj] {
    margin-top: 8px;
    color: #334155;
    opacity: 1;
}

.home-grid[b-7h7v0xjxfj] {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.home-card[b-7h7v0xjxfj] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    padding: 18px;
}

.home-card h2[b-7h7v0xjxfj] {
    margin: 0 0 8px 0;
    font-size: 22px;
}

.home-card p[b-7h7v0xjxfj] {
    margin: 0 0 14px 0;
    color: #475569;
    opacity: 1;
    line-height: 1.5;
}

.home-join-row[b-7h7v0xjxfj] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-input[b-7h7v0xjxfj] {
    flex: 1 1 220px;
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #94a3b8;
    background: #ffffff;
    color: #0f172a;
}

.home-btn[b-7h7v0xjxfj] {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #94a3b8;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.home-btn:disabled[b-7h7v0xjxfj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.home-btn-primary[b-7h7v0xjxfj] {
    background: #4f46e5;
    border-color: #4338ca;
    color: #ffffff;
}

.home-error[b-7h7v0xjxfj] {
    margin-top: 10px;
    color: #fecaca;
    font-size: 14px;
}

.home-training[b-7h7v0xjxfj] {
    margin-top: 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    padding: 16px 18px;
}

.home-training h3[b-7h7v0xjxfj] {
    margin: 0 0 8px 0;
}

.home-training p[b-7h7v0xjxfj] {
    margin: 0;
    color: #334155;
    opacity: 1;
    line-height: 1.5;
}

.home-training a[b-7h7v0xjxfj] {
    color: #4338ca;
    font-weight: 700;
}

/* /Pages/Lobby.razor.rz.scp.css */
/* Shared shell */
.mp-root[b-6sccnwl1qh] {
    padding: 18px;
    min-height: 100vh;
}

/* Connecting, not joined, or no server game id yet */
.mp-root--waiting[b-6sccnwl1qh] {
    color: white;
    background: radial-gradient(circle at 20% 10%, rgba(80, 80, 255, 0.18), rgba(0, 0, 0, 0.35) 55%);
}

/* In an active lobby — clear, normal contrast (no heavy overlay) */
.mp-root--in-room[b-6sccnwl1qh] {
    color: #0f172a;
    background: #e2e8f0;
}

/* Live battle — vivid backdrop; question card is the focal point */
.mp-root--battle.mp-root--in-room[b-6sccnwl1qh] {
    background: linear-gradient(155deg, #0c0a1d 0%, #1a1442 22%, #4c1d95 48%, #b45309 82%, #7c2d12 100%);
    color: #f8fafc;
}

.mp-root--battle .mp-title[b-6sccnwl1qh] {
    color: #fef08a;
    text-shadow: 0 0 24px rgba(250, 204, 21, 0.35), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.mp-layout--battle[b-6sccnwl1qh] {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
}

.mp-battle-arena[b-6sccnwl1qh] {
    margin-bottom: 18px;
    border-radius: 26px;
    padding: 3px;
    background: linear-gradient(120deg, #facc15, #f472b6, #a78bfa, #38bdf8);
    box-shadow:
        0 25px 65px rgba(15, 23, 42, 0.55),
        0 0 45px rgba(167, 139, 250, 0.25);
}

.mp-battle-arena[b-6sccnwl1qh]  .mp-question-container {
    border-radius: 23px;
    margin: 0;
}

.mp-root--battle .mp-panel-score--battle[b-6sccnwl1qh] {
    margin-top: 10px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(125, 211, 252, 0.4);
    color: #ffffff;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.mp-root--battle .mp-panel-score--battle .mp-panel-title[b-6sccnwl1qh] {
    color: #7dd3fc;
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.45), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mp-root--battle .mp-panel-score--battle .mp-leader-row[b-6sccnwl1qh] {
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.28);
}

.mp-root--battle .mp-panel-score--battle .mp-leader-name[b-6sccnwl1qh],
.mp-root--battle .mp-panel-score--battle .mp-leader-score[b-6sccnwl1qh] {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.mp-root--battle .mp-panel-score--battle .mp-leader-row .mp-leader-score[b-6sccnwl1qh] {
    color: #e0f2fe;
    font-weight: 900;
}

.mp-root--battle .mp-side .mp-panel-actions[b-6sccnwl1qh] {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.mp-root--battle .mp-side .mp-muted-small[b-6sccnwl1qh] {
    color: #cbd5e1;
    opacity: 0.92;
}

.mp-topbar[b-6sccnwl1qh] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.mp-title[b-6sccnwl1qh] {
    margin: 0 0 10px 0;
    font-weight: 900;
}

.mp-layout[b-6sccnwl1qh] {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    align-items: start;
}

.mp-main[b-6sccnwl1qh] {
    min-width: 0;
}

.mp-side[b-6sccnwl1qh] {
    min-width: 0;
}

.mp-panel[b-6sccnwl1qh] {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px;
    margin-top: 14px;
}

.mp-panel-title[b-6sccnwl1qh] {
    font-weight: 900;
    margin-bottom: 10px;
}

.mp-panel-score[b-6sccnwl1qh] {
    margin-top: 14px;
}

.mp-panel-end[b-6sccnwl1qh] {
    margin-top: 14px;
}

.mp-muted[b-6sccnwl1qh] {
    opacity: 0.8;
}

.mp-muted-small[b-6sccnwl1qh] {
    opacity: 0.8;
    font-size: 12px;
    margin-left: 6px;
}

.mp-alert[b-6sccnwl1qh] {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.mp-alert-error[b-6sccnwl1qh] {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.mp-alert-name-required[b-6sccnwl1qh] {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.65);
    color: #fff7ed;
    animation: mp-name-required-blink-b-6sccnwl1qh 1.15s ease-in-out infinite;
}

/* Waiting lobby: name block reads clearly above the dim atmospheric shell */
.mp-root--waiting .mp-self--needs-name[b-6sccnwl1qh] {
    margin-top: 8px;
    padding: 14px 16px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
    border: 2px solid rgba(251, 191, 36, 0.85);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 28px rgba(245, 158, 11, 0.22);
}

.mp-root--waiting .mp-self--needs-name .mp-label[b-6sccnwl1qh] {
    color: #fef3c7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.mp-root--waiting .mp-alert-name-required[b-6sccnwl1qh] {
    background: rgba(180, 83, 9, 0.55);
    border: 2px solid #fbbf24;
    color: #fffbeb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    animation: mp-name-required-blink-strong-b-6sccnwl1qh 1.15s ease-in-out infinite;
}

.mp-root--waiting .mp-self--needs-name .mp-input[b-6sccnwl1qh] {
    background: rgba(255, 255, 255, 0.16);
    border-width: 2px;
    border-color: rgba(251, 191, 36, 0.75);
    color: #fff;
}

.mp-root--waiting .mp-input-name-required[b-6sccnwl1qh] {
    animation: mp-name-required-input-blink-b-6sccnwl1qh 1.15s ease-in-out infinite;
}

.mp-self[b-6sccnwl1qh] {
    margin-top: 8px;
}

.mp-self-row[b-6sccnwl1qh] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mp-label[b-6sccnwl1qh] {
    font-weight: 800;
    width: 110px;
}

.mp-input[b-6sccnwl1qh] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: white;
    padding: 10px 12px;
    border-radius: 12px;
    min-width: 220px;
}

.mp-btn[b-6sccnwl1qh] {
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.mp-btn:disabled[b-6sccnwl1qh] {
    opacity: 0.55;
    cursor: not-allowed;
}

.mp-btn-ready[b-6sccnwl1qh] {
    background: rgba(22, 163, 74, 0.35);
    border-color: rgba(22, 163, 74, 0.65);
    color: #ecfdf5;
}

.mp-btn-notready[b-6sccnwl1qh] {
    background: rgba(220, 38, 38, 0.3);
    border-color: rgba(220, 38, 38, 0.6);
    color: #fef2f2;
}

.mp-btn-start-battle[b-6sccnwl1qh] {
    padding: 14px 28px;
    font-size: 22px;
    font-weight: 900;
    border-radius: 16px;
    min-width: 260px;
}

.mp-btn-start-battle-ready[b-6sccnwl1qh] {
    background: #f59e0b;
    border-color: #d97706;
    color: #111827;
    animation: mp-battle-blink-b-6sccnwl1qh 1s ease-in-out infinite;
}

.mp-hint[b-6sccnwl1qh] {
    opacity: 0.75;
    max-width: 420px;
    font-size: 13px;
}

.mp-status-pill[b-6sccnwl1qh] {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
    font-weight: 800;
}

.mp-share[b-6sccnwl1qh] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.mp-share-label[b-6sccnwl1qh] {
    font-weight: 900;
    opacity: 0.9;
}

.mp-share-input[b-6sccnwl1qh] {
    width: min(620px, 70vw);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: white;
    padding: 10px 12px;
    border-radius: 12px;
}

.mp-lobby-row[b-6sccnwl1qh] {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 14px;
}

.mp-subtitle[b-6sccnwl1qh] {
    font-weight: 900;
    margin-bottom: 10px;
}

.mp-participants[b-6sccnwl1qh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-participant[b-6sccnwl1qh] {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mp-participant-name[b-6sccnwl1qh] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.mp-badge[b-6sccnwl1qh] {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
    font-size: 12px;
}

.mp-badge-ready[b-6sccnwl1qh] {
    border-color: rgba(22, 163, 74, 0.6);
    background: rgba(22, 163, 74, 0.18);
    color: #ecfdf5;
}

.mp-badge-notready[b-6sccnwl1qh] {
    border-color: rgba(220, 38, 38, 0.65);
    background: rgba(220, 38, 38, 0.2);
    color: #fee2e2;
}

.mp-participant-meta[b-6sccnwl1qh] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.mp-score[b-6sccnwl1qh] {
    opacity: 0.9;
    font-weight: 800;
}

.mp-leaderboard[b-6sccnwl1qh] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-leader-row[b-6sccnwl1qh] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
}

.mp-leader-name[b-6sccnwl1qh] {
    font-weight: 900;
}

.mp-leader-score[b-6sccnwl1qh] {
    font-weight: 900;
}

.mp-leader-row .mp-leader-score[b-6sccnwl1qh] {
    font-size: 18px;
}

.mp-end-winner[b-6sccnwl1qh] {
    font-weight: 900;
    margin-bottom: 12px;
}

.mp-winner-name[b-6sccnwl1qh] {
    color: #fff;
}

.mp-leaderboard-end .mp-leader-row[b-6sccnwl1qh] {
    border-color: rgba(255, 215, 0, 0.25);
}

.mp-panel-actions[b-6sccnwl1qh] {
    margin-top: 12px;
}

.mp-muted-code[b-6sccnwl1qh] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mp-code[b-6sccnwl1qh] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    opacity: 0.95;
}

@media (max-width: 980px) {
    .mp-layout[b-6sccnwl1qh] {
        grid-template-columns: 1fr;
    }

    .mp-layout--battle[b-6sccnwl1qh] {
        grid-template-columns: 1fr;
    }

    .mp-lobby-row[b-6sccnwl1qh] {
        grid-template-columns: 1fr;
    }
}

/* --- In-room: solid surfaces, readable text (overrides waiting-theme defaults above) --- */
.mp-root--in-room .mp-title[b-6sccnwl1qh] {
    color: #0f172a;
}

.mp-root--in-room .mp-panel[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.mp-root--in-room .mp-muted[b-6sccnwl1qh],
.mp-root--in-room .mp-muted-small[b-6sccnwl1qh],
.mp-root--in-room .mp-hint[b-6sccnwl1qh] {
    color: #475569;
    opacity: 1;
}

.mp-root--in-room .mp-label[b-6sccnwl1qh] {
    color: #334155;
}

.mp-root--in-room .mp-input[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #94a3b8;
    color: #0f172a;
}

.mp-root--in-room .mp-btn[b-6sccnwl1qh] {
    background: #f1f5f9;
    border: 1px solid #94a3b8;
    color: #0f172a;
}

.mp-root--in-room .mp-btn-ready[b-6sccnwl1qh] {
    background: #16a34a;
    border-color: #15803d;
    color: #ffffff;
}

.mp-root--in-room .mp-btn-notready[b-6sccnwl1qh] {
    background: #dc2626;
    border-color: #b91c1c;
    color: #ffffff;
}

.mp-root--in-room .mp-btn-start-battle-ready[b-6sccnwl1qh] {
    background: #f59e0b;
    border-color: #d97706;
    color: #111827;
}

.mp-root--in-room .mp-status-pill[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.mp-root--in-room .mp-share-label[b-6sccnwl1qh] {
    color: #0f172a;
    opacity: 1;
}

.mp-root--in-room .mp-share-input[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #94a3b8;
    color: #0f172a;
}

.mp-root--in-room .mp-alert-error[b-6sccnwl1qh] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.mp-root--in-room .mp-alert-name-required[b-6sccnwl1qh] {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    color: #92400e;
    animation: none;
}

.mp-root--in-room .mp-input-name-required[b-6sccnwl1qh] {
    border-color: #d97706;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
    animation: none;
}

.mp-root--in-room .mp-participant[b-6sccnwl1qh] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mp-root--in-room .mp-badge[b-6sccnwl1qh] {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.mp-root--in-room .mp-badge-ready[b-6sccnwl1qh] {
    border-color: #15803d;
    background: #dcfce7;
    color: #166534;
}

.mp-root--in-room .mp-badge-notready[b-6sccnwl1qh] {
    border-color: #b91c1c;
    background: #fee2e2;
    color: #991b1b;
}

.mp-root--in-room .mp-leader-row[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.mp-root--in-room .mp-leader-name[b-6sccnwl1qh],
.mp-root--in-room .mp-leader-score[b-6sccnwl1qh] {
    color: #0f172a;
}

.mp-root--in-room .mp-end-winner[b-6sccnwl1qh] {
    color: #0f172a;
}

.mp-root--in-room .mp-winner-name[b-6sccnwl1qh] {
    color: #4f46e5;
}

.mp-root--in-room .mp-leaderboard-end .mp-leader-row[b-6sccnwl1qh] {
    border-color: #fde68a;
    background: #fffbeb;
}

.mp-root--in-room .mp-code[b-6sccnwl1qh] {
    color: #0f172a;
}

/* Question card: crisp on light lobby only (battle uses vivid question styling below) */
.mp-root--in-room:not(.mp-root--battle) .mp-question-container[b-6sccnwl1qh] {
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.mp-root--in-room:not(.mp-root--battle) .mp-question-number[b-6sccnwl1qh] {
    color: #334155;
    opacity: 1;
}

.mp-root--in-room:not(.mp-root--battle) .mp-timer-pill[b-6sccnwl1qh] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.mp-root--in-room:not(.mp-root--battle) .mp-option-btn[b-6sccnwl1qh] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.mp-root--in-room:not(.mp-root--battle) .mp-option-selected[b-6sccnwl1qh] {
    border-color: #6366f1;
    background: #eef2ff;
}

.mp-root--in-room:not(.mp-root--battle) .mp-reveal-banner[b-6sccnwl1qh] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.mp-root--in-room:not(.mp-root--battle) .mp-reveal-label[b-6sccnwl1qh] {
    color: #166534;
}

.mp-root--in-room:not(.mp-root--battle) .mp-reveal-value[b-6sccnwl1qh] {
    color: #0f172a;
}

.mp-root--in-room:not(.mp-root--battle) .mp-template-standard .mp-standard-question[b-6sccnwl1qh],
.mp-root--in-room:not(.mp-root--battle) .mp-imageguess-subtitle[b-6sccnwl1qh],
.mp-root--in-room:not(.mp-root--battle) .mp-textandimage-question[b-6sccnwl1qh],
.mp-root--in-room:not(.mp-root--battle) .mp-audioguess-question[b-6sccnwl1qh] {
    color: #0f172a;
}

/* Beat generic in-room rules while battle is running */
.mp-root--in-room.mp-root--battle .mp-status-pill[b-6sccnwl1qh] {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fef9c3;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.mp-root--in-room.mp-root--battle .mp-side .mp-panel-actions .mp-btn[b-6sccnwl1qh] {
    background: rgba(254, 243, 199, 0.12);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fef9c3;
}

.mp-modal-backdrop[b-6sccnwl1qh] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 18px;
}

.mp-modal-card[b-6sccnwl1qh] {
    width: min(520px, 96vw);
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.25);
    padding: 18px;
}

.mp-modal-title[b-6sccnwl1qh] {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
}

.mp-modal-text[b-6sccnwl1qh] {
    color: #334155;
    margin-bottom: 16px;
}

.mp-modal-actions[b-6sccnwl1qh] {
    display: flex;
    justify-content: flex-end;
}

.mp-result-backdrop[b-6sccnwl1qh] {
    background: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.28), rgba(15, 23, 42, 0.72) 60%);
}

.mp-result-modal[b-6sccnwl1qh] {
    position: relative;
    overflow: hidden;
    border-width: 2px;
}

.mp-result-modal-winner[b-6sccnwl1qh] {
    border-color: #f59e0b;
    box-shadow: 0 16px 50px rgba(245, 158, 11, 0.35);
}

.mp-result-modal-loser[b-6sccnwl1qh] {
    border-color: #94a3b8;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.25);
}

.mp-result-fireworks[b-6sccnwl1qh] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mp-firework[b-6sccnwl1qh] {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    opacity: 0.75;
    animation: mp-firework-burst-b-6sccnwl1qh 1.8s ease-in-out infinite;
}

.mp-firework-a[b-6sccnwl1qh] {
    top: 18%;
    left: 16%;
    background: #f59e0b;
    box-shadow: 0 -28px 0 #facc15, 24px -12px 0 #ef4444, 26px 12px 0 #22c55e, 0 28px 0 #38bdf8, -24px 12px 0 #8b5cf6, -26px -10px 0 #fb7185;
}

.mp-firework-b[b-6sccnwl1qh] {
    top: 14%;
    right: 20%;
    background: #6366f1;
    box-shadow: 0 -24px 0 #22c55e, 20px -10px 0 #f59e0b, 22px 12px 0 #ec4899, 0 24px 0 #38bdf8, -20px 10px 0 #a855f7, -22px -8px 0 #ef4444;
    animation-delay: 0.6s;
}

.mp-firework-c[b-6sccnwl1qh] {
    top: 62%;
    right: 10%;
    background: #ef4444;
    box-shadow: 0 -20px 0 #f59e0b, 16px -8px 0 #22c55e, 18px 8px 0 #facc15, 0 20px 0 #38bdf8, -16px 8px 0 #8b5cf6, -18px -7px 0 #fb7185;
    animation-delay: 1.2s;
}

.mp-result-link[b-6sccnwl1qh] {
    display: inline-block;
    margin-left: 6px;
    font-weight: 900;
    color: #1d4ed8;
}

@keyframes mp-firework-burst-b-6sccnwl1qh {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.95;
    }
}

@keyframes mp-battle-blink-b-6sccnwl1qh {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
        filter: brightness(1.12);
    }
}

@keyframes mp-name-required-blink-b-6sccnwl1qh {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.0);
    }
}

@keyframes mp-name-required-blink-strong-b-6sccnwl1qh {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.75), 0 4px 18px rgba(0, 0, 0, 0.35);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.015);
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0.12), 0 6px 22px rgba(0, 0, 0, 0.4);
        filter: brightness(1.12);
    }
}

@keyframes mp-name-required-input-blink-b-6sccnwl1qh {
    0%, 100% {
        border-color: rgba(251, 191, 36, 0.95);
        box-shadow:
            0 0 0 0 rgba(245, 158, 11, 0.5),
            0 0 22px rgba(245, 158, 11, 0.35);
    }
    50% {
        border-color: rgba(253, 224, 71, 0.55);
        box-shadow:
            0 0 0 5px rgba(245, 158, 11, 0.2),
            0 0 32px rgba(245, 158, 11, 0.5);
    }
}

