.player{min-height:100svh;position:relative}.workout-grid{min-height:100svh;display:grid;grid-template-columns:55% 45%;padding:130px 6% 130px;align-items:center}.stage{height:65vh;min-height:280px;display:grid;place-items:center}.stage svg{height:100%;width:100%;max-width:750px}.workout-info{padding-left:5%}.workout-info h1{font-size:clamp(34px,3.4vw,64px);font-weight:600;line-height:1.1;letter-spacing:-2px;margin:17px 0 24px;max-width:690px}.muscle-tags{display:flex;gap:8px;flex-wrap:wrap}.muscle-tags span{padding:8px 13px;border-radius:9px;background:var(--pale);font-size:15px;color:var(--accent)}.timer{font-size:clamp(100px,9vw,174px);font-weight:400;letter-spacing:-8px;line-height:1.15;font-variant-numeric:tabular-nums;margin:32px 0 3px}.set-label{font-size:clamp(24px,2vw,36px);font-weight:550;letter-spacing:-.6px}.technique{font-size:clamp(18px,1.7vw,32px);line-height:1.5;color:var(--muted);max-width:590px;margin-top:26px}.workout-footer{position:absolute;bottom:35px;left:4.2%;right:4.2%;color:var(--muted);font-size:15px}.progress-label{display:flex;justify-content:space-between;margin-bottom:16px}.progress-track{height:4px;background:var(--pale-track);border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);width:12%;border-radius:4px}.session-label{font-size:14px;color:var(--muted);display:flex;gap:15px;align-items:center}.session-label b{font-weight:600;background:var(--pale-session);border-radius:8px;padding:8px 12px;color:var(--accent)}
.player{height:100svh;min-height:600px;overflow:hidden;transition:background .6s ease}.workout-grid{height:100%;min-height:0;padding:110px 6% 142px;grid-template-columns:54% 46%}.demonstration{position:relative;align-self:center;min-width:0}.stage{height:min(69vh,810px);min-height:0;transition:opacity .5s;contain:content}.stage svg{max-width:850px}.stage iframe{max-width:100%;max-height:100%;aspect-ratio:16/9;border:0;border-radius:20px}.stage-caption{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--muted);font-size:15px;letter-spacing:.2px;margin-top:-5px}.caption-rule{width:25px;height:1px;background:var(--muted-soft2)}.workout-info{padding:5px 0 5px 8%;align-self:center}.phase-label{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:650;letter-spacing:2.1px;color:var(--accent);min-height:21px}.phase-line{width:24px;height:2px;background:currentColor}.workout-info h1{margin:18px 0 20px;font-size:clamp(34px,3.35vw,64px);line-height:1.08;text-wrap:balance;letter-spacing:-1.8px}.timer{margin-top:29px;font-weight:400;letter-spacing:-6px}.set-row{display:flex;align-items:center;gap:20px;min-height:40px}.set-label{font-size:clamp(21px,1.75vw,34px)}.set-dots{display:flex;gap:7px}.set-dots i{width:7px;height:7px;border-radius:50%;background:var(--line-dots)}.set-dots i.filled{background:var(--accent)}.side-pill{display:inline-flex;padding:8px 13px;margin-top:15px;background:var(--pale-side);border:1px solid var(--line-side);border-radius:8px;color:var(--side-text);font-size:clamp(14px,1.2vw,23px);font-weight:650;letter-spacing:1px}.technique{margin:23px 0 0;font-size:clamp(20px,1.7vw,32px);line-height:1.45;max-width:620px;text-wrap:pretty}.next-line{font-size:clamp(13px,1.1vw,21px);color:var(--muted);margin-top:21px;min-height:24px}.header-buttons{display:flex;gap:6px;margin-left:22px}.playback-controls{position:absolute;bottom:84px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:var(--surface-controls);backdrop-filter:blur(16px);border:1px solid var(--line-controls);padding:7px 13px;border-radius:22px;opacity:.13;transition:opacity .3s;z-index:6}.controls-visible .playback-controls,.playback-controls:hover,.playback-controls:focus-within{opacity:1}.pause-control{width:46px;height:46px;display:grid;place-items:center;border:none;background:var(--accent);color:white;border-radius:15px}.controls-divider{width:1px;height:24px;background:var(--line);margin:0 5px}.workout-footer{bottom:27px}.progress-label{font-size:14px;margin-bottom:13px}.progress-fill{transition:width 1s linear}.player[data-state=REST],.player[data-state=EXERCISE_COMPLETE]{background:var(--bg-rest)}.player[data-state=REST] .stage,.player[data-state=EXERCISE_COMPLETE] .stage{opacity:.38}.player[data-state=SIDE_CHANGE] .stage{opacity:.5}.player[data-state=REST] .phase-label,.player[data-state=EXERCISE_COMPLETE] .phase-label{font-weight:700}.player[data-state=REST] .next-line{display:flex;align-items:center;gap:18px}.player[data-state=REST] .next-line:before{content:'';display:block;flex:none;width:24px;height:24px;border-radius:50%;background:var(--breathe-dot);border:1px solid var(--breathe-ring);animation:breathe 8s ease-in-out infinite}.player:has(.pause-backdrop) .next-line:before{animation-play-state:paused}@keyframes breathe{0%,100%{transform:scale(.6);opacity:.5}50%{transform:scale(1);opacity:1}}.pause-backdrop{position:absolute;inset:0;display:grid;place-items:center;background:var(--backdrop);backdrop-filter:blur(14px);z-index:15;text-align:center;padding:30px}.pause-card{max-width:700px}.pause-symbol{width:60px;height:60px;background:var(--pale);border-radius:50%;display:grid;place-items:center;color:var(--accent);margin:0 auto 24px}.pause-symbol svg{width:24px;height:24px}.pause-card h2{font-size:clamp(38px,4vw,74px);letter-spacing:-2px;font-weight:550;line-height:1.1;margin:19px 0}.pause-card p{font-size:clamp(18px,1.5vw,28px);color:var(--muted);line-height:1.5;margin-bottom:32px}.pause-navigation{display:flex;gap:20px;justify-content:center;margin:20px 0 0}.resume-count{font-size:clamp(140px,14vw,240px);letter-spacing:-8px;font-weight:400;line-height:1.3;color:var(--accent)}.resume-backdrop{background:var(--backdrop-2)}.completion-stats{display:flex;justify-content:center;gap:45px;margin:35px 0}.completion-stats>div{display:flex;flex-direction:column;gap:10px}.completion-stats strong{font-size:28px;font-weight:500;letter-spacing:-1px}.completion-stats small{font-size:18px;color:var(--muted)}.completion-stats span{font-size:13px;color:var(--muted)}.complete-mark{border-radius:50%}
@media(min-width:1600px){.stage-caption{font-size:22px}.phase-label{font-size:20px;letter-spacing:2.3px}.muscle-tags span{font-size:21px;padding:10px 17px}.timer{margin-top:34px}.set-row{min-height:45px}.set-dots{gap:10px}.set-dots i{width:10px;height:10px}.technique{margin-top:28px}.next-line{margin-top:26px}.session-label{font-size:20px}.icon-btn,.pause-control{width:56px;height:56px}.icon-btn svg,.pause-control svg{width:25px;height:25px}.playback-controls{bottom:94px}.progress-label{font-size:20px}.workout-footer{bottom:35px}.completion-stats strong{font-size:39px}.completion-stats span{font-size:18px}}
@media(max-height:850px) and (min-width:701px){.player{min-height:560px}.workout-grid{padding:90px 5% 124px}.stage{height:64vh}.workout-info h1{font-size:clamp(29px,3vw,42px);margin:12px 0}.phase-label{font-size:12px}.muscle-tags span{font-size:12px;padding:6px 10px}.timer{font-size:100px;margin-top:12px;line-height:1.07}.set-row{min-height:30px}.set-label{font-size:22px}.side-pill{margin-top:9px;font-size:13px;padding:5px 9px}.technique{font-size:19px;margin-top:15px;line-height:1.4}.next-line{font-size:13px;margin-top:12px}.playback-controls{bottom:72px;padding:4px 10px}.workout-footer{bottom:21px}.stage-caption{font-size:13px}.player .topbar{top:24px}}
@media(max-width:700px){.player{height:100svh;min-height:740px}.player .brand span:last-child{display:none}.session-label{font-size:12px;gap:6px}.header-buttons{margin-left:8px;gap:0}.header-buttons .icon-btn{width:38px;height:38px}.workout-grid{display:flex;flex-direction:column;padding:83px 24px 148px;gap:8px;height:100%;justify-content:center}.demonstration{width:100%;flex:0 1 38%;min-height:160px}.stage{height:100%;max-height:290px}.stage-caption{display:none}.workout-info{padding:0;align-self:stretch;text-align:center}.phase-label{justify-content:center;font-size:11px;min-height:15px}.phase-line{width:17px}.workout-info h1{font-size:28px;letter-spacing:-.8px;margin:10px 0}.muscle-tags{justify-content:center;gap:5px}.muscle-tags span{font-size:11px;padding:5px 8px}.timer{font-size:77px;letter-spacing:-4px;margin:8px 0 0;line-height:1.08}.set-row{justify-content:center;min-height:26px;gap:12px}.set-label{font-size:19px}.side-pill{font-size:12px;padding:5px 9px;margin-top:7px}.technique{font-size:16px;line-height:1.35;margin:11px auto 0;max-width:370px}.next-line{font-size:12px;margin:9px 0 0;min-height:18px;justify-content:center}.player[data-state=REST] .next-line:before{width:17px;height:17px}.playback-controls{bottom:75px;gap:4px;opacity:1;max-width:94vw;padding:5px 9px;border-radius:19px}.icon-btn,.pause-control{width:42px;height:42px}.controls-divider{margin:0 2px}.workout-footer{left:24px;right:24px;bottom:24px}.progress-label{font-size:12px}.pause-card h2{font-size:40px}.pause-card p{font-size:18px}.pause-navigation{gap:2px}.pause-navigation .quiet-button{font-size:12px}.completion-stats{gap:22px}.completion-stats strong{font-size:23px}.completion-stats span{font-size:11px}.completion-stats small{font-size:15px}.complete-screen .welcome h1{font-size:58px}}
@media(prefers-reduced-motion:reduce){.player[data-state=REST] .next-line:before{animation:none}}

@media(min-width:701px){.stage{height:min(69vh,810px,calc(100svh - 310px))}}
@media(prefers-color-scheme:dark){.stage .floor-glow-1{stop-color:#34403a}.stage .floor-glow-2{stop-color:#232b26}.stage .floor-shadow{fill:#000000;opacity:.35}.stage .mat-top{fill:#262f29}.stage .mat-edge{fill:#333f38}}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;min-height:200px;background:#101712;border-radius:20px;overflow:hidden}.stage .video-frame iframe{position:absolute;inset:0;width:100%;height:100%;max-height:none;border-radius:0}.video-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:var(--pale);color:var(--ink);font-size:20px;gap:12px}.video-status[hidden]{display:none}.video-status p{margin:0}.video-status .video-note{font-size:14px;color:var(--muted)}.video-status .quiet-button{border:1px solid var(--line-weight);border-radius:12px;color:var(--accent);background:var(--bg)}.player[data-state=REST] .stage:has(.video-status:not([hidden])),.player[data-state=EXERCISE_COMPLETE] .stage:has(.video-status:not([hidden])){opacity:1}@media(max-width:700px){.demonstration:has(.video-frame){flex:0 0 200px;min-height:200px}.video-frame{border-radius:12px}.video-status{font-size:16px;padding:15px;gap:8px}.video-status .video-note{font-size:12px}}

.movement-placeholder{background:var(--pale);gap:18px}.movement-placeholder strong{font-size:clamp(22px,2.8vw,48px);font-weight:550;letter-spacing:-.6px;max-width:90%;text-wrap:balance}.placeholder-label{font-size:11px;letter-spacing:2px;color:var(--muted)}
.player[data-state$="_TRANSITION"] .phase-label{color:var(--muted)}
@media(max-height:500px) and (orientation:landscape){.movement-placeholder{gap:10px}.movement-placeholder strong{font-size:clamp(18px,2.8vw,30px)}}

.stage{position:relative}.video-frame[data-preparing]{position:absolute;visibility:hidden;pointer-events:none}.video-frame:not([data-preparing]){animation:demo-appear .25s ease}@keyframes demo-appear{from{opacity:.6}to{opacity:1}}@media(prefers-reduced-motion:reduce){.video-frame:not([data-preparing]){animation:none}}

/* Keep the upcoming demonstration clear throughout the exercise break. */
.player[data-preview="true"] .stage{opacity:1}

/* Set breaks use the workout clock for both the countdown and breathing motion. */
.rest-visual[hidden]{display:none}
.rest-visual{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;color:var(--accent);pointer-events:none}
.rest-orbit{width:clamp(150px,32vh,340px);aspect-ratio:1;position:relative;display:grid;place-items:center;flex:none}
.rest-ring{position:absolute;inset:0;border:2px solid var(--breathe-ring);border-radius:50%;background:var(--pale);box-shadow:0 0 0 14px var(--breathe-dot);will-change:transform}
.rest-center{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}
.rest-label{font-size:12px;letter-spacing:2.5px;font-weight:650}
.rest-count{font-size:clamp(52px,6.5vw,104px);font-weight:450;line-height:1;letter-spacing:-3px;font-variant-numeric:tabular-nums}
.rest-note{font-size:14px;color:var(--muted)}
.rest-next{margin:0;max-width:90%;font-size:clamp(13px,1.3vw,23px);line-height:1.4;text-wrap:balance;color:var(--muted)}
.player[data-rest-mode="breathe"] .stage{visibility:hidden}
.player[data-rest-mode="breathe"] .stage-caption{visibility:hidden}
.player[data-rest-mode="breathe"] .workout-info .timer{visibility:hidden}
.player[data-rest-mode="ready"] .stage{opacity:1}
.player[data-state="REST"] .next-line:before{display:none}
@media(max-width:700px){.rest-orbit{width:150px}.rest-visual{gap:12px}.rest-center{gap:5px}.rest-label{font-size:10px}.rest-count{font-size:48px}.rest-note{font-size:11px}.rest-next{font-size:12px}.rest-ring{box-shadow:0 0 0 8px var(--breathe-dot)}}
@media(orientation:landscape) and (max-height:500px){.rest-orbit{width:clamp(110px,calc(100dvh - 205px),220px)}.rest-visual{gap:10px}.rest-center{gap:4px}.rest-label{font-size:10px}.rest-count{font-size:clamp(36px,12dvh,60px)}.rest-note{font-size:11px}.rest-next{font-size:12px}.rest-ring{box-shadow:0 0 0 7px var(--breathe-dot)}}
@media(prefers-reduced-motion:reduce){.rest-ring{transform:none!important;will-change:auto}}
