﻿/* Solo vote — standalone design (not class-vote layout) */

:root {
    --ov-bg: #0a0b10;
    --ov-bg-card: #12141c;
    --ov-bg-elevated: #1a1d28;
    --ov-border: rgba(255, 255, 255, 0.08);
    --ov-text: #e8eaef;
    --ov-muted: #8b92a8;
    --ov-accent: #7c5cff;
    --ov-accent-glow: rgba(124, 92, 255, 0.45);
    --ov-vote: #ff4d6d;
    --ov-vote-glow: rgba(255, 77, 109, 0.4);
    --ov-ok: #3dd68c;
    --ov-warn: #ffb020;
    --ov-font-display: 'Bebas Neue', sans-serif;
    --ov-font: 'DM Sans', system-ui, sans-serif;
    --ov-radius: 14px;
}

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

.ov-body {
    font-family: var(--ov-font);
    background: var(--ov-bg);
    color: var(--ov-text);
    min-height: 100vh;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    position: relative;
}

#ov-particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ov-entry-header,
.ov-screen,
.ov-vote-fx {
    position: relative;
    z-index: 1;
}

.ov-entry-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.ov-screen {
    display: none;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.ov-screen.is-active {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ov-app {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100dvh - 52px);
}

.ov-app .ov-screen.is-active {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.ov-screen--center.is-active {
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    min-height: 100vh;
}

/* ── Buttons ─────────────────────────────────── */
.ov-btn {
    font-family: var(--ov-font);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.15s, opacity 0.15s;
}

.ov-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.ov-btn--vote {
    background: linear-gradient(135deg, #ff4d6d, #c9184a);
    color: #fff;
    box-shadow: 0 4px 20px var(--ov-vote-glow);
}

.ov-btn--vote:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--ov-vote-glow);
}

.ov-btn--accent {
    background: linear-gradient(135deg, var(--ov-accent), #5a3fd4);
    color: #fff;
    box-shadow: 0 4px 20px var(--ov-accent-glow);
}

.ov-btn--ghost {
    background: var(--ov-bg-elevated);
    color: var(--ov-muted);
    border: 1px solid var(--ov-border);
}

.ov-btn--ghost:hover { color: var(--ov-text); border-color: rgba(255,255,255,0.2); }

.ov-btn--sm { padding: 8px 14px; font-size: 0.85rem; }

.ov-btn--wide { width: 100%; max-width: 320px; }

.ov-btn-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.75;
}

/* ── Entry ───────────────────────────────────── */
#ovScreenEntry.is-active {
    flex: 0 0 auto;
    padding: 0;
    overflow: visible;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 60%), var(--ov-bg);
}

.ov-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 20px;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
    background: rgba(10, 11, 16, 0.98);
}

#ovHeaderBack {
    flex-shrink: 0;
}

.ov-entry-header-brand {
    font-family: var(--ov-font-display);
    font-size: 2rem;
    letter-spacing: 0.12em;
    color: #fff;
    flex-shrink: 0;
    min-width: 4rem;
}

.ov-entry-header-tokens {
    flex: 1;
    text-align: center;
    font-family: var(--ov-font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: 0.1em;
    color: var(--ov-text);
    margin: 0;
}

.ov-entry-header-tokens strong {
    color: var(--ov-vote);
    font-weight: 400;
}

.ov-entry-header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ov-entry-nav-btn {
    font-family: var(--ov-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s;
    color: inherit;
}

.ov-entry-nav-btn:hover { transform: scale(1.05); }

.ov-entry-nav-btn--back {
    background: #222;
    color: #aaa;
    border: 1px solid #444;
}

.ov-entry-nav-btn--back:hover {
    color: #fff;
    border-color: #888;
}

.ov-entry-nav-btn--instr {
    background: var(--ov-bg-elevated);
    color: var(--ov-muted);
    border: 1px solid var(--ov-border);
}

.ov-entry-nav-btn--instr:hover { color: var(--ov-text); }

.ov-entry-nav-btn--menu {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #111;
}

.ov-entry-nav-btn--vote {
    background: linear-gradient(135deg, #ff4d6d, #c9184a);
    color: #fff;
    box-shadow: 0 4px 16px var(--ov-vote-glow);
}

.ov-entry-main {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    padding: 16px 24px 12px;
}

.ov-entry-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.ov-entry-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px 20px;
    border-top: 1px solid #222;
    flex-shrink: 0;
    background: rgba(10, 11, 16, 0.98);
}

.ov-entry-footer .ov-entry-no-tokens {
    flex: 0 0 100%;
    text-align: center;
}

.ov-entry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 14px;
    flex: 0 0 auto;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.ov-entry-grid.pulsing .ov-entry-photo--nom {
    animation: ov-pulse-border-wrap 2.2s ease-in-out infinite;
}

.ov-entry-grid.pulsing .ov-entry-photo:not(.ov-entry-photo--nom) img {
    animation: ov-pulse-border 2.2s ease-in-out infinite;
}

@keyframes ov-pulse-border {
    0%, 100% { border-color: #333; box-shadow: none; }
    50% { border-color: var(--ov-vote); box-shadow: 0 0 18px var(--ov-vote-glow); }
}

@keyframes ov-pulse-border-wrap {
    0%, 100% { border-color: #333; box-shadow: none; }
    50% { border-color: var(--ov-vote); box-shadow: 0 0 18px var(--ov-vote-glow); }
}

.ov-entry-grid--horizontal {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(8px, 1.5vw, 16px);
    max-width: 100%;
    padding: 0 12px;
}

.ov-entry-grid--horizontal .ov-entry-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 140px;
}

.ov-entry-card {
    flex: 0 0 calc((100% - (var(--ov-entry-cols, 4) - 1) * 14px) / var(--ov-entry-cols, 4));
    min-width: 0;
    max-width: 140px;
    text-align: center;
}

.ov-entry-photo--nom .ov-entry-photo-bg {
    display: none;
}

.ov-entry-photo--nom {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    border: 3px solid #333;
}

.ov-entry-photo--nom img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    object-position: center center;
    border: none;
    border-radius: 2px;
    background: transparent;
}

.ov-entry-photo {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--ov-radius);
    overflow: hidden;
    box-sizing: border-box;
}

.ov-entry-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.ov-entry-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #333;
    border-radius: var(--ov-radius);
    display: block;
}

.ov-entry-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 8px 4px 6px;
    font-family: 'Mouse Memoirs', sans-serif;
    font-size: calc(1.1rem + 2px);
    color: #fff;
    text-align: center;
    line-height: 1.15;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    pointer-events: none;
}

/* ── Topbar ──────────────────────────────────── */
.ov-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--ov-border);
    background: rgba(10, 11, 16, 0.95);
    flex-shrink: 0;
}

.ov-topbar-brand {
    font-family: var(--ov-font-display);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    flex: 1;
}

.ov-topbar-tokens {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(124, 92, 255, 0.15);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    font-size: 0.9rem;
}

.ov-token-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe566, #d4a017);
    color: #4a3500;
    font-family: var(--ov-font-display);
    font-size: 0.75rem;
    display: grid;
    place-items: center;
    font-weight: 400;
}

/* ── Hub ─────────────────────────────────────── */
#ovScreenHub.is-active {
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.ov-hub-card {
    max-width: 420px;
    width: 100%;
    text-align: center;
    padding: 36px 28px;
    background: var(--ov-bg-card);
    border: 1px solid var(--ov-border);
    border-radius: var(--ov-radius);
}

.ov-hub-lead {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.ov-hub-meta {
    color: var(--ov-muted);
    margin-bottom: 28px;
}

/* ── Briefing ────────────────────────────────── */
#ovScreenIntro.is-active {
    overflow-y: auto;
    padding: 24px 20px 40px;
}

.ov-briefing {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.ov-briefing-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ov-accent);
    margin-bottom: 8px;
}

.ov-briefing-title {
    font-family: var(--ov-font-display);
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 24px;
}

.ov-briefing-tokens {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(255, 77, 109, 0.08));
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: var(--ov-radius);
}

.ov-briefing-tokens-num {
    font-family: var(--ov-font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
}

.ov-briefing-tokens-label {
    font-size: 1.1rem;
    color: var(--ov-muted);
}

.ov-briefing-p {
    margin-bottom: 14px;
    color: #c5cad6;
    font-size: 1.02rem;
}

.ov-briefing-warn {
    padding: 12px 14px;
    background: rgba(255, 176, 32, 0.1);
    border: 1px solid rgba(255, 176, 32, 0.35);
    border-radius: 10px;
    color: #ffd88a;
}

.ov-briefing-sessions {
    color: var(--ov-ok);
}

.ov-roadmap {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ov-roadmap-round {
    padding: 16px 18px;
    background: var(--ov-bg-card);
    border: 1px solid var(--ov-border);
    border-radius: 12px;
    border-left: 4px solid var(--ov-vote);
}

.ov-roadmap-round-title {
    font-family: var(--ov-font-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--ov-vote);
    margin-bottom: 8px;
    font-weight: 400;
}

.ov-roadmap-qs {
    margin-left: 18px;
    color: var(--ov-muted);
    font-size: 0.95rem;
}

.ov-roadmap-qs li { margin-bottom: 4px; }

.ov-roadmap-same {
    color: var(--ov-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.ov-briefing-foot {
    font-size: 0.9rem;
    color: var(--ov-muted);
    margin-bottom: 28px;
}

.ov-briefing-tip {
    color: var(--ov-text);
    border-left: 3px solid var(--ov-accent);
    padding-left: 12px;
}

.ov-hub-resume {
    font-size: 0.95rem;
    color: var(--ov-vote);
    margin: 0 0 14px;
    text-align: center;
}

.ov-hub-no-tokens,
.ov-entry-no-tokens {
    margin: 0 0 14px;
    text-align: center;
    line-height: 1.45;
    font-size: 0.95rem;
}

.ov-entry-no-tokens {
    max-width: 520px;
    width: 100%;
}

.ov-briefing-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ── Vote pick ───────────────────────────────── */
#ovScreenVote.is-active {
    flex: 1;
    min-height: 0;
    padding: 16px 28px 20px;
    overflow: hidden;
}

.ov-vote-layout {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 360px);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    align-items: stretch;
}

@media (max-width: 880px) {
    .ov-vote-layout { grid-template-columns: 1fr; }
    .ov-scores-panel {
        order: -1;
        max-height: 280px;
        height: auto;
    }
}

.ov-vote-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.ov-vote-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ov-vote-round {
    font-family: var(--ov-font-display);
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--ov-vote);
}

.ov-vote-question {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ov-pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    grid-auto-rows: min-content;
    align-content: start;
    align-items: start;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 4px;
    margin-bottom: 16px;
}

.ov-pick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    justify-self: stretch;
    width: 100%;
    max-width: 132px;
    margin: 0 auto;
    padding: 10px 8px;
    background: var(--ov-bg-card);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.ov-pick-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.ov-pick-card.is-selected {
    border-color: var(--ov-vote);
    background: rgba(255, 77, 109, 0.12);
    box-shadow: 0 0 20px var(--ov-vote-glow);
}

.ov-pick-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    max-height: 160px;
    object-fit: contain;
    background: #0d0e14;
    border-radius: 8px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ov-pick-card span {
    font-size: 0.8rem;
    text-align: center;
    color: var(--ov-muted);
    line-height: 1.2;
}

.ov-pick-card.is-selected span { color: #fff; font-weight: 600; }

.ov-pick-card.is-used,
.ov-pick-card:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(0.85);
}

.ov-pick-card.is-used:hover,
.ov-pick-card:disabled:hover {
    transform: none;
    border-color: transparent;
}

.ov-pick-card--receiving {
    animation: ov-card-glow 0.55s ease;
    border-color: #ffd700 !important;
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.75) !important;
}

.ov-pick-card--sent {
    filter: saturate(0.85);
}

@keyframes ov-card-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.ov-vote-fx {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.ov-fx-particle {
    position: fixed;
    width: 9px;
    height: 9px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #ff4d6d;
    box-shadow: 0 0 10px #ff4d6d, 0 0 22px rgba(255, 77, 109, 0.85);
    animation: ov-fx-fly 0.68s ease-in forwards;
    opacity: 0;
}

@keyframes ov-fx-fly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(var(--ov-dx), var(--ov-dy)) scale(0.25);
    }
}

.ov-entry-header-tokens strong.ov-token-spend,
#ovEntryTokenCount.ov-token-spend {
    animation: ov-token-spend 0.45s ease;
    color: #ff6b8a !important;
}

@keyframes ov-token-spend {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); color: #ff4d6d; }
    100% { transform: scale(1); }
}

.ov-vote-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 8px;
}

/* Live scores sidebar */
.ov-scores-panel {
    background: var(--ov-bg-card);
    border: 1px solid var(--ov-border);
    border-radius: var(--ov-radius);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    align-self: stretch;
}

/* Leader hero */
.ov-live-leader {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.ov-live-leader-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.ov-live-leader-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ov-live-empty {
    color: var(--ov-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.ov-live-leader-name {
    font-family: var(--ov-font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: 0.1em;
    color: #fff;
    text-align: center;
    text-shadow:
        0 0 8px #fff,
        0 0 18px rgba(255,255,255,0.5);
}

.ov-live-leader-img-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    width: 120px;
    max-width: 100%;
}

.ov-live-leader-img {
    width: 120px;
    height: 152px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    display: block;
}

.ov-live-leader-pts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--ov-font-display);
    font-size: 3.25rem;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.ov-live-leader-name.tie-size { font-size: clamp(1rem, 1.8vw, 1.4rem); }
.ov-live-leader-img.tie-size { max-width: 90px; }
.ov-live-leader-pts.tie-size { font-size: clamp(2.5rem, 8vw, 4.5rem); }

.ov-live-leader-cell--pop {
    animation: ov-live-pop 0.55s ease;
}

/* 3 tier columns */
.ov-live-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex-shrink: 0;
}

.ov-live-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.ov-live-col-label {
    font-family: var(--ov-font-display);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ov-live-col--one .ov-live-col-label {
    background: rgba(255, 77, 109, 0.2);
    color: #ff6b8a;
    border: 1px solid rgba(255, 77, 109, 0.4);
}

.ov-live-col--two .ov-live-col-label {
    background: rgba(77, 148, 255, 0.2);
    color: #6ba8ff;
    border: 1px solid rgba(77, 148, 255, 0.4);
}

.ov-live-col--three .ov-live-col-label {
    background: rgba(61, 214, 140, 0.2);
    color: #3dd68c;
    border: 1px solid rgba(61, 214, 140, 0.4);
}

.ov-live-col-slot {
    width: 100%;
    min-height: 100px;
    height: 100px;
    margin-top: 6px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ov-live-col-empty {
    color: #444;
    font-size: 1.2rem;
}

.ov-live-col-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.ov-live-col-img-wrap {
    position: relative;
    width: 100%;
    max-width: 84px;
    border-radius: 6px;
    overflow: hidden;
}

.ov-live-col-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.15);
}

.ov-live-col-pts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--ov-font-display);
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: rgba(255,255,255,0.6);
    text-shadow: 0 0 12px rgba(255,255,255,0.5);
    pointer-events: none;
    line-height: 1;
}

.ov-live-col-name {
    font-size: 0.75rem;
    color: var(--ov-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ov-live-col-card--landing {
    box-shadow: 0 0 0 2px var(--ov-vote), 0 0 16px var(--ov-vote-glow);
    border-radius: 8px;
}

.ov-live-col-card--pop {
    animation: ov-live-pop 0.55s ease;
}

@keyframes ov-live-pop {
    0% { transform: scale(0.88); opacity: 0.5; }
    60% { transform: scale(1.04); }
    100% { transform: scale(1); opacity: 1; }
}

/* Rank list */
.ov-live-rank-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
    margin-top: auto;
}

.ov-live-rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    font-size: 0.8rem;
}

.ov-live-rank-row.is-leader {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
}

.ov-live-rank-num {
    font-family: var(--ov-font-display);
    font-size: 0.95rem;
    color: #555;
    min-width: 24px;
}

.ov-live-rank-row.is-leader .ov-live-rank-num { color: #fff; }

.ov-live-rank-name {
    flex: 1;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ov-live-rank-row.is-leader .ov-live-rank-name { color: #fff; }

.ov-live-rank-pts {
    font-family: var(--ov-font-display);
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ov-live-rank-row.is-leader .ov-live-rank-pts { color: rgba(255,255,255,0.7); }

/* ── Cards (confirm, block, etc.) ────────────── */
.ov-card {
    max-width: 440px;
    width: 100%;
    padding: 32px 28px;
    background: var(--ov-bg-card);
    border: 1px solid var(--ov-border);
    border-radius: var(--ov-radius);
    text-align: center;
}

.ov-card--warn { border-color: rgba(255, 176, 32, 0.4); }
.ov-card--tie { border-color: rgba(124, 92, 255, 0.4); }
.ov-card--confirm { max-width: 480px; }
.ov-card--success { border-color: rgba(61, 214, 140, 0.4); }
.ov-card--final {
    max-width: 920px;
    border-color: rgba(255, 77, 109, 0.55);
    background: rgba(18, 20, 28, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 60px rgba(255, 77, 109, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45);
    animation: ov-final-card-in 0.6s ease-out;
}

.ov-final-four-kicker {
    font-family: var(--ov-font-display);
    font-size: clamp(3rem, 12vw, 5.5rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 30px var(--ov-vote-glow), 0 0 60px rgba(255, 77, 109, 0.35);
    margin-bottom: 4px;
    line-height: 1;
    animation: ov-final-kicker-glow 2.5s ease-in-out infinite;
}

.ov-final-four-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.ov-final-four-text {
    color: var(--ov-muted);
}

@keyframes ov-final-kicker-glow {
    0%, 100% { text-shadow: 0 0 30px var(--ov-vote-glow), 0 0 60px rgba(255, 77, 109, 0.35); }
    50% { text-shadow: 0 0 45px rgba(255, 77, 109, 0.7), 0 0 80px rgba(255, 77, 109, 0.45); }
}

@keyframes ov-final-card-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ov-final-pick-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--ov-vote-glow); }
    50% { box-shadow: 0 0 36px rgba(255, 77, 109, 0.65); }
}

@keyframes ov-evict-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ov-final-four-checklist {
    text-align: left;
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
    color: #e8e8e8;
    line-height: 1.5;
}

.ov-final-four-checklist li {
    margin-bottom: 0.35rem;
}

.ov-final-four-q {
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 16px;
    color: #fff;
}

.ov-final-four-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(10px, 2vw, 18px);
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
}

.ov-final-four-grid .ov-pick-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 200px;
    padding: 8px 6px 10px;
    position: relative;
    border-width: 3px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.15s ease;
}

.ov-final-four-grid .ov-pick-card.ov-pick-card--final:not(.is-selected) {
    animation: ov-final-candidate-blink 1.5s ease-in-out infinite;
}

.ov-final-four-grid .ov-pick-card.is-spotlight:not(.is-selected) {
    border-color: var(--ov-spot-border, #ffd700) !important;
    box-shadow:
        0 0 0 2px var(--ov-spot-border, #ffd700),
        0 0 28px var(--ov-spot-glow, rgba(255, 215, 0, 0.9)),
        0 0 56px var(--ov-spot-glow, rgba(255, 215, 0, 0.45));
    transform: scale(1.06);
    z-index: 2;
    animation:
        ov-final-spotlight-flash 0.45s ease-out,
        ov-final-candidate-blink 1.5s ease-in-out 0.45s infinite;
}

@keyframes ov-final-candidate-blink {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
        border-color: rgba(255, 255, 255, 0.18);
    }
    50% {
        opacity: 0.55;
        filter: brightness(1.35);
        border-color: rgba(255, 255, 255, 0.45);
    }
}

@keyframes ov-final-spotlight-flash {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    35% {
        transform: scale(1.08);
        filter: brightness(1.5);
    }
    100% {
        transform: scale(1.06);
        filter: brightness(1.2);
    }
}

.ov-final-four-grid .ov-pick-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #0d0e14;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ov-final-four-grid .ov-pick-card:hover img {
    transform: scale(1.03);
}

.ov-final-four-grid .ov-pick-card span {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 6px;
}

.ov-final-four-grid .ov-pick-card.is-selected {
    border-color: var(--ov-vote);
    box-shadow: 0 0 24px var(--ov-vote-glow);
    animation: ov-final-pick-pulse 1.8s ease-in-out infinite;
}

.ov-final-four-grid .ov-pick-card.is-selected span {
    color: #fff;
    text-shadow: 0 0 12px var(--ov-vote-glow);
}

.ov-final-four-evict {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 12px auto 0;
    font-family: var(--ov-font-display);
    font-size: 1.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff4d6d, #c9184a);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 30px var(--ov-vote-glow);
    transition: transform 0.12s, box-shadow 0.15s;
    animation: ov-evict-in 0.35s ease-out;
}

.ov-final-four-evict[hidden] {
    display: none !important;
}

.ov-final-four-evict:not([hidden]):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(255, 77, 109, 0.55);
}

.ov-final-four-actions {
    justify-content: center;
}

.ov-card-title {
    font-family: var(--ov-font-display);
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    font-weight: 400;
}

.ov-card-text {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.ov-card-sub {
    color: var(--ov-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.ov-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.ov-choice-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.ov-confirm-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ov-vote);
    margin-bottom: 8px;
}

.ov-confirm-question {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.35;
}

.ov-confirm-hero img {
    width: 160px;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255, 77, 109, 0.5);
    margin-bottom: 12px;
}

.ov-confirm-hero .ov-hero-pts {
    font-family: var(--ov-font-display);
    font-size: 2rem;
    color: var(--ov-vote);
    margin-bottom: 24px;
}

.ov-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.ov-tie-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.ov-tie-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--ov-bg-elevated);
    border-radius: 10px;
}

.ov-tie-name { flex: 1; font-weight: 600; }

.ov-tie-pts {
    font-family: var(--ov-font-display);
    font-size: 1.4rem;
    color: var(--ov-warn);
    min-width: 32px;
    text-align: center;
}

.ov-tie-btns { display: flex; gap: 6px; }

.ov-tie-btns button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.ov-tie-minus { background: #3a1f24; color: #ff8a9b; }
.ov-tie-plus { background: #1f3a2a; color: #7dffb0; }

.ov-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(61, 214, 140, 0.2);
    border: 2px solid var(--ov-ok);
    color: var(--ov-ok);
    font-size: 2rem;
    line-height: 64px;
}

.ov-success-msg {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* ── Instructions modal ─────────────────────── */
.ov-instr-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ov-instr-modal[hidden] {
    display: none !important;
}

.ov-instr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.ov-instr-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px;
    background: var(--ov-bg-card);
    border: 1px solid rgba(124, 92, 255, 0.4);
    border-radius: var(--ov-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.ov-instr-title {
    font-family: var(--ov-font-display);
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 400;
}

.ov-instr-body {
    margin-bottom: 24px;
}

.ov-instr-body .ov-briefing-tokens {
    margin-bottom: 18px;
}

.ov-instr-body .ov-briefing-p,
.ov-instr-body .ov-briefing-foot {
    font-size: 1rem;
    color: #c5cad6;
    margin-bottom: 12px;
}

.ov-instr-body .ov-roadmap {
    margin: 20px 0;
}

/* ── Final eviction video (matches bbg-evi spotlight) ── */
.ov-evi-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: rgba(0, 0, 0, 0.72);
}

.ov-evi-overlay.is-visible {
    opacity: 1;
}

.ov-evi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
    animation: ov-evi-pulse 1.2s ease-in-out infinite alternate;
}

.ov-evi-card video,
.ov-evi-card img {
    width: min(360px, 88vw);
    height: min(480px, 70vh);
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid #ff0000;
    display: block;
}

.ov-evi-name {
    font-family: 'Henny Penny', cursive;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 12px #fff, 0 0 30px #ff4444;
}

.ov-evi-menu {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #111;
    pointer-events: auto;
    transition: transform 0.15s;
    margin-top: 4px;
}

.ov-evi-menu:hover { transform: scale(1.05); }

.ov-evi-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 220;
    pointer-events: auto;
}

.ov-evi-next {
    -webkit-appearance: none;
    appearance: none;
    min-width: 140px;
    padding: 8px 28px;
    border: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ov-evi-next.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ov-evi-next:hover {
    transform: scale(1.05);
}

.ov-evi-next.is-visible:hover {
    transform: translateY(0) scale(1.05);
}

.ov-evi-diag {
    position: fixed;
    width: 200%;
    left: -50%;
    top: 50%;
    transform: translate(0, -50%) rotate(-32deg);
    font-family: 'Henny Penny', cursive;
    font-size: 10vw;
    color: rgba(255, 30, 30, 0.7);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.12em;
    pointer-events: none;
    user-select: none;
    -webkit-text-stroke: 2px #660000;
    z-index: 210;
    text-shadow: 0 0 30px #ff0000, 0 0 70px #cc0000, 0 0 140px #880000;
}

@keyframes ov-evi-pulse {
    from { transform: scale(1); box-shadow: 0 0 60px rgba(255, 0, 0, 0.3); }
    to { transform: scale(1.06); box-shadow: 0 0 120px rgba(255, 0, 0, 0.7); }
}
