﻿/* WORLD ARENA โ€” Tournament Hub */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --th-bg: #030712;
    --th-glass: rgba(12, 22, 40, 0.65);
    --th-border: rgba(255, 255, 255, 0.08);
    --th-orange: #f97316;
    --th-blue: #3b82f6;
    --th-green: #22c55e;
    --th-red: #ef4444;
    --th-gold: #fbbf24;
    --th-text: #e2e8f0;
    --th-muted: #64748b;
    --th-white: #f8fafc;
    --th-radius: 16px;
    --th-radius-sm: 10px;
    --th-container: var(--wa-container);
    --th-gap: 2.5rem;
}

html { scroll-behavior: smooth; }

.th-body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: var(--th-bg);
    color: var(--th-text);
    -webkit-font-smoothing: antialiased;
}

/* Shared site nav (same as home) โ€” hide legacy tournament-only header */
.th-page--wa-nav .th-header {
    display: none !important;
}

.th-page--wa-nav {
    padding-top: var(--header-h, 72px);
}

.th-page--wa-nav .th-hero {
    margin-top: 1.5rem;
}

.th-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 55% at 50% -8%, rgba(239, 68, 68, 0.08), transparent 50%),
        radial-gradient(ellipse 45% 35% at 90% 20%, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(ellipse 35% 30% at 5% 60%, rgba(249, 115, 22, 0.06), transparent),
        var(--th-bg);
}

/* Header */
.th-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--th-border);
}

.th-header-inner {
    width: var(--th-container);
    max-width: 100%;
    margin: 0 auto;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
}

.th-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.th-brand-tag {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--th-orange);
}

.th-nav {
    display: flex;
    gap: 0.15rem;
    flex: 1;
    flex-wrap: nowrap;
}

.th-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--th-muted);
    text-decoration: none;
    border-radius: 6px;
}

.th-nav a:hover,
.th-nav a.is-active {
    color: var(--th-white);
    background: rgba(255, 255, 255, 0.05);
}

.th-header-actions { display: flex; gap: 0.5rem; }

.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s;
}

.th-btn.sm { padding: 0.4rem 0.85rem; font-size: 0.68rem; }
.th-btn:hover { transform: translateY(-1px); }

.th-btn--live {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.th-btn--ghost {
    background: transparent;
    border: 1px solid var(--th-border);
    color: var(--th-text);
}

.th-btn--primary { background: var(--th-orange); color: #fff; }

.th-btn--glass {
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    color: var(--th-text);
    backdrop-filter: blur(8px);
}

.th-btn--outline {
    background: transparent;
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: var(--th-orange);
}

.th-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    margin-left: auto;
}

.th-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.th-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.th-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.th-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: var(--th-text);
}

/* Main */
.th-main {
    width: var(--th-container);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--th-gap);
}

.th-section-title {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--th-muted);
}

.th-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.th-section-head .th-section-title { margin: 0; }

.th-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--th-orange);
    text-decoration: none;
}

.th-sub-label {
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--th-orange);
}

/* Hero */
.th-hero {
    position: relative;
    margin-top: 1.5rem;
    border-radius: var(--th-radius);
    overflow: hidden;
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 0 80px rgba(239, 68, 68, 0.08);
}

.th-hero-banner {
    position: relative;
    height: min(42vh, 360px);
    overflow: hidden;
}

.th-hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.2) 0%, rgba(3, 7, 18, 0.95) 100%);
}

.th-hero-body {
    position: relative;
    padding: 0 2rem 2rem;
    margin-top: -4rem;
}

.th-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(249, 115, 22, 0.12), transparent);
    pointer-events: none;
}

.th-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
}

.th-live-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fca5a5;
    padding: 0.35rem 0.75rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 999px;
    margin-bottom: 0.65rem;
    animation: th-pulse 2s ease-in-out infinite;
}

@keyframes th-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 16px 4px rgba(239, 68, 68, 0.15); }
}

.th-hero-presented {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--th-muted);
}

.th-hero-copy h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--th-white);
    letter-spacing: -0.02em;
}

.th-hero-tagline {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--th-muted);
    max-width: 520px;
}

.th-hero-stage {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--th-blue);
}

.th-countdown {
    padding: 1.25rem 1.5rem;
    background: var(--th-glass);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--th-radius-sm);
    backdrop-filter: blur(12px);
    min-width: 280px;
}

.th-countdown-label {
    margin: 0 0 0.75rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--th-blue);
    text-align: center;
}

.th-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.th-countdown-grid strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--th-white);
    font-variant-numeric: tabular-nums;
}

.th-countdown-grid span {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--th-muted);
}

/* Overview */
.th-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.th-overview-stat {
    padding: 1.35rem 1rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    text-align: center;
    backdrop-filter: blur(8px);
}

.th-overview-stat strong {
    display: block;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
    color: var(--th-white);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.th-overview-stat span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--th-muted);
}

.th-overview-stat.accent {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.08);
}

.th-overview-stat.accent strong { color: var(--th-orange); font-size: 0.95rem; }

/* Live Now */
.th-live-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.th-live-card {
    position: relative;
    padding: 1.25rem 1.35rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-left: 3px solid var(--th-red);
    border-radius: var(--th-radius-sm);
}

.th-live-pill {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--th-red);
    margin-bottom: 0.5rem;
}

.th-live-card strong {
    display: block;
    font-size: 1rem;
    color: var(--th-white);
    margin-bottom: 0.25rem;
}

.th-live-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--th-muted);
    margin-bottom: 0.85rem;
}

.th-live-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

/* Featured */
.th-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.th-school-grid,
.th-player-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.th-school-card,
.th-player-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}

.th-school-card:hover,
.th-player-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateX(4px);
}

.th-split .wa-card--player,
.th-split .wa-card--school {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.th-split .wa-card--player img,
.th-split .wa-card--school img {
    width: 100%;
    height: 128px;
    border-radius: 0;
    border: none;
    object-fit: cover;
}

.th-split .wa-card--player > div,
.th-split .wa-card--school > div {
    padding: 0.85rem 1rem;
}

.th-school-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249, 115, 22, 0.3);
}

.th-player-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.th-rank {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--th-orange);
    margin-bottom: 0.15rem;
}

.th-school-card strong,
.th-player-card strong {
    display: block;
    font-size: 0.88rem;
    color: var(--th-white);
    margin-bottom: 0.1rem;
}

.th-school-card span,
.th-player-card span {
    display: block;
    font-size: 0.72rem;
    color: var(--th-muted);
}

.th-school-card em,
.th-player-card em {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    color: var(--th-orange);
    margin-top: 0.15rem;
}

/* Bracket preview */
.th-bracket-preview {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
}

.th-bracket-stage strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--th-white);
}

.th-finalists-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.th-finalists-row span {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--th-white);
    padding: 0.4rem 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 999px;
}

.th-finalists-row em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--th-muted);
}

.th-bracket-matches {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.th-bracket-match {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.78rem;
}

.th-bracket-match strong { flex: 1; color: var(--th-text); }
.th-bracket-match span { font-weight: 800; color: var(--th-white); }

.th-bracket-match em {
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--th-muted);
}

.th-bracket-match.is-live {
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.th-bracket-match.is-live em { color: var(--th-red); }

.th-bracket-match.is-final em { color: var(--th-gold); }

/* Media */
.th-media-scroll {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.th-media-row {
    display: flex;
    gap: 0.85rem;
    min-width: min-content;
}

.th-media-row .wa-card--media {
    flex: 0 0 220px;
}

.th-media-card {
    flex: 0 0 220px;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    overflow: hidden;
}

.th-media-card.is-mvp {
    border-color: rgba(251, 191, 36, 0.35);
}

.th-media-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
}

.th-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-media-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.45rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    color: var(--th-orange);
}

.th-media-card.is-mvp .th-media-tag { color: var(--th-gold); }

.th-media-body {
    padding: 0.85rem;
}

.th-media-body strong {
    display: block;
    font-size: 0.82rem;
    color: var(--th-white);
    margin-bottom: 0.15rem;
}

.th-media-body span {
    display: block;
    font-size: 0.72rem;
    color: var(--th-muted);
    margin-bottom: 0.2rem;
}

.th-media-body em {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    color: var(--th-orange);
    margin-bottom: 0.65rem;
}

/* Schedule */
.th-schedule-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

.th-schedule-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    margin-bottom: 0.5rem;
}

.th-schedule-row.is-live {
    border-left: 3px solid var(--th-red);
}

.th-schedule-time {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--th-blue);
    font-variant-numeric: tabular-nums;
}

.th-schedule-row strong {
    display: block;
    font-size: 0.88rem;
    color: var(--th-white);
    margin-bottom: 0.1rem;
}

.th-schedule-row em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--th-muted);
}

.th-schedule-live {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--th-red);
    padding: 0.25rem 0.5rem;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 999px;
}

.th-finals-card {
    padding: 1.35rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), var(--th-glass));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--th-radius-sm);
}

.th-finals-card > strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--th-white);
    margin-bottom: 0.25rem;
}

.th-finals-card > span {
    display: block;
    font-size: 0.82rem;
    color: var(--th-muted);
    margin-bottom: 0.65rem;
}

.th-finals-card > p {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    color: var(--th-muted);
}

.th-finals-match strong {
    display: block;
    font-size: 0.95rem;
    color: var(--th-orange);
    margin-bottom: 0.15rem;
}

.th-finals-match em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--th-muted);
}

/* Sponsors */
.th-section--sponsors {
    padding-top: 0.25rem;
}

.th-presented {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--th-muted);
}

.th-presented strong { color: var(--th-orange); }

.th-presented--pre-activity {
    margin: 0 0 1rem;
    padding: 0 0.25rem;
    text-align: center;
}

.th-sponsor-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    align-items: stretch;
}

.th-sponsor-banner {
    flex: 1 1 8.5rem;
    max-width: 10rem;
    min-width: 7.5rem;
}

.th-sponsor-banner__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    min-height: 7.5rem;
    padding: 1rem 0.85rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.th-sponsor-banner__body:hover {
    border-color: rgba(255, 107, 53, 0.45);
    transform: translateY(-2px);
}

.th-sponsor-banner__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 3rem;
    object-fit: contain;
}

.th-sponsor-banner__icon {
    font-size: 1.75rem;
    line-height: 1;
}

.th-sponsor-banner__name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--th-white);
    line-height: 1.3;
}
.th-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.th-sponsor-card {
    padding: 1.15rem;
    background: var(--th-glass);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    text-align: center;
}

.th-sponsor-icon { display: block; font-size: 1.35rem; margin-bottom: 0.35rem; }

.th-sponsor-role {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--th-muted);
    margin-bottom: 0.25rem;
}

.th-sponsor-card strong {
    font-size: 0.82rem;
    color: var(--th-white);
}

.th-registration {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--th-radius-sm);
    border: 1px solid var(--th-border);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.th-registration--open {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

.th-registration--success {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
}

.th-registration--warning {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.08);
}

.th-registration--muted {
    opacity: 0.85;
}

.th-registration-message {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--th-white);
}

.th-registration-meta {
    margin: 0;
    font-size: 0.75rem;
    color: var(--th-muted);
}

/* CTA */
.th-cta {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(249, 115, 22, 0.08), rgba(59, 130, 246, 0.06));
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
}

.th-cta h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--th-white);
}

.th-cta > p {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--th-muted);
}

.th-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.th-empty-card {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    background: rgba(8, 17, 31, 0.6);
    border: 1px dashed rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    color: var(--wa-text-secondary, #8b9cb8);
}

.th-empty-card strong {
    display: block;
    color: #e8eef8;
    margin-bottom: 0.35rem;
}

.th-empty-inline {
    color: var(--wa-text-secondary, #8b9cb8);
    font-size: 0.88rem;
    padding: 0.75rem 0;
}

/* Responsive */
@media (max-width: 960px) {
    .th-hero-grid { grid-template-columns: 1fr; }
    .th-countdown { min-width: 0; }
    .th-overview-grid { grid-template-columns: repeat(2, 1fr); }
    .th-live-grid { grid-template-columns: 1fr; }
    .th-split { grid-template-columns: 1fr; }
    .th-bracket-preview { grid-template-columns: 1fr; }
    .th-schedule-split { grid-template-columns: 1fr; }
    .th-sponsor-banners { gap: 0.65rem; }
     .th-sponsor-banner { flex: 1 1 calc(50% - 0.5rem); max-width: none; }
    .th-sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .th-nav,
    .th-header-actions {
        display: none;
    }

    .th-menu-toggle {
        display: flex;
    }

    .th-header-inner {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0;
    }

    .th-header-inner .th-brand {
        flex: 1;
        min-width: 0;
    }

    .th-header-inner.is-open .th-nav,
    .th-header-inner.is-open .th-header-actions {
        display: flex;
        position: static;
        width: 100%;
        flex: 0 0 100%;
        box-sizing: border-box;
        background: rgba(3, 7, 18, 0.98);
    }

    .th-header-inner.is-open .th-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
        order: 10;
        margin: 0;
        padding: 0.75rem 0 0.5rem;
        border-top: 1px solid var(--th-border);
        overflow: visible;
    }

    .th-header-inner.is-open .th-nav a {
        display: block;
        padding: 0.8rem 0.65rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .th-header-inner.is-open .th-header-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem 0.65rem;
        order: 11;
        padding: 0.65rem 0 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .th-header-inner.is-open .th-header-actions .wa-global-search {
        width: auto;
        flex: 0 0 auto;
    }

    .th-header-inner.is-open .th-header-actions .wa-user-menu,
    .th-header-inner.is-open .th-header-actions .wa-notification-root {
        flex: 0 0 auto;
    }

    .th-header-inner.is-open .th-header-actions .th-btn--live {
        flex: 1 1 100%;
        width: 100%;
        margin-top: 0.35rem;
        min-height: 44px;
    }

    .th-overview-grid { grid-template-columns: 1fr; }
    .th-sponsor-banners {
        display: block;
        min-height: 8.25rem;
    }
    .th-sponsor-banner {
        display: none;
        max-width: none;
    }
    .th-sponsor-banner.is-active {
        display: block;
    }
    .th-sponsor-banner__body {
        min-height: 8.25rem;
    }
    .th-sponsor-grid { grid-template-columns: 1fr; }
    .th-schedule-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

.th-standings-wrap {
    overflow-x: auto;
    padding: 0;
}

.th-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.th-standings th,
.th-standings td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.th-standings th {
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.th-standings tbody tr:hover {
    background: rgba(249, 115, 22, 0.06);
}

.wa-screenshot-notice {
    padding: 0.9rem 1rem;
    border-radius: var(--th-radius-sm);
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
}

.wa-screenshot-notice strong {
    display: block;
    color: #bae6fd;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.wa-screenshot-notice p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.55;
}

.th-section--notice {
    margin-top: -0.5rem;
}

.th-register-card .wa-screenshot-notice {
    margin-bottom: 1rem;
}

/* โ€”โ€”โ€” WA2026 rules & schedule โ€”โ€”โ€” */
.th-wa2026-lead {
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(8, 17, 31, 0.75);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.th-wa2026-lead p {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.th-wa2026-lead p:first-child { margin-top: 0; }

.th-wa2026-block {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.th-wa2026-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.th-wa2026-heading {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #f8fafc;
}

.th-wa2026-sub {
    margin: 1.1rem 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f97316;
}

.th-wa2026-meta {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #94a3b8;
}

.th-wa2026-note {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #64748b;
    font-style: italic;
}

.th-wa2026-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.th-wa2026-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.th-wa2026-table th,
.th-wa2026-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}

.th-wa2026-table th {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    background: rgba(8, 17, 31, 0.8);
}

.th-wa2026-table tbody tr:last-child td {
    border-bottom: none;
}

.th-wa2026-table a {
    color: #f97316;
    font-weight: 700;
}

.th-wa2026-rules {
    margin: 0;
    padding-left: 1.15rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.65;
}

.th-wa2026-rules li {
    margin-bottom: 0.35rem;
}

.th-wa2026-final-prize {
    margin-bottom: 2rem;
}

.th-wa2026-prize-hero {
    text-align: center;
    padding: 1.75rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(250, 204, 21, 0.12), transparent),
        rgba(15, 23, 42, 0.85);
}

.th-wa2026-prize-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fbbf24;
}

.th-wa2026-prize-title {
    margin: 0.5rem 0 0.75rem;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    color: #fff;
}

.th-wa2026-prize-lead {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.th-wa2026-prize-total {
    margin: 0.35rem 0 0;
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 900;
    color: #fde047;
    line-height: 1.1;
}

.th-wa2026-prize-total span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fcd34d;
}

.th-wa2026-benefit {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.th-wa2026-benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.th-wa2026-prize-cash-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.th-wa2026-table-total td {
    background: rgba(250, 204, 21, 0.08);
    color: #fde047;
}

.th-athlete-profile-reminder {
    max-width: var(--th-container);
    margin: calc(var(--header-h, 72px) + 1rem) auto 0;
    padding: 1rem 1.25rem;
    border-radius: var(--th-radius-sm);
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(15, 23, 42, 0.9));
    color: var(--th-text);
}

.th-athlete-profile-reminder strong {
    display: block;
    color: #fde047;
    margin-bottom: 0.35rem;
}

.th-athlete-profile-reminder p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}



