/* FIFA Predictor — game UI theme */

:root {
    --pitch-dark: #0a1f14;
    --pitch-mid: #0f3322;
    --pitch-light: #1a5c3a;
    --gold: #f5c518;
    --gold-dark: #c49a0a;
    --neon: #00ff88;
    --neon-dim: #00cc6a;
    --danger: #ff4757;
    --card-bg: rgba(15, 40, 28, 0.92);
    --card-border: rgba(245, 197, 24, 0.25);
    --text: #f0fdf4;
    --text-muted: #86efac;
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.15);
}

* {
    -webkit-tap-highlight-color: transparent;
}

body.game-body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--pitch-dark);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
}

.game-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 136, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(245, 197, 24, 0.08), transparent),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.015) 40px,
            rgba(255, 255, 255, 0.015) 41px
        ),
        linear-gradient(180deg, var(--pitch-dark) 0%, var(--pitch-mid) 50%, var(--pitch-dark) 100%);
    pointer-events: none;
    z-index: 0;
}

.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
}

.game-shell {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    padding-bottom: 88px;
}

.game-organizer {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(134, 239, 172, 0.45);
    padding: 0 1rem 0.75rem;
}

.game-header {
    background: linear-gradient(180deg, rgba(10, 31, 20, 0.98) 0%, rgba(10, 31, 20, 0.85) 100%);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 40;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:active {
    transform: scale(0.98);
}

.game-card-gold {
    border-color: rgba(245, 197, 24, 0.45);
    box-shadow: 0 0 24px rgba(245, 197, 24, 0.12);
}

.btn-game {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
}

.btn-game-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--pitch-dark);
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.35);
}

.btn-game-primary:hover {
    box-shadow: 0 6px 28px rgba(245, 197, 24, 0.5);
    transform: translateY(-1px);
}

.btn-game-neon {
    background: linear-gradient(135deg, var(--neon) 0%, var(--neon-dim) 100%);
    color: var(--pitch-dark);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-game-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.btn-game-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-open { background: rgba(0, 255, 136, 0.15); color: var(--neon); border: 1px solid rgba(0, 255, 136, 0.35); }
.badge-locked { background: rgba(255, 255, 255, 0.08); color: #94a3b8; border: 1px solid rgba(255, 255, 255, 0.15); }
.badge-scored { background: rgba(245, 197, 24, 0.15); color: var(--gold); border: 1px solid rgba(245, 197, 24, 0.35); }
.badge-pending { background: rgba(255, 71, 87, 0.15); color: var(--danger); border: 1px solid rgba(255, 71, 87, 0.35); }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: linear-gradient(0deg, rgba(10, 31, 20, 0.98) 0%, rgba(10, 31, 20, 0.92) 100%);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    z-index: 50;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.4rem 0.5rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    flex: 1;
    text-decoration: none;
}

.bottom-nav a.active,
.bottom-nav a:hover {
    color: var(--gold);
    background: rgba(245, 197, 24, 0.08);
}

.bottom-nav svg { width: 1.35rem; height: 1.35rem; }

.points-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.08));
    border: 1px solid rgba(245, 197, 24, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.team-flag { font-size: 2.5rem; line-height: 1; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }

.team-flag-img {
    display: inline-block;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
}

.team-flag-xs { width: 20px; height: auto; border-radius: 3px; }
.team-flag-sm { width: 32px; height: auto; border-radius: 4px; }
.team-flag-md { width: 40px; height: auto; }
.team-flag-lg { width: 56px; height: auto; border-radius: 8px; }
.team-flag-xl { width: 72px; height: auto; border-radius: 10px; }

.team-flag-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.winner-option .team-flag-img {
    margin: 0 auto 0.25rem;
}

.team-select-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-select-wrap .team-flag-img {
    flex-shrink: 0;
}

.vs-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
}

.score-stepper { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }

.score-stepper button {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text); font-size: 1.5rem; font-weight: 700; cursor: pointer;
}

.score-stepper button:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--neon);
    color: var(--neon);
}

.score-stepper .score-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    min-width: 2.5rem;
    text-align: center;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(245, 197, 24, 0.4);
}

.winner-picker { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }

.winner-option {
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
}

.winner-option.selected {
    border-color: var(--neon);
    background: rgba(0, 255, 136, 0.12);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

.winner-option .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.filter-tabs { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    color: var(--text-muted);
    text-decoration: none;
}

.filter-tab.active {
    background: rgba(245, 197, 24, 0.15);
    border-color: rgba(245, 197, 24, 0.4);
    color: var(--gold);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
}

.leaderboard-row.you {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.12), rgba(245, 197, 24, 0.04));
    border: 1px solid rgba(245, 197, 24, 0.3);
}

.rank-medal { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; width: 2.5rem; text-align: center; }
.rank-1 { color: #ffd700; text-shadow: 0 0 12px rgba(255, 215, 0, 0.5); }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.game-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.game-input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
}

.scorer-row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.5rem; align-items: center; }

.scorer-entry {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.75rem;
}

.scorer-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    padding: 0.2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.scorer-mode-btn {
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scorer-mode-btn.active {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.12);
}

.scorer-panel[hidden] { display: none !important; }

.scorer-fields {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: end;
}

.scorer-manual-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.scorer-manual-link:hover { color: var(--neon); }

.scorer-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.scorer-entry-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
}

.scorer-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 32px rgba(0, 255, 136, 0.45); }
}

.trophy-float { animation: float 3s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.stat-box {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box .value { font-family: 'Bebas Neue', sans-serif; font-size: 1.75rem; color: var(--gold); line-height: 1; }
.stat-box .label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }

.splash-hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.points-breakdown { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.point-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.point-dot.earned { background: var(--neon); box-shadow: 0 0 8px var(--neon); }

.progress-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(var(--neon) calc(var(--pct) * 1%), rgba(255,255,255,0.1) 0);
    display: grid;
    place-items: center;
}

.progress-ring-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pitch-dark);
    display: grid;
    place-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--neon);
    text-align: center;
    line-height: 1.1;
}

.score-total-card {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(0, 255, 136, 0.06) 100%);
    border-color: rgba(245, 197, 24, 0.25);
}

.score-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.score-category-earned {
    border-color: rgba(0, 255, 136, 0.25);
    background: rgba(0, 255, 136, 0.04);
}

.score-category-missed {
    border-color: rgba(255, 255, 255, 0.08);
    opacity: 0.92;
}

.score-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.score-category-earned .score-category-icon {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon);
}

.score-category-missed .score-category-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.score-category-detail {
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

/* Match card tile */
.match-card-tile {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.match-card-tile--predicted {
    border-color: rgba(245, 197, 24, 0.35);
}

.match-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.8rem 1rem 0.55rem;
}

.match-card-stage {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(134, 239, 172, 0.75);
}

.match-card-body {
    padding: 0 1rem 0.85rem;
}

.match-card-scoreline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.5rem;
}

.match-card-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.45rem 0.3rem;
    border-radius: 12px;
    text-align: center;
}

.match-card-side--winner {
    background: rgba(0, 255, 136, 0.09);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.22);
}

.match-card-code {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(134, 239, 172, 0.8);
}

.match-card-name {
    display: block;
    width: 100%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.78rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: rgba(240, 253, 244, 0.88);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 4.25rem;
    padding: 0 0.15rem;
}

.match-card-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--gold);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.match-card-score span {
    color: rgba(255, 255, 255, 0.28);
    font-size: 1.35rem;
}

.match-card-result {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
    color: var(--neon);
    max-width: 5rem;
}

.match-card-result--draw {
    color: var(--neon);
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.28);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.match-card-vs {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: rgba(134, 239, 172, 0.55);
    background: rgba(0, 0, 0, 0.28);
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
}

.match-card-pick {
    margin-top: 0.7rem;
    padding: 0.6rem 0.65rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.match-card-pick-label {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 197, 24, 0.75);
    margin-bottom: 0.45rem;
}

.match-card-scorers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.match-card-scorer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-card-scorer-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(240, 253, 244, 0.92);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 9rem;
}

.match-card-scorer-code {
    flex-shrink: 0;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(134, 239, 172, 0.55);
}

.match-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.match-card-time {
    color: rgba(134, 239, 172, 0.65);
    font-size: 0.75rem;
}

.match-card-meta {
    color: rgba(134, 239, 172, 0.5);
    font-size: 0.72rem;
    text-align: right;
}

.match-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.match-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.match-card-btn-pick {
    background: rgba(245, 197, 24, 0.14);
    border-color: rgba(245, 197, 24, 0.35);
    color: var(--gold);
}

.match-card-btn-primary {
    background: linear-gradient(135deg, var(--neon) 0%, var(--neon-dim) 100%);
    color: var(--pitch-dark);
}

.match-card-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

/* Prediction modal */
body.prediction-modal-open {
    overflow: hidden;
}

.prediction-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.prediction-modal[hidden] {
    display: none;
}

.prediction-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.prediction-modal-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    background: linear-gradient(180deg, #122a1f 0%, #0a1f14 100%);
    border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: 18px 18px 14px 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.prediction-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prediction-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    line-height: 1;
}

.prediction-modal-subtitle {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: rgba(134, 239, 172, 0.55);
}

.prediction-modal-close {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.prediction-modal-body {
    padding: 1rem;
}

.prediction-modal-content .match-card-pick {
    margin-top: 0.85rem;
}

.prediction-modal-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--text);
}

.prediction-modal-meta {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(134, 239, 172, 0.55);
    margin: 0.25rem 0 0.85rem;
}

.prediction-modal-scoreline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.5rem;
}

.prediction-modal-empty {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(134, 239, 172, 0.45);
    margin-top: 0.75rem;
}

/* Prediction preview — standalone (predict page) */
.prediction-preview {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(0, 0, 0, 0.25) 100%);
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 12px;
    padding: 0.75rem;
}

.prediction-preview-compact {
    padding: 0.65rem;
}

.prediction-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.prediction-preview-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.prediction-preview-edit {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neon);
    opacity: 0.85;
}

.prediction-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.35rem;
}

.prediction-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.35rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prediction-team-winner {
    border-color: rgba(0, 255, 136, 0.35);
    background: rgba(0, 255, 136, 0.08);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.12);
}

.prediction-team-code {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(134, 239, 172, 0.7);
}

.prediction-team-goals {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 16px rgba(245, 197, 24, 0.25);
}

.prediction-score-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 1.5rem;
}

.prediction-score-sep {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.prediction-draw-badge {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon);
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
    white-space: nowrap;
}

.prediction-winner-line {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(134, 239, 172, 0.65);
}

.prediction-winner-line strong {
    color: var(--neon);
    font-weight: 700;
}

.prediction-scorers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.prediction-scorer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.prediction-scorer-meta {
    font-weight: 500;
    color: rgba(134, 239, 172, 0.55);
    font-size: 0.62rem;
}

.prediction-preview-compact .prediction-team-goals {
    font-size: 1.5rem;
}

.prediction-preview-compact .prediction-scorers {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
}
