@font-face { font-family: 'Anton'; src: url(fonts/anton.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Oswald'; src: url(fonts/oswald.woff2) format('woff2'); font-weight: 200 700; font-display: swap; }
:root { --acc: #9fe3ff; --acc2: #dff6ff; --gold: #ffd23f; --navy: #0e1c38; --ink: #eef2fb; --mut: #9aa6c2; --gz: #34e27a; --red: #ff4a3d;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #04060b; color: var(--ink); font-family: 'Oswald', system-ui, sans-serif; overflow: hidden; overscroll-behavior: none; }
body { position: fixed; inset: 0; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#app { position: absolute; inset: 0; }
#c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#stage { position: absolute; inset: 0; z-index: 1; }
.hidden { display: none !important; }
button { font-family: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- HUD: TV score bug ---------- */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.bug { position: absolute; top: calc(var(--st) + 10px); left: calc(var(--sl) + 10px); right: calc(var(--sr) + 10px); display: flex; align-items: stretch; gap: 8px; }
.icon-btn { pointer-events: auto; flex: 0 0 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(8,12,24,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; letter-spacing: -2px; }
.bug-main { flex: 1; min-width: 0; border-radius: 10px; overflow: hidden; background: linear-gradient(#13254a, #0a1630); border: 1px solid rgba(255,210,63,.35); box-shadow: 0 6px 20px rgba(0,0,0,.45); display: flex; flex-direction: column; justify-content: center; }
.bug-row1 { display: flex; gap: 6px; align-items: center; padding: 4px 10px 2px; font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .05em; white-space: nowrap; overflow: hidden; }
.bug-row1 .dot { color: var(--gold); font-size: 12px; }
#hDist { color: var(--gold); }
.bug-row2 { padding: 3px 10px 4px; font-size: 11.5px; letter-spacing: .12em; color: #cfdaf2; background: rgba(0,0,0,.28); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bug-row2 b { color: #fff; font-weight: 600; }
.bug-row2 em { font-style: normal; color: #ff7a5c; font-weight: 600; }
.bug-row2 em.clk { color: #ffd23f; font-family: 'Anton', sans-serif; font-size: 13px; letter-spacing: .08em; }
.bug-score { flex: 0 0 auto; min-width: 70px; padding: 3px 9px 4px; border-radius: 10px; background: linear-gradient(#11182b, #070a14); border: 1px solid rgba(255,255,255,.14); text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.45); display: flex; flex-direction: column; justify-content: center; }
.bug-score .val { font-family: 'Anton', sans-serif; font-size: 26px; line-height: 1.02; color: var(--gold); text-shadow: 0 0 12px rgba(255,210,63,.4); font-variant-numeric: tabular-nums; }
.bug-score .lbl { font-size: 9.5px; letter-spacing: .24em; color: var(--mut); }
.strikes { display: flex; gap: 4px; justify-content: center; margin-top: 2px; }
.strikes i { width: 12px; height: 7px; border-radius: 6px / 4px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); }
.strikes i.x { background: var(--red); border-color: #ff9a90; box-shadow: 0 0 8px rgba(255,74,61,.6); }
.wind { position: absolute; top: calc(var(--st) + 66px); left: calc(var(--sl) + 10px); display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 6px; border-radius: 999px; background: rgba(6,10,20,.66); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.w-dial { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(159,227,255,.5); display: grid; place-items: center; background: radial-gradient(circle, rgba(159,227,255,.12), rgba(0,0,0,0) 70%); }
.w-arrow { color: var(--acc); transition: transform .4s; filter: drop-shadow(0 0 4px rgba(159,227,255,.8)); }
.w-txt { display: flex; flex-direction: column; line-height: 1.05; }
.w-txt b { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .05em; }
.w-txt span { font-size: 9.5px; letter-spacing: .16em; color: var(--mut); }
#hud.iced .bug-main { border-color: rgba(159,227,255,.85); box-shadow: 0 0 22px rgba(159,227,255,.45); }
#hud.iced::after { content: ''; position: fixed; inset: 0; pointer-events: none; box-shadow: inset 0 0 110px rgba(110,200,255,.35); animation: icePulse 1.5s ease-in-out infinite; }
@keyframes icePulse { 50% { box-shadow: inset 0 0 70px rgba(110,200,255,.18); } }

/* ---------- meter: classic arc (v3) ---------- */
#meter { position: absolute; z-index: 5; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; overflow: visible; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); transition: opacity .25s; }
#meter.out { opacity: 0; }
#meter path { fill: none; stroke-linecap: round; }
#meter .am-shadow { stroke: rgba(0,0,0,.45); }
#meter .am-rim { stroke: rgba(255,255,255,.34); }
#meter .am-tail { stroke: rgba(255,74,61,.32); stroke-linecap: butt; }
#meter .am-zone { stroke: rgba(190,236,255,.5); stroke-linecap: butt; }
#meter .am-pure { stroke: #3cf08a; stroke-linecap: butt; }
#meter .am-inner { stroke: rgba(255,255,255,.18); }
#meter .am-fill { stroke-linecap: butt; }
#meter .am-ghost { stroke-linecap: butt; opacity: .28; }
#meter .am-gloss { stroke: rgba(255,255,255,.22); stroke-linecap: round; }
#meter .am-ticks line { stroke: rgba(255,255,255,.55); stroke-width: 1.4; }
#meter text { font-family: 'Oswald', system-ui, sans-serif; font-size: 10.5px; fill: #e4ebf8; text-anchor: middle; letter-spacing: .03em; paint-order: stroke; stroke: rgba(0,0,0,.75); stroke-width: 2.6px; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
#meter .am-line rect { fill: #fff; }
#meter .am-need path { fill: var(--gold); stroke: rgba(0,0,0,.55); stroke-width: 1; }
#meter .am-cap { font-size: 8.5px; letter-spacing: .16em; fill: #ff8f84; text-anchor: start; }
#meter .am-pow rect { fill: var(--gold); stroke: rgba(0,0,0,.6); stroke-width: 1; }
#meter .am-needle rect { fill: #fff; stroke: rgba(0,0,0,.45); stroke-width: 1; }
#meter .am-needle rect.glow { fill: rgba(255,255,255,.35); stroke: none; }
#meter .am-needle circle { fill: #fff; }
#meter .am-acc rect { fill: #fff; stroke: rgba(0,0,0,.6); stroke-width: 1; }
#meter .am-acc.pure rect { fill: var(--gz); } #meter .am-acc.ok rect { fill: var(--gold); } #meter .am-acc.bad rect { fill: #ff5a4d; }

/* ---------- aim ---------- */
#aim, #drift { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 3; }
#aim .a-ring { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 10px rgba(159,227,255,.8), inset 0 0 8px rgba(159,227,255,.4); }
#aim .a-tick { position: absolute; left: -1px; top: -26px; width: 2px; height: 52px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.85), rgba(255,255,255,0)); }
#drift .d-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: rgba(159,227,255,.85); box-shadow: 0 0 10px rgba(159,227,255,.9); }
#drift span { position: absolute; left: -20px; top: 9px; width: 40px; text-align: center; font-size: 9px; letter-spacing: .16em; color: var(--acc2); text-shadow: 0 1px 3px #000; }
#drift.full .d-dot { background: rgba(52,226,122,.9); box-shadow: 0 0 10px rgba(52,226,122,.9); }
#aimLine { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* ---------- callouts + cards ---------- */
.hint { position: absolute; left: 0; right: 0; bottom: calc(var(--sb) + 7%); text-align: center; font-size: 16px; letter-spacing: .2em; color: #fff; text-shadow: 0 2px 6px #000; pointer-events: none; animation: hintPulse 1.8s ease-in-out infinite; padding: 0 20px; z-index: 4; }
body.portrait .hint { bottom: calc(var(--sb) + 9%); }
body.portrait #timing { bottom: calc(var(--sb) + 74px); }
@keyframes hintPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
#timing { position: absolute; left: 0; right: 0; bottom: calc(var(--sb) + 5%); text-align: center; font-size: 14px; letter-spacing: .16em; color: var(--acc2); text-shadow: 0 2px 6px #000; pointer-events: none; z-index: 4; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0 12px; }
#timing b { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .08em; }
#timing b.g { color: var(--gz); } #timing b.y { color: var(--gold); } #timing b.r { color: #ff7a6b; }
#callout { position: absolute; left: 0; right: 0; top: 30%; text-align: center; pointer-events: none; font-family: 'Anton', sans-serif; font-size: clamp(40px, 12vw, 80px); letter-spacing: .03em; line-height: 1.02; color: #fff; opacity: 0; z-index: 6; padding: 0 10px; }
#callout small { display: block; margin-top: 6px; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .27em; letter-spacing: .24em; color: var(--acc2); text-shadow: 0 2px 8px #000; }
#callout.show { opacity: 1; animation: callIn .55s cubic-bezier(.2,.9,.3,1.3) both; }
#callout.fade { opacity: 0; transition: opacity .5s; }
#callout.good { color: #fff; text-shadow: 0 0 26px rgba(52,226,122,.85), 0 4px 0 #0b5a2a, 0 8px 22px #000; }
#callout.miss { color: #fff; text-shadow: 0 0 22px rgba(255,74,61,.8), 0 4px 0 #6a1410, 0 8px 22px #000; }
#callout.doink { color: #ffe9a0; text-shadow: 0 0 22px rgba(255,210,63,.9), 0 4px 0 #6a4a00, 0 8px 22px #000; }
#callout.ice { color: #e8faff; text-shadow: 0 0 26px rgba(120,210,255,.95), 0 4px 0 #0d3b5a, 0 8px 22px #000; }
@keyframes callIn { 0% { opacity: 0; transform: scale(.5); } 60% { opacity: 1; transform: scale(1.06); } 100% { transform: scale(1); } }
#ptsCard { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--sb) + 15%); z-index: 6; min-width: 230px; padding: 10px 14px; border-radius: 14px; background: rgba(8,12,24,.84); border: 1px solid rgba(255,210,63,.4); box-shadow: 0 10px 30px rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: rise .35s ease-out both; pointer-events: none; }
#ptsCard div { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; letter-spacing: .12em; padding: 2px 0; }
#ptsCard div b { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
#ptsCard .tot { border-top: 1px solid rgba(255,255,255,.15); margin-top: 4px; padding-top: 6px; font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .08em; }
#ptsCard .strike { justify-content: center; color: #ff8a7d; font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .1em; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } }
#resBtns { position: absolute; z-index: 7; right: calc(var(--sr) + 12px); bottom: calc(var(--sb) + 14px); display: flex; gap: 8px; }
#resBtns .btn { min-width: 100px; min-height: 44px; }
#replayBug { position: absolute; z-index: 6; top: calc(var(--st) + 14px); right: calc(var(--sr) + 14px); padding: 6px 12px; border-radius: 6px; background: linear-gradient(#c81e2c, #8c0f1a); font-family: 'Anton', sans-serif; letter-spacing: .2em; font-size: 15px; box-shadow: 0 4px 14px rgba(0,0,0,.5); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .65; } }
#intro { position: absolute; z-index: 6; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; padding: 14px 26px 16px; border-radius: 18px; background: linear-gradient(rgba(14,28,56,.92), rgba(6,12,26,.92)); border: 1px solid rgba(255,210,63,.45); box-shadow: 0 20px 60px rgba(0,0,0,.6); min-width: 250px; }
#intro.in { animation: introIn .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes introIn { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } }
.i-top { font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.i-big { font-family: 'Anton', sans-serif; font-size: 50px; letter-spacing: .04em; line-height: 1.05; }
.i-sub { font-size: 13px; letter-spacing: .16em; color: #cfdaf2; }
.i-tag { margin-top: 8px; padding: 5px 10px; border-radius: 8px; background: rgba(255,74,61,.18); border: 1px solid rgba(255,122,92,.6); color: #ffb3a3; font-size: 12px; letter-spacing: .16em; }
#loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #04060b; letter-spacing: .12em; color: var(--mut); z-index: 50; transition: opacity .5s; }
#loading.out { opacity: 0; pointer-events: none; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--acc); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- screens ---------- */
.screen { position: absolute; inset: 0; z-index: 10; }
#title { background: radial-gradient(120% 70% at 50% 42%, rgba(4,6,12,.0), rgba(4,6,12,.76) 78%); display: flex; align-items: center; justify-content: center; padding: calc(var(--st) + 56px) calc(var(--sr) + 18px) calc(var(--sb) + 16px) calc(var(--sl) + 18px); }
.title-wrap { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo-wrap { width: min(62vw, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.logo-wrap img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 28px rgba(0,0,0,.75)); animation: logoIn .9s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(-14px) scale(.94); } }
.menu { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.row { display: flex; gap: 9px; }
.row > * { flex: 1; }
.btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; padding: 7px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(#1a2238, #0c1120); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 18px rgba(0,0,0,.5); font-size: 16px; letter-spacing: .1em; text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { min-height: 62px; border-color: #e2f7ff; background: linear-gradient(#e2f7ff, #8fd8f7 50%, #3b9ccc); color: #04121f; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 26px rgba(110,200,240,.45); }
.btn.small.primary { min-height: 44px; }
.btn.daily { border-color: rgba(255,210,63,.6); background: linear-gradient(#2b2412, #15110a); }
.btn.daily .b-main em { font-style: normal; font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-left: 6px; vertical-align: middle; }
.btn.small { min-height: 44px; font-size: 14px; }
.btn.ghost { background: transparent; box-shadow: none; }
.b-main { font-family: 'Anton', sans-serif; font-size: 23px; letter-spacing: .06em; line-height: 1.1; }
.btn:not(.primary) .b-main { font-size: 19px; }
.b-sub { font-size: 12px; letter-spacing: .1em; opacity: .82; }
.toggles { gap: 6px; flex-wrap: wrap; }
.toggles .tog { white-space: nowrap; flex: 1 1 auto; min-width: 0; min-height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,14,26,.6); font-size: 12px; letter-spacing: .02em; padding: 0 8px; }
.tog[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.best { text-align: center; font-size: 13px; letter-spacing: .12em; color: var(--mut); min-height: 18px; }
.best.small { font-size: 11px; min-height: 0; }
.gdg-back { position: absolute; z-index: 20; top: calc(var(--st) + 10px); left: calc(var(--sl) + 10px); display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px 0 5px; border-radius: 999px; background: rgba(8,12,24,.72); border: 1px solid rgba(255,255,255,.22); color: #e9eefb; text-decoration: none; font-size: 13px; letter-spacing: .12em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.gdg-back img { width: 28px; height: 28px; object-fit: contain; }
.gdg-back.inline { position: static; align-self: center; margin-top: 4px; }
.gdg-back.inline.top { align-self: flex-start; margin: 0 0 4px; }
.sheet { background: rgba(3,5,10,.6); display: flex; align-items: center; justify-content: center; padding: calc(var(--st) + 12px) calc(var(--sr) + 12px) calc(var(--sb) + 12px) calc(var(--sl) + 12px); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet-card { width: 100%; max-width: 400px; max-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: linear-gradient(#141b2e, #090d18); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.sheet-card.wide { max-width: 440px; }
.sheet-card h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: .06em; font-size: 26px; text-align: center; }
.sheet-card p, .desc { margin: 0; color: #c9d2e8; font-size: 14.5px; line-height: 1.4; text-align: center; }
.setup-lbl { font-size: 11px; letter-spacing: .24em; color: var(--mut); margin-top: 2px; display: flex; justify-content: space-between; align-items: center; }
.setup-lbl b { color: var(--gold); font-weight: 600; letter-spacing: .1em; font-size: 13px; }
.segs { display: flex; gap: 6px; }
.seg { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(#141c30, #0a0f1c); font-family: 'Anton', sans-serif; font-size: 15px; letter-spacing: .08em; }
.seg.on { border-color: var(--acc); color: #04121f; background: linear-gradient(#e2f7ff, #8fd8f7); box-shadow: 0 0 14px rgba(159,227,255,.35); }
.diff-note { text-align: center; font-size: 13px; color: #c9d2e8; min-height: 18px; }
.dist-row { display: flex; gap: 8px; align-items: center; }
.dist-row input { flex: 1; accent-color: var(--gold); height: 34px; touch-action: pan-x; }
.dist-row .seg { flex: 0 0 52px; }
.sticky-actions { margin-top: 4px; }
.d-date { text-align: center; font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.d-kicks { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.d-kicks span { min-width: 38px; padding: 5px 0; text-align: center; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-family: 'Anton', sans-serif; font-size: 16px; letter-spacing: .04em; }
.d-kicks span.gw { border-color: rgba(255,122,92,.7); color: #ffb3a3; }
.d-status { text-align: center; font-size: 14px; letter-spacing: .06em; color: var(--acc2); min-height: 18px; }
.d-top ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.d-top li { display: flex; gap: 8px; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.04); font-size: 15px; }
.d-top li span { width: 22px; color: var(--mut); } .d-top li b { flex: 1; font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: .12em; } .d-top li em { font-style: normal; color: var(--gold); }
.dt-load { text-align: center; color: var(--mut); font-size: 14px; padding: 6px; }
.d-next { text-align: center; font-size: 12px; letter-spacing: .18em; color: var(--mut); }
.res { gap: 8px; }
.res-head { text-align: center; font-size: 12px; letter-spacing: .26em; color: var(--gold); }
.res-big { text-align: center; font-family: 'Anton', sans-serif; font-size: 52px; letter-spacing: .04em; line-height: 1.02; text-shadow: 0 0 22px rgba(255,210,63,.35); }
.res-sub { text-align: center; font-size: 14px; letter-spacing: .16em; color: #cfdaf2; }
.res-note { text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--acc); min-height: 14px; }
.kt { width: 100%; border-collapse: collapse; font-size: 13.5px; letter-spacing: .06em; }
.kt td { padding: 5px 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.kt td:first-child { color: var(--mut); width: 26px; } .kt td:last-child { text-align: right; color: var(--gold); font-variant-numeric: tabular-nums; }
.kt tr.m td:nth-child(3) { color: #ff8a7d; } .kt tr.g td:nth-child(3) { color: var(--gz); }
.kt i { font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.1); color: #fff; margin-left: 3px; letter-spacing: .1em; }
.res-btns { display: flex; flex-direction: column; gap: 8px; }
.coach ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; line-height: 1.38; color: #d6deef; }
.coach b { color: #fff; }
.small-p { font-size: 12.5px !important; color: var(--mut) !important; }

/* ---------- landscape phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .bug { right: auto; width: min(560px, 62vw); }
  .bug-row1 { font-size: 16px; }
  .wind { top: calc(var(--st) + 10px); left: auto; right: calc(var(--sr) + 10px); }
  #callout { top: 22%; font-size: clamp(36px, 9vh, 64px); }
  #intro { top: 46%; padding: 10px 22px 12px; }
  .i-big { font-size: 40px; }
  #ptsCard { bottom: calc(var(--sb) + 10px); left: calc(var(--sl) + 12px); transform: none; animation: none; }
  #title { padding: calc(var(--st) + 8px) calc(var(--sr) + 18px) calc(var(--sb) + 8px) calc(var(--sl) + 18px); }
  .title-wrap { max-width: 760px; flex-direction: row; align-items: center; gap: 22px; }
  .logo-wrap { width: min(40vw, 70vh, 300px); flex: 0 0 auto; }
  .menu { flex: 1; gap: 7px; }
  .btn.primary { min-height: 52px; }
  .btn { min-height: 44px; }
  .sheet-card.wide { max-width: 640px; }
  .res-big { font-size: 40px; }
  .gdg-back:not(.inline) { top: calc(var(--st) + 8px); }
  .hint { bottom: calc(var(--sb) + 5%); }
}
@media (min-width: 900px) and (min-height: 600px) { .bug { right: auto; width: 560px; } .wind { top: 16px; left: auto; right: 16px; } }
