/* Wevzi Dryland v3: members, setup, technique focus, challenges, plans, admin */
.seg.seg-2 { grid-template-columns: 1fr 1fr; }
.fine { font-size: 12.5px; color: var(--dim); text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.4; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.linkish.danger { color: var(--danger); font-size: 13.5px; }
.notice.ok { background: color-mix(in srgb, var(--work) 12%, transparent); border-color: color-mix(in srgb, var(--work) 35%, transparent); color: #a7f3d0; }
.field select, .wz-techrow select { font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 10px; outline: none; }
.soon-badge { display: inline-block; vertical-align: middle; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rest); border: 1px solid color-mix(in srgb, var(--rest) 45%, transparent); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.media.future .ph-note { color: var(--rest); }
.pcard.soon .pcard-go { background: var(--surface-3); color: var(--muted); }
.pcard.soon .media { filter: saturate(.55); }

/* landing + sign-in */
.gate.landing { place-items: start center; padding: 0; }
.land { position: relative; width: min(1120px, 100%); min-height: 100%; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1.15fr minmax(340px, 420px); gap: 56px; align-items: center; }
.land-copy { display: flex; flex-direction: column; gap: 18px; }
.land-copy h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; line-height: 1.04; }
.land-copy h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--work)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.land-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.land-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.land-list li b { color: var(--text); }
.land-list svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--work) 18%, transparent); color: var(--work); margin-top: 1px; }
.land-price { font-size: 15px; color: var(--muted); padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(14, 33, 51, .6); align-self: flex-start; }
.land-price b { color: var(--work); }
.gate-card h2 { font-size: 30px; font-weight: 800; }
.landing .gate-card { width: 100%; }
.landing .gate-card .seg { margin-right: 52px; }

/* setup wizard */
.wizard { position: fixed; inset: 0; z-index: 250; overflow: auto; background: radial-gradient(90% 70% at 50% 0%, #10304a, var(--bg) 70%); display: grid; place-items: start center; padding: 28px 16px 40px; animation: fade .25s ease; }
.wz-card { width: min(720px, 100%); display: flex; flex-direction: column; gap: 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 26px 28px 24px; box-shadow: var(--shadow); }
.wz-top { display: flex; justify-content: space-between; align-items: center; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wz-steps li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--dim); border-top: 3px solid var(--surface-3); padding-top: 8px; }
.wz-steps li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 11.5px; color: var(--muted); }
.wz-steps li i svg { width: 12px; height: 12px; }
.wz-steps li.on { color: var(--text); border-color: var(--accent); }
.wz-steps li.on i { background: var(--accent); color: #04121d; }
.wz-steps li.past { border-color: var(--work); color: var(--muted); }
.wz-steps li.past i { background: var(--work); color: #04121d; }
.wz-body { display: flex; flex-direction: column; gap: 18px; min-height: 280px; }
.wz-body h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.wz-body > .muted { margin-top: -10px; font-size: 15.5px; }
.wz-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.wz-levels, .wz-equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wz-opt { position: relative; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--bg-2); transition: border-color .2s, background .2s; }
.wz-opt b { font-size: 15.5px; }
.wz-opt small { color: var(--muted); font-size: 12.5px; }
.wz-opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg-2)); }
.wz-opt:disabled { opacity: .45; cursor: not-allowed; }
.wz-opt .pick-check { position: absolute; top: 10px; right: 10px; left: auto; border: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #04121d; display: none; place-items: center; opacity: 1; transform: none; }
.wz-opt .pick-check svg { width: 12px; height: 12px; }
.wz-opt[aria-pressed="true"] .pick-check { display: grid; }
.wz-strokes { display: flex; flex-direction: column; gap: 8px; }
.wz-stroke { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.wz-stroke > span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.wz-stroke .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.wz-stroke .seg button[aria-pressed="true"] { background: var(--c); color: #04121d; }
.wz-tech { display: flex; flex-direction: column; gap: 8px; }
.wz-techrow { display: grid; grid-template-columns: 24px 118px 1fr 30px; gap: 8px; align-items: center; }
.wz-techrow > b { font-family: var(--font-head); font-size: 18px; color: var(--accent); text-align: center; }
.wz-techrow input { font: inherit; font-size: 15.5px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; outline: none; min-width: 0; }
.wz-techrow input:focus { border-color: var(--accent); }
.wz-tech .btn { align-self: flex-start; height: 42px; }
.wz-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 4px; }
.wz-actions .btn { min-width: 130px; }
.wz-body .chips .chip { height: auto; min-height: 34px; padding: 6px 12px; text-align: left; white-space: normal; line-height: 1.3; }

/* home: technique focus + challenges */
.trial-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; margin-bottom: 18px; background: color-mix(in srgb, var(--rest) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--rest) 35%, transparent); font-size: 14.5px; }
.trial-bar svg { width: 20px; height: 20px; color: var(--rest); flex: none; }
.trial-bar span { flex: 1; color: var(--muted); }
.trial-bar span b { color: var(--text); }
.trial-bar > b { color: var(--rest); white-space: nowrap; }
.focus-sec { padding-top: 0; padding-bottom: 32px; }
.focus-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.tech-card, .ch-home { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tech-card > *, .ch-home > * { max-width: 100%; }
.tech-card .field-label, .ch-home .field-label { display: flex; align-items: center; gap: 7px; margin: 0; }
.tech-card .field-label svg, .ch-home .field-label svg { width: 16px; height: 16px; color: var(--accent); }
.tech-card { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.tech-card .muted, .ch-home .muted { font-size: 14px; }
.tech-card .btn svg, .ch-home .btn svg { width: 16px; height: 16px; }
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tech-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.4; }
.tech-list .tag { margin-top: 1px; white-space: nowrap; }
.tech-list.small li { padding: 8px 10px; font-size: 13.5px; font-weight: 500; }
.ch-mini { width: 100%; display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.ch-mini.hit { border-color: color-mix(in srgb, var(--work) 45%, transparent); }
.ch-mini-top, .ch-mini-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.ch-mini-top b { color: var(--text); font-size: 15.5px; }
.ch-mini-foot b { color: var(--text); font-family: var(--font-head); font-size: 17px; }
.ch-quick { display: flex; gap: 6px; }
.ch-quick .chip { height: 32px; padding: 0 12px; font-weight: 800; color: var(--text); }
.ch-quick .chip svg { width: 14px; height: 14px; }
.ch-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--work); font-weight: 800; }
.ch-ok svg { width: 15px; height: 15px; }
.ch-bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; width: 100%; }
.ch-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--work), var(--accent)); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.ch-bar.big { height: 14px; }

/* challenges page */
.ch-pagehead { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ch-pagehead .btn svg { width: 18px; height: 18px; }
.ch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
.ch-card { display: flex; flex-direction: column; gap: 14px; }
.ch-card.hit { border-color: color-mix(in srgb, var(--work) 45%, transparent); }
.ch-card.finished { opacity: .85; }
.ch-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ch-head h3 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.ch-head .muted { font-size: 14px; }
.ch-today { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.ch-count { display: flex; align-items: baseline; gap: 8px; }
.ch-count b { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ch-card.hit .ch-count b { color: var(--work); }
.ch-count span { color: var(--muted); font-size: 15px; }
.ch-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ch-btns .btn { height: 46px; padding: 0 18px; }
.ch-btns .btn-ghost { font-family: var(--font-head); font-size: 17px; }
.ch-btns .linkish { font-size: 13px; color: var(--muted); margin-left: auto; }
.ch-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13.5px; }
.ch-stats span { display: inline-flex; align-items: center; gap: 5px; }
.ch-stats b { color: var(--text); font-family: var(--font-head); font-size: 17px; }
.ch-stats svg { width: 15px; height: 15px; color: var(--rest); }
.ch-dots { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 5px; }
.ch-dot { aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); color: var(--dim); font-size: 11.5px; font-weight: 700; padding: 0; font-variant-numeric: tabular-nums; }
.ch-dot.done { background: var(--work); border-color: var(--work); color: #04121d; }
.ch-dot.part { background: color-mix(in srgb, var(--work) 22%, var(--bg-2)); color: var(--text); }
.ch-dot.miss { background: color-mix(in srgb, var(--danger) 10%, var(--bg-2)); border-color: color-mix(in srgb, var(--danger) 28%, transparent); color: #fda4af; }
.ch-dot.today { outline: 2px solid var(--accent); outline-offset: 1px; }
.ch-dot.future { opacity: .5; }
.ch-dot:disabled { cursor: default; }
.ch-card .fine { text-align: left; margin-top: -6px; }
.ch-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ch-empty > svg { width: 40px; height: 40px; color: var(--rest); }
.ch-empty h3 { color: var(--text); font-size: 22px; }
.ch-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; width: min(560px, 100%); }
.ch-form .dm-row { align-items: start; }

/* player: the swimmer's own technique reminder */
.pl-cheer.remind { border-color: color-mix(in srgb, var(--accent) 60%, transparent); font-size: 18px; }
.pl-cheer small, .done-take small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.done-take { padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); font-weight: 600; max-width: 520px; margin: 0 auto; }

/* plans */
.plans-wrap { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; padding-bottom: 64px; max-width: 900px; }
.plan-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.plan-status h3 { font-size: 26px; display: flex; align-items: center; gap: 8px; }
.plan-status h3 svg { width: 22px; height: 22px; color: var(--danger); }
.plan-status.on { border-color: color-mix(in srgb, var(--work) 40%, transparent); }
.plan-status.off { border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 24px; }
.plan.best { border-color: color-mix(in srgb, var(--work) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--work) 10%, var(--surface)), var(--surface)); }
.plan h3 { font-size: 22px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1; }
.plan-price span { color: var(--muted); }
.plan-list { list-style: none; margin: 6px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--muted); }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; }
.plan-list svg { width: 17px; height: 17px; color: var(--work); flex: none; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; }
.plan-code { display: flex; flex-direction: column; gap: 12px; }
.plan-code .goal-add input { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
body.locked .nav a:not([data-nav="progress"]) { opacity: .45; }

/* account */
.acct-modal { width: min(520px, 100%); }
.acct-plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.acct-plan div { display: flex; flex-direction: column; gap: 2px; }
.acct-plan .muted { font-size: 13.5px; }
.acct-plan.off { border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.acct-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acct-links .btn { height: 46px; padding: 0 12px; font-size: 14px; }
.acct-pw summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.acct-pw form { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }

/* admin */
.admin-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 18px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
.admin-grid .card { display: flex; flex-direction: column; gap: 12px; }
.ad-codeform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-codeform .field:nth-child(4), .ad-codeform .btn { grid-column: 1 / -1; }
.ad-codes, .ad-users { display: flex; flex-direction: column; gap: 8px; }
.ad-code { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ad-code code { font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: .08em; }
.ad-code.used { opacity: .5; }
.ad-code > span:last-child { display: flex; }
.ad-user { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.ad-user .muted { font-size: 12.5px; overflow-wrap: anywhere; }
.ad-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-acts .chip { height: 30px; padding: 0 10px; font-size: 12.5px; }
.ad-pager { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 6px; }
.ad-pager .btn { height: 40px; }

@media (max-width: 980px) {
  .land { grid-template-columns: 1fr; gap: 28px; padding: 28px 18px 40px; }
  .land-copy { order: 2; }
  .land-copy .brand { display: none; }
  .landing .gate-card { order: 1; max-width: 460px; margin: 0 auto; }
  .focus-grid, .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar-inner .nav { overflow-x: auto; scrollbar-width: none; gap: 0; }
  .topbar-inner .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .wz-card { padding: 20px 16px; border-radius: 20px; }
  .wz-steps li span { display: none; }
  .wz-row { grid-template-columns: 1fr 96px; }
  .wz-levels { grid-template-columns: 1fr; }
  .wz-equip { grid-template-columns: 1fr 1fr; }
  .wz-stroke { grid-template-columns: 1fr; gap: 6px; }
  .wz-techrow { grid-template-columns: 20px 1fr 30px; }
  .wz-techrow select { grid-column: 2; }
  .wz-techrow input { grid-column: 2 / -1; grid-row: 2; }
  .wz-techrow .del { grid-column: 3; grid-row: 1; }
  .plans { grid-template-columns: 1fr; }
  .acct-links { grid-template-columns: 1fr; }
  .ch-count b { font-size: 44px; }
  .ch-btns .linkish { margin-left: 0; width: 100%; text-align: left; }
}

.brand { white-space: nowrap; }
@media (max-width: 1100px) { .nav a { padding: 8px 10px; } .topbar-inner { gap: 10px; } }
@media (max-width: 900px) and (min-width: 761px) { .acct .acct-name { display: none; } .acct.signed { padding-right: 8px; } }
/* the placeholder only says "coming soon" when there really is no video, not while one is loading */
.media:not(.missing) .ph-note { visibility: hidden; }
button.trial-bar { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }

/* Wevzi mark */
.brand-mark { background: var(--wz-blue); }
.brand-mark svg.wz { width: 64%; height: auto; fill: var(--wz-green); stroke: none; }
.wz-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.wz-lang .seg { min-width: 220px; }

/* v5: coupons, cancel, policies */
.plan-price s { color: var(--dim); font-size: 20px; margin-right: 4px; }
.plan-off { display: flex; align-items: center; gap: 7px; color: var(--work); font-weight: 700; font-size: 14px; }
.plan-off svg { width: 15px; height: 15px; flex: none; }
.plan-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.plan-nocharge { font-size: 13.5px; max-width: 260px; }
.plans { grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); }
.legal-wrap { padding-top: 40px; padding-bottom: 72px; }
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
.lg-sec { display: flex; flex-direction: column; gap: 12px; }
.lg-sec h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; }
.lg-sec p, .lg-sec li { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.lg-sec b { color: var(--text); }
.lg-sec ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-over { position: relative; width: min(880px, 100%); margin: 0 auto; padding: 28px 20px 60px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.check .linkish, .fine .linkish { font-size: inherit; }

/* v6: logo on the sign-in card, language as a word */
.gate-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gate-card .gate-brand .lang-btn { position: static; }
.lang-btn { white-space: nowrap; letter-spacing: 0; font-size: 13.5px; }
.landing .gate-card .seg { margin-right: 0; }
@media (min-width: 981px) { .gate-card .gate-brand .brand { visibility: hidden; } }
.wz-body select { font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 10px; outline: none; width: 100%; }
.wz-body .field input + input, .wz-body .field select + input { margin-top: 6px; }
.gate-brand .brand > span:last-child, .wz-top .brand > span:last-child { display: inline; }

/* ───────── v8: intro video ───────── */
.intro-cta { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 6px 0 4px; padding: 10px 22px 10px 10px; border: 0; border-radius: 999px;
  background: var(--wz-blue); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 28px -10px rgba(var(--wz-blue-rgb),.7); transition: transform .15s ease; }
.intro-cta:hover { transform: translateY(-2px); }
.intro-cta:active { transform: scale(.97); }
.intro-cta .ic-play { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--wz-green); color: #0b1030; display: grid; place-items: center; }
.intro-cta .ic-play svg { width: 26px; height: 26px; margin-left: 3px; }
.intro-cta .ic-txt { display: flex; flex-direction: column; line-height: 1.2; }
.intro-cta b { font-family: var(--font-head); font-size: 19px; }
.intro-cta small { opacity: .8; font-size: 13.5px; }
.intro-cta.fresh .ic-play { animation: introPulse 1.6s ease-in-out infinite; }
@keyframes introPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--wz-green-rgb),.7); } 50% { box-shadow: 0 0 0 12px rgba(var(--wz-green-rgb),0); } }
body.intro-open { overflow: hidden; }
.intro-over { position: fixed; inset: 0; z-index: 1000; background: rgba(4,6,30,.97); display: grid; place-items: center; padding: 16px; }
.intro-box { position: relative; width: min(100%, calc((100vh - 110px) * 16 / 9)); }
.intro-box canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--wz-blue); cursor: pointer; }
.intro-load { position: absolute; inset: 0 0 58px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.intro-spin { width: 42px; height: 42px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25); border-top-color: var(--wz-green); animation: introSpin .8s linear infinite; }
@keyframes introSpin { to { transform: rotate(360deg); } }
.intro-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.intro-b { min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font: 600 16px var(--font); cursor: pointer; }
.intro-b:hover { background: rgba(255,255,255,.22); }
.intro-b:disabled { opacity: .7; cursor: default; }
.intro-b.wide { font-size: 14px; }
.intro-prog { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.intro-prog i { display: block; height: 100%; width: 0; background: var(--wz-green); border-radius: 4px; }
.intro-end { position: absolute; left: 0; right: 0; bottom: 74px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 12px; }
.intro-end[hidden] { display: none; }
@media (max-width: 760px) {
  .intro-over { padding: 8px; }
  .intro-box { width: 100%; }
  .intro-box canvas { border-radius: 12px; }
  .intro-end { position: static; margin-top: 12px; }
  .intro-cta b { font-size: 17px; }
}
.intro-cta.mob { display: none; }
@media (max-width: 980px) { .intro-cta.desk { display: none; } .intro-cta.mob { display: flex; order: 0; margin: 0 auto; } }

/* ───────── v11: settings, ask-tour, renewal notice, coach page ───────── */
.settings-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.set-row > span { display: flex; flex-direction: column; gap: 3px; }
.set-row small { font-size: 13px; line-height: 1.35; }
.tgl { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.tgl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.tgl:checked { background: var(--work); }
.tgl:checked::after { transform: translateX(20px); }
.tgl:disabled { opacity: .45; cursor: not-allowed; }
.tgl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wz-coach { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); }
.wz-coach small { font-size: 13px; line-height: 1.4; }
.ask-tour { text-align: center; max-width: 440px; }
.ask-tour-ic { font-size: 54px; line-height: 1; }
.ask-tour .done-actions { justify-content: center; flex-wrap: wrap; }
.renew-bar-wrap { padding-top: 16px; }
.renew-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); font-size: 14.5px; }
.renew-bar > span { flex: 1 1 260px; }
.renew-bar svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.co-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.co-sw { display: flex; flex-direction: column; gap: 12px; }
.co-sw.quiet { opacity: .75; }
.co-top { display: flex; gap: 12px; align-items: center; }
.co-top h3 { margin: 0; }
.co-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.co-nums span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.co-nums b { font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.co-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.co-days i, .co-key i { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line); }
.co-key { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.co-key i { width: 14px; display: inline-block; }
.co-days i.d, .co-key i.d { background: var(--work); border-color: transparent; }
.co-days i.s, .co-key i.s { background: var(--accent); border-color: transparent; }
.co-days i.d.s, .co-key i.d.s { background: linear-gradient(135deg, var(--work) 50%, var(--accent) 50%); }
.visit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 55vh; overflow: auto; font-size: 14px; }
.visit-list li { padding: 6px 10px; border-radius: 10px; background: var(--bg-2); }
.co-key { grid-column: 1 / -1; }
.ask-tour { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 28px 22px; }
.ask-tour h2 { margin: 0; }

/* ───────── v12: public intro page ───────── */
.gate.lp { display: block; padding: 0; place-items: initial; }
.lp-wrap { width: min(1120px, 100%); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.lp-top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.lp-top-acts { display: flex; align-items: center; gap: 8px; }
.lp-top .lang-btn { position: static; }
.lp-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 28px; }
.lp-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--wz-blue); box-shadow: 0 24px 60px -24px rgba(var(--wz-blue-rgb),.65); }
.lp-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,80,.05) 30%, rgba(8,10,50,.78)); }
.lp-play { position: absolute; z-index: 1; left: 50%; top: 44%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--wz-green); color: #0b1030; display: grid; place-items: center; animation: introPulse 1.6s ease-in-out infinite; transition: transform .15s; }
.lp-play svg { width: 42px; height: 42px; margin-left: 5px; }
.lp-video:hover .lp-play { transform: scale(1.07); }
.lp-video-cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; display: flex; flex-direction: column; text-align: left; color: #fff; }
.lp-video-cap b { font-family: var(--font-head); font-size: 22px; }
.lp-video-cap small { opacity: .85; font-size: 14px; }
.lp-hero-copy { display: flex; flex-direction: column; gap: 16px; }
.lp-eyebrow { margin: 0; color: var(--work); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.lp-hero-copy h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.04; margin: 0; }
.lp-hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--work)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 18px; color: var(--muted); margin: 0; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-ctas.center { justify-content: center; }
.lp-note { margin: 0; color: var(--muted); font-size: 14px; }
.lp-sec { padding-top: 44px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 14px; }
.lp-sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.lp-sub { color: var(--muted); margin: 0; font-size: 16px; }
.lp-clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-clips figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.lp-clips video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.lp-clips figcaption { padding: 8px 12px; font-weight: 600; font-size: 14px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-steps li { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.lp-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--work); color: #04121d; font-size: 18px; margin-bottom: 10px; }
.lp-steps h3, .lp-feats h3 { margin: 0 0 6px; font-size: 19px; }
.lp-steps p, .lp-feats p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-feats article { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.lp-feats span { font-size: 30px; display: block; margin-bottom: 8px; }
.lp-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-area { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.lp-area small { color: var(--muted); font-size: 12.5px; }
.lp-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 14px; }
.lp-price { position: relative; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.lp-price.best { border-color: color-mix(in srgb, var(--work) 60%, transparent); }
.lp-price .tag { align-self: flex-start; }
.lp-price h3 { margin: 0; }
.lp-amt b { font-family: var(--font-head); font-size: 38px; }
.lp-amt span { color: var(--muted); margin-left: 4px; }
.lp-price p { margin: 0; font-size: 14px; }
.lp-trial { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); }
.lp-trial svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.lp-trial p { margin: 0; font-size: 15px; line-height: 1.55; }
.lp-faq { display: flex; flex-direction: column; gap: 8px; }
.lp-faq details { padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; font-weight: 700; }
.lp-faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.lp-foot { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.lp-over { position: fixed; inset: 0; z-index: 20; background: rgba(2, 8, 14, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow: auto; }
.lp-over .gate-card { width: min(440px, 100%); }
.cur-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; }
  .lp-clips { grid-template-columns: repeat(2, 1fr); }
  .lp-steps, .lp-feats { grid-template-columns: 1fr; }
  .lp-prices { grid-template-columns: 1fr; }
  .lp-top-start { display: none; }
  .lp-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .lp-video-cap b { font-size: 18px; }
}
@media (max-width: 420px) { .lp-top .brand > span:last-child { display: none; } }

/* ───────── v13: livelier intro page ───────── */
.lpi { width: 22px; height: 22px; flex: none; }
.lp-hero-wrap { position: relative; overflow: hidden; padding-bottom: 40px; }
.lp-blobs { position: absolute; inset: 0; pointer-events: none; }
.lp-blobs i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .32; animation: lpBlob 18s ease-in-out infinite alternate; }
.lp-blobs i:nth-child(1) { background: var(--wz-blue); left: -12vmax; top: -18vmax; }
.lp-blobs i:nth-child(2) { background: var(--wz-green); right: -16vmax; top: 4vmax; opacity: .16; animation-delay: -6s; }
.lp-blobs i:nth-child(3) { background: #38bdf8; left: 30%; bottom: -26vmax; opacity: .18; animation-delay: -12s; }
@keyframes lpBlob { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
.lp-hero { position: relative; }
.lp-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 50px; fill: var(--bg); }
.lp-rot { display: inline-block; }
.lp-rot em { display: inline-block; }
.lp-rot .out-word { animation: lpOut .26s ease-in forwards; }
.lp-rot .in-word { animation: lpIn .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes lpOut { to { opacity: 0; transform: translateY(-.35em); } }
@keyframes lpIn { from { opacity: 0; transform: translateY(.4em); } }
.lp-ctas .btn .lpi { width: 18px; height: 18px; }
.lp-play .lpi { width: 40px; height: 40px; margin-left: 5px; }
[data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease-out, transform .55s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 60ms); }
[data-rv].in { opacity: 1; transform: none; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -8px; }
.lp-stat { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.lp-stat b { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 44px); line-height: 1; color: var(--work); font-variant-numeric: tabular-nums; }
.lp-stat span { color: var(--muted); font-size: 14px; }
.lp-marquee { overflow: hidden; margin-top: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp-track { display: flex; gap: 14px; width: max-content; animation: lpMarquee 48s linear infinite; }
.lp-marquee:hover .lp-track { animation-play-state: paused; }
.lp-track figure { margin: 0; width: 280px; flex: none; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.lp-track video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.lp-track figcaption { padding: 8px 12px; font-weight: 600; font-size: 14px; }
@keyframes lpMarquee { to { transform: translateX(-50%); } }
.lp-steps { position: relative; }
.lp-steps li { transition: transform .2s ease, border-color .2s ease; }
.lp-steps li:hover { transform: translateY(-3px); border-color: var(--line-2); }
.lp-steps.in li { animation: lpPop .5s cubic-bezier(.2,.9,.3,1.2) both; }
.lp-steps.in li:nth-child(2) { animation-delay: .12s; } .lp-steps.in li:nth-child(3) { animation-delay: .24s; }
@keyframes lpPop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.lp-play-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-demo, .lp-ladder { position: relative; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.lp-demo h2, .lp-ladder h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0; }
.lp-demo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lp-stars { display: flex; gap: 4px; }
.lp-stars span { color: var(--line-2); transition: color .2s, transform .3s cubic-bezier(.2,.9,.3,1.6); }
.lp-stars span.on { color: #ffc531; transform: scale(1.18); }
.lp-stars span.on .lpi { fill: #ffc531; }
.lp-stars .lpi { width: 30px; height: 30px; }
.lp-missions { display: flex; flex-direction: column; gap: 8px; }
.lp-mission { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 600 15.5px var(--font); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .1s; }
.lp-mission:active { transform: scale(.98); }
.lp-mission:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-box { width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .2s; }
.lp-box .lpi { width: 18px; height: 18px; }
.lp-mission[aria-pressed="true"] { border-color: color-mix(in srgb, var(--work) 60%, transparent); background: color-mix(in srgb, var(--work) 12%, var(--bg-2)); }
.lp-mission[aria-pressed="true"] .lp-box { background: var(--work); border-color: var(--work); color: #04121d; }
.lp-demo-msg { margin: 0; color: var(--muted); font-weight: 600; min-height: 1.4em; }
.lp-confetti { position: absolute; inset: 0; pointer-events: none; }
.lp-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0; transform: rotate(var(--r)); }
.lp-confetti.go i { animation: lpFall 1.6s cubic-bezier(.3,.6,.4,1) var(--d) forwards; }
@keyframes lpFall { 0% { opacity: 1; transform: translateY(0) rotate(var(--r)); } 100% { opacity: 0; transform: translateY(380px) rotate(calc(var(--r) + 540deg)); } }
.lp-ranks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-ranks li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.lp-ranks i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line-2); color: var(--text); font-size: 12px; flex: none; transition: background .3s, color .3s; }
.lp-ladder.in .lp-ranks i { animation: lpRank .4s ease forwards; animation-delay: calc(var(--i) * 140ms + .2s); }
@keyframes lpRank { to { background: var(--work); color: #04121d; } }
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-bento article { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, opacity .55s ease-out; }
.lp-bento article.wide { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--wz-blue) 34%, var(--surface)), var(--surface)); }
.lp-bento article:hover { transform: translateY(-3px); border-color: var(--line-2); }
.lp-bento h3 { margin: 10px 0 6px; font-size: 19px; }
.lp-bento p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lp-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--work) 16%, transparent); color: var(--work); }
.lp-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.lp-region { padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.lp-region h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.lp-region h3 .lpi { color: var(--accent); width: 20px; height: 20px; }
.lp-region .lp-areas { gap: 8px; }
.lp-region .lp-area { background: var(--bg-2); flex: 1 1 130px; }
.lp-area-meta { color: var(--work) !important; font-weight: 600; }
.lp-add { cursor: pointer; align-items: flex-start; justify-content: center; min-height: 100px; border: 2px dashed color-mix(in srgb, var(--work) 55%, transparent) !important; background: color-mix(in srgb, var(--work) 8%, var(--surface)) !important; color: var(--text); font: inherit; text-align: left; border-radius: 18px !important; padding: 16px !important; transition: transform .15s, background .2s; }
.lp-add:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--work) 14%, var(--surface)) !important; }
.lp-add .lpi { color: var(--work); margin-bottom: 4px; }
.lp-add b { font-size: 18px; }
.lp-price ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.lp-price li { display: flex; gap: 8px; align-items: center; }
.lp-price li .lpi { width: 16px; height: 16px; color: var(--work); }
.lp-price { transition: transform .2s ease, opacity .55s ease-out; }
.lp-price:hover { transform: translateY(-3px); }
.lp-final { padding: 32px 20px; border-radius: 24px; background: linear-gradient(135deg, var(--wz-blue), #0b0f8a); display: flex; flex-direction: column; gap: 16px; align-items: center; }
.lp-final h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 0; }
.lp-final .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: none; transform: translateY(110%); transition: transform .3s ease; }
.lp-sticky .btn { width: 100%; }
@media (max-width: 900px) {
  .lp-sticky { display: block; }
  .lp-sticky.show { transform: none; }
  .lp-foot { padding-bottom: 96px; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-play-sec { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-bento article.wide { grid-column: auto; }
  .lp-ranks { grid-template-columns: repeat(2, 1fr); }
  .lp-track figure { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-blobs i, .lp-track, .lp-play, .lp-steps.in li, .lp-ladder.in .lp-ranks i { animation: none !important; }
  .lp-ladder .lp-ranks i { background: var(--work); color: #04121d; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
  .lp-track { flex-wrap: wrap; width: auto; }
  .lp-track figure[aria-hidden="true"] { display: none; }
  .lp-sticky { transition: none; }
}
.lp-ranks { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; }
.lp-ranks li { min-width: 0; }
/* pop-ups and messages above the intro page while signed out */
body.gated .modal-backdrop { z-index: 400; }
body.gated .toast { z-index: 410; }

/* v14: admin coach form in one column; finish screen scrolls and can be closed */
#ad-coach { grid-template-columns: minmax(0, 1fr); }
#ad-coach .field, .ad-codeform .field { min-width: 0; }
#ad-coach input, #ad-coach select { width: 100%; min-width: 0; }
.player .done { position: absolute; inset: 0; overflow-y: auto; place-items: start center; padding: 56px 20px 40px; z-index: 2; }
.done-x { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 16px; z-index: 3; }

/* v14: music list in the player */
.pl-music-pop { position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 120; width: min(340px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto;
  padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; animation: pop .2s ease; }
.pl-mhead { display: flex; align-items: center; justify-content: space-between; }
.pl-mhead b { font-size: 17px; }
.pl-mgroup { display: flex; flex-direction: column; gap: 4px; }
.pl-mgroup small { color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; margin: 4px 0 2px; }
.pl-mtrack { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; background: var(--bg-2); color: var(--text); font: 600 14.5px var(--font); text-align: left; cursor: pointer; }
.pl-mtrack:hover { border-color: var(--line-2); }
.pl-mtrack[aria-pressed="true"] { border-color: color-mix(in srgb, var(--work) 60%, transparent); background: color-mix(in srgb, var(--work) 14%, var(--bg-2)); }
.pl-mtrack[aria-pressed="true"]::before { content: '♪'; margin-right: 8px; color: var(--work); }
.pl-mvol { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pl-mvol input { flex: 1; accent-color: var(--work); }
.pl-mnote { margin: 0; font-size: 12px; color: var(--muted); }

/* v18: rotating headline word keeps one fixed size (the longest word), so the headline never jumps */
.lp-rot { display: inline-grid; vertical-align: bottom; }
.lp-rot em { grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.2); white-space: nowrap; }
.lp-rot em.on { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-ages b { font-size: clamp(17px, 2vw, 22px) !important; line-height: 1.25 !important; padding: 6px 0 4px; }
.meet-fb { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-color: color-mix(in srgb, var(--work) 45%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--work) 10%, var(--surface)), var(--surface)); }
.meet-fb h3 { font-size: 26px; font-weight: 800; margin: 0; }
.meet-fb .field-label { margin: 0; display: flex; align-items: center; gap: 7px; }
.meet-fb .field-label svg { width: 16px; height: 16px; flex: none; color: var(--work); }
.meet-fb .meet-btns { flex-wrap: wrap; }
.meet-fb .meet-btns .btn:disabled { opacity: .55; }
.meet-fb .meet-btns .btn.btn-primary:disabled { opacity: 1; }
.meet-fb-msg { margin: 6px 0 0; font-weight: 600; color: var(--work); }
.meet-fb-msg:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .lp-rot em { transition: none; } }

/* v21: "word in" on its own line; the word's box follows the current word so "in" sits right after it */
.lp-rotline { display: block; white-space: nowrap; }
.lp-rot { transition: width .4s cubic-bezier(.2,.9,.3,1); }
button.lp-area { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
button.lp-area:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
button.lp-area:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lp-area-meta .lpi { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.mcal { max-width: 560px; }
.mcal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: min(52vh, 460px); overflow-y: auto; }
.mcal-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--text) 4%, transparent); }
.mcal-list li.next { background: color-mix(in srgb, var(--work) 14%, transparent); }
.mcal-list li.mcal-mo { background: none; padding: 10px 2px 2px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mcal-d { flex: none; min-width: 92px; font-weight: 700; font-size: 14px; }
.mcal-n { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mcal-n small { color: var(--muted); font-size: 13px; }
.mcal-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.mcal-foot .btn { width: 100%; }

/* v21: swim log on the Timer page */
.swimlog { margin-top: 18px; }
.sl-card { display: flex; flex-direction: column; gap: 16px; }
.sl-head { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.sl-head > div:first-child { flex: 1 1 300px; }
.sl-head .field-label { display: flex; align-items: center; gap: 7px; color: var(--accent); }
.sl-head .field-label svg { width: 16px; height: 16px; }
.sl-head h3 { font-size: 24px; font-weight: 800; margin: 4px 0; }
.sl-head p { margin: 0; font-size: 14px; }
.sl-level { display: flex; gap: 12px; align-items: center; flex: 0 1 280px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.sl-level > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sl-level small { color: var(--muted); font-size: 12px; }
.sl-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: end; }
.sl-form .field { margin: 0; }
.sl-form .btn { height: 48px; }
.sl-quick { margin-top: -6px; }
.sl-quick .chip[aria-pressed="true"] { color: #04121f; font-weight: 700; }
.sl-stats { grid-template-columns: repeat(4, 1fr); margin: 0; }
.sl-weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; height: 120px; align-items: end; }
.sl-wk { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.sl-wk span { width: 100%; max-width: 38px; min-height: 4px; border-radius: 8px 8px 3px 3px; background: color-mix(in srgb, var(--accent) 55%, transparent); position: relative; transition: height .5s cubic-bezier(.2,.9,.3,1); }
.sl-wk.now span { background: var(--accent); }
.sl-wk b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 12px; }
.sl-wk small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.sl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sl-list li { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--text) 4%, transparent); }
.sl-list b { color: var(--accent); font-size: 14px; }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .sl-form { grid-template-columns: 1fr 1fr; }
  .sl-form .field:first-child, .sl-form .btn { grid-column: 1 / -1; }
  .sl-stats { grid-template-columns: 1fr 1fr; }
  .sl-list li { grid-template-columns: 1fr auto auto; }
  .sl-list li small { grid-column: 1 / 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .lp-rot, .sl-wk span, button.lp-area { transition: none; } }
.lp-rot em { justify-self: start; }
.lp-area-meta .lpi { display: inline-block; }

/* ───────── camera form check (js/formcheck.js) ───────── */
.pl-cam { position: absolute; left: 20px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text, #e6f0f7); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.pl-cam svg { width: 20px; height: 20px; flex: none; }
.pl-cam:hover { background: var(--surface-2); }
.pl-cam[aria-pressed="true"] { border-color: var(--wz-green); color: var(--wz-green); }
.pl-cam[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; animation: pulse 1.2s ease-in-out infinite; }
.player.fc-on .pl-main { grid-template-columns: 1fr 1fr minmax(280px, .75fr); gap: 16px; }
.fc-cam { position: relative; min-height: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #02070d; }
.fc-view { position: absolute; inset: 0; transform: scaleX(-1); }
.fc-view video, .fc-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-setup-stage .fc-view video, .fc-setup-stage .fc-view canvas { object-fit: contain; }
.fc-status { position: absolute; left: 12px; right: 52px; top: 12px; z-index: 2; display: flex; }
.fc-status span { padding: 8px 14px; border-radius: 14px; background: rgba(6, 17, 28, .78); backdrop-filter: blur(8px); font-weight: 800; font-size: 14.5px; line-height: 1.3; border: 2px solid transparent; }
.fc-status span:empty { display: none; }
.fc-status[data-s="ok"] span { border-color: var(--wz-green); color: var(--wz-green); }
.fc-status[data-s="bad"] span { border-color: #ff4d5e; color: #ffd6da; }
.fc-status[data-s="off"] span { border-color: #94a3b8; color: #e2e8f0; }
.fc-status[data-s="rest"] span { color: var(--rest, #fbbf24); }
.fc-x { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(6, 17, 28, .78); }
.fc-hud { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 10px 16px; padding: 10px 14px; border-radius: 16px; background: rgba(6, 17, 28, .78); backdrop-filter: blur(8px); }
.fc-hud[hidden] { display: none; }
.fc-num { min-width: 0; }
.fc-num b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.fc-num span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fc-bar { height: 10px; border-radius: 99px; background: rgba(255, 77, 94, .45); overflow: hidden; align-self: center; }
.fc-bar i { display: block; height: 100%; width: calc(var(--ok, 0) * 100%); background: var(--wz-green); border-radius: inherit; transition: width .3s; }
/* setup */
.fc-setup { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 14, .86); backdrop-filter: blur(6px); overflow-y: auto; }
.fc-setup-card { width: min(920px, 100%); display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto auto 1fr; gap: 14px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.fc-setup-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; }
.fc-setup-stage { grid-row: 2 / 5; position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #02070d; display: grid; place-items: center; }
.fc-load { margin: 0; padding: 20px; text-align: center; color: var(--muted); font-weight: 600; position: relative; z-index: 2; }
.fc-load.over { position: absolute; inset: auto 0 0 0; background: rgba(6, 17, 28, .8); }
.fc-load.err { color: #ffd6da; }
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; counter-reset: s; }
.fc-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.35; color: var(--muted); transition: color .2s; }
.fc-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--surface-2); color: var(--text, #e6f0f7); transition: background .2s; }
.fc-steps li.on { color: var(--text, #e6f0f7); }
.fc-steps li.on::before { content: "\2713"; background: var(--wz-green); color: #04121f; }
.fc-tip { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .3); font-weight: 700; line-height: 1.4; }
.fc-priv { margin: 0; font-size: 13px; color: var(--muted); align-self: end; }
/* summary on the "session complete" screen */
.fc-sum { margin: 22px 0 6px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.fc-sum h3 { margin: 0 0 14px; font-size: 17px; }
.fc-sum-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fc-donut { --p: 0; width: 112px; height: 112px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 76%, transparent 77%), conic-gradient(var(--wz-green) calc(var(--p) * 1%), rgba(255, 77, 94, .55) 0); }
.fc-donut b { font-family: var(--font-head); font-size: 28px; line-height: 1; }
.fc-donut span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fc-sum-nums { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 22px; }
.fc-sum-nums b { display: block; font-family: var(--font-head); font-size: 22px; font-variant-numeric: tabular-nums; }
.fc-sum-nums span { font-size: 12.5px; color: var(--muted); }
.fc-sum-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-sum-list li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) 44px 74px; align-items: center; gap: 10px; font-size: 14px; }
.fc-sum-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.fc-sum-bar { height: 8px; border-radius: 99px; background: rgba(255, 77, 94, .4); overflow: hidden; }
.fc-sum-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--wz-green); border-radius: inherit; }
.fc-sum-list b { text-align: right; font-variant-numeric: tabular-nums; }
.fc-sum-list small { color: var(--muted); text-align: right; }
.fc-hist { display: grid; gap: 8px; margin-top: 12px; }
.fc-hist-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(60px, 120px) 44px; gap: 10px; align-items: center; font-size: 14px; }
.fc-hist-row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-hist-row b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .player.fc-on .pl-main { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(200px, 40vh) auto; }
  .player.fc-on .pl-side { grid-column: 1 / -1; }
  .fc-setup-card { grid-template-columns: 1fr; grid-template-rows: auto; }
  .fc-setup-stage { grid-row: auto; }
}
@media (max-width: 640px) {
  .pl-cam { position: static; order: 10; flex-basis: 100%; justify-content: center; }
  .player.fc-on .pl-main { gap: 8px; grid-template-rows: minmax(190px, 36vh) auto; }
  .fc-cam, .player.fc-on .pl-stage { border-radius: 16px; }
  .fc-status { left: 8px; right: 44px; top: 8px; }
  .fc-status span { font-size: 12.5px; padding: 6px 10px; }
  .fc-hud { left: 6px; right: 6px; bottom: 6px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 6px 8px; gap: 3px 8px; border-radius: 12px; }
  .fc-bar { grid-column: 1 / -1; height: 6px; }
  .fc-num b { font-size: 18px; }
  .fc-num span { display: block; font-size: 9px; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fc-setup { padding: 8px; place-items: start center; }
  .fc-setup-card { padding: 14px; gap: 12px; }
  .fc-sum-nums { grid-template-columns: repeat(3, 1fr); gap: 6px 12px; }
  .fc-sum-list li { grid-template-columns: minmax(0, 1fr) 40px 64px; }
  .fc-sum-bar { display: none; }
  .fc-hist-row { grid-template-columns: 56px minmax(0, 1fr) 44px; }
  .fc-hist-row .fc-sum-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pl-cam[aria-pressed="true"]::before { animation: none; } }

/* ───────── waiting animation: the Wevzi logo swimming (js/loader.js) ───────── */
.wz-loader { --s: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center; color: var(--text, #e6f0f7); }
.wz-loader.sm { --s: 52px; gap: 8px; padding: 10px; }
.wz-loader.lg { --s: 116px; gap: 18px; }
.wz-ld-art { position: relative; width: calc(var(--s) * 1.9); height: calc(var(--s) * 1.55); display: grid; place-items: center; }
.wz-ld-logo { position: relative; z-index: 2; width: var(--s); height: var(--s); filter: drop-shadow(0 10px 18px rgba(var(--wz-blue-rgb), .45)); animation: wzSwim 1.6s ease-in-out infinite; transform-origin: 50% 70%; margin-bottom: calc(var(--s) * .28); }
.wz-ld-bg { fill: var(--wz-blue); }
.wz-ld-p { fill: var(--wz-green); animation: wzGlow 1.2s ease-in-out infinite; }
.wz-ld-p.p2 { animation-delay: .15s; }
.wz-ld-p.p3 { animation-delay: .3s; }
.wz-ld-ring { position: absolute; z-index: 0; left: 50%; top: 42%; width: calc(var(--s) * 1.1); height: calc(var(--s) * 1.1); margin: calc(var(--s) * -.55) 0 0 calc(var(--s) * -.55); border-radius: 50%; border: 3px solid rgba(var(--wz-green-rgb), .55); animation: wzRing 1.8s ease-out infinite; }
.wz-ld-ring.r2 { border-color: rgba(var(--accent-rgb), .5); animation-delay: .9s; }
.wz-ld-water { position: absolute; z-index: 3; left: 4%; right: 4%; bottom: 6%; height: calc(var(--s) * .34); overflow: hidden; border-radius: 0 0 999px 999px; display: flex; width: auto; }
.wz-ld-wave { flex: none; width: 100%; height: 100%; fill: rgba(var(--accent-rgb), .55); animation: wzWave 1.1s linear infinite; }
.wz-ld-wave + .wz-ld-wave { fill: rgba(var(--accent-rgb), .55); }
.wz-ld-bub { position: absolute; z-index: 1; bottom: 26%; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); background: rgba(var(--accent-rgb), .25); opacity: 0; animation: wzBubble 2.2s ease-in infinite; }
.wz-ld-bub.b1 { left: 18%; }
.wz-ld-bub.b2 { right: 16%; width: 12px; height: 12px; animation-delay: .7s; }
.wz-ld-bub.b3 { left: 30%; width: 6px; height: 6px; animation-delay: 1.4s; }
.wz-ld-text { margin: 0; font-weight: 800; font-size: 16px; line-height: 1.35; max-width: 34ch; }
.wz-loader.sm .wz-ld-text { font-size: 14px; }
.wz-dots i { display: inline-block; font-style: normal; animation: wzDot 1s ease-in-out infinite; }
.wz-dots i:nth-child(2) { animation-delay: .15s; }
.wz-dots i:nth-child(3) { animation-delay: .3s; }
.wz-mini { display: inline-grid; width: 1.35em; height: 1.35em; flex: none; vertical-align: -0.3em; }
.wz-mini .wz-ld-logo { width: 100%; height: 100%; margin: 0; filter: none; animation: wzHop .9s ease-in-out infinite; }
button.is-busy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: progress; opacity: 1 !important; }
@keyframes wzSwim { 0%, 100% { transform: translateY(-5px) rotate(-7deg); } 50% { transform: translateY(5px) rotate(7deg); } }
@keyframes wzGlow { 0%, 100% { fill: var(--wz-green); } 50% { fill: #eaffdf; } }
@keyframes wzRing { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes wzWave { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes wzBubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(calc(var(--s) * -1.05)) scale(1.1); opacity: 0; } }
@keyframes wzDot { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
@keyframes wzHop { 0%, 100% { transform: translateY(1px) rotate(-8deg); } 50% { transform: translateY(-2px) rotate(8deg); } }
/* boot screen and waiting overlays */
#app > .wz-loader.boot { min-height: 62vh; }
.wz-over { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(4, 12, 20, .55); backdrop-filter: blur(3px); pointer-events: none; }
.wz-over[hidden] { display: none; }
.fc-setup-stage > .wz-loader { position: absolute; inset: 0; z-index: 3; background: rgba(2, 7, 13, .72); }
@media (prefers-reduced-motion: reduce) {
  .wz-ld-logo, .wz-mini .wz-ld-logo { animation: wzCalm 1.8s ease-in-out infinite !important; }
  .wz-ld-p, .wz-ld-ring, .wz-ld-wave, .wz-ld-bub, .wz-dots i { animation: none !important; }
  .wz-ld-ring, .wz-ld-bub { display: none; }
}
@keyframes wzCalm { 50% { opacity: .55; } }

/* ───────── v25: full-width film hero on the public page ───────── */
.lp-hero-full { min-height: max(600px, min(56.25vw, 92svh)); display: flex; align-items: flex-end; padding-bottom: 64px; background: #050b2e; }
.lp-hero-full .lp-blobs { display: none; }
.lp-hero-media { position: absolute; inset: 0; }
.lp-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 40, .86) 0%, rgba(4, 8, 40, .55) 45%, rgba(4, 8, 40, .08) 80%), linear-gradient(0deg, rgba(4, 8, 40, .75) 0%, rgba(4, 8, 40, 0) 45%); }
.lp-hero-full .lp-hero { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 640px) 1fr; align-items: end; gap: 32px; padding-top: 48px; padding-bottom: 0; }
.lp-hero-full .lp-hero-copy { color: #fff; }
.lp-hero-full .lp-hero-copy h1 { font-size: clamp(38px, 5.4vw, 72px); text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.lp-hero-full .lp-lead { color: rgba(255, 255, 255, .88); max-width: 46ch; }
.lp-hero-full .lp-note { color: rgba(255, 255, 255, .75); }
.lp-hero-brand { margin: 0; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.lp-hero-mark { display: inline-grid; width: 46px; height: 46px; }
.lp-hero-mark .wz-ld-logo { width: 100%; height: 100%; margin: 0; filter: drop-shadow(0 6px 16px rgba(var(--wz-blue-rgb), .55)); animation: wzSwim 3.2s ease-in-out infinite; }
.lp-glass { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; backdrop-filter: blur(8px); }
.lp-hero-beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-self: end; width: min(300px, 100%); }
.lp-hero-beats li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: rgba(5, 11, 46, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .7); transition: transform .4s ease, background .4s ease, color .4s ease, border-color .4s ease; }
.lp-hero-beats li b { font-family: var(--font-head); font-size: 18px; color: #fff; }
.lp-hero-beats li span { font-size: 13.5px; }
.lp-hero-beats li.on { transform: translateX(-10px); background: rgba(var(--wz-blue-rgb), .78); border-color: var(--wz-green); color: #fff; }
.lp-hero-beats li.on b { color: var(--wz-green); }
.lp-hero-full .lp-wave { z-index: 2; }
.lp-top .lp-top-start { transition: opacity .25s ease, transform .25s ease; }
.lp-top.hero-on .lp-top-start { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; }
@media (max-width: 980px) {
  .lp-hero-full .lp-hero { grid-template-columns: 1fr; }
  .lp-hero-beats { grid-template-columns: repeat(3, 1fr); justify-self: stretch; width: 100%; }
  .lp-hero-beats li.on { transform: translateY(-4px); }
}
@media (max-width: 640px) {
  .lp-hero-full { min-height: 0; padding-bottom: 48px; }
  .lp-hero-media { height: 56vw; bottom: auto; }
  .lp-hero-media::after { background: linear-gradient(0deg, #050b2e 0%, rgba(5, 11, 46, .2) 55%, rgba(5, 11, 46, 0) 100%); }
  .lp-hero-full .lp-hero { padding-top: calc(56vw - 40px); }
  .lp-hero-beats { gap: 6px; }
  .lp-hero-beats li { padding: 8px 10px; }
  .lp-hero-beats li b { font-size: 15px; }
  .lp-hero-beats li span { display: none; }
  .lp-hero-brand { font-size: 17px; }
  .lp-hero-mark { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .lp-hero-beats li, .lp-top .lp-top-start { transition: none; } }

/* ───────── v25: "I'm a person" swimmer slider on the sign-up form ───────── */
.human { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.human.ok { border-color: var(--wz-green); }
.hm-pool { position: relative; height: 52px; border-radius: 14px; background: linear-gradient(180deg, #2d8ff0, #1764c8); overflow: hidden; }
.hm-lane { position: absolute; left: 8px; right: 30px; top: 50%; height: 6px; margin-top: -3px; background: repeating-linear-gradient(90deg, #fff 0 10px, #ff4d5e 10px 20px); opacity: .5; border-radius: 3px; }
.hm-wall { position: absolute; right: 0; top: 0; bottom: 0; width: 22px; background: repeating-linear-gradient(0deg, #e2e8f0 0 8px, #94a3b8 8px 16px); }
.hm-pool input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.hm-pool input[type=range]:disabled { cursor: default; }
.hm-pool input[type=range]::-webkit-slider-runnable-track { height: 52px; background: transparent; }
.hm-pool input[type=range]::-moz-range-track { height: 52px; background: transparent; }
.hm-pool input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 44px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--wz-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Ccircle cx='50' cy='14' r='6' fill='%237dd856'/%3E%3Cpath d='M6 20c8-6 16-6 24-2l12-6' stroke='%23fff' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M4 26c6 3 12 3 18 0s12-3 18 0 12 3 18 0' stroke='%2393c5fd' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.hm-pool input[type=range]::-moz-range-thumb { width: 56px; height: 44px; border: 0; border-radius: 12px; background: var(--wz-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Ccircle cx='50' cy='14' r='6' fill='%237dd856'/%3E%3Cpath d='M6 20c8-6 16-6 24-2l12-6' stroke='%23fff' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.hm-pool input[type=range]:focus-visible { outline: 3px solid var(--wz-green); outline-offset: 2px; border-radius: 14px; }
.human.ok .hm-pool { background: linear-gradient(180deg, #4fbf4a, #2f8f2c); }
.hm-state { color: var(--wz-green); font-weight: 700; min-height: 1em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ───────── v25: lines on the coach video ───────── */
.pl-stage canvas.coach-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* ───────── v27: the friendly yes/no box (WZ.ask in js/loader.js) ───────── */
.wz-ask { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 24, .72); backdrop-filter: blur(6px); animation: fade .2s ease; }
.wz-ask.out { opacity: 0; transition: opacity .18s ease; }
.wz-ask-card { width: min(400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 22px 20px; text-align: center; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .7); animation: askPop .35s cubic-bezier(.2, 1.3, .4, 1) both; }
.wz-ask-card h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.wz-ask-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.wz-ask-card p b { color: var(--text, #e6f0f7); }
.wz-ask-logo { display: inline-grid; width: 64px; height: 64px; }
.wz-ask-logo .wz-ld-logo { width: 100%; height: 100%; margin: 0; animation: wzSwim 2.4s ease-in-out infinite; }
.wz-ask-ring { --p: 0; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 79%), conic-gradient(var(--wz-green) calc(var(--p) * 1%), var(--surface-3) 0); }
.wz-ask-ring b { font-family: var(--font-head); font-size: 28px; line-height: 1; }
.wz-ask-ring small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wz-ask-acts { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
.wz-ask-acts .btn { width: 100%; justify-content: center; }
.wz-ask-acts .btn-ghost.wz-danger { color: #ff8a96; border-color: color-mix(in srgb, #ff4d5e 45%, transparent); }
.wz-ask-acts .btn-primary.wz-danger { background: #ff4d5e; color: #fff; box-shadow: 0 12px 30px -12px #ff4d5e; }
@keyframes askPop { from { transform: scale(.85) translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wz-ask-card, .wz-ask-logo .wz-ld-logo { animation: none; } }

/* ───────── v29: the four cards under the film ───────── */
.lp-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lp-ages { gap: 2px; }
.lp-ages > span { font-weight: 700; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lp-ages b { font-size: clamp(19px, 2.2vw, 24px) !important; line-height: 1.2 !important; padding: 2px 0 !important; }
.lp-adapt .lpi { width: 30px; height: 30px; color: var(--work); }
.lp-adapt b { font-size: clamp(20px, 2.3vw, 26px) !important; line-height: 1.15 !important; color: var(--text, #e6f0f7) !important; }

/* ───────── v29: meet information by state ───────── */
.lp-state-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 16px; }
.lp-state-pick { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 56px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--accent); box-shadow: 0 10px 30px -18px var(--accent); }
.lp-state-pick .lpi { width: 22px; height: 22px; color: var(--accent); flex: none; }
.lp-state-pick select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text, #e6f0f7); font: inherit; font-family: var(--font-head); font-weight: 800; font-size: 22px; padding: 10px 30px 10px 0; cursor: pointer; min-width: 200px; }
.lp-state-pick::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.lp-state-pick select option, .lp-state-pick select optgroup { background: #0d1530; color: #e6f0f7; font-family: Inter, system-ui, sans-serif; font-size: 15px; }
.lp-state-note { font-size: 13.5px; }
.lp-state-body { display: grid; gap: 14px; animation: lpFadeUp .35s ease both; }
.lp-zones { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-zone { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 16px; min-width: 180px; flex: 1 1 180px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); color: var(--text, #e6f0f7); font: inherit; cursor: pointer; transition: border-color .2s, transform .15s, background .2s; }
.lp-zone:hover { transform: translateY(-2px); }
.lp-zone[aria-pressed="true"] { border-color: var(--work); background: color-mix(in srgb, var(--work) 10%, var(--surface)); }
.lp-zone small { color: var(--muted); font-size: 12.5px; }
.lp-zone .lp-area-meta { display: inline-flex; align-items: center; gap: 4px; }
.lp-zone .lpi { width: 14px; height: 14px; }
.lp-zone-meets { min-height: 120px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.lp-meetlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-meetlist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); animation: lpFadeUp .4s ease both; animation-delay: calc(var(--i) * 70ms); }
.lp-mdate { width: 54px; height: 54px; border-radius: 14px; background: var(--wz-blue); color: #fff; display: grid; place-content: center; text-align: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.lp-mdate b { font-family: var(--font-head); font-size: 22px; line-height: 1; }
.lp-minfo { display: flex; flex-direction: column; min-width: 0; }
.lp-minfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-minfo small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-zone-meets .linkish { margin-top: 10px; display: inline-block; }
.lp-nostate { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border-radius: 18px; border: 2px dashed color-mix(in srgb, var(--work) 55%, transparent); background: color-mix(in srgb, var(--work) 7%, var(--surface)); }
.lp-nostate > .lpi { width: 28px; height: 28px; color: var(--work); }
.lp-nostate > div { flex: 1 1 240px; } .lp-nostate p { margin: 4px 0 0; }
.lp-nocal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .lp-nocal p { margin: 0; color: var(--muted); }
.lp-meetinfo .lp-add { margin-top: 14px; }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) { .lp-state-pick { width: 100%; } .lp-state-pick select { min-width: 0; width: 100%; font-size: 20px; } .lp-zone { min-width: 0; } .lp-mdate { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .lp-state-body, .lp-meetlist li { animation: none; } }

/* ───────── v29: the "Wevzi Dryland" name in a rounded, kid-friendly font (Fredoka) ───────── */
:root { --font-brand: "Fredoka", "Baloo 2", "Nunito", system-ui, sans-serif; }
.brand, .lp-hero-brand { font-family: var(--font-brand) !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.brand em, .lp-hero-brand em { font-style: normal; color: var(--wz-green); }

/* v30: the numbers on the first two cards are big and green again; "Adapts to your meets" is green */
.lp-stat .lp-num i { font-style: normal; font: inherit; color: inherit; }
.lp-adapt b { color: var(--work) !important; }

/* ───────── v32: public top bar with section links, photo hero, the film on a "screen", centred prices ───────── */
.lp-top { transition: box-shadow .25s ease, background .25s ease; }
.lp-top.scrolled { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); }
.lp-top-in { position: relative; gap: 18px; }
.lp-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line); }
.lp-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.lp-nav a:hover { color: var(--text); }
.lp-nav a.on { color: var(--text); background: color-mix(in srgb, var(--accent) 20%, transparent); }
.lp-nav a:focus-visible, .lp-nav-trial:focus-visible, .lp-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-nav-trial { min-height: 40px; margin-left: 4px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--wz-green); color: #0b1030; font: 800 15px var(--font); cursor: pointer;
  box-shadow: 0 6px 18px -4px rgba(var(--wz-green-rgb), .55); transition: transform .15s ease, box-shadow .2s ease; }
.lp-nav-trial:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(var(--wz-green-rgb), .7); }
.lp-nav-trial:active { transform: scale(.97); }
.lp-burger { display: none; }
@media (max-width: 900px) {
  .lp-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
  .lp-burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .lp-top.open .lp-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lp-top.open .lp-burger span:nth-child(2) { opacity: 0; }
  .lp-top.open .lp-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lp-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 20px; background: var(--surface);
    border-color: var(--line-2); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
    transition: opacity .18s ease, transform .2s ease, visibility .2s; }
  .lp-top.open .lp-nav { opacity: 1; visibility: visible; transform: none; }
  .lp-nav a { min-height: 50px; font-size: 17px; }
  .lp-nav-trial { min-height: 50px; margin: 6px 0 0; font-size: 17px; }
}
@media (max-width: 420px) { .lp-top .lp-signin { padding-left: 12px; padding-right: 12px; } }

.lp-hero-full { min-height: max(520px, min(50vw, 84svh)); align-items: center; }
.lp-hero-full .lp-hero { grid-template-columns: minmax(0, 760px); }
.lp-hero-photo { overflow: hidden; }
.lp-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 45%; transform: scale(1.04); animation: lpKen 26s ease-in-out infinite alternate; }
@keyframes lpKen { to { transform: scale(1.13) translate(-1.5%, -1%); } }

.lp-film { display: grid; justify-items: center; gap: 22px; padding-top: 48px; }
.lp-screen { width: min(980px, 100%); perspective: 1400px; }
.lp-screen-glass { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; border: 10px solid #0d1330; background: #02041a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(var(--wz-blue-rgb), .6);
  transform-origin: 50% 100%; transform: rotateX(24deg) translateY(36px) scale(.9); opacity: 0; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; }
.lp-screen.on .lp-screen-glass { transform: none; opacity: 1; }
.lp-screen-glass video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(2) saturate(0); transition: opacity .3s ease .6s, filter .9s ease .65s; }
.lp-screen.on .lp-screen-glass video { opacity: 1; filter: none; }
/* the "switch on" line: a thin bright line opens across the middle, then fills the screen */
.lp-screen-flash { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #fff; box-shadow: 0 0 30px 8px rgba(var(--wz-green-rgb), .75); transform: scaleX(0); opacity: 0; pointer-events: none; z-index: 1; }
.lp-screen.on .lp-screen-flash { animation: lpPower 1.15s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes lpPower { 0% { transform: scale(0, 1); opacity: 1; } 35% { transform: scale(1, 1); opacity: 1; } 65% { transform: scale(1, 110); opacity: .8; } 100% { transform: scale(1, 160); opacity: 0; } }
.lp-screen-led { position: relative; display: block; width: 34%; height: 14px; margin: 0 auto; border-radius: 0 0 14px 14px; background: linear-gradient(#0d1330, #080c22); }
.lp-screen-led::after { content: ""; position: absolute; left: 50%; top: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a3150; transition: background-color .3s ease .3s, box-shadow .3s ease .3s; }
.lp-screen.on .lp-screen-led::after { background: var(--wz-green); box-shadow: 0 0 10px var(--wz-green); }
.lp-screen-pp { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(5, 11, 46, .55); backdrop-filter: blur(6px); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.lp-screen.on .lp-screen-glass:hover .lp-screen-pp, .lp-screen-pp:focus-visible, .lp-screen-pp[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .lp-screen.on .lp-screen-pp { opacity: .85; } }
.lp-screen-pp svg { width: 20px; height: 20px; fill: currentColor; }
.lp-screen-pp .i-play, .lp-screen-pp[aria-pressed="true"] .i-pause { display: none; }
.lp-screen-pp[aria-pressed="true"] .i-play { display: block; }
.lp-beats { list-style: none; margin: 0; padding: 0; width: min(980px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lp-beats li { position: relative; overflow: hidden; display: grid; align-content: start; gap: 2px; padding: 14px 16px 17px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: border-color .3s ease, transform .3s ease; }
.lp-beats li b { font-family: var(--font-head); font-size: 17px; color: var(--text); transition: color .3s ease; }
.lp-beats li span { font-size: 13.5px; }
.lp-beats li i { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--wz-green); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s linear; }
.lp-beats li.on { border-color: rgba(var(--wz-green-rgb), .55); transform: translateY(-3px); }
.lp-beats li.on b { color: var(--wz-green); }
@media (max-width: 760px) {
  .lp-beats { grid-template-columns: 1fr 1fr; }
  .lp-screen-glass { border-width: 6px; border-radius: 16px; }
}

.lp-prices-sec { text-align: center; }
.lp-prices-sec .lp-prices { justify-content: center; }
.lp-prices-sec .lp-price { text-align: left; }
.lp-prices-sec .lp-trial { max-width: 694px; margin-left: auto; margin-right: auto; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .lp-hero-photo img { animation: none; }
  .lp-screen-glass, .lp-screen-glass video { transition: none; }
  .lp-screen.on .lp-screen-flash { animation: none; }
  .lp-beats li, .lp-beats li i, .lp-nav, .lp-burger span { transition: none; }
}

/* v33: the 4-shot film plays behind the hero with its 4 cards on top; the screen below holds the 1-minute intro */
.lp-hero-film { overflow: hidden; }
.lp-hero-film video { object-position: 50% 50%; }
.lp-hero-full { align-items: flex-end; padding-bottom: 76px; }
.lp-hero-full .lp-hero { grid-template-columns: 1fr; gap: 28px; }
.lp-hero-full .lp-hero-copy { max-width: 760px; }
.lp-hero-beats { width: 100%; }
.lp-hero-beats li { background: rgba(6, 10, 40, .55); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-hero-beats li b { color: #fff; }
.lp-hero-beats li.on { background: rgba(6, 10, 40, .72); }
.lp-hero-pp { left: auto; right: 18px; top: 18px; bottom: auto; z-index: 3; opacity: .8; }
.lp-hero-pp:hover, .lp-hero-pp:focus-visible { opacity: 1; }
.lp-screen-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(2) saturate(0); transition: opacity .3s ease .6s, filter .9s ease .65s; }
.lp-screen.on .lp-screen-poster { opacity: .6; filter: none; }
.lp-screen-play { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 16px; border: 0; background: radial-gradient(circle, rgba(4, 8, 40, .2), rgba(4, 8, 40, .72)); color: #fff; font: inherit; text-align: center; cursor: pointer; opacity: 0; transition: opacity .4s ease 1.1s; }
.lp-screen.on .lp-screen-play { opacity: 1; }
.lp-screen-play:focus-visible { outline: 3px solid var(--wz-green); outline-offset: -8px; }
.lp-screen-pbtn { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--wz-green); color: #0b1030; animation: lpPulse 2.2s ease-out infinite; transition: transform .2s ease; }
.lp-screen-play:hover .lp-screen-pbtn { transform: scale(1.08); }
.lp-screen-pbtn svg { width: 38px; height: 38px; margin-left: 5px; fill: currentColor; }
.lp-screen-play b { margin-top: 10px; font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 28px); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.lp-screen-play small { font-size: 14px; opacity: .85; }
@keyframes lpPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--wz-green-rgb), .55); } 70%, 100% { box-shadow: 0 0 0 20px rgba(var(--wz-green-rgb), 0); } }
.intro-over.intro-inline { position: absolute; inset: 0; z-index: 4; display: block; padding: 0; background: #02041a; }
.intro-inline .intro-box { width: 100%; height: 100%; }
.intro-inline .intro-box canvas { width: 100%; height: 100%; border-radius: 0; }
.intro-inline .intro-load { inset: 0; }
.intro-inline .intro-bar { position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 10px; background: linear-gradient(rgba(2, 4, 26, .75), rgba(2, 4, 26, 0)); opacity: 0; transition: opacity .25s ease; }
.intro-inline:hover .intro-bar, .intro-inline:focus-within .intro-bar { opacity: 1; }
@media (hover: none) { .intro-inline .intro-bar { opacity: 1; } }
.intro-inline .intro-end { position: absolute; top: 50%; bottom: auto; margin: 0; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lp-hero-full { padding-bottom: 56px; }
  .lp-hero-pp { top: 10px; right: 10px; }
  .lp-screen-pbtn { width: 64px; height: 64px; }
  .lp-screen-pbtn svg { width: 28px; height: 28px; }
  .intro-inline .intro-bar { padding: 6px; }
  .intro-inline .intro-b { min-width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-screen-poster, .lp-screen-play { transition: none; }
  .lp-screen-pbtn { animation: none; }
}

/* v34: the intro goes full screen while it plays (fixed full-window view where the browser has no real full screen, like iPhone) */
.intro-inline .intro-box canvas { object-fit: contain; background: #02041a; }
.lp-screen.full { perspective: none; }
.lp-screen-glass.is-full { position: fixed; inset: 0; z-index: 2000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border: 0; border-radius: 0; transform: none; opacity: 1; background: #000; }
.lp-screen-glass.is-full .intro-over.intro-inline { background: #000; }
.lp-screen-glass.is-full .intro-inline .intro-bar { padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 10px max(10px, env(safe-area-inset-left)); }
.lp-screen-glass:fullscreen { width: 100%; height: 100%; border: 0; border-radius: 0; }
.intro-inline .intro-end { inset: 0; top: 0; bottom: 0; transform: none; align-items: center; background: rgba(2, 4, 26, .62); }
.intro-inline .intro-end .btn { background: var(--wz-green); border-color: var(--wz-green); color: #0b1030; font-weight: 800; }
/* v35: keep the swimmer (and the team cap) visible: the play button sits bottom-left */
.lp-screen-play { place-content: end start; justify-items: start; text-align: left; padding: 5% 6%; background: linear-gradient(45deg, rgba(4, 8, 40, .78) 0%, rgba(4, 8, 40, .25) 45%, rgba(4, 8, 40, 0) 70%); }
.lp-screen.on .lp-screen-poster { opacity: .9; }
@media (max-width: 760px) { .lp-screen-play { padding: 14px 16px; gap: 2px; } .lp-screen-play b { margin-top: 6px; font-size: 16px; } .lp-screen-play small { font-size: 12px; } .lp-screen-pbtn { width: 52px; height: 52px; } .lp-screen-pbtn svg { width: 24px; height: 24px; } }

/* ───────── v38: the name is the Wevzi logo wordmark (Arkhip, white), drawn from images/brand/wevzi-dryland-wordmark.svg ───────── */
.brand-word { display: inline-flex; align-items: center; }
.brand-word img { display: block; height: 17px; width: auto; }

/* ───────── v39: no W mark; the header buttons match; hero cards on the right (desktop); a rolling curve; the level-up collection ───────── */
.lp-top .lang-btn, .lp-top .lp-signin { height: 40px; min-width: 108px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(148, 197, 255, .06); font-size: 14.5px; font-weight: 700; letter-spacing: 0; justify-content: center; }
.lp-top .lang-btn:hover, .lp-top .lp-signin:hover { background: rgba(148, 197, 255, .14); }
@media (max-width: 420px) {
  .lp-top .brand > span:last-child { display: inline-flex; }
  .lp-top .brand-word img { height: 13px; }
  .lp-top .lang-btn, .lp-top .lp-signin { min-width: 84px; height: 38px; padding: 0 10px; font-size: 13.5px; }
}
/* the active card keeps its place: only its green line fills */
.lp-hero-beats li.on, .lp-beats li.on { transform: none !important; }
@media (min-width: 1000px) {
  /* the 4 cards stand on the right, centered on the film's height */
  .lp-hero-full .lp-hero { position: static; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
  .lp-hero-full .lp-hero-copy { position: relative; z-index: 1; }
  .lp-hero-beats { position: absolute; z-index: 1; right: 20px; top: 50%; transform: translateY(-50%); grid-template-columns: 1fr; width: 330px; gap: 12px; }
  .lp-hero-beats li { padding: 14px 18px; }
}
/* the curve: one wave rolling without end (two identical waves side by side, the svg must not be squeezed to 100%) */
.lp-wave2 { position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; overflow: hidden; z-index: 2; pointer-events: none; }
.lp-wave2 svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; animation: lpRoll 20s linear infinite; will-change: transform; }
.lp-wave2 path { fill: var(--bg); }
@keyframes lpRoll { to { transform: translateX(-50%); } }
/* ages card: the three groups, then a line under them */
.lp-ages > span { order: 9; margin-top: 4px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
/* team not on the list */
.lp-teamnote { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.lp-teamnote .lpi { color: var(--wz-green); margin-top: 2px; }
.lp-teamnote p { margin: 0; color: var(--muted); line-height: 1.55; }
.lp-teamnote b { color: var(--text); }
.lp-teamnote a { color: var(--wz-green); font-weight: 700; word-break: break-all; }
/* both prices: the same border */
.lp-price, .lp-price.best { border-color: color-mix(in srgb, var(--work) 60%, transparent); }
@media (max-width: 760px) {
  .lp-hero-full { padding-bottom: 92px; }
  .lp-wave2 { height: 54px; }
  .lp-stats { margin-top: 20px; }
}
/* level up: sessions tick in, the ring fills, the next animal or badge joins the collection */
.lp-lvl-head { align-items: center; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.lp-lvl-head h2 { font-size: clamp(28px, 4vw, 46px); }
.lp-lvl-game { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; padding: 30px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(circle at 18% 40%, rgba(var(--wz-blue-rgb), .5), transparent 55%), var(--surface); overflow: hidden; }
.lp-lvl-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lp-lvl-pet { position: relative; width: 230px; aspect-ratio: 1; display: grid; place-items: center; }
.lp-lvl-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-lvl-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 7; }
.lp-lvl-ring .fill { stroke: var(--wz-green); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .45s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 6px rgba(var(--wz-green-rgb), .6)); }
.lp-lvl-pet img { width: 78%; height: auto; border-radius: 50%; }
.lp-lvl-pet.pop img { animation: lvPop .7s cubic-bezier(.2, 1.5, .4, 1); }
.lp-lvl-burst { position: absolute; inset: 6%; border-radius: 50%; border: 4px solid var(--wz-green); opacity: 0; pointer-events: none; }
.lp-lvl-pet.pop .lp-lvl-burst, .lp-lvl-pet.medal .lp-lvl-burst { animation: lvBurst .8s ease-out; }
.lp-lvl-pet.medal .lp-lvl-burst { border-color: #ffc531; }
.lp-lvl-lv { margin: 6px 0 0; display: flex; align-items: baseline; gap: 8px; }
.lp-lvl-lv small { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.lp-lvl-lv b { font-family: var(--font-head); font-size: 40px; line-height: 1; color: var(--wz-green); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.lp-lvl-name { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.lp-lvl-toasts { position: absolute; left: 50%; top: 58%; pointer-events: none; }
.lp-lvl-toasts span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--wz-green); color: #0b1030; font-weight: 800; font-size: 13px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); animation: lvToast 1.3s ease-out forwards; }
.lp-lvl-toasts .lpi { width: 16px; height: 16px; stroke-width: 3; }
.lp-lvl-shelf { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.lp-lvl-pets, .lp-lvl-meds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-lvl-pets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-lvl-pets li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .35); transition: color .4s ease; }
.lp-lvl-pets li.got { color: var(--text); cursor: pointer; }
.lp-lvl-pets img { width: 100%; max-width: 96px; height: auto; border-radius: 50%; filter: grayscale(1) brightness(.3); transition: filter .5s ease; }
.lp-lvl-meds { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.lp-lvl-meds img { width: 100%; max-width: 64px; height: auto; display: block; margin: 0 auto; filter: grayscale(1) brightness(.35) opacity(.55); transition: filter .5s ease; }
.lp-lvl-pets li.got img, .lp-lvl-meds li.got img { filter: none; }
.lp-lvl-pets li.new img { animation: lvGet 1.2s ease; }
.lp-lvl-meds li.new img { animation: lvMed 1.2s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes lvPop { 0% { transform: scale(.35) rotate(-14deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes lvBurst { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes lvToast { 0% { opacity: 0; transform: translate(-50%, 18px) scale(.8); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -64px); } }
@keyframes lvGet { 0% { transform: scale(.6); } 35% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(var(--wz-green-rgb), .55); } 100% { transform: none; box-shadow: 0 0 0 0 rgba(var(--wz-green-rgb), 0); } }
@keyframes lvMed { 0% { transform: translateY(-40px) scale(.4) rotate(-30deg); } 60% { transform: translateY(4px) scale(1.25) rotate(8deg); } 100% { transform: none; } }
@media (max-width: 860px) {
  .lp-lvl-game { grid-template-columns: 1fr; gap: 22px; padding: 22px 16px; }
  .lp-lvl-pet { width: 190px; }
  .lp-lvl-pets { gap: 10px 8px; }
  .lp-lvl-pets li { font-size: 12px; }
  .lp-lvl-meds { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* the sign-in box: Create account tab while new accounts are still closed */
.gf-soon { display: grid; gap: 10px; }
.gf-soon p { margin: 0 0 6px; }
@media (prefers-reduced-motion: reduce) {
  .lp-wave2 svg { animation: none; }
  .lp-lvl-pet.pop img, .lp-lvl-pet .lp-lvl-burst, .lp-lvl-pets li.new img, .lp-lvl-meds li.new img, .lp-lvl-toasts span { animation: none; }
  .lp-lvl-ring .fill { transition: none; }
}
/* the logo's font for headings, buttons and menus: Arkhip with the Spanish accents added (fonts/arkhip-es.otf, built by tools/font-accents.js) */
@font-face { font-family: 'Arkhip'; src: url(../fonts/arkhip-es.otf?v=1) format('opentype'); font-display: swap; }
html.font-arkhip { --font-head: 'Arkhip', 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; }
html.font-arkhip h1, html.font-arkhip h2, html.font-arkhip h3, html.font-arkhip .btn, html.font-arkhip .lp-nav a, html.font-arkhip .nav a, html.font-arkhip .lang-btn, html.font-arkhip .lp-eyebrow { font-family: var(--font-head); letter-spacing: 0; font-weight: 400; }
html.font-arkhip .lp-hero-full .lp-hero-copy h1 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; }
html.font-arkhip .lp-adapt b { font-size: clamp(16px, 1.55vw, 20px) !important; line-height: 1.25; }

/* ───────── v43: paying-members-only page and the DQ test ───────── */
.paid-only { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 36px 24px; max-width: 620px; margin: 0 auto; }
.paid-only h2 { margin: 0; }
.paid-only p { margin: 0 0 6px; max-width: 46ch; }
.paid-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, #ffc531 18%, transparent); color: #ffc531; }
.paid-ic svg { width: 30px; height: 30px; }
.dq-home, .dq-q, .dq-end { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.dq-hero { display: flex; gap: 18px; align-items: center; }
.dq-hero h2, .dq-hero p { margin: 0; }
.dq-hero p + p { margin-top: 6px; }
.dq-flag { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: #ff5d5d; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 28px; transform: rotate(-6deg); box-shadow: 0 8px 24px rgba(255, 93, 93, .35); }
.dq-flag.gold { background: #ffc531; color: #0b1030; box-shadow: 0 8px 24px rgba(255, 197, 49, .4); }
.dq-best b { color: var(--wz-green); }
.dq-home > .btn { justify-self: start; }
.dq-cats .chip { min-height: 40px; }
.dq-top { display: flex; justify-content: space-between; align-items: center; }
.dq-q h2 { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; margin: 4px 0; }
.dq-opts { display: grid; gap: 10px; }
.dq-opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.dq-opt:not([disabled]):hover { border-color: var(--accent); }
.dq-opt:active { transform: scale(.99); }
.dq-opt[disabled] { cursor: default; opacity: .65; }
.dq-opt.ok { opacity: 1; border-color: var(--wz-green); background: color-mix(in srgb, var(--wz-green) 16%, var(--bg-2)); }
.dq-opt.bad { opacity: 1; border-color: #ff5d5d; background: color-mix(in srgb, #ff5d5d 14%, var(--bg-2)); }
.dq-why { padding: 12px 16px; border-radius: 14px; line-height: 1.5; }
.dq-why.ok { background: color-mix(in srgb, var(--wz-green) 12%, transparent); }
.dq-why.ok b { color: var(--wz-green); }
.dq-why.bad { background: color-mix(in srgb, #ff5d5d 10%, transparent); }
.dq-why.bad b { color: #ff8a8a; }
.dq-acts { display: flex; justify-content: space-between; gap: 10px; }
.dq-end { justify-items: center; text-align: center; padding: 32px 20px; }
.dq-end h2 { font-size: 48px; margin: 0; }
.dq-end p { margin: 0; max-width: 44ch; }
@media (prefers-reduced-motion: reduce) { .dq-opt { transition: none; } }
html.font-arkhip .dq-q h2 { font-family: var(--font); font-weight: 800; letter-spacing: -.01em; }
.lp-film2 h2 { text-align: center; margin: 0; }

/* ───────── v47: coach dashboard (overview, swimmers, attendance) and the swimmer's practice card ───────── */
.co-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.co-head .chip[aria-pressed="true"], .co-filters .chip[aria-pressed="true"], .co-attend .chip[aria-pressed="true"], .pp-card .chip[aria-pressed="true"] { background: var(--accent); color: #04121d; border-color: var(--accent); }
.co-wrap { display: grid; gap: 18px; padding-bottom: 64px; }
.co-wrap > #co-body { display: grid; gap: 18px; }
.co-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.co-tabs { min-width: min(420px, 100%); }
.co-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.co-sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; }
.co-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.co-kpi { margin: 0; display: grid; gap: 2px; padding: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.co-kpi b { font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); line-height: 1; color: var(--wz-green); font-variant-numeric: tabular-nums; }
.co-kpi span { color: var(--muted); font-size: 13px; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-grid > .card { margin: 0; }
.co-chart { grid-row: span 2; }
.co-weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; height: 220px; margin-top: 10px; }
.co-wk { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; text-align: center; }
.co-wk-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.co-wk-bars span { width: 40%; min-height: 3px; border-radius: 6px 6px 2px 2px; transition: height .5s ease; }
.co-wk-bars .sw { background: #38bdf8; }
.co-wk-bars .dr { background: var(--wz-green); }
.co-wk small { font-size: 11px; color: var(--muted); }
.co-wk.now small { color: var(--text); font-weight: 800; }
.co-rank { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.co-rank li { display: grid; grid-template-columns: 26px auto auto 1fr auto; align-items: center; gap: 8px; }
.co-pos { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); font-weight: 800; font-size: 13px; }
.co-pos.p0 { background: #ffc531; color: #0b1030; }
.co-pos.p1 { background: #cfd8e3; color: #0b1030; }
.co-pos.p2 { background: #d9935a; color: #0b1030; }
.co-nm { font-weight: 700; color: var(--text); text-align: left; }
.co-grp { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.co-meter { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.co-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, var(--wz-green)); }
.co-rank b { font-variant-numeric: tabular-nums; font-size: 14px; }
.co-quiet ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.co-quiet li { display: flex; justify-content: space-between; gap: 10px; }
.co-sortrow { display: flex; justify-content: flex-end; }
.co-sortrow .field { margin: 0; min-width: 200px; }
.co-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.co-card { margin: 0; display: grid; gap: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.co-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.co-card .co-top > div { flex: 1; min-width: 0; }
.co-ring { --p: 0; width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--surface) 76%, transparent 77%), conic-gradient(var(--wz-green) calc(var(--p) * 1%), var(--bg-2) 0); }
.co-ring b { font-size: 14px; }
.co-card .co-days, .co-modal .co-days { grid-template-columns: repeat(28, 1fr); gap: 2px; }
.co-days.big { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 4px; max-width: 460px; }
.co-days i.d, .co-key i.d { background: var(--wz-green); border-color: var(--wz-green); }
.co-days i.s, .co-key i.s { background: #38bdf8; border-color: #38bdf8; }
.co-days i.d.s, .co-key i.d.s { background: linear-gradient(135deg, var(--wz-green) 50%, #38bdf8 50%); }
.co-days i.a, .co-key i.a { box-shadow: inset 0 0 0 2px #ffc531; }
.co-key i { width: 14px; }
.co-modal { max-width: 720px; display: grid; gap: 14px; }
.co-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.co-table th, .co-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
.co-table th:first-child { text-align: left; color: var(--muted); font-weight: 600; }
.co-table thead th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.co-attend { display: grid; gap: 14px; }
.co-att-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.co-att-head .field { margin: 0; }
.co-att-time { margin-left: auto; display: grid; text-align: right; }
.co-att-time b { font-family: var(--font-head); font-size: 22px; }
.co-att-count b { font-size: 22px; color: var(--wz-green); }
.co-att-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.co-att { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 60px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.co-att:active { transform: scale(.98); }
.co-att b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-att-box { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--line-2); color: transparent; }
.co-att-box svg { width: 16px; height: 16px; }
.co-att.on { border-color: var(--wz-green); background: color-mix(in srgb, var(--wz-green) 14%, var(--bg-2)); }
.co-att.on .co-att-box { background: var(--wz-green); border-color: var(--wz-green); color: #0b1030; }
.co-att-add { max-width: 380px; margin: 0; }
.co-att-save { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.pp-wrap { padding-top: 18px; }
.pp-card { display: grid; gap: 16px; }
.pp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pp-head h3 { margin: 2px 0 0; }
.pp-grid { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pp-ring { --p: 0; width: 150px; height: 150px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 79%), conic-gradient(var(--wz-green) calc(var(--p) * 1%), var(--bg-2) 0); }
.pp-ring b { font-family: var(--font-head); font-size: 34px; line-height: 1; }
.pp-ring span { font-size: 12px; color: var(--muted); max-width: 90px; }
.pp-nums { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 260px; }
.pp-nums span { display: grid; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-size: 13px; color: var(--muted); }
.pp-nums b { font-family: var(--font-head); font-size: 26px; color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .co-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-grid { grid-template-columns: 1fr; } .co-chart { grid-row: auto; } }
@media (max-width: 560px) { .pp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-att-time { margin-left: 0; text-align: left; } .co-card .co-days { gap: 1px; } }
@media (prefers-reduced-motion: reduce) { .co-card, .co-att, .co-wk-bars span { transition: none; } }

/* coach: swimmers added to the team without a Dryland account */
.avatar.ext { background: transparent; border: 2px dashed var(--accent); color: var(--accent); }
.co-ext { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, #ffc531 18%, transparent); color: #ffc531; }
.co-att-more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.co-modal-acts { display: flex; align-items: center; gap: 8px; }
.co-roster { max-width: 520px; display: grid; gap: 12px; }
.co-roster .dm-head h2 { margin: 0; }
.co-cards { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); } .co-card { min-width: 0; overflow: hidden; } .co-card .co-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } .co-card .co-days { grid-template-columns: repeat(28, minmax(0, 1fr)); } .co-ext { white-space: nowrap; }

/* v48: the account window is wider so every button fits, and long labels wrap instead of overflowing */
.acct-modal { width: min(720px, 100%); }
.acct-links .btn { height: auto; min-height: 46px; padding: 10px 14px; font-size: 13px; line-height: 1.25; white-space: normal; text-align: center; }
.acct-modal { overflow-x: hidden; }
/* sign-up: "Do you have a code?" */
.g-code { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; background: var(--bg-2); }
.g-code summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.g-code[open] { display: grid; gap: 8px; }
.g-code .field { margin: 6px 0 0; }
.g-code input { text-transform: uppercase; letter-spacing: .08em; }

/* ───────── v49: coach chart with a y axis, check-in lists for everyone, the 12-week calendar ───────── */
.co-plot { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 220px auto; column-gap: 8px; row-gap: 6px; margin-top: 12px; }
.co-yaxis { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; transform: translateY(-6px); height: calc(100% + 12px); }
.co-plot .co-weeks { height: 100%; margin: 0; background: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px 25%); border-bottom: 1px solid var(--line-2); }
.co-plot .co-wk { display: block; height: 100%; }
.co-wk-bars span { position: relative; }
.co-wk-bars span b { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); font-size: 10px; font-weight: 800; color: var(--text); }
.co-xaxis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; text-align: center; }
.co-xaxis small { font-size: 11px; color: var(--muted); }
.co-xaxis small.now { color: var(--text); font-weight: 800; }
.co-lists { align-items: start; }
.co-sub { margin: 2px 0 8px; font-size: 13px; }
.co-quiet ul { max-height: 380px; overflow: auto; padding-right: 4px; }
.co-quiet li { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px 64px; align-items: center; gap: 8px; justify-content: stretch; }
.co-quiet li .co-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-quiet li b { text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
.co-meter.low i { background: #ff6b6b; } .co-meter.mid i { background: #ffc531; } .co-meter.ok i { background: var(--wz-green); }
b.low { color: #ff8a8a; } b.mid { color: #ffc531; } b.ok { color: var(--wz-green); }
.co-cal { display: grid; grid-template-columns: 18px repeat(12, minmax(0, 30px)); gap: 4px; justify-content: center; align-items: center; margin: 4px auto 0; }
.co-cal i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.co-cal i.fut { opacity: .25; }
.co-cal i.today { outline: 2px solid var(--text); outline-offset: 1px; }
.co-cal i.d { background: var(--wz-green); border-color: var(--wz-green); }
.co-cal i.s { background: #38bdf8; border-color: #38bdf8; }
.co-cal i.d.s { background: linear-gradient(135deg, var(--wz-green) 50%, #38bdf8 50%); }
.co-cal i.a { box-shadow: inset 0 0 0 2px #ffc531; }
.co-cal small { font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; }
.co-cal-wd { text-align: right; }
.co-cal-n { font-weight: 800; color: var(--text) !important; }
.co-cal-key { justify-content: center; }
@media (max-width: 560px) { .co-quiet li { grid-template-columns: minmax(0, 1fr) auto 60px 56px; } .co-cal { gap: 3px; } }

/* ───────── v51: coach messages (compose + sent) and the swimmer's inbox on Program ───────── */
.co-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: min(560px, 100%); }
.co-msgs { align-items: start; }
.co-compose { display: grid; gap: 12px; margin: 0; }
.co-compose .field { margin: 0; }
.co-compose textarea { width: 100%; resize: vertical; min-height: 96px; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; }
.co-compose .chip[aria-pressed="true"] { background: var(--accent); color: #04121d; border-color: var(--accent); }
.co-tpls .chip { border-style: dashed; }
.co-sent { margin: 0; }
.co-sent ul, .co-inbox ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; max-height: 520px; overflow: auto; }
.co-sent li, .co-inbox li { padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 6px; }
.co-sent li p, .co-inbox li p { margin: 0; line-height: 1.45; white-space: pre-wrap; }
.co-sent-top { display: flex; align-items: center; gap: 10px; }
.co-sent-top .muted { font-size: 12px; margin-left: auto; }
.co-msg-sess { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--wz-green); }
.co-msg-sess svg { width: 14px; height: 14px; }
.co-inbox { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.co-inbox li.new { border-color: var(--wz-green); }
.co-inbox li .btn { justify-self: start; }
.co-new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--wz-green); color: #0b1030; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.seg.co-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.co-inbox .field-label svg, .co-sent .field-label svg { width: 16px; height: 16px; vertical-align: -3px; } .co-inbox .btn svg { width: 16px; height: 16px; }

/* v52: message end time and the close button */
.co-exp { display: grid; gap: 8px; }
.co-exp input { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; color-scheme: dark; }
.co-exp .chip[aria-pressed="true"] { background: var(--accent); color: #04121d; border-color: var(--accent); }
.co-sent li.ended { opacity: .55; }
.co-inbox .co-sent-top .icon-btn { margin-left: 4px; }

/* ───────── v53: workout player — next up on the video, camera views stacked when upright, buttons that fade, portrait / landscape ───────── */
.pl-stage > .pl-next { position: absolute; top: 10px; right: 10px; z-index: 3; max-width: min(48%, 280px); gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 17, 28, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pl-stage > .pl-next .media { width: 64px; border-radius: 8px; }
.pl-stage > .pl-next small { font-size: 10px; letter-spacing: .1em; }
.pl-stage > .pl-next b { font-size: 13px; line-height: 1.2; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-stage > .pl-next > div[style] { padding: 2px 4px !important; }
/* camera on: the buttons float over the bottom and fade after a few seconds (a tap brings them back) */
.player.fc-on { grid-template-rows: auto 1fr; }
.player.fc-on .pl-top, .player.fc-on .pl-controls { transition: opacity .35s ease; }
.player.fc-on .pl-controls { position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 6; padding-top: 28px; background: linear-gradient(rgba(6, 17, 28, 0), rgba(6, 17, 28, .94) 38%); }
.player.fc-on.ui-hide .pl-top, .player.fc-on.ui-hide .pl-controls { opacity: 0; pointer-events: none; }
.player.fc-on.ui-hide .pl-main { padding-bottom: 8px; }
/* upright phone or iPad: coach video on top, your camera under it, the timer below */
.player.fc-on[data-orient="portrait"] .pl-main { grid-template-columns: 1fr !important; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto !important; gap: 8px; padding: 0 10px 10px; }
.player.fc-on[data-orient="portrait"] .pl-side { grid-column: auto; gap: 8px; overflow: visible; }
.player.fc-on[data-orient="portrait"] .pl-cues { display: none; }
.player.fc-on[data-orient="portrait"] .pl-clock { gap: 14px; }
.player.fc-on[data-orient="portrait"] .pl-clock .ring { width: 78px; height: 78px; }
.player.fc-on[data-orient="portrait"] .ring-num { font-size: 30px; }
.player.fc-on[data-orient="portrait"] .pl-name { font-size: 22px; }
.player.fc-on[data-orient="portrait"] .pl-top { padding: 8px 12px; }
/* turned phone or iPad: coach video and camera side by side, a narrow column with the timer */
.player.fc-on[data-orient="landscape"] .pl-main { grid-template-columns: 1fr 1fr minmax(180px, .55fr) !important; grid-template-rows: minmax(0, 1fr) !important; gap: 10px; }
.player.fc-on[data-orient="landscape"] .pl-side { grid-column: auto; }
@media (orientation: landscape) and (max-height: 560px) {
  .player .pl-top { padding: 6px 14px; }
  .player .pl-main { gap: 10px; padding: 0 12px 6px; }
  .player .pl-controls { padding: 6px 14px 8px; gap: 10px; }
  .player .pl-controls .icon-btn { width: 44px; height: 44px; }
  .player .pl-play { width: 58px; height: 58px; }
  .player .pl-cues { display: none; }
  .player .pl-clock .ring { width: 84px; height: 84px; }
  .player .ring-num { font-size: 32px; }
  .player .pl-name { font-size: 20px; }
  .pl-cam { position: static; }
}
@media (prefers-reduced-motion: reduce) { .player.fc-on .pl-top, .player.fc-on .pl-controls { transition: none; } }
.pl-stage > .pl-next > div { min-width: 0; } .pl-stage > .pl-next b { font-family: var(--font); font-weight: 800; letter-spacing: 0; text-transform: none; }
.pl-stage > .pl-next .media { position: relative; inset: auto; flex: none; height: auto; aspect-ratio: 16 / 10; }
/* upright: the buttons keep their own row (not over the timer) and fold away when they fade */
.player.fc-on[data-orient="portrait"] { grid-template-rows: auto 1fr auto; }
.player.fc-on[data-orient="portrait"] .pl-controls { position: relative !important; background: none; padding-top: 6px; max-height: 260px; transition: opacity .35s ease, max-height .45s ease, padding .45s ease; }
.player.fc-on[data-orient="portrait"].ui-hide .pl-controls { max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }

/* ───────── v57: "next up" = label, title, picture (one under the other), only in the last 15 s; sideways phones get a video column ───────── */
.pl-stage > .pl-next { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px; width: min(42%, 190px); max-width: none; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.pl-stage > .pl-next.show { opacity: 1; transform: none; }
.pl-stage > .pl-next:empty { display: none; }
.pl-stage > .pl-next small { display: block; }
.pl-stage > .pl-next b { white-space: normal; }
.pl-stage > .pl-next .media { width: 100%; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .pl-stage > .pl-next { transition: none; transform: none; } }

/* phone turned sideways (no camera): the coach video takes about 60% of the width, whole and uncut; the info and buttons sit beside it */
@media (orientation: landscape) and (max-height: 560px) {
  .player:not(.fc-on) { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .player:not(.fc-on) .pl-main { display: contents; }
  .player:not(.fc-on) .pl-stage { grid-column: 1; grid-row: 1 / 4; margin: 10px 0 10px 10px; background: #000; }
  .player:not(.fc-on) .pl-stage .media video, .player:not(.fc-on) .pl-stage .media img { object-fit: contain; }
  .player:not(.fc-on) .pl-top { grid-column: 2; grid-row: 1; }
  .player:not(.fc-on) .pl-side { grid-column: 2; grid-row: 2; padding: 0 12px; overflow: auto; }
  .player:not(.fc-on) .pl-controls { grid-column: 2; grid-row: 3; flex-wrap: wrap; justify-content: center; }
  .player:not(.fc-on) .pl-controls .pl-toggles { width: 100%; display: flex; justify-content: center; gap: 8px; }
  .player:not(.fc-on) .pl-controls .pl-toggles .icon-btn { width: 38px; height: 38px; }
  .player:not(.fc-on) .pl-cam { min-height: 38px; padding: 0 12px; font-size: 13px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .player:not(.fc-on) .pl-controls { display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 4px 10px 10px; }
  .player:not(.fc-on) .pl-cam { order: 1; flex-basis: 100%; justify-content: center; position: static; }
  .player:not(.fc-on) #pl-prev { order: 2; } .player:not(.fc-on) .pl-play { order: 3; width: 54px; height: 54px; } .player:not(.fc-on) #pl-next-btn { order: 4; }
  .player:not(.fc-on) .pl-controls .pl-toggles { order: 5; position: static; transform: none; }
}

/* ───────── v58: a small "next up" (about 1/8 of the video) with a still picture; the camera setup fits an upright phone ───────── */
.pl-stage > .pl-next { width: min(24%, 150px); padding: 5px 6px 6px; gap: 2px; border-radius: 10px; top: 8px; right: 8px; }
.pl-stage > .pl-next small { font-size: 9px; letter-spacing: .08em; }
.pl-stage > .pl-next b { font-size: 11px; line-height: 1.2; }
.pl-next-pic { display: block; margin-top: 3px; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b1622; }
.pl-next-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .pl-stage > .pl-next { width: min(30%, 120px); } .pl-stage > .pl-next b { font-size: 10px; } }

@media (orientation: portrait) and (max-width: 760px) {
  .fc-setup { padding: 6px; place-items: start center; }
  .fc-setup-card { gap: 8px; padding: 12px; max-height: calc(100dvh - 12px); overflow-y: auto; border-radius: 18px; }
  .fc-setup-head { font-size: 15px; }
  .fc-setup-stage { aspect-ratio: 3 / 4; max-height: 46dvh; width: auto; justify-self: center; }
  .fc-setup-stage .fc-view video, .fc-setup-stage .fc-view canvas { object-fit: cover; }
  .fc-steps { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .fc-steps li { font-size: 12.5px; gap: 6px; }
  .fc-steps li::before { width: 20px; height: 20px; font-size: 11px; }
  .fc-tip { font-size: 13px; padding: 8px 10px; }
  .fc-priv { display: none; }
}

/* v59: the coach video always shows whole, at its own 16:9 shape (the green coach lines follow it exactly) */
.player .pl-stage { background: #000; }
.player .pl-stage .media video { object-fit: contain; }
@media (orientation: portrait) {
  .player .pl-stage { aspect-ratio: 16 / 9; height: auto; min-height: 0; align-self: start; }
  .player:not(.fc-on) .pl-main { grid-template-rows: auto minmax(0, 1fr); align-content: start; }
  .player.fc-on[data-orient="portrait"] .pl-main { grid-template-rows: auto minmax(0, 1fr) auto !important; }
}

/* v61: the W mark in the top bar (language moved into the account menu and setup) */
.top-w { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex: none; }
.top-w img { width: 100%; height: 100%; display: block; }
.acct-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.ad-handover summary { cursor: pointer; }
.ad-handover[open] summary { margin-bottom: 8px; }
.pl-cheer.focus { font-size: 15px; padding: 8px 12px; bottom: 10px; left: 10px; right: 10px; }
.pl-cheer.focus small { margin-bottom: 2px; }

/* v62: upright phone: the coach video takes the free space (still whole, never cut) and the Focus/Set up card is not shown
   (the coach says the focus points and they pop up on the video); sideways phone in Safari (very little height): the right column
   scrolls as one, so the timer and the exercise name are never cut, while the video stays put */
@media (orientation: portrait) and (max-width: 760px) {
  .player:not(.fc-on) .pl-cues { display: none; }
  .player:not(.fc-on) .pl-main { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
  .player:not(.fc-on) .pl-stage { aspect-ratio: auto; height: 100%; min-height: 56vw; align-self: stretch; }
}
@media (orientation: landscape) and (max-height: 430px) {
  .player:not(.fc-on) { grid-template-rows: auto auto auto; align-content: start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .player:not(.fc-on) .pl-stage { position: sticky; top: 8px; height: calc(100dvh - 16px); margin: 8px 0 8px 8px; align-self: start; }
  .player:not(.fc-on) .pl-side { overflow: visible; padding: 0 10px; }
  .player:not(.fc-on) .pl-top { padding: 6px 10px; }
  .player:not(.fc-on) .pl-top h2, .player:not(.fc-on) .pl-top b { font-size: 15px; }
  .player:not(.fc-on) .pl-clock { gap: 10px; align-items: center; }
  .player:not(.fc-on) .pl-clock .ring { width: 64px; height: 64px; flex: none; }
  .player:not(.fc-on) .ring-num { font-size: 26px; }
  .player:not(.fc-on) .pl-name { font-size: 17px; line-height: 1.15; }
  .player:not(.fc-on) .pl-where { font-size: 11px; }
  .player:not(.fc-on) .pl-controls { padding-bottom: 12px; }
}
@media (orientation: landscape) and (max-height: 430px) { .player:not(.fc-on) .pl-side { min-height: max-content; height: auto; } .player:not(.fc-on) .pl-clock { flex: none; } }
/* v63: very short sideways screens (Safari with its bars): the coach video is pinned on the left, the right column scrolls as one */
@media (orientation: landscape) and (max-height: 430px) {
  .player:not(.fc-on) { display: block !important; overflow-y: auto; }
  .player:not(.fc-on) .pl-stage { position: fixed !important; left: 8px; top: 8px; width: calc(60% - 12px); height: calc(100dvh - 16px) !important; margin: 0 !important; }
  .player:not(.fc-on) .pl-top, .player:not(.fc-on) .pl-side, .player:not(.fc-on) .pl-controls { margin-left: 60%; }
}

/* ───────── v67: full screen coach video (time ring in a corner, body lines stay, exit button) ───────── */
.pl-fs-open { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(6, 17, 28, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 13px/1 var(--font); cursor: pointer; }
.pl-fs-open svg, .pl-fs-btn svg { width: 20px; height: 20px; flex: none; }
.pl-fs-open:hover, .pl-fs-btn:hover { background: rgba(6, 17, 28, .9); }
.pl-fs-open:focus-visible, .pl-fs-btn:focus-visible { outline: 3px solid var(--wz-green); outline-offset: 2px; }
.player.fc-on .pl-fs-open { display: none; }
.pl-fs-clock, .pl-fs-bar { display: none; }
.player.is-full .pl-stage { position: fixed !important; inset: 0 !important; z-index: 140; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: none !important; margin: 0 !important; border: 0; border-radius: 0; background: #000; }
.player.is-full .pl-stage .media video, .player.is-full .pl-stage .media img { object-fit: contain; }
.player.is-full .pl-fs-open { display: none; }
.player.is-full .pl-fs-clock { display: block; position: fixed; z-index: 141; left: calc(14px + env(safe-area-inset-left)); bottom: calc(14px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 50%; background: rgba(6, 17, 28, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.player.is-full .pl-fs-clock .ring { width: 86px; height: 86px; }
.player.is-full .pl-fs-clock .ring-num { font-size: 34px; color: #fff; }
.player.is-full .pl-fs-bar { display: flex; gap: 8px; position: fixed; z-index: 141; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
.pl-fs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(6, 17, 28, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 14px/1 var(--font); cursor: pointer; }
.player.is-full .pl-switch { bottom: calc(118px + env(safe-area-inset-bottom)); }
@media (max-width: 560px) { .pl-fs-open span { display: none; } .pl-fs-open { padding: 0; width: 44px; justify-content: center; }
  .player.is-full .pl-fs-clock .ring { width: 70px; height: 70px; } .player.is-full .pl-fs-clock .ring-num { font-size: 28px; } }
