/* KickHeroes Custom Styles - White & Blue Theme */

/* Base */
:root {
    --bg-primary: #F4F5FA;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --accent-primary: #1D4ED8;
    --accent-gold: #F59E0B;
    --accent-cyan: #3B82F6;
    --accent-red: #EF4444;
    --accent-magenta: #8B5CF6;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Background pattern */
.bg-grid-pattern {
    background-image:
        linear-gradient(rgba(29, 78, 216, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 78, 216, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1E3A5F 0%, #1D4ED8 50%, #2563EB 100%);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(29, 78, 216, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-static {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

/* Score display */
.score-display {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
}

/* Live pulse */
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Glow effects */
.glow-primary {
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.12);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}

/* Navbar */
.nav-link {
    position: relative;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}

/* Tables */
.table-row {
    transition: background 0.15s ease;
}

.table-row:hover {
    background: rgba(29, 78, 216, 0.04);
}

/* Tab buttons */
.tab-btn {
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

/* Filter buttons */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: rgba(29, 78, 216, 0.3);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(29, 78, 216, 0.08);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Page transitions */
.page-enter {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stat card number */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Match card */
.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.match-card:hover {
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.match-card.live {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.08);
}

/* Mobile nav */
.mobile-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 85vw;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Search input */
.search-input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.5rem;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    width: 100%;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.search-input::placeholder {
    color: #9CA3AF;
}

/* Standing position bars */
.standing-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    overflow: hidden;
}

.standing-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--accent-primary);
    transition: width 0.5s ease;
}

/* Bracket / Fixture */
.bracket-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    align-items: flex-start;
}

.bracket-round {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.bracket-match {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.bracket-match.live {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.08);
}

.bracket-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.bracket-team.winner {
    color: var(--accent-primary);
    font-weight: 600;
}

.qualified-row {
    background: rgba(29, 78, 216, 0.05);
}

/* ═══════════════════════════════════════════════════
   FIXTURE GRAPH — Full Tournament Bracket
   ═══════════════════════════════════════════════════ */

/* Header bar with title + download */
.fixture-graph-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fixture-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.fixture-download-btn:hover {
    background: #1e40af;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}
.fixture-download-btn svg { width: 16px; height: 16px; }

/* Full-width scrollable canvas */
.fixture-graph {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 2rem;
    position: relative;
}

/* KickHeroes watermark (visible in graph & download) */
.fixture-graph-watermark {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
.fixture-graph-watermark img { width: 22px; height: 22px; border-radius: 4px; }
.fixture-graph-watermark span {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* Horizontal bracket inner */
.fg-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: max-content;
    position: relative;
    z-index: 2;
}

/* Each round column */
.fg-round {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex-shrink: 0;
}
.fg-round-title {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(29,78,216,0.15);
}
.fg-round-slots {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1;
    gap: 6px;
}

/* Group card inside the Groups round */
.fg-group-card {
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 4px;
}
.fg-group-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-primary);
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--border-color);
}

/* Mini match row inside a group */
.fg-group-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    gap: 4px;
}
.fg-group-match.is-live { color: var(--accent-red); font-weight: 600; }
.fg-gm-team {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.fg-gm-team img { width: 14px; height: 14px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.fg-gm-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-gm-score {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.6875rem;
    white-space: nowrap;
    padding: 0 2px;
    min-width: 30px;
    text-align: center;
}

/* Qualified teams highlight at bottom of group */
.fg-group-qualified {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(29,78,216,0.25);
}
.fg-qualified-team {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(29,78,216,0.06);
    border-radius: 3px;
    margin-bottom: 2px;
}
.fg-qualified-team img { width: 14px; height: 14px; border-radius: 2px; object-fit: cover; }
.fg-qualified-tag {
    font-size: 0.5rem;
    background: var(--accent-primary);
    color: #fff;
    padding: 0 4px;
    border-radius: 2px;
    margin-left: auto;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Knockout match card */
.fg-match {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 6px 8px;
    font-size: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg-match.completed { border-color: rgba(29,78,216,0.4); }
.fg-match.live {
    border-color: rgba(239,68,68,0.6);
    animation: fg-pulse 2s ease-in-out infinite;
}
.fg-match.scheduled { border-color: var(--border-color); opacity: 0.65; }

@keyframes fg-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.2); }
    50%     { box-shadow: 0 0 10px 2px rgba(239,68,68,0.12); }
}

.fg-match-label {
    font-size: 0.5625rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.fg-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    color: var(--text-secondary);
}
.fg-team-row.winner { color: var(--accent-primary); font-weight: 600; }
.fg-team-info {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    flex: 1;
}
.fg-team-info img { width: 16px; height: 16px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.fg-team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.fg-team-score {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    min-width: 1rem;
    text-align: right;
}

/* Champion card */
.fg-champion {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(29,78,216,0.08));
    border: 2px solid var(--accent-gold);
    border-radius: 0.625rem;
    padding: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fg-champion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245,158,11,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.fg-champion-trophy { font-size: 1.5rem; margin-bottom: 2px; }
.fg-champion-label {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    font-weight: 800;
}
.fg-champion-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}
.fg-champion-name img { width: 24px; height: 24px; border-radius: 4px; object-fit: cover; }

/* Connector lines */
.fg-connector {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    flex-shrink: 0;
}
.fg-conn-pair {
    flex: 1;
    position: relative;
    min-height: 40px;
}
.fg-conn-pair::before {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 18px;
    border: 1.5px solid #c7d2e0;
    border-left: none;
    border-radius: 0 5px 5px 0;
}
.fg-conn-pair::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    border-top: 1.5px solid #c7d2e0;
}

/* ═══════════════════════════════════════════════════
   CELEBRATION OVERLAY — Winner confetti + stats
   ═══════════════════════════════════════════════════ */
.celebration-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    animation: cel-fade-in 0.5s ease;
}
@keyframes cel-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.celebration-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem 2.5rem;
    max-width: 520px;
    width: 92vw;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: cel-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes cel-pop {
    from { transform: scale(0.7) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.cel-trophy { font-size: 3.5rem; animation: cel-bounce 1s ease infinite; }
@keyframes cel-bounce {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
}

.cel-champion-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cel-champion-name img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }

.cel-subtitle {
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.cel-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}
.cel-stat {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.625rem 0.5rem;
}
.cel-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
}
.cel-stat-label {
    font-size: 0.625rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cel-team-list {
    margin-top: 1rem;
    text-align: left;
}
.cel-team-list-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.cel-team-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8125rem;
}
.cel-team-item:last-child { border-bottom: none; }
.cel-team-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}
.cel-team-rank.gold   { background: #fef3c7; color: #b45309; }
.cel-team-rank.silver { background: #f1f5f9; color: #475569; }
.cel-team-rank.bronze { background: #fef2e8; color: #9a3412; }
.cel-team-rank.normal { background: #f8fafc; color: #6b7280; }
.cel-team-item img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }

.cel-close-btn {
    margin-top: 1.25rem;
    padding: 0.5rem 1.5rem;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cel-close-btn:hover { background: #1e40af; }

.cel-branding {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.4;
}
.cel-branding img { width: 18px; height: 18px; border-radius: 3px; }
.cel-branding span { font-size: 0.625rem; font-weight: 700; color: var(--text-secondary); }

/* Confetti canvas */
#confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   SHARE BUTTONS
   ═══════════════════════════════════════════════════ */
.share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { transform: scale(1.1); }
.share-btn-whatsapp { color: #25D366; }
.share-btn-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn-x { color: #000; }
.share-btn-x:hover { background: #000; color: #fff; border-color: #000; }
.share-btn-facebook { color: #1877F2; }
.share-btn-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn-native { color: var(--accent-primary); }
.share-btn-native:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.share-copied-toast {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    background: var(--text-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    animation: fadeIn 0.2s ease;
}

/* ═══════════════════════════════════════════════════
   PLANNED FIXTURE (Group Schedule Graph)
   ═══════════════════════════════════════════════════ */
.pf-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    min-width: max-content;
}

.pf-group-col {
    min-width: 240px;
    max-width: 300px;
    flex: 1;
}

.pf-group-header {
    background: linear-gradient(135deg, var(--accent-primary), #2563EB);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
}

.pf-day-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.375rem 0;
    margin-top: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.pf-match {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.625rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pf-match:hover {
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.08);
}
.pf-match.completed {
    border-left: 3px solid var(--accent-primary);
}
.pf-match.live {
    border-left: 3px solid var(--accent-red);
    background: #fef2f2;
    animation: fg-live-pulse 2s ease-in-out infinite;
}
.pf-match.scheduled {
    border-left: 3px solid var(--border-color);
    opacity: 0.85;
}

.pf-match-time {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pf-match-time.pf-live {
    color: var(--accent-red);
    font-weight: 700;
}

.pf-match-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
    gap: 0.375rem;
}
.pf-match-team.winner {
    font-weight: 700;
}
.pf-match-team + .pf-match-team {
    border-top: 1px dashed #e5e7eb;
    padding-top: 0.3rem;
}

.pf-match-team-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    flex: 1;
}
.pf-match-team-info img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.pf-match-team-info span {
    font-size: 0.75rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.pf-match-score {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Responsive utility */
@media (max-width: 640px) {
    .stat-number { font-size: 1.5rem; }
    .hide-mobile { display: none; }
    .bracket-round { min-width: 170px; }
    .fg-round { min-width: 160px; }
    .fg-team-name { max-width: 80px; }
    .fixture-graph { padding: 1rem 0.75rem 0.75rem; }
    .fixture-graph-header { flex-direction: column; align-items: flex-start; }
    .celebration-card { padding: 1.5rem 1.25rem; }
    .cel-champion-name { font-size: 1.25rem; }
    .cel-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .share-btn { width: 28px; height: 28px; }
    .share-btn svg { width: 14px; height: 14px; }
    .pf-group-col { min-width: 200px; }
    .pf-match-team-info span { max-width: 100px; }
}
