/* Anchor Path — glass layer. Loaded after app.css; turns every surface into frosted glass over a soft,
   slowly drifting light field. Real background blur is used on floating layers (sheets, tab bar, toasts,
   sticky buttons); cards use translucent glass over the already-soft backdrop so scrolling stays smooth. */
:root {
  --surface-2: rgba(255, 255, 255, 0.085);
  --glass: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035) 60%, rgba(255,255,255,.055));
  --glass-strong: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  --glass-gold: linear-gradient(145deg, rgba(212,180,131,.20), rgba(212,180,131,.05) 55%, rgba(212,180,131,.10));
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.20), 0 10px 28px rgba(0,0,0,.26);
  --glass-shadow-sm: inset 0 1px 0 rgba(255,255,255,.14), 0 4px 14px rgba(0,0,0,.20);
}
body { background: #0C0F0E; }
body::before {
  content: ''; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 26% at 22% 20%, rgba(212,180,131,.26), transparent 70%),
    radial-gradient(36% 30% at 82% 34%, rgba(96,150,128,.22), transparent 70%),
    radial-gradient(40% 30% at 30% 78%, rgba(110,125,185,.16), transparent 70%),
    radial-gradient(30% 24% at 80% 84%, rgba(212,180,131,.16), transparent 70%);
  /* static on purpose: an animated layer under blurred glass makes the phone re-blur every frame (laggy tab switches) */
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* ---- glass surfaces ---- */
.card, .tile, .opt, .move-row, .quote-card, .demo-note, .preview-note, .reps-box, .notice {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
}
.tile-btn:hover { background: var(--glass-strong); }
.tile.flat, .ex-card { background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.card-gold, .opt.on, .ach.got, .variant-note {
  background: var(--glass-gold); border: 1px solid rgba(212,180,131,.38);
  box-shadow: inset 0 1px 0 rgba(255,236,200,.22), inset 0 -1px 0 rgba(0,0,0,.2), 0 12px 32px rgba(0,0,0,.30), 0 0 34px rgba(212,180,131,.07);
}
.opt.on { border-width: 1.5px; border-color: var(--gold); }
.quote-card { border-left: 3px solid var(--gold); }
.notice { background: linear-gradient(145deg, rgba(229,140,122,.16), rgba(229,140,122,.05)); border-color: rgba(229,140,122,.4); }
.soon { background: transparent; box-shadow: none; }
.card .card, .sheet .card { box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }

/* pills, segmented controls, inputs */
.seg, .variant-row { background: rgba(255,255,255,.07); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.seg button.on { background: linear-gradient(180deg, #FFFFFF, #E4DED3); color: #121514; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.vchip.on { background: var(--glass-gold); box-shadow: inset 0 0 0 1px rgba(212,180,131,.45), inset 0 1px 0 rgba(255,236,200,.2); }
.input { background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 3px rgba(0,0,0,.28); }
.input:focus { background: rgba(255,255,255,.09); box-shadow: inset 0 1px 3px rgba(0,0,0,.28), 0 0 0 3px rgba(212,180,131,.16); }
.chipb, .btn-outline, .icon-btn, .stepper-mini button {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow-sm);
}
.chipb.on { background: linear-gradient(180deg, #EBD3A6, #D4B483 60%, #C6A26E); border-color: rgba(255,236,200,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 14px rgba(212,180,131,.22); }
.chips span, .stat-strip span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.streak-pill, .reward-chip { background: var(--glass-gold); box-shadow: inset 0 1px 0 rgba(255,236,200,.22); }
.wdot { background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }
.wdot.done { background: radial-gradient(circle at 35% 30%, #F6E3BB, #D4B483 60%, #B58F58); box-shadow: 0 0 14px rgba(212,180,131,.35); }
.opt-icon, .ach-ic { background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

/* buttons */
.btn-primary, .play-btn {
  background: linear-gradient(180deg, #F0DBB1, #D4B483 55%, #C29E69);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.12), 0 10px 26px rgba(212,180,131,.24), 0 2px 6px rgba(0,0,0,.3);
}
.btn-primary:hover { background: linear-gradient(180deg, #F6E5C2, #DCC093 55%, #C9A672); }
.btn:active, .icon-btn:active, .chipb:active, .tile-btn:active, .opt:active { transform: scale(.975); }
.btn, .icon-btn, .chipb, .tile-btn, .opt { transition: transform .12s ease, background .15s, border-color .15s; }

/* floating layers: true frosted blur */
.sheet-backdrop { background: rgba(5,7,6,.48); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.sheet {
  background: linear-gradient(180deg, rgba(44,51,47,.74), rgba(22,26,24,.82));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line); border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 -18px 50px rgba(0,0,0,.5);
}
.reward-pop .sheet, .welcome-pop .sheet { border-bottom: 1px solid var(--glass-line); }
.sticky-cta { background: linear-gradient(180deg, rgba(12,15,14,0), rgba(12,15,14,.9) 42%); }
.xp-toast { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(240,219,177,.95), rgba(212,180,131,.92)); border: 1px solid rgba(255,255,255,.4); }
.banner, .move-media { border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); background: #141816; }
.move-badge, .mv-th { box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
.progress, .meter, .xp-bar { box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.progress i, .meter span { background: linear-gradient(90deg, #B8946A, #EFD9B0); }
.avatar, .lv-badge { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 12px rgba(0,0,0,.3), 0 0 0 3px rgba(212,180,131,.16); }
.avatar { background: radial-gradient(circle at 35% 28%, #F6E3BB, #D4B483 62%, #B58F58); }
.ring-timer, .big-timer { filter: drop-shadow(0 0 18px rgba(212,180,131,.18)); }
.done-badge { background: var(--glass-gold); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sheet { background: #1B201E; } .sheet-backdrop { background: rgba(0,0,0,.66); }
}

/* ---- new feature pieces ---- */
.lift-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lift-row .input { min-height: 50px; width: 100%; }
.lift-item { width: 100%; cursor: pointer; color: var(--text); font: inherit; }
.recap-row { min-height: 34px; }
.recap-row .up { color: var(--sage); font-weight: 600; } .recap-row .down { color: var(--danger); font-weight: 600; }
.share-img { width: 100%; max-height: 52vh; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photo-grid figure { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--glass-line); }
.photo-grid figcaption { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-start; }
.photo-grid .btn-link { min-height: 40px; padding: 0; font-size: 12px; }
.compare { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: #000; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare img.top { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; background: var(--gold); box-shadow: 0 0 12px rgba(212,180,131,.8); }
.cmp-l, .cmp-r { position: absolute; bottom: 10px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 1; }
.cmp-l { left: 10px; } .cmp-r { right: 10px; }
input[type=range] { width: 100%; accent-color: var(--gold); min-height: 40px; }
input[type=time].input { color-scheme: dark; }
.tour-pop .btn-ghost { min-height: 44px; }
a.btn { text-decoration: none; }
label.btn { cursor: pointer; }
label.btn:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
#app[data-screen=today] > .screen > .row-between:first-child > div:first-child { min-width: 0; }
@media (max-width: 370px) {
  #app[data-screen=today] .row-gap { gap: 6px; }
  #app[data-screen=today] .row-gap .icon-btn { width: 40px; height: 40px; }
  #app[data-screen=today] .streak-pill { padding: 0 8px; }
  #app[data-screen=me] .card .row-between { flex-wrap: wrap; }
  #tnVal { min-width: 84px !important; font-size: 14px; }
}
.move-media svg { overflow: visible; }

/* ---- exercise guides ---- */
button.move-media { width: 100%; cursor: pointer; color: inherit; font: inherit; display: block; height: auto; }
.move-media svg { height: 204px; }
.media-tag { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--text-2); background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); }
.stills { display: grid; grid-template-columns: repeat(var(--k, 2), minmax(0, 1fr)); gap: 8px; }
.stills figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-line); background: #141816; position: relative; }
.stills svg { display: block; width: 100%; height: auto; }
.stills figcaption { position: absolute; left: 8px; top: 6px; font-size: 11px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.stills figcaption b { width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; }
.need-line { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sage); }
ol.cues.steps { padding-left: 20px; } ol.cues.steps li { color: var(--text); font-weight: 500; }
ol.cues.steps li::marker { color: var(--gold); font-weight: 800; }
button.move-row { width: 100%; border: 1px solid var(--glass-line); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sheet .move-media { height: auto; flex: none; }

.move-media .media-tag { font: 600 11px/1.3 var(--font-body); color: var(--text-2); opacity: 1; letter-spacing: 0; }
.stills svg { height: 86px; }
.sticky-cta .btn { width: 100%; }
.player-controls { position: sticky; bottom: max(env(safe-area-inset-bottom), 10px); z-index: 6; align-self: center; gap: 22px; padding: 8px 18px; border-radius: 99px;
  background: linear-gradient(180deg, rgba(48,54,51,.5), rgba(22,26,24,.5)); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 30px rgba(0,0,0,.45); }
.player-controls .play-btn { width: 64px; height: 64px; }
.player-controls .icon-btn-lg { width: 50px; height: 50px; }

/* ---- step-by-step guide ---- */
.guide { display: flex; flex-direction: column; gap: 12px; }
.guide .move-media svg { height: 236px; }
.need-line { flex-wrap: wrap; gap: 4px 14px; }
.gsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gstep { width: 100%; display: flex; flex-direction: column; gap: 0; padding: 0; text-align: left; cursor: pointer; color: var(--text-2); font: inherit; overflow: hidden; position: relative;
  border-radius: 20px; background: var(--glass); border: 1.5px solid var(--glass-line); box-shadow: var(--glass-shadow-sm); transition: border-color .2s, background .2s; }
.gstep.on { background: var(--glass-gold); border-color: var(--gold); color: var(--text); }
.gnum { position: absolute; left: 10px; top: 10px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: rgba(14,17,16,.7); color: var(--text); border: 1px solid rgba(255,255,255,.2); }
.gstep.on .gnum { background: var(--gold); color: var(--on-gold); border-color: transparent; }
.gthumb { display: block; width: 100%; height: 168px; background: #141816; overflow: hidden; }
.gthumb svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gtxt { display: block; padding: 12px 14px 14px; font-size: 15.5px; line-height: 1.45; }
.gstep:not(:has(.gthumb)) .gtxt { padding-left: 48px; min-height: 48px; }
.gavoid { margin: 0; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); background: linear-gradient(145deg, rgba(229,140,122,.14), rgba(229,140,122,.04)); border: 1px solid rgba(229,140,122,.35); }
.gavoid b { color: var(--danger); margin-right: 4px; }
.guide .btn-link { min-height: 44px; }

/* ---- 3D guide ---- */
.move-media { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
canvas.g3d { display: block; width: 100%; height: 236px; cursor: grab; touch-action: pan-y; }
.move-media.is3d { background: radial-gradient(120% 90% at 50% 20%, #34403A, #171C1A 60%, #0F1312); }
.move-media .media-cue { position: static; display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px 12px; text-align: left; font: 500 14.5px/1.4 var(--font-body); color: var(--text); background: rgba(10,13,12,.55); border-top: 1px solid var(--glass-line); min-height: 62px; opacity: 1; letter-spacing: 0; }
.move-media .media-cue b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 800; }
.move-media .media-cue span { font-family: var(--font-body); font-weight: 500; font: inherit; color: inherit; opacity: 1; line-height: 1.4; font-size: 14.5px; }
.move-media { height: auto; }
.gthumb { position: relative; }
.gthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gthumb img + svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sheet .gthumb { height: 186px; }

/* key points pinned to the 3D figure */
.g3d-call { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 2; }
.g3d-call i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #BFE3CC; box-shadow: 0 0 0 3px rgba(191,227,204,.28); }
.g3d-call b { position: absolute; top: -11px; right: 12px; white-space: nowrap; padding: 3px 9px; border-radius: 99px; font: 600 11px/1.4 var(--font-body); color: #F6EBD3; background: rgba(10,13,12,.78); border: 1px solid rgba(191,227,204,.45); }
.g3d-call.r b { right: auto; left: 12px; }
.g3d-call b::after { content: ''; position: absolute; top: 50%; right: -9px; width: 8px; border-top: 1px solid rgba(191,227,204,.7); }
.g3d-call.r b::after { right: auto; left: -9px; }

/* ---- adaptive coach, rings, polish ---- */
.screen.enter { animation: scrIn .14s ease-out both; }
@keyframes scrIn { from { opacity: 0; } to { opacity: 1; } }
.ready-card { display: flex; align-items: center; gap: 14px; }
.ready-ring { flex: none; width: 64px; height: 64px; }
.ready-card .btn-link { min-height: 40px; }
.rings-card { display: grid; grid-template-columns: 128px 1fr; gap: 6px 14px; align-items: center; padding: 16px; }
.rings { width: 128px; height: 128px; filter: drop-shadow(0 0 14px rgba(212,180,131,.12)); }
.ring-arc { animation: ringIn 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ringIn { from { stroke-dasharray: 0.5 var(--c); } }
.rings-list { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ring-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 2px 0; background: none; border: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ring-row i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.ring-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ring-row b { font-size: 13px; color: var(--text-2); }
.ring-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 6px 0 0; border: none; border-top: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; font: inherit; text-align: left; }
.move-line { display: flex; align-items: center; gap: 8px; }
.move-line .move-row { flex: 1; min-width: 0; }
.swap-btn { flex: none; color: var(--sage); }
.adjust .chipb { min-height: 40px; }
@media (max-width: 350px) { .rings-card { grid-template-columns: 104px 1fr; } .rings { width: 104px; height: 104px; } }
@media (prefers-reduced-motion: reduce) { .screen.enter, .ring-arc { animation: none; } }

/* ---- energy balance ---- */
.e-scale { position: relative; display: flex; justify-content: space-between; align-items: flex-end; height: 34px; font-size: 11px; color: var(--muted); border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, #8FA9C4, rgba(255,255,255,.18) 50%, #D4B483) 1; }
.e-scale .e-m { position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px; white-space: nowrap; }
.e-scale i { position: absolute; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--text); border: 3px solid #0F1211; box-shadow: 0 0 0 1px var(--gold); }

/* ---- help ---- */
.faq summary { gap: 12px; cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--gold); font-size: 20px; }
.faq[open] summary::after { content: '\2212'; }

/* ---- inputs never trigger auto-zoom ---- */
html, body, button, a, summary, label, [role="button"] { touch-action: manipulation; }
input, textarea, select { font-size: max(16px, 1em); touch-action: manipulation; }
.input-code { font-size: 22px; }

summary { min-height: 44px; display: flex; align-items: center; }

/* ---- zoom is off everywhere: pan only (no pinch, no double-tap zoom) ---- */
html, body, * { touch-action: pan-x pan-y; }
canvas.g3d, .move-media { touch-action: pan-y; }
input[type="range"] { touch-action: pan-x; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ---- update banner ---- */
.update-bar { position: fixed; z-index: 60; top: max(env(safe-area-inset-top), 10px); left: 12px; right: 12px; max-width: 448px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(60,66,62,.92), rgba(30,34,32,.94)); border: 1px solid rgba(212,180,131,.45); box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: scrIn .2s ease-out both; }
.update-bar > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.update-bar .chipb { min-height: 40px; }

/* ---- dumbbell weights ---- */
.db-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(212,180,131,.22); }
.db-step { display: grid; grid-template-columns: 56px 1fr 56px; gap: 10px; align-items: center; }
.db-kg { min-height: 56px; border-radius: 16px; background: rgba(212,180,131,.1); border: 1px solid rgba(212,180,131,.4); color: var(--text); font-size: 15px; }
.db-kg strong { font-family: Fraunces, serif; font-size: 30px; color: var(--gold); margin-right: 2px; }
.lift-row.one { grid-template-columns: 1fr; }
/* ---- plan, science, tutorial ---- */
.plan-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: var(--text); text-align: left; }
.plan-row .grow, .sci .grow, .gd .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.plan-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.plan-row.done .plan-dot { background: var(--gold); border-color: var(--gold); color: #1a1a14; }
.plan-row.done { opacity: .72; }
.plan-row.next { border-color: rgba(212,180,131,.6); background: rgba(212,180,131,.09); }
.plan-tag { font-size: 12px; color: var(--gold); font-weight: 600; }
.plan-week summary small { font-weight: 400; }
.ev { font-size: 11px; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); margin-left: 8px; flex: none; }
.ev-strong { color: #9FB8A5; border-color: rgba(159,184,165,.5); }
.ev-moderate { color: #D4B483; border-color: rgba(212,180,131,.5); }
.sci summary::after, .gd summary::after, .plan-week summary::after { margin-left: 10px; }
.gd-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,180,131,.12); color: var(--gold); flex: none; }
/* ---- soft press feel ---- */
.card[data-go], .plan-cta, .plan-row, .move-row, .ring-row { transition: transform .14s cubic-bezier(.2,.8,.2,1), background .2s; }
.card[data-go]:active, .plan-cta:active, .plan-row:active, .move-row:active, .ring-row:active, .db-kg:active { transform: scale(.982); }
.btn, .icon-btn, .chipb, .opt, .tab, .vchip { transition: transform .14s cubic-bezier(.2,.8,.2,1), background .2s, border-color .2s; }
@media (prefers-reduced-motion: reduce) { .btn, .icon-btn, .chipb, .opt, .tab, .vchip { transition: none; } }

/* ---- onboarding reactions, why-this-plan, paywall summary ---- */
.react { min-height: 44px; margin: 6px 2px 0; padding: 10px 14px; border-radius: 14px; background: rgba(212,180,131,.08); border: 1px solid rgba(212,180,131,.22); color: var(--text); font-size: 14px; line-height: 1.4; opacity: 0; }
.react:empty { visibility: hidden; }
.react.in { opacity: 1; animation: reactIn .28s ease-out both; }
@keyframes reactIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.why-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14.5px; line-height: 1.4; }
.why-line svg { color: var(--gold); flex: none; margin-top: 3px; }
.pay-sum { display: flex; flex-direction: column; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .react.in { animation: none; } }
#qNext { position: sticky; bottom: max(env(safe-area-inset-bottom), 14px); z-index: 5; }
.react:empty { display: none; }

/* ---- cardio ---- */
.cd-week { display: flex; gap: 16px; align-items: center; }
.cd-ring { position: relative; width: 112px; height: 112px; flex: none; }
.cd-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cd-in strong { font-family: Fraunces, serif; font-size: 30px; color: var(--gold); line-height: 1; }
.cd-kind { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 64px; color: var(--text); }
.cd-kind.on { border-color: rgba(212,180,131,.65); background: rgba(212,180,131,.09); }
.cardio-card .cc-ring { flex: none; display: grid; place-items: center; }
.cr-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; flex: 1; min-height: 46vh; }
.cr-time { font-size: clamp(72px, 24vw, 104px); text-align: center; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.cr-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.cr-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #f0d9a8); border-radius: 99px; transition: width .3s linear; }
