/* VOLLEYOS_PUBLIC_STYLES_V1 */

:root {
            --bg-dark: #0b132b;
            --bg-card: #141f3d;
            --accent: #f59e0b;
            --text-main: #ffffff;
            --text-muted: #94a3b8;
            --border-color: #1e293b;
        }
        body {
            margin: 0;
            font-family: 'Segoe UI', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
        }

        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 5%; background-color: var(--bg-dark);
            border-bottom: 1px solid var(--border-color);
            position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 15px;
        }
        .logo { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
        .logo span { color: var(--accent); font-size: 1.8rem; }

        .nav-links { display: flex; gap: 30px; }
        .nav-btn { background: none; border: none; color: var(--text-main); font-size: 0.85rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: 0.3s; padding: 0; }
        .nav-btn:hover, .nav-btn.active { color: var(--accent); }

        .city-select { background: rgba(255,255,255,0.1); color: white; border: 1px solid var(--border-color); padding: 8px 15px; border-radius: 8px; font-size: 0.9rem; font-weight: bold; cursor: pointer; outline: none; }
        .city-select option { background: var(--bg-card); color: white; }

        .content-view { display: none; animation: fadeIn 0.4s ease; }
        .content-view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .hero { text-align: center; padding: 80px 20px; background: linear-gradient(to bottom, rgba(11, 19, 43, 0.7), var(--bg-dark)), url('/images/hero-volleyball.jpg') center/cover; }
        .hero h2 { color: var(--accent); font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; }
        .hero h1 { font-size: 4rem; margin: 0 0 20px 0; line-height: 1.1; text-transform: uppercase; }
        .hero h1 span { color: var(--accent); }

        .section-container { padding: 40px 5%; max-width: 1200px; margin: 0 auto; }
        .section-title { font-size: 2.2rem; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 1px; }
        .section-subtitle { color: var(--text-muted); margin-bottom: 40px; }

        .live-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; border-left: 5px solid var(--accent); padding-left: 20px; }
        .live-header h2 { margin: 0; font-size: 1.8rem; text-transform: uppercase; }
        .live-badge { background: #ef4444; color: white; padding: 6px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; animation: pulse 2s infinite; }
        .sched-badge { background: var(--accent); color: #000; padding: 6px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }
        @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

        .matches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
        .match-card { background: var(--bg-card); border-radius: 16px; padding: 25px; border: 1px solid var(--border-color); transition: 0.3s; position: relative; overflow: hidden; }
        .match-card.archived { border-color: #334155; background: rgba(20, 31, 61, 0.5); cursor: pointer; }
        .match-card.scheduled { border-color: #1e3a8a; background: rgba(30, 58, 138, 0.2); }
        .match-status { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

        .scoreboard { display: flex; justify-content: space-between; align-items: center; }
        .team { flex: 1; text-align: center; font-weight: 700; font-size: 1.1rem; }
        .score-box { background: var(--bg-dark); color: var(--accent); font-size: 2.2rem; font-weight: 800; padding: 10px 20px; border-radius: 12px; border: 1px solid var(--border-color); display: flex; gap: 15px; margin: 0 10px; }
        .match-card.archived .score-box { color: var(--text-main); border-color: #334155; }
        .vs-box { font-size: 1.5rem; font-weight: 800; color: #3b82f6; padding: 10px 20px; }
        /* PUBLIC_MATCH_CARD_HOVER_V1 */
        .match-card[onclick] {
            cursor: pointer;
        }

        .match-card[onclick]:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .match-card[onclick] .team {
            pointer-events: none;
        }

        .filter-bar { display: flex; gap: 15px; margin-bottom: 30px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; flex-wrap: wrap; }
        .filter-group { flex: 1; min-width: 140px; }
        .filter-group label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }
        .filter-group select { width: 100%; padding: 8px; border-radius: 6px; background: var(--bg-dark); color: white; border: 1px solid var(--border-color); cursor: pointer; }

        .divisions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
        .div-card { background: var(--bg-card); border-radius: 12px; padding: 30px 20px; text-align: center; border: 2px solid var(--border-color); cursor: pointer; transition: 0.2s; }
        .div-card.active { border-color: var(--accent); background: #1a274c; }
        .div-card:hover { transform: translateY(-5px); }
        .div-icon { font-size: 2.5rem; margin-bottom: 15px; }
        .div-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 5px 0; letter-spacing: 1px; }

        .table-wrapper { background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-color); padding: 30px; margin-top: 20px; overflow-x: auto; }
        .table-header-title { display: flex; align-items: center; gap: 15px; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; }
        .standings-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
        .standings-table th { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; padding: 15px 10px; border-bottom: 1px solid var(--border-color); }
        .standings-table td { padding: 15px 10px; border-bottom: 1px solid rgba(30, 41, 59, 0.5); font-weight: 600; font-size: 1rem; }
        .team-row { cursor: pointer; transition: background 0.2s; }
        .team-row:hover { background: rgba(255,255,255,0.05); }
        .team-cell { display: flex; align-items: center; gap: 12px; }
        .color-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }

        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
        .modal-overlay.active { display: flex; animation: fadeIn 0.2s; }
        .modal-content { background: var(--bg-card); width: 95%; max-width: 900px; border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
        .modal-header { padding: 20px; background: var(--bg-dark); display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
        .modal-header h3 { margin: 0; font-size: 1.3rem; color: var(--accent); text-transform: uppercase; }
        .close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 0; }
        .close-btn:hover { color: white; }
        .modal-body { padding: 20px; overflow-y: auto; }
        .modal-body::-webkit-scrollbar { width: 8px; }
        .modal-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
        .modal-body::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

        .stream-container { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); margin-top: 20px; }
        .video-placeholder { width: 100%; height: 500px; background: #000; display: flex; justify-content: center; align-items: center; flex-direction: column; }
        .play-btn { background: var(--accent); color: #000; width: 80px; height: 80px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; cursor: pointer; margin-bottom: 20px; }

        .modal-tabs { display: flex; gap: 10px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
        .modal-tab-btn { background: none; border: none; color: var(--text-muted); font-size: 0.9rem; font-weight: bold; cursor: pointer; padding: 5px 10px; transition: 0.2s; }
        .modal-tab-btn.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
        .modal-tab-content { display: none; }
        .modal-tab-content.active { display: block; animation: fadeIn 0.3s ease; }

        .branch-badge { display: inline-block; background: #10b981; color: #0b132b; padding: 2px 6px; border-radius: 4px; font-size: 0.65rem; margin-left: 8px; vertical-align: middle; text-transform: uppercase; font-weight: 900; letter-spacing: 0.5px; }

        .contact-card { background: #ffffff; color: #0b132b; border-radius: 16px; padding: 40px; display: flex; gap: 40px; align-items: flex-start; max-width: 900px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        .contact-logo-wrapper { flex-shrink: 0; width: 180px; height: 180px; display: flex; justify-content: center; align-items: center; }
        .contact-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
        .contact-info { flex: 1; width: 100%; }
        .contact-badge { background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
        .contact-title { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px 0; line-height: 1.2; color: #0f172a; }
        .contact-subtitle { color: #64748b; font-size: 1rem; margin-bottom: 30px; }
        .contact-list { list-style: none; padding: 0; margin: 0; width: 100%; }
        .contact-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
        .contact-item:last-child { border-bottom: none; }
        .contact-icon { width: 40px; font-size: 1.2rem; color: #0b132b; display: flex; justify-content: center; align-items: center; }
        .contact-label { width: 120px; font-weight: bold; font-size: 1rem; color: #0f172a; }
        .contact-val { flex: 1; font-size: 1rem; color: #334155; word-break: break-all; }
        .contact-val a { color: #334155; text-decoration: none; transition: 0.2s; }
        .contact-val a:hover { color: var(--accent); text-decoration: underline; }

        .documents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
        .doc-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; transition: 0.3s; text-decoration: none; color: var(--text-main); }
        .doc-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
        .doc-icon { font-size: 2.5rem; }
        .doc-info { flex: 1; }
        .doc-title { font-size: 1.1rem; font-weight: bold; margin: 0 0 5px 0; color: var(--accent); }
        .doc-subtitle { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

        /* 🏖️ СТИЛИ ДЛЯ ПЛЯЖНЫХ КУБКОВ И ТАЙМЛАЙНА */
        .cup-card { background: linear-gradient(135deg, var(--bg-card), #0b132b); border: 2px solid var(--border-color); border-radius: 16px; padding: 40px 20px; text-align: center; cursor: pointer; transition: 0.3s; }
        .cup-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
        .cup-title-large { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
        .cup-meta { color: var(--text-muted); font-size: 0.9rem; font-weight: bold; }

        .cup-div-tabs { display: flex; gap: 15px; margin-bottom: 30px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
        .cup-div-tabs::-webkit-scrollbar { display: none; }
        .cup-div-btn { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border-color); padding: 12px 25px; border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap; text-transform: uppercase; }
        .cup-div-btn.active { background: rgba(245, 158, 11, 0.1); color: var(--accent); border-color: var(--accent); }
        .cup-div-btn:hover { color: #fff; border-color: var(--text-muted); }

        .timeline-wrapper { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 20px 0; margin-bottom: 30px; -ms-overflow-style: none; scrollbar-width: none; }
        .timeline-wrapper::-webkit-scrollbar { display: none; }
        .timeline-item { min-width: 160px; background: rgba(0,0,0,0.3); border: 2px solid var(--border-color); border-radius: 12px; padding: 15px; text-align: center; cursor: pointer; transition: 0.2s; position: relative; }
        .timeline-item:hover { border-color: #3b82f6; background: rgba(59, 130, 246, 0.1); transform: translateY(-3px); }
        .timeline-item.completed { border-color: #10b981; }
        .timeline-item.active { border-color: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); }
        .timeline-item.grand-final { border-color: var(--accent); background: rgba(245, 158, 11, 0.1); }
        .timeline-arrow { color: var(--text-muted); font-size: 1.2rem; }

        /* CUTOFF LINE (ЗОНА КВАЛИФИКАЦИИ) */
        .cutoff-line td { border-bottom: 2px dashed #ef4444 !important; position: relative; }

        @media (max-width: 768px) {
            header { flex-direction: column; gap: 15px; padding: 15px 20px 0 20px; align-items: stretch; }
            .logo { justify-content: center; }
            .city-selector-wrap { text-align: center; margin-bottom: 10px; }
            .nav-links { display: flex; width: 100%; overflow-x: auto; justify-content: flex-start; gap: 20px; padding-bottom: 15px; -ms-overflow-style: none; scrollbar-width: none; }
            .video-placeholder { height: 250px; }

            .contact-card { flex-direction: column; align-items: center; padding: 25px; text-align: center; }
            .contact-logo-wrapper { width: 120px; height: 120px; margin-bottom: 20px; }
            .contact-item { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
            .contact-label { width: 100%; }
            .contact-icon { display: none; }
        }

        .public-hero {
            min-height: 470px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .beta-label {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            padding: 7px 13px;
            border: 1px solid rgba(245, 158, 11, 0.5);
            background: rgba(245, 158, 11, 0.12);
            color: var(--accent);
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 900;
            letter-spacing: 1.4px;
            margin-bottom: 18px;
        }

        .beta-label.compact {
            margin-bottom: 12px;
        }

        .hero-description {
            max-width: 680px;
            margin: 0 auto;
            color: #d6deed;
            font-size: 1.08rem;
            line-height: 1.65;
        }

        .hero-actions {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .hero-button {
            width: auto;
            border-radius: 9px;
            padding: 12px 20px;
            cursor: pointer;
            font-weight: 800;
            font-size: 0.92rem;
            transition: 0.2s;
        }

        .hero-button:hover {
            transform: translateY(-2px);
        }

        .hero-button.primary {
            background: var(--accent);
            border: 1px solid var(--accent);
            color: #07101f;
        }

        .hero-button.secondary {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.22);
            color: white;
        }

        .hero-city {
            margin-top: 25px;
            color: var(--text-muted);
            font-weight: 700;
            font-size: 0.9rem;
        }

        .public-card-grid,
        .feature-grid {
            display: grid;
            grid-template-columns:
                repeat(auto-fit, minmax(230px, 1fr));
            gap: 18px;
        }

        .public-card {
            min-height: 190px;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            background: var(--bg-card);
            color: white;
            padding: 28px;
            cursor: pointer;
            text-align: left;
            transition: 0.25s;
        }

        .public-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 14px 30px rgba(0,0,0,0.24);
        }

        .public-card-icon {
            display: block;
            font-size: 2.2rem;
            margin-bottom: 22px;
        }

        .public-card strong {
            display: block;
            font-size: 1.15rem;
            margin-bottom: 9px;
        }

        .public-card small {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.45;
        }

        .coming-banner {
            margin-top: 35px;
            display: flex;
            align-items: center;
            gap: 22px;
            padding: 25px;
            border: 1px solid rgba(59,130,246,0.35);
            border-radius: 16px;
            background:
                linear-gradient(
                    135deg,
                    rgba(59,130,246,0.12),
                    rgba(16,185,129,0.06)
                );
        }

        .coming-banner > div:nth-child(2) {
            flex: 1;
        }

        .coming-banner strong {
            font-size: 1.05rem;
        }

        .coming-banner p {
            color: var(--text-muted);
            margin: 7px 0 0;
            line-height: 1.5;
        }

        .coming-icon {
            font-size: 2.3rem;
        }

        .placeholder-page {
            max-width: 820px;
            margin: 35px auto;
            padding: 55px 35px;
            text-align: center;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
        }

        .placeholder-icon {
            font-size: 4.2rem;
            margin-bottom: 20px;
        }

        .placeholder-page h2 {
            font-size: 2.2rem;
            margin: 4px 0 15px;
        }

        .placeholder-page > p {
            max-width: 610px;
            margin: 0 auto;
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
        }

        .placeholder-features {
            display: grid;
            grid-template-columns:
                repeat(auto-fit, minmax(210px, 1fr));
            gap: 10px;
            margin-top: 30px;
            text-align: left;
        }

        .placeholder-features span {
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--border-color);
            border-radius: 9px;
            padding: 13px;
            font-size: 0.88rem;
        }

        .placeholder-note {
            margin-top: 28px;
            color: var(--accent);
            font-size: 0.84rem;
            font-weight: 700;
        }

        .feature-card {
            min-height: 190px;
            padding: 26px;
            border-radius: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
        }

        .feature-card > span {
            font-size: 2.1rem;
        }

        .feature-card h3 {
            margin: 17px 0 9px;
        }

        .feature-card p {
            color: var(--text-muted);
            line-height: 1.5;
            font-size: 0.9rem;
        }

        .feature-card.future {
            border-style: dashed;
        }

        .feature-card small {
            display: inline-block;
            margin-top: 5px;
            color: var(--accent);
            font-weight: 800;
        }

        .coming-banner.commercial {
            border-color: rgba(245,158,11,0.4);
            background: rgba(245,158,11,0.07);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .public-hero {
                min-height: 420px;
                padding: 60px 20px;
            }

            .coming-banner {
                flex-direction: column;
                text-align: center;
            }

            .coming-banner .hero-button {
                width: 100%;
            }

            .placeholder-page {
                padding: 40px 20px;
            }
        }


        /* ==========================================
           МОБИЛЬНЫЙ ДАШБОРД ТУРНИРА
           ========================================== */

        @media (max-width: 768px) {
            .section-container {
                padding-left: 16px;
                padding-right: 16px;
            }

            .nav-links {
                flex-wrap: nowrap;
                overscroll-behavior-x: contain;
                scroll-snap-type: x proximity;
            }

            .nav-btn {
                flex: 0 0 auto;
                white-space: nowrap;
                scroll-snap-align: start;
            }

            .public-tournament-layout {
                grid-template-columns: minmax(0, 1fr) !important;
                gap: 22px !important;
                width: 100%;
                min-width: 0;
            }

            .public-tournament-layout > div {
                min-width: 0;
                width: 100%;
            }

            .public-tournament-layout .timeline-wrapper {
                width: 100%;
                max-width: 100%;
                padding: 8px 0 18px 0 !important;
                margin-bottom: 4px !important;
                scroll-padding-left: 2px;
            }

            .public-tournament-layout .timeline-item {
                min-width: 210px;
                max-width: 240px;
                box-sizing: border-box;
                flex: 0 0 auto;
            }

            .public-tournament-layout .timeline-arrow {
                flex: 0 0 auto;
            }

            .public-tournament-rating-card {
                width: 100%;
                min-width: 0;
                overflow: hidden !important;
            }

            .public-tournament-rating-scroll {
                width: 100%;
                max-height: none !important;
                overflow-x: auto !important;
                overflow-y: visible !important;
                -webkit-overflow-scrolling: touch;
            }

            .public-tournament-rating-scroll table {
                min-width: 560px;
            }

            .public-tournament-rating-scroll th,
            .public-tournament-rating-scroll td {
                padding: 12px 10px;
                white-space: nowrap;
            }

            .public-tournament-rating-scroll td:nth-child(2) {
                white-space: normal;
                min-width: 190px;
            }
        }

        @media (max-width: 480px) {
            .section-container {
                padding-left: 12px;
                padding-right: 12px;
            }

            .public-tournament-layout .timeline-item {
                min-width: 190px;
            }

            .public-tournament-rating-scroll table {
                min-width: 520px;
            }
        }


        /* PUBLIC_COMPETITION_LAYOUT_V2 */
        .public-phase-card,
        .public-all-matches {
            margin-bottom:25px;
            border:1px solid
                var(--border-color);
            border-radius:14px;
            overflow:hidden;
            background:
                rgba(255,255,255,.025);
        }

        .public-phase-head {
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:15px;
            padding:18px 20px;
            border-bottom:1px solid
                var(--border-color);
            flex-wrap:wrap;
        }

        .public-phase-title {
            color:#fff;
            font-size:1.1rem;
            font-weight:800;
        }

        .public-phase-meta,
        .public-all-matches-count {
            margin-top:5px;
            color:var(--text-muted);
            font-size:.78rem;
        }

        .public-phase-counters {
            display:flex;
            gap:8px;
            flex-wrap:wrap;
            font-size:.74rem;
        }

        .public-playoff-body {
            padding:18px;
            min-width:0;
        }

        .public-phase-empty {
            padding:20px;
            color:var(--text-muted);
            text-align:center;
        }

        .public-all-matches > summary {
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:12px;
            padding:18px 20px;
            color:#fff;
            font-weight:800;
            cursor:pointer;
            user-select:none;
        }

        .public-all-matches-body,
        .public-match-phase +
        .public-match-phase {
            border-top:1px solid
                var(--border-color);
        }

        .public-match-phase {
            padding:18px 20px 20px;
        }

        .public-match-phase-title {
            margin-bottom:12px;
            color:#fff;
            font-size:.94rem;
            font-weight:800;
        }

        .public-match-card-full
        .scoreboard {
            display:flex !important;
            flex-direction:column;
            align-items:stretch;
            gap:8px;
            min-width:0;
        }

        .public-match-card-full
        .team {
            display:block !important;
            width:100% !important;
            max-width:none !important;
            min-width:0;
            overflow:visible !important;
            text-overflow:clip !important;
            white-space:normal !important;
            overflow-wrap:anywhere;
            line-height:1.25;
            text-align:center;
        }

        .public-match-card-full
        .score-box,
        .public-match-card-full
        .vs-box {
            align-self:center;
        }

        @media (max-width:600px) {
            .public-phase-head,
            .public-all-matches > summary {
                align-items:flex-start;
            }

            .public-all-matches > summary {
                flex-direction:column;
            }
        }


            .public-match-card-full
            .team.public-entry-link {
                border-radius:8px;
                cursor:pointer;
                transition:
                    color .16s ease,
                    background-color .16s ease,
                    box-shadow .16s ease;
            }

            .public-match-card-full
            .team.public-entry-link:hover,
            .public-match-card-full
            .team.public-entry-link:focus-visible {
                color:#fff;
                background:rgba(59,130,246,.16);
                box-shadow:
                    inset 0 0 0 1px
                    rgba(96,165,250,.5);
                outline:none;
            }
