/* Ace Padel — base, shell, shared components, landing page */
:root {
  --blue: #1739B8;
  --blue-600: #2048DB;
  --blue-700: #112C93;
  --navy: #0A1640;
  --ink: #0B1330;
  --ball: #D9F23F;
  --ball-600: #C3DC22;
  --sun: #FF7A3D;
  --paper: #F3F5FA;
  --card: #FFFFFF;
  --line: #E1E6F0;
  --line-2: #CBD3E4;
  --muted: #566080;
  --soft: #E8EEFF;
  --ok: #0E9F5B;
  --ok-soft: #E3F6EC;
  --bad: #D93A45;
  --bad-soft: #FDECEE;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(10, 22, 64, .05), 0 6px 20px rgba(10, 22, 64, .06);
  --shadow-2: 0 18px 50px rgba(8, 18, 60, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-d: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 68px;
  --tab-h: 62px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --max: 1240px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-overlay { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 6px; }
.section-blue :focus-visible, .hero :focus-visible, .footer :focus-visible, .adm-side :focus-visible { outline-color: var(--ball); }
::selection { background: var(--ball); color: var(--navy); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ball { width: 1em; height: 1em; flex: none; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.display {
  font-family: var(--font-d); font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125;
  text-transform: uppercase; letter-spacing: -.025em; line-height: .92; font-size: clamp(34px, 5.2vw, 72px); text-wrap: balance;
}
.display-xl { font-size: clamp(46px, 8.4vw, 124px); line-height: .88; }
.display-sm { font-size: clamp(24px, 3vw, 34px); line-height: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow-light { color: var(--ball); }
.eyebrow .ico { width: 16px; height: 16px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.logo-ball { width: 32px; height: 32px; transition: transform .6s var(--spring); }
.brand:hover .logo-ball { transform: rotate(180deg) scale(1.08); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--font-d); font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 22px; letter-spacing: -.02em; }
.logo-word i { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .42em; margin-top: 2px; opacity: .8; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn::after {
  content: ''; position: absolute; left: var(--px, 50%); top: var(--py, 50%); width: 0; height: 0; border-radius: 50%;
  background: currentColor; opacity: 0; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
}
.btn:active::after { width: 260px; height: 260px; opacity: .14; transition: width .35s var(--ease), height .35s var(--ease), opacity .35s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn-sm .ico { width: 15px; height: 15px; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn-xl { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-blue { --bg: var(--blue); --fg: #fff; box-shadow: 0 8px 20px rgba(23, 57, 184, .28); }
.btn-blue:hover { --bg: var(--blue-600); box-shadow: 0 12px 26px rgba(23, 57, 184, .36); }
.btn-ball { --bg: var(--ball); --fg: var(--navy); box-shadow: 0 8px 22px rgba(160, 190, 20, .35); }
.btn-ball:hover { --bg: #E4F85A; box-shadow: 0 12px 30px rgba(160, 190, 20, .5); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-ghost { --bg: #fff; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); --fg: var(--blue); }
.btn-outline-navy { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .2); }
.btn-danger { --bg: var(--bad); --fg: #fff; }
.btn-link { --bg: transparent; --fg: var(--muted); min-height: 40px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { --fg: var(--blue); transform: none; }
.btn-quiet-danger { --fg: var(--bad); }
.btn-quiet-danger:hover { --fg: var(--bad); box-shadow: inset 0 0 0 1.5px var(--bad); }
.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::before {
  content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--fg);
  border-right-color: transparent; animation: spin .7s linear infinite;
}
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit;
  transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(127, 140, 180, .16); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ico { width: 22px; height: 22px; }
.badge {
  position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sun);
  color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; animation: pop .4s var(--spring);
}

/* ---------- small parts ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--blue-700); white-space: nowrap; }
.tag-ok { background: var(--ok-soft); color: #08663A; }
.tag-off { background: #EDEFF5; color: #5E6784; }
.tag-done { background: var(--soft); color: var(--blue-700); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 1.8s var(--ease) infinite; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-d); font-weight: 800; flex: none; }
.avatar-sm { width: 38px; height: 38px; font-size: 14px; box-shadow: 0 0 0 2px #fff; }
.avatar-lg { width: 76px; height: 76px; font-size: 28px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 16px; background: #E6EAF4; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .25s var(--ease), color .2s, box-shadow .25s, transform .2s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button:active { transform: scale(.96); }
.seg button.on { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(10, 22, 64, .12); }
.seg-2, .seg-4, .seg-len { display: grid; width: 100%; }
.seg-2 { grid-template-columns: 1fr 1fr; }
.seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg-4 button { padding: 0 6px; font-size: 13px; }
.seg-len { grid-template-columns: repeat(var(--n, 3), 1fr); }
.seg-len button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; }
.seg-len b { font-size: 15px; }
.seg-len i { font-style: normal; font-size: 12px; font-weight: 600; opacity: .8; }
.seg-day { width: auto; min-width: 230px; }
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-1); }
.panel + .panel, .panel + .btn, .profile + .panel, .gate + .panel { margin-top: 16px; }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.panel-title .ico { color: var(--blue); }
.panel-sub { color: var(--muted); font-size: 14px; margin: -8px 0 16px; }
.panel-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-row-gap { margin-top: 22px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.label-side { font-size: 13px; color: var(--muted); text-align: right; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: #FFF4E5; color: #7A4200; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.notice .ico { margin-top: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-free { background: var(--ok); }
.dot-taken { background: #C9D0E0; }
.dot-mine { background: var(--ball-600); }
.dot-tight { border: 1.5px dashed #9AA4BF; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.form-2 > .form-error, .form-2 > .btn { grid-column: 1 / -1; justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 700; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-error { font-size: 13px; font-weight: 600; color: var(--bad); }
.field-error:empty, .form-error:empty { display: none; }
.form-error { padding: 10px 14px; border-radius: 12px; background: var(--bad-soft); color: #A1202A; font-size: 14px; font-weight: 600; }
.input {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #8791AD; }
.input:hover { border-color: #9AA6C4; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 72, 219, .16); }
.input.is-invalid { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(217, 58, 69, .12); }
select.input { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566080' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.input-sm { min-height: 42px; border-radius: 12px; font-size: 14px; }
.input-icon { position: relative; display: block; }
.input-icon > .ico, .input-icon > em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-style: normal; font-weight: 700; pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }

/* ---------- empty / skeleton ---------- */
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: clamp(32px, 6vw, 64px) 24px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.empty > .ico { width: 36px; height: 36px; color: var(--blue); }
.empty > .ball { width: 54px; height: 54px; }
.empty h2 { font-size: 20px; }
.empty p { color: var(--muted); max-width: 44ch; }
.empty-sm { padding: 28px 20px; box-shadow: none; background: transparent; }
.empty-inline { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 18px; margin-top: 16px; padding: 22px 24px; }
.empty-inline h2 { font-size: 17px; }
.sk { border-radius: 14px; background: linear-gradient(100deg, #E6EAF4 30%, #F3F5FA 50%, #E6EAF4 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.sk-line { height: 16px; }
.sk-line.w40 { width: 40%; }
.sk-block { height: 74px; margin-top: 14px; }
.sk-btn { height: 46px; margin-top: 14px; border-radius: 999px; }
.sk-row { height: 76px; margin-bottom: 12px; }
.sk-grid { height: 190px; margin-top: 16px; }
.sk-card { height: 112px; margin-bottom: 12px; border-radius: 20px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- boot ---------- */
.boot { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; background: var(--blue); }
.boot-ball { width: 46px; height: 46px; animation: bootBounce .62s cubic-bezier(.5, 0, .9, .6) infinite alternate; }
.boot-shadow { width: 40px; height: 8px; margin-top: 46px; border-radius: 50%; background: rgba(4, 12, 48, .4); animation: bootShadow .62s cubic-bezier(.5, 0, .9, .6) infinite alternate; }
.boot-card { display: grid; gap: 14px; justify-items: center; text-align: center; background: #fff; padding: 36px 28px; border-radius: var(--r-lg); margin: 20px; max-width: 420px; }
.boot-card h1 { font-size: 20px; }
.boot-card p { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  --nav-fg: var(--ink);
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: var(--nav-fg);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line); transition: background-color .35s, box-shadow .35s, color .35s;
}
body.is-home .nav:not(.scrolled) { --nav-fg: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-admin .nav, body.is-admin .tabbar { display: none; }
.nav-in { height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav .logo-word b { color: var(--nav-fg); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { position: relative; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: .82; transition: opacity .2s, background-color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.on { opacity: 1; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; transition: opacity .2s, background-color .2s; }
.nav-user:hover .nav-login { opacity: 1; background: rgba(127, 140, 180, .14); }
.nav-user { display: inline-flex; border-radius: 999px; transition: transform .25s var(--ease); }
.nav-user:hover .avatar { transform: scale(1.06); }
.nav-user .avatar { transition: transform .25s var(--spring); }

#main { min-height: 100vh; min-height: 100svh; opacity: 0; transform: translateY(10px); }
#main.view-in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
#main:focus { outline: none; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
}
.tabbar a { position: relative; display: grid; place-content: center; justify-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #6B7594; transition: color .2s; }
.tabbar .ico { width: 23px; height: 23px; transition: transform .35s var(--spring); }
.tabbar a.on { color: var(--blue); }
.tabbar a.on .ico { transform: translateY(-2px) scale(1.08); }
.tabbar a::before { content: ''; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--ease); }
.tabbar a.on::before { transform: translateX(-50%) scaleX(1); }
.tabbar a:active .ico { transform: scale(.88); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 16, 50, .56); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: fade .25s both; overflow-y: auto; }
.overlay.closing { animation: fade .22s reverse both; }
.dialog { width: min(480px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); animation: dialogIn .4s var(--spring) both; }
.overlay.closing .dialog { animation: dialogOut .2s var(--ease) both; }
.dialog:focus { outline: none; }
.dialog-sm { width: min(420px, 100%); }
.dialog-wide { width: min(600px, 100%); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 14px 12px 24px; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.dialog-head h2 { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 112; font-size: 21px; letter-spacing: -.01em; }
.dialog-body { padding: 4px 24px 24px; }
.dialog-text { color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.dialog-actions .btn-quiet-danger { margin-right: auto; }
.dialog-sm .dialog-actions { margin-top: 20px; }
.auth-reason { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--soft); color: var(--blue-700); font-weight: 600; font-size: 14px; }
.dialog-auth .seg { margin-bottom: 16px; }
.auth-foot { font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot a, .list-fine a, .done-fine a, .adm-login-card p a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.news-list { display: grid; gap: 12px; }
.news { padding: 16px; border-radius: var(--r); background: var(--paper); }
.news time { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.news h3 { font-size: 16px; margin: 2px 0; }
.news p { color: var(--muted); font-size: 14px; }

#toasts { position: fixed; z-index: 120; top: calc(var(--nav-h) + 10px); right: 16px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 16px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-2); animation: toastIn .45s var(--spring) both; }
.toast .ico { width: 18px; height: 18px; color: var(--ball); }
.toast-error { background: #B3232D; }
.toast-error .ico { color: #fff; }
.toast.out { animation: toastOut .3s var(--ease) both; }

/* =====================================================================
   LANDING
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #2B55EC 0%, rgba(43, 85, 236, 0) 55%), radial-gradient(90% 80% at 0% 100%, #0D2480 0%, rgba(13, 36, 128, 0) 60%), var(--blue);
}
.hero-in { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; }
.hero-court { position: absolute; z-index: 1; right: -16%; top: 4%; width: min(1180px, 92vw); pointer-events: none; perspective: 1600px; transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -18px), 0); transition: transform .9s var(--ease); }
.hero-live { transform: translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px), 0); transition: transform .9s var(--ease); }
.hero-court-tilt { transform: rotateX(58deg) rotateZ(-27deg); transform-origin: 50% 50%; animation: courtIn 1.8s var(--ease) both; }
.court-art { width: 100%; height: auto; overflow: visible; }
.court-hero .court-fill { fill: rgba(255, 255, 255, .045); }
.court-hero .court-lines { stroke: rgba(255, 255, 255, .34); }
.court-hero .court-lines > * { stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 2.2s var(--ease) .25s forwards; }
.court-hero .court-lines .court-net { stroke-dasharray: 1 3.5; stroke-dashoffset: 0; opacity: 0; animation: fade .8s 1.6s forwards; }
.rally { opacity: 0; animation: fade .8s 2s forwards; }

.hero-title { font-family: var(--font-d); font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; font-size: clamp(50px, 8.6vw, 128px); margin: 6px 0 26px -.04em; }
.hero-title .line { display: block; clip-path: inset(0 -100% 0 -10%); animation: unclip .01s linear 1s forwards; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(108%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.title-ball { display: inline-block; width: .21em; height: .21em; margin-left: .05em; vertical-align: baseline; transform-origin: 50% 100%; opacity: 0; animation: ballDrop 1.25s linear 1.05s forwards; }
.title-ball .ball { width: 100%; height: 100%; filter: drop-shadow(0 .05em .08em rgba(4, 12, 48, .35)); }
.hero .eyebrow, .hero-sub, .hero-cta, .hero-facts { opacity: 0; animation: riseSoft .9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .1s; }
.hero-sub { animation-delay: .45s; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 30em; color: rgba(255, 255, 255, .86); }
.hero-cta { animation-delay: .6s; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { animation-delay: .75s; display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 40px; }
.hero-facts li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--ball); }
.hero-facts b { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 112; font-size: 18px; }
.hero-facts span { font-size: 13px; color: rgba(255, 255, 255, .72); }

.hero-live { justify-self: end; align-self: end; margin-bottom: 12px; width: min(400px, 100%); opacity: 0; animation: liveIn 1s var(--ease) .7s forwards; }
.live-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 22px; box-shadow: 0 30px 70px rgba(4, 12, 48, .4); transform: rotate(1.6deg); transition: transform .6s var(--ease); animation: float 7s ease-in-out 2s infinite; }
.live-card:hover { transform: rotate(0deg) translateY(-4px); animation-play-state: paused; }
.live-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-head b { color: var(--ok); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.live-title { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 118; text-transform: uppercase; font-size: 24px; letter-spacing: -.02em; margin: 6px 0 14px; }
.live-court { padding: 14px; border-radius: 18px; background: var(--paper); margin-bottom: 10px; }
.live-court-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.live-court-head .ico { color: var(--blue); }
.live-court-head b { font-size: 15px; }
.live-court-head .tag { margin-left: auto; }
.live-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.live-none { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 13.5px; transition: transform .25s var(--ease), box-shadow .2s, background-color .2s, color .2s; }
.chip-live { animation: chipIn .5s var(--spring) both; animation-delay: calc(var(--i) * 70ms + 100ms); }
.chip:hover { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-2px); }
.live-card .btn { margin-top: 6px; }
.live-card.is-loading { animation: none; }

.marquee { position: relative; z-index: 2; background: var(--ball); color: var(--navy); overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { font-family: var(--font-d); font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; white-space: nowrap; }
.marquee-ball { width: 16px; height: 16px; }
.marquee-ball circle { fill: var(--navy); }
.marquee-ball path { stroke: var(--ball); }

.section { padding: clamp(64px, 9vw, 124px) 0; }
.section-white { background: #fff; }
.section-blue { background: var(--blue); color: #fff; }
.section-ball { background: var(--ball); color: var(--navy); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }

/* timeline */
.timeline { background: #fff; border-radius: var(--r-xl); padding: clamp(16px, 2.6vw, 32px); box-shadow: var(--shadow-1); }
.tl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 176px; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tl-row:first-child { padding-top: 4px; }
.tl-label { display: flex; align-items: center; gap: 12px; }
.tl-label > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue); color: #fff; }
.tl-label b { display: block; font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 118; text-transform: uppercase; font-size: 19px; letter-spacing: -.01em; }
.tl-label span { font-size: 13px; color: var(--muted); }
.tl-track { position: relative; height: 46px; border-radius: 14px; background: var(--ok-soft); overflow: hidden; }
.tl-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(10, 22, 64, .07); }
.tl-busy { position: absolute; top: 5px; bottom: 5px; border-radius: 9px; background: var(--blue); box-shadow: inset 0 -3px 0 rgba(4, 12, 48, .18); transform-origin: left; animation: growX .7s var(--ease) both; }
.tl-past { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(86, 96, 128, .16) 0 6px, rgba(86, 96, 128, .05) 6px 12px), rgba(243, 245, 250, .78); }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--sun); }
.tl-now em { position: absolute; top: 4px; left: 6px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B54309; background: #fff; padding: 1px 6px; border-radius: 6px; }
.tl-next { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--paper); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.tl-next span { grid-column: 1; font-size: 12px; color: var(--muted); transition: color .25s; }
.tl-next b { grid-column: 1; font-size: 16px; }
.tl-next .ico { grid-column: 2; grid-row: 1 / 3; color: var(--blue); transition: transform .25s var(--ease), color .25s; }
a.tl-next:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
a.tl-next:hover span { color: rgba(255, 255, 255, .8); }
a.tl-next:hover .ico { color: var(--ball); transform: translateX(3px); }
.tl-axis { display: grid; grid-template-columns: 200px minmax(0, 1fr) 176px; gap: 22px; margin-top: 10px; }
.tl-axis-in { grid-column: 2; position: relative; height: 18px; }
.tl-axis-in span { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tl-axis-in span:first-child { transform: none; }
.tl-axis-in span:last-child { transform: translateX(-100%); }
.tl-axis-in span.minor { display: none; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.tl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 22px; height: 12px; border-radius: 4px; }
.lg-free { background: var(--ok-soft); box-shadow: inset 0 0 0 1px #BFE8D2; }
.lg-busy { background: var(--blue); }
.lg-past { background: repeating-linear-gradient(135deg, rgba(86, 96, 128, .3) 0 4px, rgba(86, 96, 128, .08) 4px 8px); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 22px; border-radius: var(--r-lg); background: var(--paper); transition: transform .4s var(--ease), box-shadow .4s, background-color .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); background: #fff; }
.step-art { height: 168px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.step:hover .step-art { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 transparent; background: var(--paper); }
.step-n { font-family: var(--font-d); font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 14px; color: var(--blue); letter-spacing: .04em; }
.step h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); }
.step-art-days span { display: grid; justify-items: center; gap: 2px; width: 54px; padding: 10px 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .4s var(--spring), background-color .3s, color .3s; }
.step-art-days i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.step-art-days b { font-family: var(--font-d); font-weight: 800; font-size: 20px; }
.step-art-days .on { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(23, 57, 184, .35); transform: translateY(-6px); }
.step-art-days .on i { color: rgba(255, 255, 255, .8); }
.step:hover .step-art-days .on { animation: nudge 1.2s var(--ease) infinite; }
.step-art-slots { display: grid; grid-template-columns: repeat(3, 62px); align-content: center; }
.step-art-slots span { position: relative; display: grid; place-items: center; height: 40px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 13px; }
.step-art-slots span::after { content: ''; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.step-art-slots .off { color: #9AA4BF; background: #EEF1F7; box-shadow: none; }
.step-art-slots .off::after, .step-art-slots .on::after, .step-art-slots .range::after { display: none; }
.step-art-slots .on { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(23, 57, 184, .35); }
.step-art-slots .range { background: var(--soft); box-shadow: inset 0 0 0 1.5px #B9C8F5; color: var(--blue-700); }
.step:hover .step-art-slots .on { animation: pulse 1.2s var(--ease) infinite; }
.mini-ticket { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgba(10, 22, 64, .3); transform: rotate(-3deg); transition: transform .5s var(--spring); }
.step:hover .mini-ticket { transform: rotate(0deg) scale(1.04); }
.mini-ticket > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ball); color: var(--navy); }
.mini-ticket b { display: block; font-size: 14px; }
.mini-ticket i { font-style: normal; font-size: 12px; letter-spacing: .12em; color: var(--ball); font-weight: 700; }

/* club */
.club-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.club-card { padding: 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .45s var(--ease), background-color .3s, opacity .7s var(--ease) var(--d, 0ms); }
.club-card.reveal { transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), background-color .3s; }
.club-card.in:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); transition-delay: 0ms; }
.club-art { height: 190px; border-radius: 18px; background: rgba(4, 12, 48, .28); display: grid; place-items: center; margin-bottom: 22px; overflow: hidden; }
.club-art svg { width: 86%; height: auto; max-height: 86%; overflow: visible; }
.court-mini .court-fill { fill: rgba(255, 255, 255, .06); }
.court-mini .court-lines { stroke: rgba(255, 255, 255, .8); }
.mini-ball { animation: miniRally 3.6s var(--ease) infinite; }
.racket { transform-origin: 96px 110px; transition: transform .5s var(--spring); }
.club-card:hover .racket { transform: rotate(14deg); }
.racket-ball { animation: hover 2.4s ease-in-out infinite; }
.club-card:hover .racket-ball { animation: hit .7s var(--ease) infinite alternate; }
.steam path { stroke-dasharray: 30; animation: steam 2.6s linear infinite; }
.steam path:nth-child(2) { animation-delay: .5s; }
.steam path:nth-child(3) { animation-delay: 1s; }
.club-card h3 { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 118; text-transform: uppercase; font-size: 24px; letter-spacing: -.015em; margin-bottom: 8px; }
.club-card p { color: rgba(255, 255, 255, .82); }

/* beginner band */
.band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.band-lead { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 110; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.01em; }
.band-side p { max-width: 34em; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.section-ball .btn:focus-visible { outline-color: var(--navy); }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.facts { display: grid; gap: 0; margin: 30px 0; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.facts dt .ico { color: var(--blue); }
.facts dd { font-weight: 600; font-size: 17px; }
.facts dd a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.facts dd a:hover { color: var(--blue); text-decoration-color: var(--blue); }
.visit-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-card { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 8 / 7; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s, opacity .7s var(--ease) var(--d, 0ms); }
.visit-card.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); transition-delay: 0ms; }
.visit-map { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.visit-card:hover .visit-map { transform: scale(1.05); }
.map-pin { position: absolute; left: 67.5%; top: 49%; width: 46px; height: 46px; transform: translate(-50%, -100%); filter: drop-shadow(0 8px 10px rgba(10, 22, 64, .35)); animation: pinBob 2.4s ease-in-out infinite; }
.map-pin .ball { width: 100%; height: 100%; }
.map-pin i { position: absolute; left: 50%; bottom: -14px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--navy); }
.map-pin i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--navy); animation: ping 1.8s var(--ease) infinite; }
.map-tag { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); }
.map-tag b { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 118; text-transform: uppercase; font-size: 18px; }
.map-tag span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.map-tag .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.visit-card:hover .map-tag .ico { transform: translateX(4px); }

/* footer */
.footer { background: var(--navy); color: #fff; padding: 56px 0 calc(40px + var(--safe-b)); }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand p { font-family: var(--font-d); font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; color: var(--ball); letter-spacing: .02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }
.footer-links a { opacity: .82; padding: 6px 0; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--ball); }
.footer-fine { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .66); }
.footer-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes riseSoft { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes unclip { to { clip-path: inset(-300% -100% -20% -10%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes courtIn { from { opacity: 0; transform: rotateX(70deg) rotateZ(-40deg) translateY(80px) scale(.9); } to { opacity: 1; transform: rotateX(58deg) rotateZ(-27deg); } }
@keyframes ballDrop {
  0% { opacity: 1; transform: translateY(-3.2em); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  34% { transform: translateY(0) scale(1.12, .84); animation-timing-function: cubic-bezier(.1, .5, .4, 1); }
  52% { transform: translateY(-.9em) scale(.97, 1.03); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  68% { transform: translateY(0) scale(1.07, .92); animation-timing-function: cubic-bezier(.1, .5, .4, 1); }
  80% { transform: translateY(-.3em); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  90% { transform: translateY(0) scale(1.03, .97); }
  95% { transform: translateY(-.07em); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes liveIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: rotate(1.6deg) translateY(0); } 50% { transform: rotate(.8deg) translateY(-8px); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-33.3333%); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nudge { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes miniRally { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(100px, 36px); } 50% { transform: translate(8px, 44px); } 75% { transform: translate(96px, -6px); } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hit { from { transform: translate(-34px, 14px); } to { transform: translate(14px, -14px); } }
@keyframes steam { 0% { stroke-dashoffset: 30; opacity: 0; } 40% { opacity: .8; } 100% { stroke-dashoffset: -30; opacity: 0; } }
@keyframes pinBob { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -112%); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dialogOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes bootBounce { from { transform: translateY(-38px) scale(.96, 1.04); } to { transform: translateY(38px) scale(1.08, .9); } }
@keyframes bootShadow { from { transform: scale(.55); opacity: .35; } to { transform: scale(1.05); opacity: 1; } }

/* ---------- responsive ---------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-title { font-size: 7.6vw; }
}
@media (max-width: 1080px) {
  .tl-row, .tl-axis { grid-template-columns: 170px minmax(0, 1fr) 150px; gap: 16px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-cta { display: none; }
  .tabbar { display: grid; }
  .nav-in { gap: 12px; }
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 36px); padding-bottom: 36px; gap: 32px; }
  .hero-title { font-size: min(11.5vw, 92px); margin-bottom: 20px; }
  .hero-copy { min-width: 0; }
  .hero-court { right: -46%; top: 0; width: 150vw; opacity: .8; }
  .hero-live { justify-self: stretch; width: 100%; max-width: 460px; }
  .live-card { transform: none; animation: none; }
  .hero-facts { margin-top: 30px; }
  .steps, .club-grid { grid-template-columns: 1fr; }
  .step-art, .club-art { height: 150px; }
  .band, .visit { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr auto; grid-template-areas: 'label next' 'track track'; gap: 12px; }
  .tl-label { grid-area: label; }
  .tl-track { grid-area: track; height: 40px; }
  .tl-next { grid-area: next; padding: 8px 12px; }
  .tl-next b { font-size: 14px; }
  .tl-axis { grid-template-columns: 1fr; }
  .tl-axis-in { grid-column: 1; }
  .tl-axis-in span.minor, .tl-axis-in span:nth-child(4n + 3) { display: none; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .seg-day { width: 100%; }
  .footer { padding-bottom: calc(var(--tab-h) + 40px + var(--safe-b)); }
  .footer-in { grid-template-columns: 1fr; }
  #toasts { left: 16px; right: 16px; justify-items: center; }
  .overlay { place-items: end center; padding: 0; }
  .dialog, .dialog-sm, .dialog-wide { width: 100%; max-width: 560px; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92dvh; animation: sheetIn .4s var(--ease) both; padding-bottom: var(--safe-b); }
  .overlay.closing .dialog { animation: sheetOut .22s var(--ease) both; }
  .form-2, .form-row-3 { grid-template-columns: 1fr; }
  .empty-inline { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 auto; }
  .btn-xl { min-height: 54px; padding: 0 20px; font-size: 16px; }
  .hero-facts { gap: 12px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .live-chips { gap: 5px; }
  .chip { font-size: 12.5px; padding: 0 4px; }
  .band-cta .btn, .visit-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .rally, .mini-ball { display: none; }
  .marquee-track { animation: none; }
}
