/* Pickleball Pharma League — concept mock-up */
:root {
  --bg: #0a1020;
  --bg-2: #111a2e;
  --surface: #182238;
  --surface-2: #222d47;
  --line: rgba(120, 150, 210, 0.22);
  --text: #f3f7ff;
  --muted: #9aa6c2;
  --teal: #01b0b0;
  --blue: #3571cb;
  --volt: #d4f03c;
  --grad: linear-gradient(94deg, #3571cb 0%, #01b0b0 100%);
  --radius: 18px;
  --glow: 0 0 44px rgba(1, 176, 176, 0.28), 0 16px 40px rgba(0, 0, 0, 0.45);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.display { font-family: Oswald, Impact, "Arial Narrow", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.muted { color: var(--muted); }
.volt { color: var(--volt); }

/* Demo banner */
.demo-bar a { color: #0a1020; text-decoration: underline; }
.empty-cell { padding: 28px 16px !important; color: var(--muted); white-space: normal !important; }
.empty-cell a, .empty-card a { color: var(--teal); text-decoration: underline; }
.empty-card { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; }
.empty-card h3 { font-size: 22px; margin-bottom: 6px; }
.result.fresh { border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt), 0 0 30px rgba(212, 240, 60, 0.25); animation: freshIn 0.6s ease; }
@keyframes freshIn { from { transform: translateY(-8px); opacity: 0; } }
tr.bump td { animation: bump 1.6s ease; }
@keyframes bump { 0%, 60% { background: rgba(212, 240, 60, 0.18); } 100% { background: transparent; } }
.demo-bar {
  background: var(--volt); color: #0a1020; text-align: center;
  font-size: 13px; font-weight: 700; padding: 7px 16px; letter-spacing: 0.04em;
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 16, 32, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Oswald, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--volt); position: relative; flex: none; box-shadow: 0 0 18px rgba(212, 240, 60, 0.45); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #0a1020; opacity: 0.55; }
.brand-mark::before { top: 9px; left: 11px; box-shadow: 9px 4px 0 #0a1020, 2px 11px 0 #0a1020; }
.brand-mark::after { top: 19px; left: 21px; }
.brand small { color: var(--teal); }
.nav-links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; color: var(--muted); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); padding-bottom: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 12px 22px; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-volt { background: var(--volt); color: #0a1020; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.08); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; background: radial-gradient(circle at 78% 30%, #23406b 0%, rgba(10, 16, 32, 0) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: Oswald, sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(44px, 7vw, 86px); line-height: 0.98; letter-spacing: 0.01em; margin: 14px 0 22px; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: #c9d2e8; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.countdown { display: flex; gap: 12px; margin-top: 36px; }
.countdown div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-width: 82px; text-align: center; }
.countdown b { display: block; font-family: Oswald, sans-serif; font-size: 34px; line-height: 1; }
.countdown span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* Court graphic */
.court { position: relative; aspect-ratio: 20 / 44; max-height: 520px; margin: 0 auto; width: 100%; max-width: 270px; border-radius: 14px; background: linear-gradient(180deg, #1f6fb8, #1a5e9e); border: 4px solid #e9f0ff; box-shadow: var(--glow); transform: perspective(900px) rotateX(18deg) rotateZ(-8deg); }
.court::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 5px solid #0a1020; box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.4); }
.court i { position: absolute; left: 0; right: 0; border-top: 3px solid #e9f0ff; }
.court i.k1 { top: 34%; } .court i.k2 { top: 66%; }
.court i.c1, .court i.c2 { left: 50%; right: auto; width: 0; border-top: 0; border-left: 3px solid #e9f0ff; }
.court i.c1 { top: 0; height: 34%; } .court i.c2 { top: 66%; height: 34%; }
.ball { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); top: 22%; left: 62%; box-shadow: 0 0 24px rgba(212, 240, 60, 0.7); animation: bounce 2.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-70px, 250px); } }
@media (prefers-reduced-motion: reduce) { .ball { animation: none; } }

/* Sections */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card .num { font-family: Oswald, sans-serif; font-size: 44px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.card.feature { background: linear-gradient(160deg, rgba(53, 113, 203, 0.35), rgba(1, 176, 176, 0.18)); border: 1px solid var(--teal); }

/* Season path */
.path { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.stop { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; position: relative; }
.stop .m { font-family: Oswald, sans-serif; font-size: 15px; letter-spacing: 0.12em; color: var(--teal); }
.stop .c { font-weight: 700; font-size: 17px; margin-top: 4px; }
.stop .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stop.open { border-color: var(--volt); }
.stop.open .m { color: var(--volt); }
.stop.final { background: var(--grad); border: 0; }
.stop.pre { border-style: dashed; border-color: rgba(212,240,60,.6); }
.stop.pre .m { color: var(--volt); }
.stop.final .m, .stop.final .s { color: #eaf6ff; }

/* Tables */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.standings { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.standings th { text-align: left; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(10, 16, 32, 0.4); white-space: nowrap; }
.standings td { padding: 14px 16px; border-bottom: 1px solid rgba(120, 150, 210, 0.1); white-space: nowrap; }
.standings tr:last-child td { border-bottom: 0; }
.standings tbody tr:hover { background: rgba(53, 113, 203, 0.12); }
.standings .r { text-align: right; font-variant-numeric: tabular-nums; }
.standings .rank { font-family: Oswald, sans-serif; font-size: 20px; width: 48px; }
.standings tr.top .rank { color: var(--volt); }
.team-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.team-cell a:hover { color: var(--teal); }
.badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: Oswald, sans-serif; font-size: 14px; color: #fff; flex: none; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: #c9d2e8; }
.pill.pharma { background: rgba(53, 113, 203, 0.3); }
.pill.agency { background: rgba(1, 176, 176, 0.25); }
.pill.publisher { background: rgba(212, 240, 60, 0.18); color: var(--volt); }
.form { display: inline-flex; gap: 4px; }
.form b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; }
.form b.W { background: rgba(1, 176, 176, 0.35); color: #bff5f5; }
.form b.L { background: rgba(229, 105, 91, 0.25); color: #ffc2bb; }
.pts { font-family: Oswald, sans-serif; font-size: 20px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.select { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; }
.filter-label { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-right: 6px; }

/* Ad slot */
.ad-slot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px dashed rgba(212, 240, 60, 0.6); border-radius: 14px; padding: 16px 22px; background: rgba(212, 240, 60, 0.05); margin-bottom: 24px; flex-wrap: wrap; }
.ad-slot b { color: var(--volt); letter-spacing: 0.14em; font-size: 13px; }

/* Results */
.results { display: grid; gap: 12px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: grid; gap: 6px; }
.result .line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result .t { font-weight: 700; }
.result .line.lose .t { color: var(--muted); font-weight: 600; }
.result .games { display: inline-flex; gap: 6px; }
.result .games b { font-family: Oswald, sans-serif; font-weight: 500; font-size: 18px; min-width: 28px; text-align: center; color: var(--muted); white-space: nowrap; }
.result .games { gap: 10px; flex: none; }
.result .games b.w { color: var(--text); font-weight: 700; }
.result .meta { font-size: 13px; color: var(--muted); display: flex; gap: 4px 10px; flex-wrap: wrap; margin-top: 4px; }
.result .meta .ok { color: var(--teal); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.two-col > * { min-width: 0; }

/* Pros */
.pros { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pro { display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pro .avatar { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; flex: none; box-shadow: var(--glow); }
.pro h3 { font-size: 22px; }

/* Sponsors */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot { border: 1px dashed rgba(154, 166, 194, 0.45); border-radius: 14px; min-height: 96px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 12px; }
.slot.presenting { border-color: var(--teal); color: var(--text); min-height: 120px; }
.slot.champion { grid-column: 1 / -1; min-height: 170px; border-style: solid; background: linear-gradient(160deg, rgba(53, 113, 203, 0.3), rgba(1, 176, 176, 0.15)); }
.sponsor-logo { height: 84px; width: auto; margin: 6px auto 0; }
.slot b { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }

/* Notify form */
.notify { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(140deg, #1d3a66 0%, #0f5b66 100%); border-radius: 26px; padding: 44px; box-shadow: var(--glow); }
.notify h2 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 8px 0 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: #d6e2f7; }
.field textarea { background: rgba(10, 16, 32, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.field input, .field select { background: rgba(10, 16, 32, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; }
.field input:focus, .field select:focus, .btn:focus-visible, .seg button:focus-visible, .select:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.thanks { display: none; text-align: center; padding: 20px; }
.thanks h3 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 30px; margin-bottom: 8px; }
.notify.done form { display: none; }
.notify.done .thanks { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { color: #ffb3a9; font-size: 14px; }
.form-err:empty { display: none; }

/* Score entry modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(5, 8, 18, 0.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--teal); border-radius: 22px; padding: 30px; box-shadow: 0 0 60px rgba(1, 176, 176, 0.25); }
.sheet h2 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 28px; margin: 4px 0 16px; }
.sheet .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.sheet .field select, .sheet .field input { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; }
.games-entry { display: grid; gap: 10px; margin-top: 18px; }
.game-row { display: grid; grid-template-columns: 1fr 70px 16px 70px; gap: 10px; align-items: center; font-weight: 700; }
.game-row input { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 12px; font-family: Oswald, sans-serif; font-size: 22px; text-align: center; width: 100%; }
.game-row b { text-align: center; color: var(--muted); }
.pending { text-align: center; padding: 28px 0 10px; }
.pending h3 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 24px; margin-top: 16px; }
.spinner { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--surface-2); border-top-color: var(--volt); animation: spin 0.8s linear infinite; }
.pending.ok .spinner { animation: none; border-color: var(--teal); background: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Page header */
.page-head { padding: 64px 0 32px; background: radial-gradient(circle at 85% 0%, #23406b 0%, rgba(10, 16, 32, 0) 55%); }
.page-head h1 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(40px, 6vw, 68px); line-height: 1; margin: 10px 0 12px; }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; }
.stat b { font-family: Oswald, sans-serif; font-size: 28px; display: block; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--teal); }
.foot .tm { flex-basis: 100%; font-size: 13px; }

/* Official League seal */
.seal { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(212, 240, 60, 0.55); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--volt); background: rgba(212, 240, 60, 0.06); }
.seal .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: #0a1020; display: grid; place-items: center; font-size: 13px; letter-spacing: 0; }
.brand .tag { display: block; font-family: Inter, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.3em; color: var(--volt); line-height: 1; margin-top: 5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.official-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.official-band .wrap { display: flex; gap: 14px 40px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.official-band b { color: var(--text); }

/* Teams directory */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: border-color 0.15s, transform 0.15s; }
.team-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.team-card-top { display: flex; gap: 14px; align-items: center; }
.team-card h3 { font-size: 18px; line-height: 1.25; }
.team-card p { font-size: 14px; }
.team-card-stats { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.team-card-stats b { color: var(--text); font-size: 15px; }
.team-card.join { border-style: dashed; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 150px; }
.team-card.join .plus { width: 40px; height: 40px; border-radius: 50%; background: var(--volt); color: #0a1020; display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.badge.lg { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; }
.badge.xl { width: 96px; height: 96px; border-radius: 26px; font-size: 36px; box-shadow: var(--glow); }
.search { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 14px; min-width: 220px; }

/* Team detail */
.team-head { display: flex; gap: 24px; align-items: center; }
.team-head h1 { margin: 6px 0 4px; }
.roster { list-style: none; display: grid; gap: 8px; }
.roster li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.roster .pill { margin-left: auto; background: rgba(212, 240, 60, 0.15); color: var(--volt); }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #c9d2e8; }
.result .t a:hover { color: var(--teal); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.side-card h3 { font-size: 20px; }
.side-card h3 a { color: var(--teal); }
.back { font-size: 14px; color: var(--muted); }
.back:hover { color: var(--text); }

/* Registration */
.reg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.reg-wrap > * { min-width: 0; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; counter-reset: s; }
.progress li { counter-increment: s; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--surface-2); }
.progress li::before { content: counter(s) " · "; }
.progress li.on { color: var(--text); border-top-color: var(--teal); }
.progress li.done { color: var(--teal); border-top-color: var(--teal); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.panel h2 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 30px; margin-bottom: 4px; outline: none; }
.panel .sub { color: var(--muted); margin-bottom: 24px; }
.panel .form-grid { gap: 16px; }
.panel .field input, .panel .field select { background: var(--bg); border-color: var(--line); }
.field input[aria-invalid], .field select[aria-invalid] { border-color: #e5695b; }
.err { color: #ff9c90; font-size: 13px; margin-top: 4px; }
.choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-group.two { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 700; cursor: pointer; height: 100%; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choice input:checked + span { border-color: var(--teal); background: rgba(1, 176, 176, 0.12); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 2px; }
.group-label { font-size: 13px; font-weight: 600; color: #d6e2f7; margin-bottom: 8px; display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #c9d2e8; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.check a { color: var(--teal); text-decoration: underline; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.player { display: grid; grid-template-columns: 32px 1fr 1fr 40px; gap: 12px; align-items: end; margin-bottom: 12px; }
.pnum { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.icon-btn { width: 40px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.icon-btn:hover { color: #ff9c90; border-color: #e5695b; }
.captain-row { display: flex; align-items: center; gap: 12px; background: rgba(212, 240, 60, 0.07); border: 1px solid rgba(212, 240, 60, 0.3); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.meter { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 18px 0 8px; }
.meter i { display: block; height: 100%; background: var(--grad); transition: width 0.2s; }
.ok { color: var(--teal); }
.sum-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.link { background: none; border: 0; color: var(--teal); font: inherit; font-size: 14px; cursor: pointer; }
.fee { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; }
.fee b { font-family: Oswald, sans-serif; font-size: 32px; }
.checkout-note { display: flex; gap: 12px; align-items: center; background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: 16px; color: var(--muted); font-size: 14px; margin-top: 14px; }
.aside-card { background: linear-gradient(160deg, rgba(53, 113, 203, 0.3), rgba(1, 176, 176, 0.15)); border: 1px solid var(--teal); border-radius: 22px; padding: 26px; display: grid; gap: 14px; position: sticky; top: 92px; }
.aside-card ul { list-style: none; display: grid; gap: 10px; font-size: 15px; color: #d6e2f7; }
.aside-card li::before { content: "✓"; color: var(--volt); font-weight: 800; margin-right: 10px; }
.spots { display: flex; justify-content: space-between; font-size: 14px; }
.done-panel { text-align: center; max-width: 720px; margin: 0 auto; padding: 48px 32px; }
.done-panel h1 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(36px, 5vw, 56px); line-height: 1; margin: 12px 0; outline: none; }
.join-link { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 22px 0; font-family: ui-monospace, Menlo, monospace; font-size: 15px; word-break: break-all; }
.next-steps { text-align: left; display: grid; gap: 10px; margin: 24px 0; }
.next-steps div { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.next-steps b { font-family: Oswald, sans-serif; color: var(--teal); }
[hidden] { display: none !important; }

@media (max-width: 960px) {
  .reg-wrap { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 560px) {
  .choice-group, .choice-group.two { grid-template-columns: 1fr; }
  .player { grid-template-columns: 1fr 40px; }
  .player .pnum { display: none; }
  .player .field { grid-column: 1; }
  .player .icon-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .panel { padding: 22px; }
  .progress li { font-size: 11px; }
  .team-head { flex-direction: column; align-items: flex-start; }
  .sum-row { grid-template-columns: 1fr auto; }
  .sum-row span:first-child { grid-column: 1 / -1; }
  .search { min-width: 0; width: 100%; }
}

/* About: people */
.people { display: grid; gap: 18px; }
.people.two { grid-template-columns: repeat(2, 1fr); }
.people.four { grid-template-columns: repeat(4, 1fr); }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.person .ph { width: 100%; aspect-ratio: 1; max-height: 240px; border-radius: 14px; object-fit: cover; margin-bottom: 14px; box-shadow: var(--glow); }
.person .ph.initials { display: grid; place-items: center; background: linear-gradient(160deg, #25406b, #0f5b66); font-family: Oswald, sans-serif; font-size: 52px; color: #eaf6ff; box-shadow: none; }
.person h3 { font-size: 20px; }
.person .role { color: var(--teal); font-weight: 700; font-size: 15px; }
.person p.muted { font-size: 15px; }
.person.lead { flex-direction: row; gap: 24px; align-items: center; padding: 26px; }
.person.lead .ph { width: 150px; flex: none; margin: 0; }
.person.lead .ph.initials { font-size: 44px; }
.person.lead .role { margin-bottom: 8px; }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
a.stop { display: block; transition: transform 0.15s, border-color 0.15s; }
a.stop:hover { transform: translateY(-2px); border-color: var(--teal); }
.event-card { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.event-card .c { font-size: 22px; }
.event-card p { font-size: 14px; margin-top: 8px; flex: 1; }
.event-card.final p { color: #eaf6ff; }
.event-card .more { font-size: 13px; font-weight: 700; color: var(--teal); margin-top: 10px; }
.event-card.final .more { color: #fff; }
.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.package { display: flex; flex-direction: column; gap: 6px; }
.package h3 { font-size: 22px; }
.package .price { font-family: Oswald, sans-serif; font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.package .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 8px 0 18px; font-size: 14.5px; color: #c9d2e8; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--volt); font-weight: 800; }
.champion-note { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 14px; }
.champion-note img { height: 38px; width: auto; }

/* Courts */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.venue { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.venue-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.venue h3 { font-size: 19px; }
.venue p { font-size: 14px; }
.venue-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.venue-meta b { color: var(--text); }
.ok-pill { background: rgba(1, 176, 176, 0.18) !important; color: #bff5f5 !important; white-space: nowrap; }
.venue-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.venue-actions .btn { padding: 10px 16px; font-size: 14px; }
.sch-done { text-align: center; padding: 10px 0; }
.sch-done h3 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 26px; color: var(--volt); }
.sch-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 6px; }
.note a { color: var(--teal); text-decoration: underline; }

.invite-box { border: 1px solid var(--teal); background: linear-gradient(160deg, rgba(53,113,203,.22), rgba(1,176,176,.12)); border-radius: 18px; padding: 26px; margin: 26px 0 8px; }
.invite-box .join-link { margin: 18px 0; }

.row-inline { display: flex; gap: 10px; }
.code-input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 14px 16px; font: 700 18px ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.team-banner { display: flex; gap: 16px; align-items: center; background: rgba(1,176,176,.1); border: 1px solid rgba(1,176,176,.5); border-radius: 16px; padding: 16px 18px; margin-bottom: 24px; }
.team-banner h3 { font-size: 22px; margin: 2px 0; }
.team-banner p.muted { font-size: 14px; }
@media (max-width: 560px) { .row-inline { flex-direction: column; } }

/* Sponsor exposure */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exposure-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.exposure-head h2 { font-size: clamp(44px, 6vw, 76px); line-height: 1; margin: 10px 0 16px; }
.exposure-head p.muted { font-size: 18px; }
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tp { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tp:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 0 40px rgba(1,176,176,.2); }
.tp-copy { padding: 18px 22px 22px; }
.tp-copy h3 { font-size: 21px; margin: 4px 0 6px; }
.tp-copy p.muted { font-size: 14.5px; }
.mock { height: 220px; position: relative; overflow: hidden; background: radial-gradient(400px 220px at 50% 0%, #22406f 0%, #111a2e 70%); display: grid; place-items: center; padding: 18px; }
.logo-slot { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed var(--volt); color: var(--volt); background: rgba(212,240,60,.08); border-radius: 6px; padding: 1px 7px; font: 800 10px Inter, sans-serif; letter-spacing: .14em; white-space: nowrap; vertical-align: middle; }
.mock .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--volt); flex: none; box-shadow: 0 0 12px rgba(212,240,60,.5); }
/* email */
.mock-email { place-items: stretch; align-content: start; }
.mock-email > * { background: #f3f7ff; color: #14213d; }
.mock-email { --paper: #f3f7ff; }
.mock-email .me-top, .mock-email .me-subj, .mock-email i, .mock-email .me-foot { margin: 0; }
.mock-email::before { content: ""; position: absolute; inset: 18px 22px; background: #f3f7ff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: rotate(-2deg); }
.mock-email > * { position: relative; background: none; margin-left: 12px !important; margin-right: 12px !important; transform: rotate(-2deg); }
.me-top { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.2; padding-top: 14px; }
.me-top small { color: #5b6477; }
.me-subj { font-weight: 800; font-size: 14px; margin-top: 12px !important; }
.mock-email i { display: block; height: 7px; border-radius: 4px; background: #d6dff0 !important; margin-top: 8px !important; width: 90%; }
.me-foot { font-size: 11px; font-weight: 700; margin-top: 12px !important; color: #2a5fb0; }
.mock-email .logo-slot { color: #2a5fb0; border-color: #2a5fb0; background: rgba(53,113,203,.08); }
/* social */
.mock-social { place-items: center; }
.mock-social > * { width: 200px; }
.ms-head { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 8px; }
.ms-head .dot { width: 20px; height: 20px; }
.ms-img { position: relative; height: 130px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1f6fb8, #0f5b66); }
.ms-court { position: absolute; inset: 18px 30px; border: 2px solid rgba(255,255,255,.8); transform: perspective(300px) rotateX(35deg); }
.ms-court i { position: absolute; left: 0; right: 0; top: 50%; border-top: 3px solid #0a1020; }
.ms-ball { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--volt); top: 26px; right: 54px; box-shadow: 0 0 12px rgba(212,240,60,.8); }
.ms-band { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(10,16,32,.85); font-size: 10px; font-weight: 700; padding: 6px 8px; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.ms-icons { font-size: 13px; color: #c9d2e8; margin-top: 8px; }
/* web */
.mock-web { place-items: stretch; align-content: start; }
.mock-web::before { content: ""; position: absolute; inset: 18px; border-radius: 12px; background: #0a1020; border: 1px solid var(--line); }
.mock-web > * { position: relative; margin: 0 12px; }
.mw-bar { display: flex; gap: 5px; align-items: center; padding: 12px 0 8px; }
.mw-bar span { width: 8px; height: 8px; border-radius: 50%; background: #3a4766; }
.mw-bar em { font-style: normal; font-size: 10px; color: var(--muted); background: #182238; border-radius: 10px; padding: 2px 10px; margin-left: 6px; flex: 1; }
.mw-banner { border: 1.5px dashed var(--volt); background: rgba(212,240,60,.07); border-radius: 8px; padding: 10px; font-size: 11px; font-weight: 700; display: flex; gap: 6px; align-items: center; justify-content: center; }
.mock-web i { display: block; height: 14px; border-radius: 4px; background: #182238; margin-top: 7px !important; }
/* video */
.mv-phone { width: 150px; height: 196px; border-radius: 20px; border: 4px solid #e9f0ff; background-size: cover; background-position: 78% 20%; position: relative; box-shadow: 0 0 30px rgba(1,176,176,.35); overflow: hidden; }
.mv-play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(10,16,32,.7); display: grid; place-items: center; font-size: 15px; padding-left: 3px; }
.mv-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 8px 8px; font-size: 10px; line-height: 1.35; background: linear-gradient(0deg, rgba(10,16,32,.95), transparent); }
.mv-cap .logo-slot { font-size: 8px; margin-top: 3px; }
/* signage */
.mock-court { place-items: center; align-content: center; gap: 0; }
.mc-fence { display: flex; gap: 6px; background: #0f1830; padding: 8px 10px; border-radius: 8px 8px 0 0; width: 230px; justify-content: center; }
.mc-court { position: relative; width: 230px; height: 120px; background: linear-gradient(180deg, #1f6fb8, #1a5e9e); border: 3px solid #e9f0ff; transform: perspective(380px) rotateX(38deg); transform-origin: top; }
.mc-net { position: absolute; left: -6px; right: -6px; top: 46%; height: 22px; background: repeating-linear-gradient(90deg, #0a1020 0 3px, #26324f 3px 6px); display: grid; place-items: center; border-top: 3px solid #f3f7ff; }
.mc-net .logo-slot { background: #0a1020; }
.mc-court i { position: absolute; left: 50%; width: 0; border-left: 2px solid #e9f0ff; height: 30%; }
.mc-court i.k1 { top: 0; } .mc-court i.k2 { bottom: 0; }
/* paddles */
.mock-paddle { place-items: center; }
.mp-paddle { position: absolute; width: 96px; height: 130px; border-radius: 48px 48px 40px 40px; background: linear-gradient(160deg, #1b2440, #0a1020); border: 2px solid #3a4766; display: grid; place-items: center; transform: rotate(-16deg) translate(-36px, -6px); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.mp-paddle::after { content: ""; position: absolute; bottom: -54px; left: 50%; width: 22px; height: 56px; margin-left: -11px; background: #e9f0ff; border-radius: 6px; }
.mp-paddle.two { background: var(--grad); border-color: transparent; transform: rotate(14deg) translate(40px, 4px); }
.mp-paddle.two .logo-slot { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
/* matrix + custom */
.tp-count { font-size: 13px; font-weight: 700; color: var(--teal); margin: -6px 0 14px; }
.matrix-wrap { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.matrix th { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); padding: 14px; border-bottom: 1px solid var(--line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; padding-left: 20px; }
.matrix td { padding: 12px 14px; border-bottom: 1px solid rgba(120,150,210,.1); text-align: center; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix td.yes { color: var(--volt); font-weight: 800; font-size: 18px; }
.matrix td.no { color: #4b5776; }
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 36px; padding: 36px; border-radius: 24px; border: 1.5px dashed rgba(212,240,60,.55); background: radial-gradient(600px 300px at 0% 0%, rgba(212,240,60,.08), transparent 70%), var(--surface); }
.custom h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 8px 0 12px; }
.custom .btn { margin-top: 18px; }
.ticks.big { font-size: 17px; gap: 12px; margin: 0; }
@media (max-width: 1040px) { .tp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .tp-grid, .custom { grid-template-columns: 1fr; } .custom { padding: 24px; } }

.reel-block { padding-bottom: 40px; }
.reel-frame { max-width: 1040px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(1,176,176,.5), 0 0 60px rgba(1,176,176,.25), 0 24px 60px rgba(0,0,0,.5); background: #000; }
.reel-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

.nav-account { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav-account:hover { color: var(--teal); }
.acct-team { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-bottom: 22px; }
.acct-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.acct-head h2 { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 38px; line-height: 1; margin: 6px 0; }
.acct-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.acct-team .side-card { background: var(--bg); }
.status { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(212,240,60,.12); color: var(--volt); border: 1px solid rgba(212,240,60,.4); white-space: nowrap; }
.status.confirmed { background: rgba(1,176,176,.15); color: #bff5f5; border-color: rgba(1,176,176,.5); }
.terms { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.terms.ok { color: var(--teal); }
.roster .pill + .terms { margin-left: 8px; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } .acct-head { flex-direction: column; } }

.invite-form { margin-top: 18px; text-align: left; }
.invite-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.invite-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.invite-msg { font-size: 14px; margin-top: 10px; min-height: 20px; }
.invite-msg.ok { color: var(--teal); }
.invite-msg.bad { color: #ffb3a9; }

/* Events page hero with the next event */
.events-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.events-head { padding-bottom: 48px; }
@media (max-width: 860px) { .events-hero { grid-template-columns: 1fr; } }

/* Hero: next event */
.next-event { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(1,176,176,.55);
  background: linear-gradient(160deg, rgba(31,111,184,.55), rgba(15,91,102,.45)), var(--surface); box-shadow: var(--glow); min-height: 420px; display: flex; }
.ne-court { position: absolute; inset: 0; opacity: .32; pointer-events: none; }
.ne-court::before { content: ""; position: absolute; right: -40px; top: 40px; width: 260px; height: 480px; border: 4px solid #e9f0ff; border-radius: 10px; transform: rotate(-12deg); }
.ne-court i { position: absolute; right: -60px; top: 270px; width: 320px; border-top: 5px solid #e9f0ff; transform: rotate(-12deg); }
.ne-court .ball { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); top: 90px; right: 110px; box-shadow: 0 0 24px rgba(212,240,60,.8); animation: none; }
.ne-body { position: relative; padding: 34px; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ne-kicker { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #0a1020; background: var(--volt); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.ne-city { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.ne-date { font-size: 20px; font-weight: 700; color: #eaf6ff; margin-top: 6px; }
.ne-kind { font-size: 15px; color: #c9d6ee; }
.ne-days { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.ne-days b { font-family: Oswald, sans-serif; font-size: 72px; line-height: .9; color: var(--volt); }
.ne-days span { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #eaf6ff; }
.ne-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }

/* Responsive */
@media (max-width: 1040px) {
  .path { grid-template-columns: repeat(4, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .people.four { grid-template-columns: repeat(2, 1fr); }
  .people.two { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); padding: 16px 24px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .menu-btn { display: inline-block; margin-left: 0; }
  .nav-account { margin-left: auto; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); padding: 16px 24px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .menu-btn { display: inline-block; margin-left: 4px; }
  .nav .btn { display: none; }
  .hero-grid, .notify { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .court { max-width: 190px; }
  .cards, .pros { grid-template-columns: 1fr; }
  .notify[style] { grid-template-columns: 1fr !important; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-grid .presenting { grid-column: 1 / -1; }
  .notify { padding: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .package-grid { grid-template-columns: 1fr; }
  .person.lead { flex-direction: column; align-items: flex-start; }
  .person.lead .ph { width: 100%; }
  .path { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 6px; }
  .countdown b { font-size: 26px; }
  .brand { font-size: 17px; }
  section.block { padding: 56px 0; }
}
