/* 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: #1318db; }
.brand-mark svg.wz { width: 64%; height: auto; fill: #7dd856; 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: #1318db; color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 28px -10px rgba(19,24,219,.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: #7dd856; 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(125,216,86,.7); } 50% { box-shadow: 0 0 0 12px rgba(125,216,86,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: #1318db; 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: #7dd856; 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: #7dd856; 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: #1318db; box-shadow: 0 24px 60px -24px rgba(19,24,219,.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: #7dd856; 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: #1318db; left: -12vmax; top: -18vmax; }
.lp-blobs i:nth-child(2) { background: #7dd856; 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, #1318db 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, #1318db, #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); }
