:root{color-scheme:dark;--bg:#101111;--panel:#1b1a19;--ink:#f2f0e9;--muted:#b0aca5;--line:#383532;--accent:#d8c7a6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}header,main,footer{max-width:1248px;margin:auto}header{height:110px;display:flex;align-items:center;gap:38px;border-bottom:1px solid var(--line)}.brand{font-size:40px;line-height:.8;font-weight:950;letter-spacing:-2px}.brand span{display:block;font-size:10px;letter-spacing:4px;margin:9px 0 0 3px}.branch{font-size:11px;letter-spacing:1px;display:flex;align-items:center;gap:12px}.branch i{height:6px;width:6px;background:var(--accent);border-radius:50%}.divider{color:#6b645c}.help{margin-left:auto;background:none;border:0;color:var(--ink);font-size:13px;padding:14px 0 14px 14px}.help span{margin-left:20px;color:var(--accent)}.intro{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;padding:66px 0 60px;align-items:center}.eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--accent);font-weight:600;margin:0 0 22px}h1{font-size:clamp(40px,4.5vw,62px);line-height:1.18;letter-spacing:-2px;margin:0 0 25px;font-weight:780;word-break:keep-all}.dot{color:var(--accent)}.lead{line-height:1.85;font-size:17px;margin:0;color:var(--ink)}.lead span{font-size:14px;color:var(--muted)}.jump{margin-top:28px;display:inline-flex;gap:50px;border-bottom:1px solid var(--accent);padding:12px 0;font-size:14px}.jump span{color:var(--accent);transition:transform .2s}.jump:hover span{transform:translateY(4px)}.board{min-height:345px;padding:25px 30px;background:#24221f;border:1px solid #474139;position:relative;overflow:hidden;transform:rotate(-2deg)}.board:after{content:"";width:180px;height:600px;position:absolute;background:repeating-linear-gradient(90deg,transparent 0 8px,#d8c7a614 8px 9px);right:0;top:-160px;transform:rotate(28deg);pointer-events:none}.board-top{font-size:10px;letter-spacing:2px;display:flex;justify-content:space-between;color:var(--accent)}.board-word{font-size:52px;font-weight:900;letter-spacing:-2px;line-height:1.02;margin:24px 0;position:relative;z-index:1}.board-word>span{color:var(--accent)}.board-bottom{border-top:1px solid #585044;display:flex;align-items:end;justify-content:space-between;padding-top:14px}.board-bottom>span:first-child{font-size:29px;font-weight:900}.board-bottom>span:last-child{font-size:9px;line-height:1.5;letter-spacing:1.5px}.finder{padding:38px 0 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:28px}.section-head .eyebrow{margin-bottom:12px}h2{font-size:26px;letter-spacing:-.6px;margin:0;word-break:keep-all}.sample{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:7px 10px;white-space:nowrap}label{font-size:12px;color:var(--muted);display:block;margin-bottom:10px}.search-wrap{display:flex;align-items:center;gap:16px;background:var(--panel);border:1px solid #5b554c;border-radius:4px;padding:0 22px;transition:border-color .15s}.search-wrap:focus-within{border-color:var(--accent)}.search-wrap svg{color:var(--accent);flex-shrink:0}input{width:100%;min-width:0;height:67px;color:var(--ink);background:none;border:none;font-size:17px;outline:none!important}input::placeholder{color:#918a80}kbd{font-size:10px;letter-spacing:1px;color:#918a80}.filters{display:flex;gap:8px;margin:20px 0 25px;flex-wrap:wrap}.filters button{border:1px solid var(--line);background:transparent;color:var(--muted);min-height:44px;min-width:78px;padding:10px 20px;border-radius:3px;transition:background .15s,color .15s}.filters button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#211d17;font-weight:700}.filters button:hover{border-color:var(--accent)}.result-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:8px}.result-head p{color:var(--ink)}#machines{display:grid;grid-template-columns:1fr 1fr;column-gap:32px}.machine{width:100%;display:flex;text-align:left;align-items:center;gap:20px;padding:23px 12px 23px 0;min-height:102px;border:0;border-top:1px solid var(--line);color:var(--ink);background:none;transition:background .15s}.machine:hover{background:#ffffff04}.machine-number{font-size:24px;font-weight:400;color:#827b70;font-variant-numeric:tabular-nums;min-width:42px}.machine-text{flex:1}.machine-text strong{display:block;font-size:18px;font-weight:600;margin-bottom:8px}.machine-text small{font-size:11px;color:var(--muted)}.machine-arrow{font-size:22px;color:var(--accent);transition:transform .18s}.machine:hover .machine-arrow{transform:translate(3px,-3px)}.sample-note{font-size:12px;line-height:1.7;color:var(--muted);padding:16px 0;border-top:1px solid var(--line)}#empty{text-align:center;padding:45px 12px;border-top:1px solid var(--line)}#empty p{color:var(--muted);font-size:14px;line-height:1.6}#empty button{background:var(--accent);color:#211d17;border:0;padding:14px 22px;margin-top:12px;border-radius:3px}.bottom-guide{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:55px;padding:40px 0 48px;border-top:1px solid var(--line)}.bottom-guide h2{line-height:1.5}.bottom-guide ol{list-style:none;margin:0;padding:0}.bottom-guide li{display:flex;gap:25px;padding:0 0 24px}.bottom-guide li>span{font-size:12px;color:var(--accent);padding-top:3px}.bottom-guide strong{font-size:14px}.bottom-guide p:not(.eyebrow){font-size:12px;color:var(--muted);margin:7px 0 0}footer{border-top:1px solid var(--line);padding:25px 0 35px;display:flex;gap:25px;color:var(--muted);font-size:10px;letter-spacing:1px}.footer-brand{font-weight:800;color:var(--ink)}footer span:last-child{margin-left:auto}dialog{width:min(640px,calc(100% - 32px));max-height:90dvh;border:1px solid #554d42;border-radius:6px;background:var(--panel);color:var(--ink);padding:30px}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}dialog[open]{animation:sheet .22s ease-out}dialog[open]::backdrop{animation:veil .22s}.dialog-top{display:flex;align-items:center;justify-content:space-between}.dialog-top .eyebrow{margin:0;font-size:10px}.dialog-top button{width:44px;height:44px;border:1px solid var(--line);background:none;color:var(--ink);border-radius:50%}#detail-title{font-size:30px;margin:24px 0 12px}.detail-sub{color:var(--muted);font-size:13px;line-height:1.7}.media-slot{padding:32px 20px;background:#141312;border:1px dashed #575044;margin:24px 0;text-align:center}.media-slot strong{display:block;font-size:18px;margin-bottom:12px}.media-slot p{font-size:12px;line-height:1.7;color:var(--muted)}.detail-section{border-top:1px solid var(--line);padding:22px 0}.detail-section h3{font-size:17px;margin:0 0 12px}.detail-section h3 span{font-size:12px;color:var(--accent);margin-right:13px}.detail-section p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}.draft{font-size:12px;line-height:1.7;color:var(--accent)}.intro-copy,.board,.finder{animation:enter .45s both}.board{animation-delay:.08s}.finder{animation-delay:.16s}@keyframes enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes sheet{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes veil{from{opacity:0}to{opacity:1}}@media(max-width:1360px){header,main,footer{margin-left:48px;margin-right:48px}}@media(max-width:850px){header,main,footer{margin-left:24px;margin-right:24px}.intro{gap:35px}.board-word{font-size:38px}.board{min-height:310px;padding:22px}.branch{font-size:9px;gap:8px}.intro h1{font-size:43px}#machines{column-gap:20px}.machine{gap:12px}.machine-text strong{font-size:16px}}@media(max-width:600px){header,main,footer{margin-left:20px;margin-right:20px}header{height:83px;gap:18px}.brand{font-size:34px}.brand span{font-size:8px}.branch{font-size:11px;letter-spacing:0}.branch .divider,.branch{font-size:0}.branch i{margin-right:0}.branch:after{content:'원흥점';font-size:12px}.help{font-size:12px}.help span{margin-left:8px}.intro{display:block;padding:36px 0 33px}.board{display:none}.eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:20px}.intro h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:19px}.lead{font-size:15px}.lead span{font-size:12px}.jump{display:none}.finder{padding-top:27px}.section-head{align-items:start;margin-bottom:22px}.section-head h2{font-size:22px;line-height:1.4;max-width:210px}.sample{font-size:9px;padding:5px 7px;margin-top:0}.section-head .eyebrow{font-size:8px;margin-bottom:12px}.search-wrap{padding:0 15px;gap:12px}input{height:59px;font-size:14px}kbd{display:none}.filters{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:16px}.filters button{min-width:0;padding:10px;font-size:13px}.result-head>span{display:none}#machines{display:block}.machine{min-height:94px;gap:16px}.machine-text strong{font-size:17px}.machine-number{font-size:23px;min-width:38px}.sample-note{font-size:11px}.bottom-guide{grid-template-columns:1fr;gap:28px;margin-top:30px;padding:30px 0}.bottom-guide h2{font-size:25px}.bottom-guide .eyebrow{margin-bottom:14px}footer{flex-wrap:wrap;gap:12px;font-size:9px}footer span:last-child{width:100%;margin:0;letter-spacing:0}dialog{width:100%;max-height:92dvh;margin:auto 0 0;border-radius:10px 10px 0 0;padding:22px}#detail-title{font-size:27px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Real machine photography and concise exercise guides */
.machine-photo{margin:20px 0 28px;padding:20px 20px 12px;background:radial-gradient(ellipse at 50% 42%,#4a4640 0,#2b2925 50%,#22211f 100%);border:1px solid #464039;border-radius:4px;text-align:center}.machine-photo img{display:block;width:100%;height:330px;object-fit:contain;filter:drop-shadow(0 12px 14px #0006)}.machine-photo figcaption{font-size:10px;letter-spacing:2px;color:#b0aca5;margin-top:12px}.setup-list,.exercise-steps{margin:0;padding-left:22px;color:var(--muted);font-size:14px;line-height:1.8}.setup-list li,.exercise-steps li{padding-left:4px;margin-bottom:9px}.exercise-steps li::marker{color:var(--accent);font-weight:700}.trainer-tip{padding:24px;background:#d8c7a60b;border:1px solid #d8c7a634;border-left:3px solid var(--accent);margin:6px 0 20px;border-radius:3px}.trainer-tip p{color:var(--ink);line-height:1.95;word-break:keep-all}.machine-note{color:var(--muted);font-size:12px;line-height:1.8}.sources{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;font-size:12px;color:var(--muted);line-height:1.8}.sources summary{cursor:pointer;min-height:36px}.sources a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.sources p{font-size:11px}.machine-text strong{word-break:keep-all;line-height:1.4}.machine-text{min-width:0}.machine-text small{line-height:1.6}.machine{min-height:112px}#detail-title{word-break:keep-all;line-height:1.3}@media(max-width:600px){.machine-photo img{height:280px}.machine-photo{padding:16px 12px 10px}.trainer-tip{padding:20px 16px}.machine-text strong{font-size:16px}.machine-text small{font-size:10px}.machine{gap:12px}.machine-number{min-width:30px}.machine-arrow{flex-shrink:0}#detail-title{font-size:25px}}
.routine-hub{padding:34px 0 42px;border-top:1px solid var(--line)}.routine-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}.routine-heading .eyebrow{margin-bottom:12px}.routine-heading>p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.routine-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.routine-slot{background:linear-gradient(135deg,#292620,#191918);border:1px solid #494237;border-radius:4px;color:var(--ink);padding:24px;text-align:left;display:flex;flex-direction:column;gap:16px;transition:transform .18s,border-color .18s,background .18s;min-width:0}.routine-slot:first-child{background:linear-gradient(135deg,#393126,#211e1a);border-color:#76664d}.routine-slot:hover{transform:translateY(-3px);border-color:var(--accent)}.routine-index{font-size:10px;letter-spacing:1.5px;color:var(--accent)}.routine-slot strong{font-size:22px;line-height:1.4;word-break:keep-all}.routine-description{font-size:12px;color:var(--muted);line-height:1.6}.routine-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff14;padding-top:17px;margin-top:auto;font-size:11px;color:var(--muted)}.routine-bottom b{font-size:22px;color:var(--accent);transition:transform .18s}.routine-slot:hover b{transform:translate(2px,-2px)}.routine-rule{padding:20px;background:#d8c7a60b;border-left:2px solid var(--accent);margin:24px 0}.routine-rule p{font-size:13px;line-height:1.85;color:var(--muted);margin:6px 0}.routine-rule strong{color:var(--ink)}.routine-machine-link,.routine-back{padding:12px 16px;background:none;border:1px solid #6c604e;color:var(--accent);font-size:12px;border-radius:3px;min-height:44px}.routine-back{margin:20px 0 0}@media(max-width:850px){.routine-slot{padding:18px}.routine-slot strong{font-size:19px}}@media(max-width:600px){.routine-hub{padding:27px 0}.routine-heading{display:block}.routine-heading h2{font-size:22px}.routine-heading>p{margin-top:10px;font-size:12px}.routine-heading>p br{display:none}.routine-slots{grid-template-columns:1fr;gap:10px}.routine-slot{position:relative;gap:8px;padding:19px 20px}.routine-slot strong{font-size:20px}.routine-description{font-size:12px}.routine-bottom{border:0;padding:0;margin-top:3px}.routine-bottom b{position:absolute;right:20px;top:17px}.routine-index{font-size:9px}.routine-heading .eyebrow{font-size:9px}.routine-rule{padding:16px}}
.beginner-options{display:grid;gap:12px;margin:28px 0 12px}.beginner-options .routine-slot{gap:12px}.beginner-options .routine-bottom{margin-top:0}
/* Mobile level navigation: all three choices visible together. */
@media(max-width:600px){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 header{height:72px} .intro{padding:24px 0}.intro .eyebrow{margin-bottom:14px}.intro h1{font-size:34px;line-height:1.2;margin-bottom:14px}.lead{font-size:14px}.lead span{font-size:11px}
 .routine-hub{padding:22px 0 24px}.routine-heading{margin-bottom:18px}.routine-heading h2{font-size:20px}.routine-heading>p{margin-top:8px}.routine-heading>p br{display:inline}.routine-heading>p br:after{content:' '}
 .routine-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .routine-slots .routine-slot{padding:16px 10px;min-height:116px;gap:12px;align-items:flex-start;justify-content:space-between;appearance:none;-webkit-appearance:none}
 .routine-slots .routine-index,.routine-slots .routine-description{display:none}
 .routine-slots .routine-slot strong{font-size:18px;white-space:nowrap}
 .routine-slots .routine-bottom{width:100%;font-size:0;gap:4px;line-height:1.4}
 .routine-slots .routine-bottom:before{content:'루틴 보기';font-size:10px}
 .routine-slots #beginner-level .routine-bottom:before{content:'루틴 보기'}
 .routine-slots .routine-bottom b{position:static;font-size:18px}
 dialog{max-width:100%;width:100%;max-height:92vh;max-height:92dvh;padding:18px 18px max(22px,env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .beginner-options .routine-slot{min-height:112px;appearance:none;-webkit-appearance:none}
 .beginner-options .routine-bottom b{position:static}
 input[type=search]{font-size:16px}
}
@media(max-width:359px){header,main,footer{margin-left:16px;margin-right:16px}.intro h1{font-size:30px}.routine-heading h2{font-size:19px}.routine-slots{gap:6px}.routine-slots .routine-slot{padding:14px 9px;min-height:106px}.routine-slots .routine-slot strong{font-size:17px}}
/* Machine placard: muscle map and repeating movement schematic. */
.visual-guide{margin:0 0 32px;border:1px solid #41433c;background:#171c1c;padding:24px;border-radius:4px}.visual-heading .eyebrow,.motion-heading .eyebrow{font-size:9px;margin:0 0 8px;letter-spacing:2px}.visual-guide h3{font-size:18px;margin:0;color:var(--ink)}.muscle-views{display:flex;justify-content:center;gap:20px;margin:20px 0 16px}.muscle-views svg{width:28%;height:165px;overflow:visible}.muscle-key p{font-size:12px;line-height:1.8;color:#c1c5bf;margin:4px 0}.muscle-key strong{color:var(--ink);margin-right:8px}.muscle-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.primary-dot{background:#de876e}.secondary-dot{background:#d8c7a6}.visual-footnote{font-size:10px!important;line-height:1.7!important;color:#99a29d!important;margin:12px 0 0!important}.motion-panel{border-top:1px solid #41433c;padding-top:24px;margin-top:22px}.motion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.motion-heading button{min-height:44px;min-width:74px;background:transparent;border:1px solid #666c61;color:var(--accent);border-radius:4px;padding:8px 12px;font-size:12px}.motion-svg{display:block;width:100%;height:220px;margin-top:8px}.motion-action{font-size:14px;color:#ead9bc;text-align:center;margin:4px 0 8px}.motion-cue{font-size:12px;text-align:center;color:#bfc5be;margin:0}.motion-heading button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:600px){.visual-guide{padding:18px 14px}.muscle-views{gap:8px}.muscle-views svg{height:140px;width:31%}.visual-guide h3{font-size:16px}.motion-svg{height:190px}.muscle-key p{font-size:11px}}
.exercise-picker{margin:24px 0}.exercise-picker>p{font-size:12px;color:var(--muted);line-height:1.7}.exercise-mode-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.exercise-mode-buttons button{min-height:76px;padding:14px 10px;background:#22231f;border:1px solid #5a584e;color:var(--ink);border-radius:4px;font-size:15px;font-weight:650}.exercise-mode-buttons button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#211d17}.exercise-mode-buttons small{display:block;font-size:10px;font-weight:400;opacity:.75;margin-top:6px}.mode-title{font-size:21px;margin:28px 0 16px;line-height:1.4}@media(max-width:359px){.exercise-mode-buttons button{font-size:13px}}
/* Keep routine entry and machine search together in the first screen. */
.intro{grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:48px;padding:40px 0;align-items:center}
.intro .routine-hub{min-width:0;padding:0;border:0;animation:enter .45s both}
.intro .routine-heading{display:block;margin-bottom:20px}
.intro .routine-heading h2{font-size:23px}
.intro .routine-heading>p{margin:8px 0 0;font-size:11px}
.intro .routine-slots{gap:10px}
.intro .routine-slot{padding:20px 14px;min-height:168px;gap:12px}
.intro .routine-slot strong{font-size:22px}
.intro .routine-index{font-size:8px;letter-spacing:.7px}
.intro .routine-description{font-size:11px;line-height:1.6;word-break:keep-all}
.intro .routine-bottom{font-size:10px;padding-top:12px;gap:6px;line-height:1.5}
@media(min-width:601px) and (max-width:1000px){.intro{gap:28px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.intro h1{font-size:38px}.intro .lead{font-size:14px}.intro .lead span{font-size:11px}.intro .routine-heading h2{font-size:20px}.intro .routine-slot{padding:16px 10px}.intro .routine-slot strong{font-size:19px}.intro .routine-index{display:none}}
@media(max-width:600px){.intro{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:24px 0}.intro .routine-heading{margin-bottom:12px}.intro .routine-heading .eyebrow,.intro .routine-heading>p{display:none}.intro .routine-heading h2{font-size:18px}.intro .routine-slot{padding:14px 10px;min-height:98px;gap:10px}.intro .routine-slot strong{font-size:18px}.intro .routine-bottom{font-size:0;padding-top:0}.intro .routine-slots{gap:8px}.finder{padding-top:22px}}
@media(max-width:359px){.intro .routine-slot{padding:12px 8px;min-height:92px}.intro .routine-slot strong{font-size:17px}}

/* Brand mascot fills the mobile title's open right side without adding height. */
.hero-title{position:relative}.hero-mascot{display:none}
@media(max-width:600px){.hero-title{display:flex;align-items:center;justify-content:space-between;gap:2px}.hero-title h1{flex-shrink:0}.hero-mascot{display:block;width:128px;height:128px;object-fit:contain;flex-shrink:1;min-width:0;margin:-18px -8px -18px 0}}
@media(max-width:359px){.hero-mascot{width:100px;height:100px;margin-right:-6px}}

/* Four illustrated press poses, played forward and back with no reset jump. */
.hero-mascot{border:0;padding:0;background-color:transparent;background-image:url('assets/tiger-press-sprite.png');background-size:400% 100%;background-repeat:no-repeat;animation:tiger-press 1.8s steps(1,end) infinite;cursor:pointer}
.hero-mascot[aria-pressed=true]{animation-play-state:paused}.hero-mascot:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
@keyframes tiger-press{0%,100%{background-position:0% 0}16.667%,83.333%{background-position:33.333333% 0}33.333%,66.667%{background-position:66.666667% 0}50%{background-position:100% 0}}
@media(max-width:600px){.hero-mascot{width:108px;height:144px;margin:-26px 0;flex-shrink:0}}
@media(max-width:359px){.hero-mascot{width:90px;height:120px;margin:-20px -2px -20px 0}}
@media(prefers-reduced-motion:reduce){.hero-mascot{animation:none;background-position:33.333333% 0}}

.hero-mascot{clip-path:inset(0 3px)}

/* Keep the close action reachable while reading long machine guides. */
.dialog-top{position:sticky;top:-30px;z-index:2;background:var(--panel);padding:12px 0;margin-top:-12px;box-shadow:0 8px 12px var(--panel)}
.hero-mascot:disabled{cursor:default}
@media(max-width:600px){.dialog-top{top:-18px}}

/* Detail reading: keep Korean words together and allow long English labels to wrap. */
#detail-content{min-width:0;word-break:keep-all;overflow-wrap:anywhere}
#detail-content :is(p,li){text-wrap:pretty}
#detail-content :is(h2,h3){text-wrap:balance}
#detail-content>.eyebrow{line-height:1.8;letter-spacing:1.1px}
.detail-section :is(p,li){font-size:15px;line-height:1.85}
.setup-list li,.exercise-steps li{margin-bottom:12px;padding-left:5px}
.trainer-tip p+p{margin-top:12px}
.trainer-tip p{line-height:1.85}
.motion-action,.motion-cue{line-height:1.7}
.visual-footnote{font-size:12px!important;line-height:1.75!important}
.sources p{font-size:12px}
@media(max-width:600px){
 #detail-title{font-size:25px;line-height:1.4}
 .trainer-tip{padding:20px 16px}
 .detail-section h3{line-height:1.5}
 .muscle-key p{font-size:12px}
 .exercise-mode-buttons button{line-height:1.5;overflow-wrap:anywhere}
}

.routine-load-guide{margin:20px 0 28px;padding:18px;border:1px solid var(--line,#444);border-radius:12px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.routine-load-guide h3{font-size:16px;margin:0 0 8px}.routine-load-guide h3:not(:first-child){margin-top:20px}
.routine-load-guide p{font-size:14px;margin:8px 0}.routine-load-guide summary{cursor:pointer;font-size:14px;padding:12px 0}
/* Routine prescriptions stay visible without expanding each exercise. */
.routine-exercise{border-top:1px solid var(--line);padding:24px 0}
.routine-exercise-title{display:flex;align-items:baseline;gap:12px;margin:0 0 18px;font-size:17px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.routine-exercise-title>span{flex-shrink:0;font-size:12px;color:var(--accent)}
.routine-dose{display:grid;grid-template-columns:.8fr 1fr 1.2fr;gap:8px;margin:0;padding:16px 12px;background:#d8c7a60b;border-radius:8px}
.routine-dose>div{min-width:0}.routine-dose dt{font-size:11px;color:var(--muted);margin-bottom:6px}.routine-dose dd{margin:0;font-size:22px;font-weight:700;color:var(--ink);white-space:nowrap}.routine-dose dd small{font-size:11px;font-weight:400;margin-left:3px;color:var(--muted)}
.routine-weight{display:flex;align-items:baseline;gap:12px;margin:16px 0;font-size:13px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}.routine-weight>span{flex-shrink:0;color:var(--muted)}.routine-weight strong{color:#e5d5ad;font-weight:600}
.routine-exercise .routine-machine-link{width:100%;text-align:center}.routine-machine-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:360px){.routine-dose{padding:14px 10px;gap:6px}.routine-dose dd{font-size:19px}}

/* Routine screens: a compact workout sheet with persistent level choices. */
dialog:has(.routine-page){width:min(760px,calc(100% - 32px));scrollbar-gutter:stable}
.routine-page{--routine-surface:#24221f}
.routine-level-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;margin:16px 0 24px;background:#101111;border:1px solid var(--line);border-radius:8px}
.routine-level-nav button{min-height:44px;border:0;border-radius:5px;color:var(--muted);background:transparent;font-size:14px;font-weight:600}
.routine-level-nav button[aria-current=page]{color:#211d17;background:var(--accent)}
.routine-page .routine-eyebrow{margin:24px 0 8px;font-size:10px;line-height:1.6}
.routine-page #detail-title{margin:8px 0 10px;font-size:30px;line-height:1.35;text-wrap:pretty}
.routine-page .detail-sub{margin:0 0 20px;font-size:14px;line-height:1.75}
.routine-page .beginner-options{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0;gap:12px}
.routine-page .routine-slot,.routine-page .routine-slot:first-child{padding:20px;gap:10px;background:var(--routine-surface);border:1px solid #494237;border-radius:8px;min-height:148px}
.routine-page .routine-slot strong{font-size:21px;line-height:1.5}
.routine-card-meta{font-size:13px;color:var(--muted);line-height:1.6}.routine-card-meta>span{margin:0 5px;color:#827b70}
.routine-page .routine-bottom{font-size:13px;color:var(--accent);padding-top:12px;margin-top:auto;border-top:1px solid var(--line)}
.routine-page .routine-bottom b{position:static;font-size:20px}
.routine-page .routine-back{margin:0;min-height:44px;border:0;padding:10px 0;font-size:13px;text-align:left}
.routine-page .routine-load-guide{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;margin:20px 0 28px;border-radius:8px;background:#141312}
.routine-load-guide .routine-volume{border-right:1px solid var(--line);padding-right:20px}
.routine-page .routine-load-guide p{line-height:1.75;margin:8px 0 0;color:var(--muted)}
.routine-page .routine-load-guide strong{color:var(--ink)}
.routine-page .routine-exercise{padding:24px 0;scroll-margin-top:80px}
.routine-page .routine-exercise-title{font-size:18px;line-height:1.6;text-wrap:pretty}
.routine-page .routine-exercise-title>span{min-width:24px;font-variant-numeric:tabular-nums}
.routine-page .routine-dose{padding:18px 16px;gap:12px;background:var(--routine-surface);font-variant-numeric:tabular-nums}
.routine-page .routine-dose dt{font-size:12px}.routine-page .routine-dose dd{font-size:26px;line-height:1.4}
.routine-page .routine-weight{font-size:14px;line-height:1.8}
.routine-page .routine-machine-link{min-height:48px;font-size:14px;border-radius:6px}
.routine-page .machine-note{font-size:13px;line-height:1.8}.routine-page .sources summary{min-height:44px;padding:12px 0;line-height:1.6}
@media(max-width:600px){
 dialog:has(.routine-page){width:100%;max-height:96dvh;scrollbar-gutter:auto;padding:16px 18px max(24px,env(safe-area-inset-bottom))}
 dialog:has(.routine-page) .dialog-top{top:-16px}
 .routine-page .routine-level-nav{margin:12px 0 18px}
 .routine-page #detail-title{font-size:26px}
 .routine-page .beginner-options{grid-template-columns:1fr;gap:10px;margin:20px 0}
 .routine-page .routine-slot{min-height:0;display:grid;grid-template-columns:1fr auto;align-items:center;padding:18px;gap:6px 12px}
 .routine-page .routine-slot:first-child{min-height:0;padding:18px;gap:6px 12px}
 .routine-page .routine-slot strong{font-size:20px;grid-column:1}
 .routine-page .routine-card-meta{grid-column:1}
 .routine-page .routine-bottom{grid-column:2;grid-row:1 / 3;display:flex;gap:8px;border:0;padding:0;margin:0;font-size:12px}
 .routine-page .routine-load-guide{grid-template-columns:1fr;gap:16px;padding:16px;margin:16px 0 22px}
 .routine-load-guide .routine-volume{border-right:0;border-bottom:1px solid var(--line);padding:0 0 16px}
 .routine-page .routine-dose{padding:16px 12px;gap:8px}.routine-page .routine-dose dd{font-size:23px}
 .routine-page .routine-exercise-title{font-size:17px;gap:8px}.routine-page .routine-weight{gap:10px;font-size:13px}
}
@media(max-width:359px){.routine-page .routine-dose dd{font-size:20px}.routine-page .routine-slot,.routine-page .routine-slot:first-child{padding:16px 14px}.routine-page .routine-slot strong{font-size:18px}.routine-page .routine-bottom{font-size:0}.routine-page .routine-bottom b{font-size:22px}}
