        body {
            background-color: #F5F7FA;
            color: #1A1D2B;
            min-height: 100vh;
        }
        .risk-modal {
            position: fixed;
            inset: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(15, 23, 42, 0.48);
            backdrop-filter: blur(8px);
        }
        .risk-modal.hidden {
            display: none;
        }
        .risk-modal-panel {
            width: min(720px, 100%);
            max-height: min(88vh, 840px);
            overflow: auto;
            border-radius: 18px;
            border: 1px solid #E5E7EB;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
            padding: 28px 28px 24px;
        }
        .risk-modal-eyebrow {
            color: #64748B;
            font-size: 11px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        .risk-modal-title {
            color: #0F172A;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 10px;
        }
        .risk-modal-intro {
            color: #334155;
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 14px;
        }
        .risk-modal-list {
            margin: 0 0 18px 1.25rem;
            padding: 0;
            color: #334155;
            font-size: 14px;
            line-height: 1.7;
        }
        .risk-modal-list li + li {
            margin-top: 8px;
        }
        .risk-modal-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: flex-end;
        }
        .risk-modal-primary,
        .risk-modal-secondary {
            appearance: none;
            border: 1px solid transparent;
            border-radius: 12px;
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.35;
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
        }
        .risk-modal-primary {
            color: #FFFFFF;
            background: #d81d1d;
            box-shadow: 0 8px 18px rgba(29,78,216,0.22);
        }
        .risk-modal-primary:hover {
            background: #1E40AF;
            transform: translateY(-1px);
        }
        .risk-modal-secondary {
            color: #334155;
            background: #FFFFFF;
            border-color: #CBD5E1;
        }
        .risk-modal-secondary:hover {
            border-color: #94A3B8;
            background: #F8FAFC;
            transform: translateY(-1px);
        }
        @media (max-width: 640px) {
            .risk-modal {
                padding: 14px;
                align-items: flex-end;
            }
            .risk-modal-panel {
                width: 100%;
                max-height: 90vh;
                border-radius: 16px 16px 0 0;
                padding: 22px 18px 18px;
            }
            .risk-modal-actions {
                flex-direction: column;
            }
            .risk-modal-primary,
            .risk-modal-secondary {
                width: 100%;
            }
        }

        .balance-board {
            background: #FFFFFF;
            border: 1px solid #E5E7EB;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
        }
        .balance-rank-item {
            transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        }
        .balance-rank-item:hover {
            transform: translateY(-1px);
            border-color: #CBD5E1;
            background: #F8FAFC;
        }
        .balance-chart {
            position: relative;
            min-height: 260px;
        }
        .balance-chart-svg {
            display: block;
            width: 100%;
            height: 260px;
            overflow: visible;
        }
        .balance-chart-labels {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
        }
        .balance-axis-label {
            position: absolute;
            color: #94A3B8;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
            text-rendering: geometricPrecision;
        }
        .balance-y-label {
            left: 0;
            top: var(--label-top);
            transform: translateY(-50%);
        }
        .balance-x-label {
            left: var(--label-left);
            bottom: 2px;
        }
        .balance-x-start {
            transform: translateX(0);
        }
        .balance-x-end {
            transform: translateX(-100%);
        }
        .balance-chart-avatar {
            position: absolute;
            right: 22px;
            top: calc(var(--avatar-y) - 14px);
            width: 28px;
            height: 28px;
            border-radius: 9999px;
            border: 2px solid #FFFFFF;
            background: #F3F4F6;
            box-shadow: 0 0 0 2px var(--avatar-color), 0 6px 14px rgba(15,23,42,0.16);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: #475569;
            font-size: 11px;
            font-weight: 700;
        }
        .balance-chart-avatar img {
            width: 100%;
            height: 100%;
            border-radius: inherit;
            object-fit: contain;
        }
        .balance-chart-avatar-fallback {
            display: none;
        }
        .balance-hover-line {
            opacity: 0;
            transition: opacity 0.12s ease;
        }
        .balance-chart.is-hovering .balance-hover-line {
            opacity: 1;
        }
        .balance-tooltip {
            position: absolute;
            top: 10px;
            left: 0;
            min-width: 176px;
            max-width: min(260px, calc(100% - 16px));
            padding: 10px 12px;
            border: 1px solid #CBD5E1;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
            color: #1A1D2B;
            font-size: 12px;
            opacity: 0;
            pointer-events: none;
            transform: translateX(-50%);
            transition: opacity 0.12s ease;
            z-index: 15;
            backdrop-filter: blur(8px);
        }
        .balance-chart.is-hovering .balance-tooltip {
            opacity: 1;
        }
        .balance-tooltip-date {
            margin-bottom: 7px;
            color: #64748B;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 11px;
            font-weight: 700;
        }
        .balance-tooltip-row {
            display: flex;
            align-items: center;
            gap: 8px;
            line-height: 1.35;
        }
        .balance-tooltip-row + .balance-tooltip-row {
            margin-top: 5px;
        }
        .balance-tooltip-dot {
            width: 8px;
            height: 8px;
            border-radius: 9999px;
            flex: 0 0 auto;
        }
        .balance-tooltip-name {
            min-width: 0;
            flex: 1 1 auto;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #334155;
            font-weight: 600;
        }
        .balance-tooltip-value {
            flex: 0 0 auto;
            color: #0F172A;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-weight: 800;
            font-variant-numeric: tabular-nums;
        }
        @media (max-width: 640px) {
            .balance-chart,
            .balance-chart-svg {
                min-height: 220px;
                height: 220px;
            }
            .balance-chart-avatar {
                right: 12px;
                width: 24px;
                height: 24px;
                top: calc(var(--avatar-y) - 12px);
            }
            .balance-tooltip {
                top: 8px;
                min-width: 160px;
            }
        }

        .match-card {
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid #E5E7EB;
            background: #FFFFFF;
        }
        .match-card:hover {
            transform: translateY(-3px);
            border-color: #BFDBFE;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
        }
        .match-card.has-predict {
            border-color: #A7F3D0;
            border-left: 3px solid #059669;
        }
        .match-card.no-predict {
            background: #f9fafc;
            border-color: #DDE2EA;
        }
        .match-card.no-predict .border-gray-100 {
            border-color: #E1E6EF;
        }
        .match-card.has-predict:hover {
            border-color: #059669;
            box-shadow: 0 10px 25px rgba(5,150,105,0.1), 0 4px 10px rgba(0,0,0,0.04);
        }

        .hero-card {
            background: linear-gradient(135deg, #FFFFFF 0%, #F0F4FF 100%);
            border: 1px solid #DBEAFE;
            position: relative;
            overflow: hidden;
        }
        .hero-card::before {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(circle at 25% 40%, rgba(29,78,216,0.04) 0%, transparent 40%),
                        radial-gradient(circle at 75% 60%, rgba(220,38,38,0.03) 0%, transparent 40%);
            pointer-events: none;
        }
        .hero-heat {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
        }
        .hero-vs-mark {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            color: #475569;
            font-family: "Space Grotesk", system-ui, sans-serif;
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.06em;
            line-height: 1;
        }
        .hero-vs-mark::before,
        .hero-vs-mark::after {
            content: '';
            display: block;
            flex: 1 1 0;
            min-width: 12px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(100,116,139,0.32));
        }
        .hero-vs-mark::after {
            background: linear-gradient(90deg, rgba(100,116,139,0.32), transparent);
        }
        .hero-vs-mark span {
            position: relative;
            z-index: 1;
            text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 6px 18px rgba(15,23,42,0.16);
        }
        .hero-vs-mark span::before {
            content: '';
            position: absolute;
            inset: -9px -12px;
            z-index: -1;
            background: radial-gradient(ellipse at center, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.48) 48%, rgba(255,255,255,0) 76%);
            pointer-events: none;
        }
        @media (min-width: 768px) {
            .hero-vs-mark {
                gap: 10px;
                font-size: 24px;
            }
        }
        .hero-scroll {
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            touch-action: pan-x pan-y;
        }
        .hero-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
        .hero-slide {
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }
        .llm-bet-row {
            min-height: 32px;
        }
        .hero-slide .llm-bet-row {
            min-height: 56px;
        }
        .llm-avatar {
            width: 28px;
            height: 28px;
            border-radius: 9999px;
            border: 2px solid #FFFFFF;
            background: #F3F4F6;
            box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
            object-fit: contain;
        }
        .llm-avatar-wrap + .llm-avatar-wrap {
            margin-left: -8px;
        }
        .llm-avatar-wrap:hover {
            z-index: 20;
        }
        .hero-slide .llm-avatar {
            width: 46px;
            height: 46px;
            border-width: 3px;
            box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
        }
        .hero-slide .llm-avatar-wrap + .llm-avatar-wrap {
            margin-left: 4px;
        }
        .llm-avatar-wrap.is-interactive {
            cursor: pointer;
            border-radius: 9999px;
            transition: transform 0.18s ease, filter 0.18s ease;
        }
        .llm-avatar-wrap.is-interactive::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -7px;
            width: 16px;
            height: 3px;
            border-radius: 9999px;
            background: #2563EB;
            box-shadow: 0 2px 7px rgba(37,99,235,0.35);
            opacity: 0;
            transform: translateX(-50%) scaleX(0.65);
            transition: opacity 0.18s ease, transform 0.18s ease;
        }
        .llm-avatar-wrap.is-interactive:hover,
        .llm-avatar-wrap.is-interactive:focus-visible,
        .llm-avatar-wrap.is-selected {
            z-index: 30;
            transform: translateY(-2px) scale(1.04);
            filter: saturate(1.08);
            outline: none;
        }
        .llm-avatar-wrap.is-selected .llm-avatar {
            border-color: #FFFFFF;
            box-shadow: 0 8px 18px rgba(15,23,42,0.18), 0 0 0 5px rgba(255,255,255,0.72), 0 0 18px rgba(29,78,216,0.20);
        }
        .llm-avatar-wrap.is-selected::after {
            opacity: 1;
            transform: translateX(-50%) scaleX(1);
        }
        .hero-vs-cell {
            position: relative;
            overflow: visible;
            min-height: 1px;
        }
        .hero-llm-comment {
            position: absolute;
            left: 50%;
            top: calc(100% + 10px);
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            width: min(320px, calc(100vw - 150px));
            min-height: 86px;
            max-height: 86px;
            color: #334155;
            text-align: center;
            overflow: hidden;
            pointer-events: none;
        }
        .hero-llm-comment-name {
            color: #2563EB;
            font-size: 20px;
            font-weight: 800;
            line-height: 1.2;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .hero-llm-comment-text {
            width: 100%;
            color: #475569;
            font-size: 18px;
            line-height: 1.42;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }
        .hero-llm-comment-mobile {
            display: none;
        }
        @media (max-width: 640px) {
            .hero-slide.hero-card {
                padding: 16px;
            }
            .hero-slide-body {
                gap: 14px;
            }
            .hero-tag-row {
                gap: 8px;
            }
            .hero-tag-row span {
                font-size: 13px;
                line-height: 1.15;
            }
            .hero-match-grid {
                row-gap: 8px;
            }
            .hero-vs-mark {
                font-size: 22px;
            }
            .hero-team-name {
                font-size: 24px;
                line-height: 1.1;
            }
            .hero-slide .llm-bet-row {
                min-height: 46px;
            }
            .hero-slide .llm-avatar {
                width: 42px;
                height: 42px;
            }
            .hero-slide .llm-avatar-wrap + .llm-avatar-wrap {
                margin-left: 2px;
            }
            .hero-vs-cell .hero-llm-comment {
                display: none;
            }
            .hero-llm-comment {
                width: min(250px, calc(100vw - 120px));
                min-height: 72px;
                max-height: 72px;
            }
            .hero-llm-comment-mobile {
                grid-column: 1 / -1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 4px;
                min-height: 46px;
                max-height: 50px;
                width: 100%;
                padding: 0 6px;
                color: #334155;
                text-align: center;
                overflow: hidden;
                pointer-events: none;
            }
            .hero-llm-comment-name {
                font-size: 20px;
                line-height: 1.12;
            }
            .hero-llm-comment-text {
                font-size: 16px;
                line-height: 1.2;
                display: block;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            .hero-card-footer {
                gap: 12px;
            }
            .hero-countdown-label {
                margin-bottom: 6px;
                font-size: 13px;
            }
            .hero-countdown {
                font-size: 42px;
                line-height: 1;
            }
        }

        .logo-placeholder {
            background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
            border: 1px solid #E5E7EB;
        }

        .stage-tab {
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .stage-tab.active {
            background-color: #1D4ED8;
            color: #FFFFFF;
            border-color: #1D4ED8;
        }

        .accent-dot {
            display: inline-block; width: 8px; height: 8px;
            background-color: #1D4ED8; border-radius: 50%; margin-right: 12px;
            box-shadow: 0 0 8px rgba(29,78,216,0.4);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 0.7; box-shadow: 0 0 6px rgba(29,78,216,0.3); }
            50% { opacity: 1; box-shadow: 0 0 12px rgba(29,78,216,0.5); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .animate-fade-in-up { animation: fadeInUp 0.4s ease forwards; }

        .date-group-line {
            width: 3px;
            background: linear-gradient(to bottom, #1D4ED8, transparent);
            border-radius: 2px;
        }

        .countdown-digit { font-variant-numeric: tabular-nums; }

        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: #F5F7FA; }
        ::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: #1D4ED8; }

        .tabs-scroll { scrollbar-width: none; -ms-overflow-style: none; }
        .tabs-scroll::-webkit-scrollbar { display: none; }
