/* =============================================================================
   Arena 21 · Academy & events (site/academy.html) · Agent B
   Drill-pitch hero, weekly timetable (grid on desktop, day agenda on phones), batch cards with
   coach monograms and seats bars, trial dialog + pass, package cards, event builder with live estimate.
   ============================================================================= */

/* ---------------------------------------------------------------- hero */
.ac-hero { position: relative; padding: clamp(34px, 6vw, 76px) 0 clamp(30px, 5vw, 60px); overflow: hidden; }
.ac-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px 56px; align-items: center; }
.ac-kick { color: var(--acc-text); }
.ac-title { font-size: clamp(3.2rem, 8.4vw, 7.2rem); line-height: .84; margin: 14px 0 20px; }
.ac-title span { display: inline-block; }
.ac-title span:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ac-title em { display: block; transform: skewX(-8deg); transform-origin: 0 100%; }
.ac-hero-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 26px 0 26px; }
.ac-hero-live { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); max-width: 640px; }
.ac-hero-live li { background: var(--card); padding: 12px 14px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.ac-hero-live li .mono { font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--ink); }
.ac-hero-live li small { color: var(--mut); font-size: .76rem; line-height: 1.3; }
.ac-hero-live li.wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ac-hero-live li.wide b { font-weight: 700; }
.ac-hero-live li.live { background: linear-gradient(100deg, var(--acc-soft), var(--card) 70%); }
.ac-hero-live .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--play); box-shadow: 0 0 8px var(--play); margin-right: 6px; animation: taBlink 1.4s steps(2, end) infinite; }

/* drill pitch */
.ac-drill { perspective: 1100px; }
.ac-drill-svg { display: block; width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.ac-pitch3d { transform: rotateX(28deg) rotateZ(-8deg); transform-origin: 50% 60%; transform-box: fill-box; }
.ac-turf { fill: var(--turf); }
html[data-part="lights"] .ac-turf { fill: #146b3c; }
html[data-part="closed"] .ac-turf { fill: #0f2a20; }
html[data-part="golden"] .ac-turf { fill: #2a8a4a; }
.ac-lines { stroke: rgba(255, 255, 255, .7); stroke-width: 2; }
html[data-part="closed"] .ac-lines { stroke: rgba(220, 230, 255, .3); }
.ac-path { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-dasharray: 3 7; }
.ac-path-glow { fill: none; stroke: var(--acc); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .14 .86; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px var(--acc)); animation: acTrail 4.8s linear infinite; }
@keyframes acTrail { to { stroke-dashoffset: 0; } }
.ac-ball { fill: #fff; stroke: #0a1326; stroke-width: 2; offset-path: path("M120 410 C 60 360, 300 330, 300 290 S 90 240, 120 200 S 330 150, 300 110 S 200 60, 210 40"); offset-rotate: 0deg; animation: acBall 4.8s linear infinite; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
@keyframes acBall { from { offset-distance: 100%; } to { offset-distance: 0%; } }
.ac-cones path { fill: #ff7a1a; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
html[data-part="lights"] .ac-cones path { filter: drop-shadow(0 0 5px rgba(255, 122, 26, .8)); }
.ac-hud-tags rect { fill: rgba(5, 10, 20, .82); stroke: color-mix(in srgb, var(--acc) 60%, transparent); }
.ac-hud-tags text { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; fill: var(--acc); }
.ac-hud-tags text.v { fill: #cfd8ea; letter-spacing: .04em; font-weight: 500; font-size: 11px; }

/* ---------------------------------------------------------------- filters */
.ac-filters { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 14px 16px; margin-bottom: 18px; border-radius: 18px; }
.ac-filters > * { position: relative; z-index: 3; }
.ac-fgroup { display: grid; gap: 6px; min-width: 0; }
.ac-flabel { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.ac-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-seg button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: .84rem; font-weight: 600; color: var(--mut); transition: all .2s ease; }
.ac-seg button:hover { color: var(--ink); border-color: var(--ink); }
.ac-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html[data-part="lights"] .ac-seg button[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); border-color: var(--acc); box-shadow: 0 0 20px -6px var(--acc); }

/* ---------------------------------------------------------------- timetable */
.ac-tt { margin-bottom: 34px; }
.ac-grid { display: grid; grid-template-columns: 70px repeat(7, minmax(0, 1fr)); gap: 4px; padding: 10px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ac-gh { display: grid; justify-items: center; align-content: center; gap: 1px; padding: 10px 4px; border-radius: 12px; font-family: var(--disp); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.ac-gh small { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; color: var(--acc-text); }
.ac-gh.today { background: var(--acc-soft); }
.ac-gt { display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--mut); border-radius: 10px; }
.ac-gt.now { color: var(--acc-text); background: var(--acc-soft); }
.ac-gc { display: grid; gap: 4px; align-content: start; min-height: 74px; padding: 4px; border-radius: 12px; background: var(--card2); min-width: 0; }
.ac-gc.today { background: color-mix(in srgb, var(--acc) 7%, var(--card2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 30%, transparent); }
.ac-gc.past .ac-blk { opacity: .55; }
.ac-blk { position: relative; display: grid; gap: 2px; text-align: left; padding: 8px 9px 8px 12px; border-radius: 10px; border: 0; min-width: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 26%, var(--card)), color-mix(in srgb, var(--c) 10%, var(--card))); color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s ease, opacity .3s ease, filter .3s ease; overflow: hidden; }
.ac-blk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.ac-blk:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 22px -12px var(--c); }
.ac-blk .bi { font-size: .9rem; color: var(--c); }
.ac-blk b { font-size: .78rem; line-height: 1.15; font-weight: 700; overflow-wrap: anywhere; }
.ac-blk small { font-size: .68rem; color: var(--mut); }
.ac-blk small em { font-style: normal; color: var(--play-text); font-weight: 700; }
.ac-blk.dim { opacity: .18; filter: grayscale(1); pointer-events: none; }
.ac-blk.live { box-shadow: 0 0 0 2px var(--c), 0 0 20px -4px var(--c); animation: acPulse 2s ease-in-out infinite; }
@keyframes acPulse { 50% { box-shadow: 0 0 0 2px var(--c), 0 0 30px 0 var(--c); } }
.ac-agenda { display: none; }

/* phone agenda */
.ac-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
.ac-days button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); font-family: var(--disp); font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.ac-days button small { font-family: var(--sans); font-weight: 500; font-size: .58rem; text-transform: none; color: var(--mut); line-height: 1.1; text-align: center; }
.ac-days button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ac-days button[aria-selected="true"] small { color: inherit; opacity: .75; }
html[data-part="lights"] .ac-days button[aria-selected="true"] { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.ac-ag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-ag-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--c); }
.ac-ag-i > .mono { font-size: .76rem; font-weight: 700; color: var(--mut); max-width: 64px; line-height: 1.2; }
.ac-ag-i b { display: block; font-size: .92rem; }
.ac-ag-i small { color: var(--mut); font-size: .76rem; }
.ac-ag-i small em { font-style: normal; color: var(--play-text); font-weight: 700; }
.ac-ag-i.live { box-shadow: 0 0 0 2px var(--c); }
.ac-ag-empty { padding: 18px; text-align: center; color: var(--mut); border-radius: 14px; border: 1px dashed var(--line2); }

/* ---------------------------------------------------------------- cards */
.ac-cards-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ac-cards-h h3 { font-family: var(--disp); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.ac-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.ac-card { padding: 18px; display: grid; gap: 14px; align-content: start; overflow: hidden; }
.ac-card > * { position: relative; z-index: 3; }
.ac-card::after { z-index: 1; }
.ac-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-sport { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
html:not([data-part="lights"]):not([data-part="closed"]) .ac-sport { color: color-mix(in srgb, var(--c) 75%, #000); }
.ac-level { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); color: var(--mut); }
.ac-card .hud.live::before { display: none; }
.ac-card .hud .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--play); box-shadow: 0 0 8px var(--play); animation: taBlink 1.4s steps(2, end) infinite; }
.ac-card h3 { font-family: var(--disp); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
.ac-age { display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; vertical-align: 5px; padding: 2px 7px; border-radius: 6px; background: var(--brass-soft); color: var(--brass-text); }
.ac-coach { display: flex; align-items: center; gap: 12px; }
.ac-coach small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.ac-coach b { font-size: .98rem; }
.ac-mono, .ac-coach .ta-mono { flex: none; display: block; }
.ac-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.ac-meta li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ac-meta .bi { color: var(--c); }
.ac-meta small { color: var(--mut); font-size: .76rem; }
.ac-seats-h { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.ac-seats-h small { color: var(--mut); }
.ac-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.ac-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 50%, var(--acc))); transform-origin: 0 50%; animation: acGrow 1s var(--ease) both; }
.ac-bar.low i { background: linear-gradient(90deg, var(--held), var(--play)); }
@keyframes acGrow { from { transform: scaleX(0); } }
.ac-card-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ac-card-f b.mono { font-size: 1.45rem; font-weight: 700; }
.ac-card-f small { color: var(--mut); font-size: .8rem; margin-left: 2px; }
.ac-next { font-size: .8rem; color: var(--mut); margin-top: -4px; }
.ac-next b { color: var(--ink); }
.ac-empty { padding: 30px; text-align: center; color: var(--mut); border: 1px dashed var(--line2); border-radius: 18px; }
.ac-link { background: none; border: 0; padding: 0; color: var(--acc-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ac-note { margin-top: 18px; }

/* ---------------------------------------------------------------- dialog */
html.ac-modal-open { overflow: hidden; }
.ac-dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--card); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px color-mix(in srgb, var(--acc) 30%, transparent); overflow: auto; overscroll-behavior: contain; }
.ac-dlg[open] { animation: acDlg .35s var(--spring); }
@keyframes acDlg { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.ac-dlg::backdrop { background: rgba(3, 6, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ac-dlg-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); }
.ac-dlg-x:hover { border-color: var(--ink); }
#ac-trial-body { padding: 22px; }
.ac-dlg-head { display: flex; gap: 14px; align-items: center; padding: 4px 44px 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.ac-dlg-head h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 4px 0 6px; }
.ac-dlg-head p { color: var(--mut); font-size: .86rem; }
.ac-warn { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--held) 14%, transparent); color: var(--held-text); font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
.ac-dates { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.ac-dates legend { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px; }
.ac-date-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ac-date { position: relative; }
.ac-date input { position: absolute; opacity: 0; inset: 0; }
.ac-date span { display: grid; justify-items: center; gap: 1px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); font-size: .82rem; cursor: pointer; transition: all .2s ease; }
.ac-date b { font-family: var(--disp); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.ac-date small { font-family: var(--mono); font-size: .68rem; color: var(--mut); }
.ac-date input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ac-date input:checked + span small { color: inherit; opacity: .75; }
html[data-part="lights"] .ac-date input:checked + span { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.ac-date input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.ac-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ac-fields .wide { grid-column: 1 / -1; }
.ac-fields .field > span small { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 500; }
.ac-err { min-height: 1.3em; margin: 10px 0 2px; color: var(--play-text); font-weight: 600; font-size: .88rem; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 6px; }
.ac-actions .fine { max-width: 300px; }

/* trial pass */
.ac-pass { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 20px; padding: 20px; border-radius: 20px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b1830, #060b17); color: #eef3ff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); animation: acPass .7s var(--spring) both; }
.ac-pass:focus { outline: none; }
.ac-pass::before { content: ''; position: absolute; right: 150px; top: -14px; bottom: -14px; width: 0; border-left: 2px dashed rgba(255, 255, 255, .18); }
.ac-pass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .08) 45%, transparent 60%); transform: translateX(-100%); animation: acSheen 2.4s 0.5s ease forwards; pointer-events: none; }
@keyframes acPass { from { opacity: 0; transform: rotateX(30deg) translateY(20px); } }
@keyframes acSheen { to { transform: translateX(100%); } }
.ac-pass .hud { color: var(--acc); }
.ac-pass .hud.live::before { display: none; }
.ac-pass .hud .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.ac-pass h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 6px 0 12px; color: #fff; }
.ac-pass dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.ac-pass dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: #8a98b5; }
.ac-pass dd { margin: 2px 0 0; font-weight: 600; font-size: .9rem; }
.ac-bring { margin-top: 12px; font-size: .82rem; color: #b8c4dc; }
.ac-bring b { color: #fff; }
.ac-pass-r { display: grid; justify-items: center; align-content: center; gap: 6px; width: 130px; }
.ac-pass-qr { width: 120px; padding: 8px; border-radius: 12px; background: #fff; }
.ac-pass-qr svg { display: block; width: 100%; height: auto; }
.ac-pass-qr .qr-fallback { font-family: var(--mono); font-size: .55rem; color: #222; overflow-wrap: anywhere; }
.ac-pass-r small { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #8a98b5; }
.ac-pass-status { grid-column: 1 / -1; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .84rem; color: #d5ddef; }
.ac-pass-status .bi { color: var(--held); }
.ac-pass .ac-actions { grid-column: 1 / -1; }
.ac-pass .btn.ghost { --bf: #fff; --bl: rgba(255, 255, 255, .25); }
.ac-pass .btn.soft { --bb: rgba(198, 255, 61, .14); --bf: var(--acc); }

/* ---------------------------------------------------------------- events */
.ac-events { background: linear-gradient(180deg, transparent, var(--bg2) 10%, var(--bg2) 90%, transparent); }
.ac-kindseg { margin-bottom: 18px; }
.ac-pkgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ac-pkg { padding: 18px; display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto auto 1fr auto auto; transition: transform .35s var(--ease), box-shadow .35s ease; }
.ac-pkg > * { position: relative; z-index: 3; }
.ac-pkg:hover { transform: translateY(-4px); }
.ac-pkg.is-sel { box-shadow: var(--shadow), 0 0 0 2px var(--acc-text); }
.ac-pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

.ac-pkg .ac-kind { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); display: inline-flex; gap: 6px; align-items: center; }
.ac-pkg.k-party .ac-kind { color: var(--acc-text); }
.ac-pkg h3 { font-family: var(--disp); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: .95; }
.ac-pkg-price b { font-size: 1.6rem; font-weight: 700; }
.ac-pkg-price small { display: block; color: var(--mut); font-size: .74rem; }
.ac-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.ac-inc li { display: flex; gap: 8px; align-items: baseline; }
.ac-inc .bi { color: var(--acc-text); }
.ac-pkg-where { font-size: .78rem; color: var(--mut); display: flex; gap: 6px; }

/* builder */
.ac-builder-sec { margin-top: clamp(34px, 5vw, 60px); scroll-margin-top: calc(var(--hdr-h) + 12px); }
.ac-builder-h { margin-bottom: 14px; }
.ac-builder-h h3 { font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-top: 6px; }
.ac-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
.ac-b-form { display: grid; gap: 14px; min-width: 0; }
.ac-b-step { margin: 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); min-width: 0; }
.ac-b-step legend { float: left; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 0; margin: 0 0 6px; font-weight: 700; font-size: 1.02rem; }
.ac-b-step legend + * { clear: both; }
.ac-b-step legend small { font-weight: 500; color: var(--mut); font-size: .8rem; }
.ac-n { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; font-family: var(--mono); font-size: .8rem; background: var(--acc); color: var(--on-acc); transform: skewX(-8deg); }
.ac-b-pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ac-radio { position: relative; }
.ac-radio input { position: absolute; opacity: 0; inset: 0; }
.ac-radio span { display: grid; gap: 2px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); cursor: pointer; transition: all .2s ease; height: 100%; }
.ac-radio b { font-size: .92rem; }
.ac-radio small { color: var(--mut); font-size: .76rem; }
.ac-radio input:checked + span { border-color: var(--acc-text); background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc-text); }
.ac-radio input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.ac-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 58px; gap: 6px; overflow-x: auto; padding: 10px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ac-day { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 12px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); scroll-snap-align: start; transition: all .2s ease; }
.ac-day small { font-size: .66rem; color: var(--mut); font-weight: 600; }
.ac-day b { font-family: var(--disp); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.ac-day > i { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 4px; border-radius: 4px; }
.ac-day em { position: absolute; top: 3px; right: 5px; font-style: normal; font-size: .7rem; color: var(--brass); }
.lv-many > i, .ac-legend .lv-many i { background: var(--acc); box-shadow: 0 0 8px -1px var(--acc); }
.lv-few > i, .ac-legend .lv-few i { background: var(--held); }
.lv-none > i, .ac-legend .lv-none i { background: var(--play); opacity: .6; }
html:not([data-part="lights"]):not([data-part="closed"]) .lv-many > i, html:not([data-part="lights"]):not([data-part="closed"]) .ac-legend .lv-many i { background: #5aa700; }
.ac-day.lv-none b { color: var(--mut); }
.ac-day[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-3px); }
.ac-day[aria-checked="true"] small { color: inherit; opacity: .75; }
html[data-part="lights"] .ac-day[aria-checked="true"] { background: #fff; color: #07101f; }
.ac-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .74rem; color: var(--mut); margin: 2px 0 10px; }
.ac-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ac-legend i { width: 14px; height: 4px; border-radius: 4px; display: inline-block; }
.ac-avail { display: flex; gap: 8px; align-items: baseline; font-size: .86rem; color: var(--acc-text); font-weight: 600; margin-bottom: 10px; }
.ac-avail.none { color: var(--play-text); }
.ac-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-chip { display: grid; gap: 1px; padding: 9px 13px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); text-align: left; font-weight: 700; font-size: .88rem; transition: all .2s ease; }
.ac-chip small { font-weight: 500; font-size: .72rem; color: var(--mut); }
.ac-chip:hover { border-color: var(--ink); }
.ac-chip[aria-checked="true"] { background: var(--acc-soft); border-color: var(--acc-text); box-shadow: inset 0 0 0 1px var(--acc-text); }
.ac-range { display: grid; gap: 10px; margin-top: 8px; }
.ac-range label { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.ac-range output { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.ac-range small { color: var(--mut); font-size: .8rem; font-weight: 500; }
.ac-range small.over { color: var(--held-text); font-weight: 700; }
.ac-range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
.ac-range input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--acc) var(--p), var(--line2) var(--p)); }
.ac-range input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--acc) var(--p), var(--line2) var(--p)); }
.ac-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 8px; background: var(--ink); border: 3px solid var(--acc); transform: rotate(45deg); }
.ac-range input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 8px; background: var(--ink); border: 3px solid var(--acc); }
html:not([data-part="lights"]):not([data-part="closed"]) .ac-range input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #5aa700 var(--p), var(--line2) var(--p)); }
.ac-hrs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-weight: 600; }
.ac-hrs small { color: var(--mut); font-weight: 500; font-size: .8rem; }
.ac-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: var(--field); }
.ac-stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.2rem; font-weight: 700; }
.ac-stepper button:hover:not([disabled]) { background: var(--acc-soft); }
.ac-stepper button[disabled] { opacity: .35; cursor: default; }
.ac-stepper output { min-width: 56px; text-align: center; font-weight: 700; }
.ac-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ac-x { position: relative; }
.ac-x input { position: absolute; opacity: 0; inset: 0; }
.ac-x span { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 13px 11px 40px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); cursor: pointer; transition: all .2s ease; height: 100%; position: relative; }
.ac-x span::before { content: ''; position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 6px; border: 2px solid var(--line2); background: var(--field); transition: all .2s ease; }
.ac-x b { font-size: .86rem; font-weight: 600; }
.ac-x small { font-size: .78rem; color: var(--mut); white-space: nowrap; }
.ac-x input:checked + span { border-color: var(--acc-text); background: var(--acc-soft); }
.ac-x input:checked + span::before { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2307101f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--acc); }
.ac-x input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }

/* estimate */
.ac-est { position: sticky; top: calc(var(--hdr-h) + 14px); padding: 20px; display: grid; gap: 14px; }
.ac-est > * { position: relative; z-index: 3; }
.ac-est-h h3 { font-family: var(--disp); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: .95; margin: 6px 0 8px; }
.ac-est-when { font-size: .86rem; color: var(--mut); line-height: 1.6; }
.ac-est-when .bi { color: var(--acc-text); }
.ac-est-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-top: 1px dashed var(--line2); padding-top: 12px; }
.ac-est-l li { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; animation: acLine .35s var(--ease) both; }
@keyframes acLine { from { opacity: 0; transform: translateX(8px); } }
.ac-est-l li span { display: grid; min-width: 0; }
.ac-est-l small { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.ac-est-l b { white-space: nowrap; }
.ac-est-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 2px solid var(--ink); }
.ac-est-t span { font-weight: 700; }
.ac-est-t b { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); transition: color .3s ease; }
.ac-est-t b.bump { color: var(--acc-text); }
.ac-est-ph { font-size: .8rem; color: var(--mut); margin-top: -8px; }
html[data-part="lights"] .ac-est-t b { text-shadow: 0 0 20px color-mix(in srgb, var(--acc) 35%, transparent); }

/* done */
.ac-done { grid-column: 1 / -1; padding: clamp(22px, 4vw, 36px); display: grid; gap: 12px; justify-items: start; overflow: hidden; }
.ac-done:focus { outline: none; }
.ac-done > * { position: relative; z-index: 3; }
.ac-done .hud.live::before { display: none; }
.ac-done .hud .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.ac-done h3 { font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); text-transform: uppercase; line-height: .95; }
.ac-done p { max-width: 640px; }
.ac-done-burst { position: absolute !important; right: 60px; top: 50px; width: 1px; height: 1px; z-index: 1 !important; }
.ac-done-burst i { position: absolute; width: 8px; height: 18px; border-radius: 3px; background: var(--acc); transform: rotate(calc(var(--k) * 25.7deg)) translateY(-10px); opacity: 0; animation: acBurst 1.2s var(--ease) forwards; animation-delay: calc(var(--k) * 20ms); }
.ac-done-burst i:nth-child(3n) { background: var(--brass); } .ac-done-burst i:nth-child(4n) { background: #fff; }
@keyframes acBurst { 0% { opacity: 1; transform: rotate(calc(var(--k) * 25.7deg)) translateY(-10px); } 100% { opacity: 0; transform: rotate(calc(var(--k) * 25.7deg)) translateY(-110px); } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .ac-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-builder { grid-template-columns: 1fr; }
  .ac-est { position: relative; top: 0; }
}
@media (max-width: 920px) {
  .ac-hero-in { grid-template-columns: 1fr; }
  .ac-drill { order: -1; max-width: 340px; margin: -10px auto -30px; }
  .ac-grid { display: none; }
  .ac-agenda { display: block; }
}
@media (max-width: 640px) {
  .ac-hero-live { grid-template-columns: 1fr 1fr; }
  .ac-pkgs { grid-template-columns: 1fr; }
  .ac-b-pk, .ac-extras, .ac-fields { grid-template-columns: 1fr; }
  .ac-filters { padding: 12px; gap: 12px; }
  .ac-pass { grid-template-columns: 1fr; }
  .ac-pass::before { display: none; }
  .ac-pass-r { width: auto; grid-auto-flow: column; align-items: center; justify-content: start; gap: 12px; }
  .ac-pass-qr { width: 100px; }
  .ac-pass { margin-top: 44px; }
  .ac-dlg { width: calc(100vw - 16px); border-radius: 20px; }
  #ac-trial-body { padding: 18px 14px; }
  .ac-b-step { padding: 14px 12px 16px; }
  .ac-drill { max-width: 280px; }
}
@media (max-width: 480px) { .ac .hide-xs { display: none; } }
@media (max-width: 400px) {
  .ac-days button { font-size: .86rem; padding: 7px 0; }
  .ac-days button small { display: none; }
  .ac-ag-i { grid-template-columns: minmax(0, 1fr) auto; }
  .ac-ag-i > .mono { grid-column: 1 / -1; max-width: none; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ac-ball { animation: none; offset-distance: 40%; }
  .ac-path-glow, .ac-blk.live, .ac-bar i, .ac-pass, .ac-pass::after, .ac-dlg[open], .ac-est-l li, .ac-done-burst i, .ac-hero-live .dot { animation: none !important; }
  .ac-path-glow { stroke-dasharray: none; stroke-width: 2; opacity: .5; }
  .ac-done-burst { display: none; }
}
