/* All Workout landing page — "All Workout Classic" palette (swiftgym_workouts AppPalette.classic) */
:root {
  color-scheme: dark;
  --bg: #0B0D0F;
  --bg-2: #101214;
  --card: #16191D;
  --card-2: #1A1D21;
  --sec: #20242A;
  --line: #2A2E33;
  --text: #F5F5F5;
  --muted: #9AA0A6;
  --dim: #6B7178;
  --lime: #AEEA00;
  --lime-hi: #CBFF3A;
  --lime-deep: #8BC500;
  --lime-soft: #1E2A12;
  --ink: #0B0D0F;
  --canvas-text: #1A1625;
  --r: 22px;
  --wrap: 1180px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lime { color: var(--lime); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-lime { background: linear-gradient(135deg, var(--lime-hi), var(--lime) 55%, var(--lime-deep)); color: var(--ink); box-shadow: 0 6px 24px -8px rgba(174,234,0,.6); }
.btn-lime:hover { transform: translateY(-1px); box-shadow: 0 10px 32px -8px rgba(174,234,0,.75); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-xs { padding: 8px 14px; font-size: 13px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,13,15,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 17px/1 var(--display); font-stretch: 110%; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 850; font-stretch: 112%; font-size: clamp(38px, 5.6vw, 72px); line-height: 1; letter-spacing: -.03em; margin: 0 0 22px; }
.h2 { font-family: var(--display); font-weight: 850; font-stretch: 110%; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 14px; }
.h2.xl { font-size: clamp(38px, 5.4vw, 68px); }
.kicker { display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0 0 14px; }
.sub, .lede { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 620px; margin: 0; }
.lede { max-width: 540px; margin-bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.02); margin: 0 0 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(174,234,0,.18); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 900px; background:
  radial-gradient(600px 380px at 78% 30%, rgba(174,234,0,.16), transparent 70%),
  radial-gradient(500px 300px at 10% 0%, rgba(174,234,0,.07), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-in { grid-template-columns: 1fr; gap: 40px; } }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.store { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.store img { border-radius: 11px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { color: var(--muted); font-size: 12px; font-weight: 600; }
.store b { font-size: 16px; font-weight: 800; }
.store:hover { border-color: var(--lime); transform: translateY(-2px); background: #1a1f16; }
.store:first-child { background: linear-gradient(135deg, var(--lime-hi), var(--lime) 60%, var(--lime-deep)); border-color: transparent; color: var(--ink); }
.store:first-child small { color: rgba(11,13,15,.7); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 8px; }

/* ---------- device mocks ---------- */
.tv { position: relative; }
.tv-frame { container-type: inline-size; aspect-ratio: 16 / 9; padding: 1.1%; border-radius: 1.6% / 2.8%; background: linear-gradient(180deg, #2a2f35, #0c0e10); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 140px -30px rgba(174,234,0,.45); }
.tvscr { position: relative; height: 100%; border-radius: .7cqw; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #1b2016, #0f1113 60%); font-size: 1.75cqw; line-height: 1.35; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#1a1d21, #0c0e10); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); border-radius: 0 0 6px 6px; }
.tv-stand::after { content: ""; display: block; width: 180%; margin-left: -40%; height: 3px; transform: translateY(12px); background: radial-gradient(closest-side, rgba(174,234,0,.35), transparent); }

.phone-frame { container-type: inline-size; aspect-ratio: 9 / 19.2; padding: 3.4%; border-radius: 15% / 7.2%; background: linear-gradient(150deg, #3a3f46, #15181b 40%, #0b0c0e); box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.05), 0 40px 70px -25px rgba(0,0,0,.95); }
.scr { position: relative; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: var(--bg-2); font-size: 4.4cqw; line-height: 1.35; }
.scr::before { content: ""; position: absolute; top: 1.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 5; }
.ph-status { position: absolute; top: 0; left: 0; right: 0; height: 7%; display: flex; align-items: center; justify-content: space-between; padding: 0 9%; font-size: .78em; font-weight: 700; z-index: 4; }
.ph-sig { letter-spacing: .08em; font-size: .8em; }
.ph-pad { padding: 3.6em 1.1em 1em; }
.ph-h { display: block; font: 800 1.35em/1.15 var(--display); font-stretch: 108%; letter-spacing: -.01em; }
.ph-h.sm { font-size: 1.05em; margin: 1em 0 .5em; }
.ph-sub { display: block; color: var(--muted); font-size: .8em; margin: .2em 0 .8em; }

/* ---------- hero scene ---------- */
.scene { position: relative; aspect-ratio: 100 / 74; }
.tv-hero { position: absolute; top: 4%; right: 0; width: 82%; }
.phone-hero { position: absolute; left: 0; bottom: 3%; width: 27%; z-index: 3; transform: rotate(-4deg); transition: transform .5s; }
.scene:hover .phone-hero { transform: rotate(-2deg) translateY(-4px); }
.scene-hint { position: absolute; left: 31%; right: 0; bottom: 6%; margin: 0; font-size: 13.5px; color: var(--muted); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; animation: pd 1.6s infinite; }
@keyframes pd { 0% { box-shadow: 0 0 0 0 rgba(174,234,0,.6); } 100% { box-shadow: 0 0 0 12px rgba(174,234,0,0); } }
@media (max-width: 560px) {
  .scene { aspect-ratio: 100 / 108; }
  .tv-hero { width: 90%; top: 0; }
  .phone-hero { width: 36%; bottom: 2%; }
  .waves { left: 33%; top: 38%; width: 10%; }
  .scene-hint { left: 42%; bottom: 14%; font-size: 12.5px; line-height: 1.4; align-items: flex-start; }
  .pulse-dot { margin-top: 4px; }
  .tvp { padding-left: 5%; }
  .tvp-head { max-width: 50%; }
}
.waves { position: absolute; left: 22%; top: 25%; width: 8%; aspect-ratio: 1; z-index: 2; pointer-events: none; }
.waves i { position: absolute; inset: 0; border: 2px solid var(--lime); border-color: var(--lime) var(--lime) transparent transparent; border-radius: 50%; transform: rotate(0deg); opacity: 0; animation: wave 2.4s infinite; }
.waves i:nth-child(2) { animation-delay: .8s; }
.waves i:nth-child(3) { animation-delay: 1.6s; }
@keyframes wave { 0% { transform: scale(.3); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.scene.ping .waves i { animation-duration: .8s; }

/* TV player (hero) */
.tvp { position: absolute; inset: 0; padding: 4.4% 4.6% 4.4% 14%; }
.tvp-brand { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: .82em; color: var(--text); }
.tvp-brand img { width: 1.8em; height: 1.8em; border-radius: .4em; }
.tvp-head { position: relative; z-index: 2; max-width: 38%; }
.tvp-title { font: 800 2.15em/1.08 var(--display); font-stretch: 108%; letter-spacing: -.015em; margin: .75em 0 .35em; text-transform: capitalize; }
.tvp-meta { display: flex; align-items: center; gap: .7em; color: var(--muted); font-size: 1.02em; font-weight: 600; }
.tvp-meta i { width: 1px; height: 1em; background: var(--line); }
.tvp-gif { position: absolute; right: 21%; top: 8%; width: 34%; aspect-ratio: 1; border-radius: 1em; background: #fff; overflow: hidden; box-shadow: 0 1.2em 3em -1em rgba(0,0,0,.7); }
.tvp-gif img { width: 100%; height: 100%; object-fit: contain; }
.tvp-ring { position: absolute; right: 4.6%; top: 11%; width: 14%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; opacity: 0; transform: scale(.85); transition: .35s; }
.tvp-ring svg, .big-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3; }
.ring-fg { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.tvp-ring b { font: 800 2.4em/1 var(--display); margin-top: -.2em; }
.tvp-ring span { position: absolute; bottom: -1.6em; font-size: .9em; font-weight: 700; color: var(--muted); }
.tvp.is-rest .tvp-ring { opacity: 1; transform: none; }
.tvp.is-rest .tvp-gif { opacity: .45; filter: grayscale(.6); }
.tvp-gif { transition: opacity .3s, filter .3s; }
.tvp-bar { position: absolute; left: 28%; right: 4.6%; bottom: 20%; height: .38em; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.tvp-bar i, .pp-bar i, .tvm-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime-deep), var(--lime-hi)); border-radius: inherit; transition: width .4s; }
.tvp-ctrls { position: absolute; left: 28%; right: 4.6%; bottom: 5.5%; display: flex; justify-content: center; align-items: center; gap: 1.1em; }
.tvp-ctrls .c { width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: .95em; }
.tvp-ctrls .c-main { width: 3.3em; height: 3.3em; background: var(--lime); color: var(--ink); font-weight: 900; }
.tvp-ctrls .c-txt { font-weight: 800; font-size: .9em; }
.tvp-toast { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); padding: .6em 1.2em; border-radius: 99px; background: rgba(11,13,15,.85); border: 1px solid var(--lime); color: var(--lime); font-weight: 800; font-size: 1.1em; opacity: 0; transition: .25s; white-space: nowrap; z-index: 5; }
.tvp-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tvscr.flash { box-shadow: inset 0 0 0 .25em rgba(174,234,0,.7); }
.tvscr { transition: box-shadow .3s; }

/* Phone player */
.pp { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: var(--canvas-text); }
.pp-top { display: flex; justify-content: space-between; align-items: center; padding: 3.3em .9em .2em; }
.chip-round { width: 2.1em; height: 2.1em; display: grid; place-items: center; border-radius: 50%; background: #e8e8ea; font-size: .78em; font-weight: 800; color: #555; }
.cast-pill { display: inline-flex; align-items: center; gap: .35em; padding: .35em .7em; border-radius: 99px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .72em; box-shadow: 0 0 0 .3em rgba(174,234,0,.25); }
.cast-pill svg, .cast-btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-canvas { flex: 1; display: grid; place-items: center; min-height: 0; padding: 0 .6em; }
.pp-canvas img { width: 100%; max-height: 100%; object-fit: contain; }
.pp-meta { display: flex; justify-content: space-between; padding: 0 1em; font-size: .72em; color: #6B667A; font-weight: 600; }
.pp-bar { margin: .35em 1em .6em; height: .3em; background: #1a1d21; border-radius: 99px; overflow: hidden; }
.pp-ctrls { display: flex; justify-content: center; align-items: center; gap: .55em; padding: 0 .6em .7em; }
.pbtn { width: 2.4em; height: 2.4em; border-radius: 50%; border: 0; background: #1a1d21; color: #fff; font-size: .8em; display: grid; place-items: center; transition: transform .15s, box-shadow .2s; }
.pbtn:hover { box-shadow: 0 0 0 .25em rgba(174,234,0,.35); }
.pbtn:active { transform: scale(.9); }
.pbtn-main { width: 3.1em; height: 3.1em; background: var(--lime); color: var(--ink); font-weight: 900; font-size: .85em; }
.pbtn-txt { font-weight: 800; font-size: .72em; width: 2.9em; height: 2.9em; }
.pp-sheet { background: #16191D; color: var(--text); border-radius: 1.1em 1.1em 0 0; padding: .8em 1em 1.3em; }
.pp-sheet b { display: block; font-size: .95em; text-transform: capitalize; }
.pp-sheet span { font-size: .72em; color: var(--muted); }
.pp-sheet.flat { border-radius: .8em; margin-top: .8em; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 64px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.stats > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font: 850 clamp(34px, 3.6vw, 48px)/1 var(--display); font-stretch: 112%; color: var(--lime); letter-spacing: -.03em; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- sections ---------- */
.sec { padding: 110px 0; position: relative; overflow-x: clip; }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid rgba(255,255,255,.04); }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .sub { margin-inline: auto; }
@media (max-width: 640px) { .sec { padding: 76px 0; } .sec-head { margin-bottom: 36px; } }

/* ---------- stepper ---------- */
.stepper { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .stepper { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps button { position: relative; width: 100%; text-align: left; display: flex; gap: 16px; padding: 18px 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .25s, background .25s; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--sec); color: var(--muted); transition: .25s; }
.steps .t { display: flex; flex-direction: column; }
.steps b { font-size: 16.5px; }
.steps small { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.steps .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime); }
.steps button[aria-selected="true"] { border-color: rgba(174,234,0,.5); background: linear-gradient(135deg, #1b2214, var(--card)); }
.steps button[aria-selected="true"] .n { background: var(--lime); color: var(--ink); }
.steps button[aria-selected="true"] .prog { animation: prog var(--dur, 5s) linear forwards; }
.stepper.paused .steps button[aria-selected="true"] .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 8px; order: 2; }
  .steps button { flex-direction: column; gap: 8px; padding: 12px; }
  .steps small { display: none; }
  .steps b { font-size: 13px; line-height: 1.25; }
}
@media (max-width: 480px) { .steps b { font-size: 11.5px; } .steps .n { width: 28px; height: 28px; font-size: 13px; } }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 27%; gap: 5%; align-items: end; padding: 20px 0; }
.stage::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(174,234,0,.12), transparent); z-index: -1; }
.st { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.stepper[data-step="0"] .st-0, .stepper[data-step="1"] .st-1, .stepper[data-step="2"] .st-2, .stepper[data-step="3"] .st-3 { opacity: 1; visibility: visible; }
.phone-stage .scr { background: var(--bg-2); }

.tv-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; padding: 6% 7%; height: 100%; }
.tv-pair h3 { font: 850 2.6em/1.02 var(--display); font-stretch: 110%; letter-spacing: -.02em; margin: .6em 0 .5em; }
.tv-pair p { color: var(--muted); font-size: 1.05em; margin: 0; }
.tv-pair-r { display: flex; flex-direction: column; align-items: center; gap: 1em; }
.qr-card { background: #fff; padding: 1em; border-radius: 1em; width: 78%; box-shadow: 0 0 0 .35em rgba(174,234,0,.18), 0 0 3em rgba(174,234,0,.25); }
.qr svg { width: 100%; height: auto; display: block; }
.code-box { text-align: center; padding: .5em 1.6em; border-radius: .8em; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.code-box small { display: block; color: var(--muted); font-size: .8em; }
.code-box b { font: 850 1.7em/1.1 var(--display); letter-spacing: .12em; }
.pair-steps { margin: 0; padding-left: 1.3em; color: var(--muted); font-size: 1.05em; display: grid; gap: .35em; }
.pair-steps li::marker { color: var(--lime); font-weight: 900; }

.tv-ok { display: grid; place-content: center; justify-items: center; text-align: center; gap: .3em; }
.tv-ok h3 { font: 850 2.6em/1.1 var(--display); font-stretch: 108%; margin: .4em 0 .1em; }
.tv-ok p { color: var(--muted); margin: 0; font-size: 1.1em; }
.ok-badge { width: 4.4em; height: 4.4em; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 1.8em; font-weight: 900; box-shadow: 0 0 0 .5em rgba(174,234,0,.18), 0 0 4em rgba(174,234,0,.5); }
.stepper[data-step="2"] .ok-badge { animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); } }

.tv-mini { padding: 4.5% 5%; }
.tvm-title { font: 800 2em/1.1 var(--display); font-stretch: 108%; margin: .7em 0 .2em; max-width: 50%; }
.tvm-meta { color: var(--muted); font-weight: 600; }
.tvm-gif { position: absolute; right: 6%; top: 10%; width: 36%; aspect-ratio: 1; background: #fff; border-radius: 1em; overflow: hidden; }
.tvm-gif img { width: 100%; height: 100%; object-fit: contain; }
.tvm-bar { position: absolute; left: 5%; width: 48%; bottom: 14%; height: .4em; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.tv-mini .tvm-bar i { width: 58%; }
.tg-prog .tvm-bar { position: static; width: 100%; }

/* phone home */
.hm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5em; margin-bottom: .9em; }
.hm-h { display: block; font: 800 1.3em/1.15 var(--display); font-stretch: 106%; }
.hm-head small { color: var(--muted); font-size: .74em; }
.cast-btn { flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.cast-btn.glow { animation: glow 1.6s infinite; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(174,234,0,.7); } 100% { box-shadow: 0 0 0 1.1em rgba(174,234,0,0); } }
.hm-cont { display: flex; align-items: center; gap: .7em; padding: .6em; border-radius: .9em; background: var(--card-2); border: 1px solid var(--line); margin-bottom: .7em; }
.hm-cont img { width: 2.8em; height: 2.8em; border-radius: .6em; object-fit: cover; background: #fff; }
.hm-cont div { display: flex; flex-direction: column; min-width: 0; }
.hm-cont small { font-size: .62em; color: var(--muted); font-weight: 700; }
.hm-cont small.lime { color: var(--lime); letter-spacing: .06em; }
.hm-cont b { font-size: .78em; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-cont.big { font-size: 18px; margin: 0; }
.hm-cont.big > span { margin-left: auto; font-size: 1.4em; color: var(--muted); }
.hm-browse { position: relative; padding: .8em 1em; border-radius: .9em; background: linear-gradient(135deg, var(--lime-hi), var(--lime) 55%, var(--lime-deep)); color: var(--ink); }
.hm-browse b { display: block; font-size: .95em; }
.hm-browse small { font-size: .68em; opacity: .75; font-weight: 600; }
.hm-browse span { position: absolute; right: .9em; top: 50%; transform: translateY(-50%); font-size: 1.2em; font-weight: 900; }
.hm-plans { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.hm-plans > div { padding: .6em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); }
.hm-plans b { display: block; font-size: .72em; margin-top: .4em; }
.stack { display: flex; }
.stack img { width: 1.9em; height: 1.9em; border-radius: 50%; object-fit: cover; background: #fff; border: .12em solid var(--line); margin-left: -.5em; }
.stack img:first-child { margin-left: 0; }

/* scanner */
.ph-scan { background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1em; padding: 3em 1em 1em; }
.ph-scan p { color: #ddd; font-size: .78em; text-align: center; margin: 0; }
.scan-view { position: relative; width: 80%; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(#2b2f35, #0c0e10); border-radius: .6em; overflow: hidden; }
.scan-qr { width: 64%; background: #fff; padding: .5em; border-radius: .4em; transform: perspective(300px) rotateX(10deg) rotateZ(-3deg); }
.corner { position: absolute; width: 18%; height: 18%; border: .22em solid var(--lime); }
.corner.tl { top: 8%; left: 8%; border-right: 0; border-bottom: 0; border-radius: .5em 0 0 0; }
.corner.tr { top: 8%; right: 8%; border-left: 0; border-bottom: 0; border-radius: 0 .5em 0 0; }
.corner.bl { bottom: 8%; left: 8%; border-right: 0; border-top: 0; border-radius: 0 0 0 .5em; }
.corner.br { bottom: 8%; right: 8%; border-left: 0; border-top: 0; border-radius: 0 0 .5em 0; }
.scan-line { position: absolute; left: 10%; right: 10%; height: .15em; background: var(--lime); box-shadow: 0 0 1em var(--lime); animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { from { top: 12%; } to { top: 86%; } }

.conn-pill { display: inline-block; padding: .3em .8em; border-radius: 99px; background: var(--lime-soft); color: var(--lime); font-size: .7em; font-weight: 800; margin-bottom: .9em; }
.pick { display: flex; align-items: center; gap: .7em; padding: .7em; margin-top: .6em; border-radius: .9em; background: var(--card-2); border: 1px solid var(--line); }
.pick:first-of-type { border-color: var(--lime); box-shadow: 0 0 0 .2em rgba(174,234,0,.15); }
.pick div:last-child { display: flex; flex-direction: column; min-width: 0; }
.pick b { font-size: .78em; }
.pick small { font-size: .62em; color: var(--lime); font-weight: 700; }
.send-btn { margin-top: 1em; padding: .75em; text-align: center; border-radius: .9em; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .85em; }
.remote-name { text-align: center; margin: .8em 0 1.2em; }
.remote-name b { display: block; font-size: 1.05em; text-transform: capitalize; }
.remote-name small { color: var(--muted); font-size: .72em; }
.remote { display: flex; justify-content: center; align-items: center; gap: .8em; }
.remote span { width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: 50%; background: var(--sec); font-size: .85em; }
.remote .big { width: 3.6em; height: 3.6em; background: var(--lime); color: var(--ink); font-weight: 900; }
.remote-row { display: flex; justify-content: space-between; margin-top: 1.4em; padding: .7em .9em; border-radius: .8em; background: var(--card-2); font-size: .8em; }
.remote-row span { color: var(--muted); }
.log-link { margin-top: .8em; text-align: center; color: var(--lime); font-weight: 800; font-size: .78em; padding: .6em; border: 1px dashed rgba(174,234,0,.5); border-radius: .8em; }

/* ---------- explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-list button { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: .2s; }
.feat-list button:hover { border-color: #3a4048; background: #1a1d21; }
.feat-list .fi { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--sec); color: var(--lime); font-size: 17px; transition: .2s; }
.feat-list b { display: block; font-size: 15px; line-height: 1.3; }
.feat-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.feat-list button[aria-selected="true"] { border-color: var(--lime); background: linear-gradient(135deg, #1c2413, var(--card) 70%); box-shadow: 0 10px 30px -18px rgba(174,234,0,.6); }
.feat-list button[aria-selected="true"] .fi { background: var(--lime); color: var(--ink); }
.feat-stage { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; }
.feat-stage::before { content: ""; position: absolute; top: 8%; width: 110%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(174,234,0,.16), transparent); z-index: -1; }
.phone-feat { width: min(330px, 80%); }
.feat-caption { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; min-height: 2.8em; max-width: 360px; }
@media (max-width: 900px) {
  .explorer { grid-template-columns: 1fr; gap: 28px; }
  .feat-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .feat-list::-webkit-scrollbar { display: none; }
  .feat-list button { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 14px; align-items: center; }
  .feat-list small { display: none; }
  .feat-list b { white-space: nowrap; font-size: 14px; }
  .feat-list .fi { width: 28px; height: 28px; font-size: 14px; }
  .feat-stage { position: relative; top: 0; }
  .phone-feat { width: min(300px, 76vw); }
}

.fs { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility .35s; overflow: hidden; }
.explorer[data-f="library"] .fs-library, .explorer[data-f="plans"] .fs-plans, .explorer[data-f="smart"] .fs-smart,
.explorer[data-f="player"] .fs-player, .explorer[data-f="weights"] .fs-weights, .explorer[data-f="calories"] .fs-calories,
.explorer[data-f="reminders"] .fs-reminders, .explorer[data-f="offline"] .fs-offline, .explorer[data-f="themes"] .fs-themes { opacity: 1; visibility: visible; transform: none; }

.search { display: flex; align-items: center; gap: .5em; padding: .55em .8em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); color: var(--muted); }
.search:focus-within { border-color: var(--lime); }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: .82em; outline: none; }
.chips { display: flex; gap: .35em; margin: .6em 0; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 1px solid var(--line); background: var(--card-2); color: var(--muted); padding: .35em .75em; border-radius: 99px; font-size: .7em; font-weight: 700; transition: .15s; }
.chips button.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.wrap-chips { flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; max-height: 72%; overflow-y: auto; scrollbar-width: none; padding-bottom: 3em; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.grid::-webkit-scrollbar { display: none; }
.tile { border-radius: .7em; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); animation: fadeUp .35s both; }
.tile img { width: 100%; aspect-ratio: 1.1; object-fit: contain; background: #fff; }
.tile div { padding: .4em .5em .5em; }
.tile b { display: block; font-size: .64em; line-height: 1.25; text-transform: capitalize; }
.tile small { font-size: .56em; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .75em; padding: 2em 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

.plan-list { display: grid; gap: .5em; max-height: 82%; overflow-y: auto; scrollbar-width: none; }
.plan { padding: .7em; border-radius: .9em; background: var(--card-2); border: 1px solid var(--line); animation: fadeUp .35s both; }
.plan .stack img { width: 2.1em; height: 2.1em; }
.plan .lvl { display: inline-block; margin: .5em 0 .2em; padding: .15em .6em; border-radius: 99px; background: var(--lime-soft); color: var(--lime); font-size: .6em; font-weight: 800; }
.plan b { display: block; font-size: .85em; }
.plan small { color: var(--muted); font-size: .64em; }

.q { font-size: .72em; font-weight: 800; color: var(--muted); margin: 1em 0 .2em; text-transform: uppercase; letter-spacing: .08em; }
.smart-out { margin-top: 1em; padding: .9em; border-radius: 1em; background: linear-gradient(145deg, #1f2b12, var(--card-2)); border: 1px solid rgba(174,234,0,.45); }
.smart-out small { font-size: .62em; font-weight: 800; letter-spacing: .1em; }
.smart-out b { display: block; font: 800 1.05em/1.2 var(--display); margin: .2em 0 .3em; }
.smart-out p { margin: 0 0 .6em; font-size: .7em; color: var(--muted); }
.smart-rx { display: flex; flex-direction: column; gap: .15em; font-size: .7em; }
.smart-rx span:first-child { color: var(--lime); font-weight: 800; font-size: 1.15em; }
.smart-rx span:last-child { color: var(--muted); }
.smart-out.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.03); } }

.fs-player { background: #fff; color: var(--canvas-text); display: flex; flex-direction: column; }
.pl-canvas { flex: 1; min-height: 0; display: grid; place-items: center; padding: 3em 1em 0; }
.pl-canvas img { width: 92%; }
.pl-body { padding-top: 0; }
.fs-player .pp-meta, .fs-player .pp-bar { margin-inline: 0; padding: 0; }
.fs-player .pp-bar { margin: .4em 0 .6em; }
.speed { padding: .6em .8em; border-radius: .8em; background: #f1f2f4; }
.speed-top { display: flex; justify-content: space-between; font-size: .72em; font-weight: 700; }
.speed-top b { color: #5f8a00; }
.speed-ends { display: flex; justify-content: space-between; font-size: .56em; color: #8a8f98; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.4em; background: transparent; margin: .1em 0; }
input[type="range"]::-webkit-slider-runnable-track { height: .35em; border-radius: 99px; background: linear-gradient(90deg, var(--lime) var(--p, 50%), #d6d9de var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: .35em; border-radius: 99px; background: #d6d9de; }
input[type="range"]::-moz-range-progress { height: .35em; border-radius: 99px; background: var(--lime); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; border: .25em solid var(--lime); margin-top: -.43em; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
input[type="range"]::-moz-range-thumb { width: .8em; height: .8em; border-radius: 50%; background: #fff; border: .22em solid var(--lime); }
.fs-calories input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--lime) var(--p, 50%), var(--sec) var(--p, 50%)); }
.fs-calories input[type="range"]::-moz-range-track { background: var(--sec); }

.wt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5em; }
.seg { display: inline-flex; padding: .2em; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: .3em .8em; border-radius: 99px; font-size: .72em; font-weight: 800; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--lime); color: var(--ink); }
.seg-3 { display: flex; margin: .2em 0 .6em; }
.seg-3 button { flex: 1; }
.last { font-size: .72em; color: var(--muted); padding: .5em .7em; border-radius: .7em; background: var(--lime-soft); margin: .2em 0 .7em; }
.last b { color: var(--lime); }
.sets { display: grid; gap: .45em; }
.set-row { display: flex; align-items: center; justify-content: space-between; padding: .45em .6em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); }
.set-row > span { font-size: .72em; color: var(--muted); font-weight: 700; width: 3.4em; }
.stepr { display: flex; align-items: center; gap: .5em; }
.stepr button { width: 1.9em; height: 1.9em; border-radius: 50%; border: 1px solid var(--line); background: var(--sec); color: var(--text); font-weight: 900; font-size: .8em; }
.stepr button:hover { border-color: var(--lime); color: var(--lime); }
.stepr b { min-width: 4.2em; text-align: center; font-size: .88em; }
.note { display: flex; flex-direction: column; margin-top: .6em; padding: .45em .7em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); }
.note span { font-size: .6em; color: var(--muted); font-weight: 700; }
.note input { border: 0; background: none; color: var(--text); font: inherit; font-size: .74em; outline: none; padding: 0; }

.sl { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: .25em; }
.sl span { font-size: .72em; color: var(--muted); font-weight: 700; }
.sl b { font-size: .78em; }
.sl input { grid-column: 1 / -1; }
.sel { display: flex; justify-content: space-between; align-items: center; margin: .4em 0 .7em; padding: .45em .7em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); }
.sel span { font-size: .72em; color: var(--muted); font-weight: 700; }
.sel select { background: none; border: 0; color: var(--text); font: inherit; font-size: .76em; font-weight: 700; text-align: right; outline: none; }
.sel select option { background: var(--card); }
.kcal { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.kcal > div { padding: .6em .7em; border-radius: .9em; background: var(--card-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.kcal .hi { background: linear-gradient(145deg, #1f2b12, var(--card-2)); border-color: rgba(174,234,0,.45); }
.kcal small { font-size: .56em; color: var(--muted); font-weight: 700; }
.kcal b { font: 850 1.5em/1.1 var(--display); color: var(--text); }
.kcal .hi b { color: var(--lime); }

.lock { background: radial-gradient(120% 70% at 50% 0%, #25321a, #0b0d0f 65%); text-align: center; padding: 3.4em .8em 1em; }
.lock-time { font: 300 3.6em/1 var(--display); font-stretch: 100%; letter-spacing: -.02em; }
.lock-date { color: var(--muted); font-size: .8em; margin-bottom: 1.4em; }
.notif { display: flex; gap: .6em; align-items: flex-start; text-align: left; padding: .65em; margin-bottom: .5em; border-radius: 1em; background: rgba(40,44,50,.75); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.06); }
.notif img { width: 1.9em; height: 1.9em; border-radius: .45em; flex: none; }
.notif div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.notif b { font-size: .72em; }
.notif span { font-size: .66em; color: #c9ced4; line-height: 1.35; }
.notif small { font-size: .56em; color: var(--muted); }
.explorer[data-f="reminders"] .notif { animation: drop .5s both; }
.explorer[data-f="reminders"] .n2 { animation-delay: .35s; }
.explorer[data-f="reminders"] .n3 { animation-delay: .7s; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.lock-foot { position: absolute; bottom: 1.4em; left: 0; right: 0; font-size: .62em; color: var(--muted); margin: 0; }

.off-bar { display: flex; justify-content: space-between; align-items: center; padding: .55em .8em; border-radius: .9em; background: var(--card-2); border: 1px solid var(--line); margin-bottom: 1em; font-size: .8em; font-weight: 700; }
.switch { width: 2.8em; height: 1.6em; border-radius: 99px; border: 0; background: var(--sec); position: relative; transition: .2s; padding: 0; }
.switch i { position: absolute; top: .2em; left: .2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; transition: .2s; }
.switch[aria-checked="true"] { background: #ff9f0a; }
.switch[aria-checked="true"] i { left: 1.4em; }
.off-list { display: grid; gap: .5em; margin-top: .5em; }
.off-row { display: flex; gap: .6em; align-items: center; padding: .5em; border-radius: .8em; background: var(--card-2); border: 1px solid var(--line); }
.off-row img { width: 2.6em; height: 2.6em; border-radius: .55em; background: #fff; object-fit: contain; }
.off-row div { display: flex; flex-direction: column; min-width: 0; }
.off-row b { font-size: .76em; text-transform: capitalize; }
.saved { font-size: .62em; color: var(--lime); font-weight: 700; }
.off-note { margin-top: .9em; font-size: .7em; color: var(--muted); padding: .7em; border-radius: .8em; border: 1px dashed var(--line); }

.fs-themes { display: flex; flex-direction: column; }
.theme-shots { position: relative; flex: 1; }
.theme-shots > * { position: absolute; inset: 0; transition: opacity .45s; }
.t-original { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; }
.theme-shots[data-t="original"] .t-original { opacity: 1; }
.theme-shots[data-t="original"] .t-classic { opacity: 0; }
.theme-toggle { position: absolute; bottom: 1.2em; left: 50%; transform: translateX(-50%); z-index: 4; box-shadow: 0 6px 20px rgba(0,0,0,.5); }

/* ---------- TV explorer ---------- */
.tvx { display: grid; gap: 28px; }
.tv-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 860px; margin: 0 auto; width: 100%; }
.tv-tabs button { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: .2s; }
.tv-tabs b { display: block; font-size: 16px; }
.tv-tabs small { color: var(--muted); font-size: 13.5px; }
.tv-tabs button[aria-selected="true"] { border-color: var(--lime); background: linear-gradient(135deg, #1c2413, var(--card) 70%); }
.tv-tabs button[aria-selected="true"] b { color: var(--lime); }
@media (max-width: 640px) { .tv-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: auto; } .tv-tabs::-webkit-scrollbar { display: none; } .tv-tabs button { flex: none; padding: 10px 16px; border-radius: 99px; } .tv-tabs small { display: none; } .tv-tabs b { font-size: 14px; white-space: nowrap; } }
.tv-big { max-width: 1040px; margin: 0 auto; width: 100%; }
.tg { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.tvx[data-t="guide"] .tg-guide, .tvx[data-t="rest"] .tg-rest, .tvx[data-t="pair"] .tg-pair { opacity: 1; visibility: visible; }

.tg-guide { display: flex; flex-direction: column; padding: 3% 3.6% 0; }
.tg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2em; }
.tg-head small { color: var(--muted); font-weight: 700; font-size: .75em; letter-spacing: .08em; }
.tg-head b { display: block; font: 850 1.9em/1.1 var(--display); font-stretch: 108%; text-transform: capitalize; }
.tg-prog { width: 26%; text-align: right; }
.tg-prog small { letter-spacing: 0; }
.tg-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2%; margin: 2% 0; }
.tg-left, .tg-right { border-radius: 1em; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-height: 0; position: relative; overflow: hidden; }
.tg-left { background: #fff; display: grid; place-items: center; }
.tg-left img { height: 86%; object-fit: contain; }
.now { position: absolute; top: .8em; left: .8em; padding: .3em .8em; border-radius: 99px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .72em; }
.muscles { position: absolute; left: .8em; bottom: .7em; display: flex; flex-wrap: wrap; gap: .3em; align-items: center; }
.muscles small { width: 100%; font-size: .62em; color: #6B667A; font-weight: 700; }
.muscles span { padding: .2em .7em; border-radius: 99px; background: #eef0f2; color: var(--canvas-text); font-size: .68em; font-weight: 700; }
.tg-right { padding: 1em 1.1em; display: flex; flex-direction: column; }
.tg-rh b { font: 800 1.2em/1 var(--display); }
.langs { display: flex; gap: .3em; overflow-x: auto; margin: .6em 0 .5em; scrollbar-width: none; flex: none; }
.langs::-webkit-scrollbar { display: none; }
.langs button { flex: none; padding: .25em .7em; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .66em; font-weight: 700; }
.langs button.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tg-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: .45em; overflow: hidden; }
.tg-steps li { counter-increment: s; display: flex; gap: .6em; font-size: .74em; line-height: 1.35; color: #d7dbe0; animation: fadeUp .35s both; }
.tg-steps li::before { content: counter(s); flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 900; font-size: .9em; }
.tg-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: .8em 0 1em; }
.tg-foot b { display: block; font-size: 1.05em; text-transform: capitalize; }
.tg-foot small { color: var(--muted); font-size: .76em; }
.tg-count { text-align: right; }
.tg-count b { font: 850 1.8em/1 var(--display); }
.tg-count b span { color: var(--muted); font-size: .6em; }

.tg-rest { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: 5% 7%; }
.set-done { color: var(--lime); font-weight: 800; margin: 1.8em 0 .2em; font-size: 1.1em; }
.rest-t { display: block; font: 850 2.8em/1.02 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.rest-sub { color: var(--muted); margin: .7em 0 1.2em; max-width: 26em; }
.skip { display: inline-block; padding: .5em 1.2em; border-radius: 99px; border: 1px solid var(--line); font-weight: 800; font-size: .9em; }
.big-ring { position: relative; width: 70%; aspect-ratio: 1; margin: 0 auto; display: grid; place-content: center; text-align: center; }
.big-ring .ring-bg, .big-ring .ring-fg { stroke-width: 2.4; }
.big-ring b { font: 850 5em/1 var(--display); }
.big-ring span { color: var(--muted); font-weight: 700; }
.upnext { position: absolute; right: 4%; bottom: 6%; display: flex; gap: .7em; align-items: center; padding: .5em .9em .5em .5em; border-radius: 1em; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.upnext img { width: 2.8em; height: 2.8em; border-radius: .6em; background: #fff; object-fit: contain; }
.upnext small { display: block; font-size: .62em; color: var(--lime); font-weight: 800; letter-spacing: .1em; }
.upnext b { font-size: .85em; }
.tg-pair .tv-pair { padding: 5% 8%; }

.banner { margin: 56px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(174,234,0,.35); }
.banner img { width: 100%; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { position: relative; border-radius: var(--r); padding: 26px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: #3a4048; transform: translateY(-2px); }
.card h3 { font: 800 22px/1.15 var(--display); font-stretch: 106%; margin: 10px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); padding: 4px 10px; border-radius: 99px; background: var(--lime-soft); }
.c-history { grid-column: span 3; grid-row: span 2; }
.c-continue { grid-column: span 3; }
.c-overload { grid-column: span 3; }
.c-last { grid-column: span 3; }
.c-private { grid-column: span 3; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .c-history { grid-column: 1 / -1; grid-row: auto; } .c-continue, .c-overload, .c-last, .c-private { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .c-continue, .c-overload, .c-last, .c-private { grid-column: 1 / -1; } }
.c-continue header { margin-bottom: 16px; }
.hist { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hist-day { margin: 8px 0 0; font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.hist-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.hist-row img { width: 46px; height: 46px; border-radius: 10px; background: #fff; object-fit: contain; flex: none; }
.hist-row div { flex: 1; min-width: 0; }
.hist-row b { display: block; font-size: 14.5px; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-row small { color: var(--muted); font-size: 13px; }
.wpill { color: var(--lime); font-weight: 700; }
.hbtn { flex: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; }
.hbtn.lime-b { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ovl { margin-top: 18px; padding: 14px; border-radius: 16px; background: linear-gradient(145deg, #1f2b12, var(--bg-2)); border: 1px solid rgba(174,234,0,.4); }
.ovl-msg b { display: block; font-size: 15px; }
.ovl-msg span { color: var(--muted); font-size: 14px; }
.ovl-msg span b { display: inline; color: var(--lime); }
.ovl-act { display: flex; gap: 8px; margin-top: 12px; }
.ovl-done { display: none; font-size: 15px; color: var(--muted); }
.ovl-done b { color: var(--lime); }
.ovl.accepted .ovl-msg, .ovl.accepted .ovl-act, .ovl.dismissed .ovl-act { display: none; }
.ovl.accepted .ovl-done { display: block; animation: fadeUp .35s; }
.ovl.dismissed { opacity: .55; }
.last-sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.last-sets div { padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.last-sets small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.last-sets b { font: 850 20px/1.2 var(--display); color: var(--lime); }
.lock-ic { position: absolute; right: -10px; bottom: -22px; font-size: 110px; opacity: .08; filter: grayscale(1); }
.extras { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 14px; font-weight: 600; }
.extras li::before { content: "+"; color: var(--lime); font-weight: 900; margin-right: 8px; }

/* ---------- gallery ---------- */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100vw - var(--wrap)) / 2) 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: none; scroll-snap-align: center; padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); height: min(520px, 70vh); transition: transform .3s, border-color .3s; }
.shot img { height: 100%; width: auto; }
.shot:hover { transform: translateY(-4px); border-color: var(--lime); }
.rail-ctrls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.rbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 18px; transition: .2s; }
.rbtn:hover { border-color: var(--lime); color: var(--lime); }
@media (max-width: 640px) { .shot { height: 420px; } .shot.wide { height: auto; width: 86vw; } .shot.wide img { width: 100%; height: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 16px; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 18px; }

/* ---------- get ---------- */
.get { background: radial-gradient(700px 400px at 50% 0%, rgba(174,234,0,.14), transparent 70%); }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .get-grid { grid-template-columns: 1fr; } }
.get-card { text-align: center; padding: 36px 28px; border-radius: 28px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; transition: border-color .25s, transform .25s; }
.get-card:hover { border-color: rgba(174,234,0,.55); transform: translateY(-3px); }
.get-logo { border-radius: 22px; box-shadow: 0 16px 40px -14px rgba(174,234,0,.45); }
.get-card h3 { font: 850 26px/1.1 var(--display); font-stretch: 108%; margin: 18px 0 6px; }
.get-card p { color: var(--muted); margin: 0 0 20px; max-width: 320px; }
.gp img { height: 56px; width: auto; transition: transform .2s; }
.gp:hover img { transform: scale(1.04); }
.get-qr { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.get-qr .qr { width: 112px; padding: 8px; background: #fff; border-radius: 12px; }
.get-qr small { color: var(--dim); font-size: 12.5px; }
@media (hover: none) { .get-qr { display: none; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.foot nav a:hover { color: var(--lime); }
.foot p { width: 100%; margin: 0; color: var(--dim); font-size: 12.5px; }
.foot p a { color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.hm-plans .mk-plan { display: grid; place-items: center; text-align: center; background: var(--lime-soft); border-color: rgba(174,234,0,.4); color: var(--lime); font-weight: 800; font-size: .72em; }
.phone-hero .ph-status { color: var(--canvas-text); }
.explorer[data-f="player"] .ph-status { color: var(--canvas-text); }
