@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');
:root{--bg:#efe6d9;--panel:#f6f0e7;--ink:#3e2e24;--muted:#77685c;--line:#d9cbbb;--accent:#936138;--soft:#e3d5c3;--good:#4c7058;--bad:#b14839;--target:#8b7c6e;--shadow:rgba(62,46,36,.05);color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 'DM Sans',system-ui,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button{border:1px solid var(--line);border-radius:7px;background:transparent;padding:9px 16px}button:hover{background:var(--soft)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}button.primary:hover{opacity:.9}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-weight:500;font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-1.4px;margin-bottom:14px}h2{font-size:23px;line-height:1.3;font-weight:500;letter-spacing:-.5px}h3{font-weight:600;font-size:16px}small,.muted{color:var(--muted)}.layout{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{border-right:1px solid var(--line);padding:38px 22px 26px;display:flex;flex-direction:column;gap:52px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:19px;font-weight:600;white-space:nowrap;letter-spacing:-.6px}.brand img{width:40px;height:40px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.5px}.nav-item{display:flex;align-items:center;text-align:left;gap:13px;width:100%;margin:4px 0;border:0;border-radius:6px;padding:12px 14px;color:var(--muted)}.nav-item span{font:16px 'DM Mono',monospace;display:block;width:23px;text-align:center}.nav-item.active{background:var(--soft);color:var(--ink)}.sidebar-bottom{margin-top:auto}.sidebar-bottom>a{display:block;font-size:12px;margin:28px 15px;text-decoration:none}.sidebar-bottom p{font-size:11px;line-height:1.8;margin:0 15px;color:var(--muted)}main{padding:44px clamp(25px,5vw,90px);min-width:0;max-width:1400px;width:100%;margin:auto}header.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:36px;gap:20px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2.1px;margin-bottom:15px;color:var(--muted)}.subtitle{color:var(--muted);font-size:14px;max-width:600px}.pill{font-size:11px;white-space:nowrap;letter-spacing:.5px;padding:6px 10px;border:1px solid var(--line);border-radius:20px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.segments{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.segments button{font-size:12px;border:0;padding:5px 10px;color:var(--muted)}.segments button.selected{background:var(--soft);color:var(--ink)}.separator{width:1px;height:18px;background:var(--line);margin:0 8px}.toggle{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}input[type=checkbox]{accent-color:var(--accent)}.session-meta{display:flex;align-items:center;justify-content:space-between;margin:32px 0 20px;gap:15px}.stats{display:flex;gap:28px}.stat b{font:24px 'DM Mono',monospace;display:block;font-weight:400}.stat small{font-size:10px;letter-spacing:1.2px;text-transform:uppercase}.quiet{border:0;color:var(--muted);font-size:12px;padding:7px 9px}.typing-area{position:relative;isolation:isolate;cursor:text;min-height:170px;padding:20px 0;outline-offset:8px}.type-prompt{font:clamp(20px,2.3vw,29px)/1.9 'DM Mono',ui-monospace,monospace;letter-spacing:.1px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--target);height:168px;overflow:hidden;scroll-behavior:smooth}.type-prompt.code{font-size:21px;height:240px;line-height:1.8}.char{position:relative}.char.correct{color:var(--ink)}.char.incorrect{color:var(--bad);background:color-mix(in srgb,var(--bad) 12%,transparent);text-decoration:underline}.char.caret:before{content:'';position:absolute;left:-2px;top:1px;bottom:0;width:2px;background:var(--accent);animation:blink 1.1s step-end infinite}.char.space{white-space:pre}.char.current-space{background:var(--soft)}#capture{position:absolute;opacity:.01;width:2px;height:2px;left:0;top:20px;resize:none;pointer-events:none}.type-hint{min-height:23px;font-size:12px;color:var(--muted);margin-top:16px;display:flex;justify-content:space-between;gap:10px}.pause-shade{position:absolute;inset:0;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;z-index:3}.pause-shade p{margin:0}.keyboard-wrap{margin:33px auto 0;max-width:760px}.keyboard{display:flex;flex-direction:column;gap:5px}.key-row{display:flex;gap:5px;justify-content:center}.key{border:1px solid var(--line);background:var(--panel);box-shadow:0 2px 0 var(--line);min-width:0;flex:1;height:38px;border-radius:5px;display:flex;align-items:center;justify-content:center;font:12px 'DM Mono',monospace;color:var(--muted);transition:background .15s,transform .12s}.key.wide{flex:1.6}.key.spacebar{flex:6;max-width:330px}.key.target{background:var(--accent);border-color:var(--accent);color:#fff6e9;box-shadow:0 2px 0 var(--ink)}.key.pressed{transform:translateY(3px);box-shadow:none}.hand-stage{width:460px;max-width:90%;margin:-1px auto 0;position:relative}.hand-stage svg{width:100%;height:auto;display:block}.hand-stage .digit{transform-box:fill-box;transform-origin:center bottom;transition:transform .18s ease,filter .18s}.hand-stage .digit.reach{transform:translateY(-9px);filter:drop-shadow(0 0 3px var(--accent))}.hand-stage .digit.press{transform:translateY(-3px) scaleY(.94)}.hand-stage .pad{fill:#bd9876;transition:fill .18s}.hand-stage .reach .pad{fill:#e8b872}.finger-label{font-size:11px;text-align:center;color:var(--muted);margin-top:-5px}.session-footer{margin-top:18px;display:flex;justify-content:center;gap:20px;align-items:center;color:var(--muted);font-size:11px}.session-footer kbd{border:1px solid var(--line);border-radius:3px;padding:2px 5px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{padding:23px;border:1px solid var(--line);border-radius:9px;background:var(--panel);text-align:left;min-width:0}.card p{color:var(--muted);font-size:13px;margin-bottom:20px}.card h3{margin-bottom:8px}.card .badge{font:26px 'DM Mono',monospace;margin:0 0 22px;color:var(--accent)}.card .meta{font-size:11px;color:var(--muted)}.card:hover{border-color:var(--accent)}.card button{font-size:12px}.lesson-list{border-top:1px solid var(--line);margin-top:24px}.lesson-row{width:100%;display:grid;grid-template-columns:34px 1fr auto;gap:16px;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:20px 5px}.lesson-row small{display:block;font-size:12px;font-weight:400}.lesson-row strong{font-weight:500}.lesson-number{color:var(--muted);font:12px 'DM Mono',monospace}.stars{font-size:13px;color:var(--accent);letter-spacing:2px}.section-top{margin-top:35px;display:flex;justify-content:space-between;align-items:center}.code-sample{font:13px/1.8 'DM Mono',monospace;white-space:pre-wrap;overflow-wrap:anywhere;display:block;margin:15px 0;padding:15px;background:var(--soft);border-radius:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px}input[type=text],input[type=number],select,textarea.custom{width:100%;border:1px solid var(--line);background:var(--panel);padding:10px 12px;border-radius:6px}textarea.custom{min-height:170px;font-family:'DM Mono',monospace;font-size:14px}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:24px 0}.panel{padding:24px;border:1px solid var(--line);border-radius:9px;margin:24px 0}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}.settings-row p{margin:0;font-size:12px;color:var(--muted)}.settings-row select{max-width:180px}.result-head{display:flex;align-items:center;gap:20px}.result-head img{width:65px;height:65px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:35px 0}.result-stats b{font:38px 'DM Mono',monospace;display:block}.result-stats small{font-size:11px}.chart{height:130px;width:100%;overflow:visible}.chart text{font:10px 'DM Sans',sans-serif;fill:var(--muted)}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:500;color:var(--muted)}td,th{padding:13px 10px;border-bottom:1px solid var(--line)}.table-scroll{overflow:auto}.empty{padding:45px 0;text-align:center;color:var(--muted)}.progress-line{height:4px;border-radius:2px;background:var(--line);overflow:hidden;margin:18px 0}.progress-line span{display:block;height:100%;background:var(--accent);transition:width .15s}.game-stage{height:180px;position:relative;overflow:hidden;border-bottom:1px solid var(--line);margin-bottom:20px}.game-stage svg{width:100%;height:100%}.game-stage .runner{transition:transform .25s ease}.game-stage .runner.hop{animation:hop .25s ease}.badge-list{display:flex;gap:12px;flex-wrap:wrap}.achievement{font-size:12px;padding:8px 12px;border:1px solid var(--line);border-radius:20px;opacity:.5}.achievement.earned{opacity:1;background:var(--soft)}.key-heat{display:flex;gap:7px;flex-wrap:wrap}.heat{border:1px solid var(--line);border-radius:5px;padding:9px 12px;text-align:center;font-family:monospace}.heat small{display:block;font-family:inherit;font-size:10px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{position:fixed;top:10px;left:10px;background:var(--panel);padding:10px;z-index:30}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);border-radius:8px;padding:10px 18px;font-size:12px;z-index:20;max-width:90vw}#notice:empty{display:none}.noscript{padding:30px}.focus-mode .sidebar,.focus-mode .page-header,.focus-mode .keyboard-wrap,.focus-mode .toolbar{display:none}.focus-mode .layout{display:block}.focus-mode main{max-width:1100px;margin:10vh auto}.focus-mode .session-meta{margin-top:30px}.no-hands .hand-stage,.no-hands .finger-label{display:none}.no-keyboard .keyboard{display:none}.dark{--bg:#2c241f;--panel:#342b25;--ink:#efe6d9;--muted:#c1ad98;--line:#554639;--accent:#d7a36f;--soft:#46382c;--good:#9fc3a6;--bad:#f29380;--target:#a28f7e;color-scheme:dark}.large-type .type-prompt{font-size:34px}.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@keyframes blink{50%{opacity:0}}@keyframes hop{50%{translate:0 -14px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1050px){.layout{grid-template-columns:185px 1fr}.sidebar{padding:30px 13px}.brand{font-size:17px}.brand img{width:34px}main{padding:35px 28px}.grid{grid-template-columns:repeat(2,1fr)}.key{height:33px}}
@media(max-width:720px){.layout{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:16px 20px;gap:15px}.brand{font-size:19px}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.nav-item{white-space:nowrap;justify-content:center;width:auto;font-size:12px;padding:8px 10px}.nav-item span{display:none}.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-bottom>a{margin:0 10px;font-size:11px}.sidebar-bottom p{display:none}.sidebar-bottom .nav-item{margin:0;padding:2px 10px}.sidebar nav .nav-item{flex-shrink:0}main{padding:28px 20px}header.page-header{margin-bottom:24px}.pill{font-size:9px}.toolbar{padding:11px 0;gap:8px}.session-meta{margin-top:22px}.stats{gap:20px}.stat b{font-size:20px}.type-prompt{font-size:23px;line-height:1.85}.key{height:28px;font-size:9px;border-radius:3px}.key-row,.keyboard{gap:3px}.keyboard-wrap{margin-top:25px}.hand-stage{width:350px}.grid{grid-template-columns:1fr 1fr;gap:10px}.card{padding:17px}.card .badge{font-size:22px;margin-bottom:15px}.result-stats{grid-template-columns:1fr 1fr}.result-stats b{font-size:30px}.form-grid{grid-template-columns:1fr}.session-footer{flex-wrap:wrap;gap:10px}.focus-mode main{margin:5vh auto}.lesson-row{gap:9px}.panel{padding:18px}.type-prompt.code{font-size:17px}}
@media(max-width:390px){.grid{grid-template-columns:1fr}main{padding:24px 14px}.keyboard-wrap{margin-left:-5px;margin-right:-5px}.key{height:25px}.session-meta{gap:5px}}

.word{white-space:nowrap}.hand-stage .digit.reach{transform:translate(var(--reach-x,0px),var(--reach-y,-9px))}.hand-stage .digit.press{transform:translate(var(--reach-x,0px),-2px) scaleY(.92)}
@media(min-width:721px) and (max-height:1050px){main{padding-top:26px;padding-bottom:22px}.page-header{margin-bottom:20px!important}.page-header .eyebrow{margin-bottom:8px}.page-header h1{font-size:34px;margin-bottom:9px}.page-header .subtitle{margin-bottom:0}.session-meta{margin:18px 0 10px}.typing-area{min-height:140px;padding:10px 0}.type-prompt{height:130px;font-size:26px;line-height:1.65}.type-prompt.code{height:155px;font-size:19px}.type-hint{margin-top:4px}.progress-line{margin:12px 0}.keyboard-wrap{margin-top:18px;max-width:640px}.key{height:31px}.hand-stage{width:310px}.session-footer{margin-top:8px}.finger-label{margin-top:0}.game-stage{height:130px;margin-bottom:8px}}
@media(min-width:721px) and (max-height:800px){.page-header .eyebrow{display:none}.typing-area{min-height:110px}.type-prompt{height:100px;font-size:24px}.hand-stage{width:250px}.keyboard-wrap{margin-top:10px}.key{height:27px}.session-meta{margin-top:12px}.game-stage{height:100px}}

/* Artist collection and articulated hand guide. */
.hands-art{display:block;width:100%;height:auto;overflow:visible}.hands-art .digit{transform-box:fill-box;transform-origin:center bottom;transition:transform .18s ease,filter .18s ease}.hands-art .digit-surface{fill:var(--digit-fill);stroke:transparent;stroke-width:1.2;transition:fill .15s,stroke .15s}.hands-art .digit.reach{transform:translate(var(--reach-x,0px),var(--reach-y,-7px));filter:drop-shadow(0 2px 2px #9d691f44)}.hands-art .digit.reach .digit-surface{fill:var(--active-fill);stroke:#b87924}.hands-art .digit.press{transform:translate(var(--reach-x,0px),1px) scaleY(.94)}.hand-stage{width:420px}.hand-stage .digit.reach{filter:drop-shadow(0 2px 2px #9d691f44)}.hand-change{display:block;margin:-6px auto 0;font-size:10px;padding:4px 8px}.keyboard .key.target{background:#c48b32;border-color:#ae7724;color:#fff7e7;box-shadow:0 2px 0 #8d5c1e}.keyboard .key.pressed{box-shadow:none}.no-hands .keyboard-wrap .hand-stage,.no-hands .keyboard-wrap .finger-label,.no-hands .hand-change{display:none}
.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 20px;margin-top:-8px;color:var(--muted);font-size:11px}.hand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hand-card{min-width:0;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--panel) 45%,transparent);padding:20px 18px;display:flex;flex-direction:column}.hand-card.is-equipped{border-color:#c48b32;box-shadow:inset 0 0 0 1px #c48b3215}.hand-art-button{width:100%;border:0;background:none!important;padding:16px 0 10px;min-height:142px;display:grid;align-items:center;border-radius:6px}.hand-art-button:hover .hands-art{transform:translateY(-3px)}.hand-art-button .hands-art{transition:transform .2s}.hand-card-copy{flex:1;display:flex;flex-direction:column}.hand-card h2{font-size:18px;font-weight:500;letter-spacing:-.4px;text-align:center;margin:10px 0 3px;line-height:1.4}.hand-subtitle{text-align:center;font-size:11px;color:var(--muted);margin-bottom:16px}.hand-card-actions{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin-bottom:20px}.hand-card-actions button{font-size:11px;padding:6px 10px}.equipped-label:disabled{opacity:1;color:var(--accent);border-color:#c48b3240;background:#c48b3219;font-size:11px}.locked-label{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:20px;padding:5px 9px;font-size:10px;white-space:nowrap}.hand-achievement{margin-top:auto;padding-top:15px;border-top:1px solid var(--line)}.hand-achievement>strong{font-size:11px;font-weight:500;display:block;margin-bottom:8px}.hand-achievement>p{font-size:11px;margin-bottom:0}.hand-requirement{margin-top:9px}.hand-requirement>div{display:flex;flex-direction:column;gap:4px;font-size:11px;line-height:1.55;color:var(--muted)}.hand-requirement small{font-family:'DM Mono',monospace;font-size:10px}.hand-requirement progress{width:100%;height:4px;border:0;display:block;border-radius:3px;overflow:hidden;appearance:none;background:var(--line);margin:8px 0 0}.hand-requirement progress::-webkit-progress-bar{background:var(--line)}.hand-requirement progress::-webkit-progress-value{background:#c48b32}.hand-requirement progress::-moz-progress-bar{background:#c48b32}.hand-earned-note{font-size:10px;color:var(--good);margin-top:12px}.final-hand{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 38px;padding:28px 32px;margin-top:15px;border-color:#b48c5d;position:relative}.final-hand>.eyebrow{grid-column:1/-1;margin-bottom:0;color:var(--accent)}.final-hand>.hand-art-button{grid-column:2;grid-row:2;align-self:center}.final-hand>.hand-card-copy{grid-column:1;grid-row:2}.final-hand h2{font-size:30px;text-align:left}.final-hand .hand-subtitle{text-align:left;letter-spacing:2px;text-transform:uppercase}.final-hand .hand-card-copy>p.muted{font-size:12px;max-width:350px}.final-hand .hand-card-actions{justify-content:flex-start}.collection-notes{margin-top:28px;border-top:1px solid var(--line);padding-top:20px;font-size:11px;line-height:1.8;color:var(--muted)}.collection-notes p{max-width:850px;margin-bottom:10px}.collection-progress{display:flex;align-items:center;justify-content:space-between;gap:20px}.collection-progress h3,.collection-progress p{margin-bottom:4px}
#hand-preview{width:min(600px,calc(100vw - 32px));max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:28px;background:var(--panel);color:var(--ink);box-shadow:0 20px 90px #241b1750}#hand-preview::backdrop{background:#241b1770;backdrop-filter:blur(3px)}.hand-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hand-preview-head h2{font-size:26px;margin-bottom:10px}.hand-preview-head .eyebrow{margin-bottom:7px}#hand-preview>.muted{font-size:13px}.hand-preview-stage{max-width:460px;margin:16px auto 8px;padding:10px 0}.preview-keys{display:flex;justify-content:center;gap:6px;align-items:center;flex-wrap:wrap;margin:22px 0}.preview-keys>span{font-size:11px;color:var(--muted);margin-right:6px}.preview-keys button{font:11px 'DM Mono',monospace;padding:7px 10px}.preview-keys button.selected{background:#c48b32;border-color:#ae7724;color:#fff9ee}#hand-preview .finger-label{display:block!important}#hand-preview .actions{margin-bottom:0}.new-hands{border:1px solid #c48b3270;border-radius:9px;background:color-mix(in srgb,var(--panel) 65%,transparent);padding:22px;margin:0 0 28px}.new-hands h2{margin-bottom:16px}.new-hands .eyebrow{color:var(--accent);margin-bottom:8px}.unlock-list{display:flex;flex-direction:column;gap:12px}.unlock-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.unlock-list small{display:block;font-size:11px}.unlock-list button{font-size:12px}.new-hands>.quiet{margin-top:12px;padding-left:0}
@media(min-width:721px) and (max-height:1050px){.hand-stage{width:325px}.finger-label{margin-bottom:6px}.hand-change{margin-top:0}.hand-grid .hand-art-button{min-height:125px}}
@media(min-width:721px) and (max-height:800px){.hand-stage{width:260px}.hand-change{font-size:9px;padding:0}.session-footer{margin-top:4px}}
@media(max-width:1100px){.hand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hand-card{padding:18px 16px}.final-hand{padding:24px;gap:0 24px}.collection-toolbar>span{max-width:170px;text-align:right}}
@media(max-width:720px){.collection-toolbar{margin-top:0;align-items:flex-start}.hand-grid{gap:12px}.hand-card{padding:14px 12px}.hand-art-button{min-height:100px;padding:12px 0}.hand-card h2{font-size:16px}.hand-card-actions{gap:2px;margin-bottom:12px}.locked-label{font-size:9px;padding:4px 7px}.hand-card-actions button{font-size:10px}.hand-subtitle{font-size:10px}.hand-stage{width:350px}.final-hand{grid-template-columns:1fr;padding:22px;gap:0}.final-hand>.hand-art-button{grid-column:1;grid-row:2;max-width:360px;margin:10px auto}.final-hand>.hand-card-copy{grid-column:1;grid-row:3}.final-hand h2{font-size:27px}.collection-progress{align-items:flex-start;flex-direction:column}.collection-toolbar>span{max-width:145px;font-size:10px}#hand-preview{padding:20px}.hand-preview-head h2{font-size:22px}}
@media(max-width:420px){.hand-grid{grid-template-columns:1fr}.hand-art-button{max-width:310px;min-height:140px;margin:auto}.hand-card{padding:20px}.hand-card h2{font-size:20px}.collection-toolbar>span{display:none}.hand-requirement>div{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:15px}.hand-requirement small{white-space:nowrap}}

/* A quiet, in-flow footer: never covers the typing area or animated hands. */
main{display:flex;flex-direction:column;min-height:100vh;margin:0 auto}
#artist-quote-strip{margin-top:auto;padding-top:36px}
.artist-quote{margin:0;padding:22px 0 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:24px;min-height:105px}
.artist-quote-content{flex:1;min-width:0}
.artist-quote blockquote{margin:0 0 7px;font-size:16px;font-weight:400;line-height:1.65;max-width:800px;text-wrap:pretty}
.artist-quote figcaption{font-size:11px;color:var(--muted);letter-spacing:.25px}
.artist-quote a{text-decoration:none}
.artist-quote a:hover{text-decoration:underline}
.artist-quote-controls{display:flex;gap:4px;flex-shrink:0}
.artist-quote-controls button{font-size:11px;color:var(--muted);border:0;min-height:44px;padding:10px 12px}
.focus-mode #artist-quote-strip{display:none}
.focus-mode main{min-height:0}
@media(max-width:720px){main{min-height:calc(100vh - 190px)}#artist-quote-strip{padding-top:28px}.artist-quote{align-items:flex-start;flex-direction:column;gap:8px;padding-top:18px;min-height:148px}.artist-quote blockquote{font-size:14px}.artist-quote-controls{align-self:flex-end}.artist-quote-controls button{padding:8px 14px}}
@media(min-width:721px) and (max-height:1050px){main{padding-bottom:18px}#artist-quote-strip{padding-top:20px}.artist-quote{padding-top:15px;min-height:78px}.session-meta{margin:12px 0 4px}.keyboard-wrap{margin-top:10px}.keyboard .key{height:28px}.progress-line{margin:8px 0}.session-footer{margin-top:4px}}
@media(min-width:721px) and (min-height:801px) and (max-height:1050px){.type-prompt:not(.code){height:112px}}

/* Flat skin colors and small tattoos preserve the outline and gold finger guide. */
.outline-hands .hand-skin{stroke:none}
.outline-hands .hand-tattoos,.outline-hands .digit-tattoo{pointer-events:none}
.outline-hands .digit-surface{stroke:none}
.outline-hands .hand-outline{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.outline-hands .digit.reach .digit-surface{stroke:none}
.hand-stage .outline-hands .digit,.outline-hands .digit,.outline-hands .digit.reach,.outline-hands .digit.press{transform:none;filter:none;transition:none}
.outline-hands .press-lines{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;opacity:0}
.outline-hands .digit.press .press-lines{opacity:1}
.hand-stage{width:440px;margin-top:8px}
@media(min-width:721px) and (max-height:1050px){.hand-stage{width:380px}}
@media(min-width:721px) and (max-height:800px){.hand-stage{width:300px;margin-top:4px}}
@media(max-width:720px){.hand-stage{width:350px;max-width:100%}}

/* Always-available display controls change visibility without restarting a session. */
/* Sierra's approved poster art stays intact under each independently guided finger. */
.sierra-hands .digit-surface{fill:#edb03d;fill-opacity:0;stroke:#ffe1a2;stroke-opacity:0;stroke-width:10;stroke-linejoin:round;transition:fill-opacity .13s ease,stroke-opacity .13s ease}
.sierra-hands .digit.reach .digit-surface{fill:#edb03d;fill-opacity:.48;stroke:#ffe1a2;stroke-opacity:.95}
.sierra-hands .digit.press .digit-surface{fill-opacity:.68;stroke-opacity:1}
.reduced-motion .sierra-hands .digit-surface{transition:none}
@media(prefers-reduced-motion:reduce){.sierra-hands .digit-surface{transition:none}}
.course-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.course-overview p{margin:0;font-size:12px}.course-overview button{font-size:12px}
.chapter-controls{display:flex;align-items:flex-end;gap:16px;padding:20px;background:color-mix(in srgb,var(--panel) 50%,transparent);border:1px solid var(--line);border-radius:9px;margin-bottom:24px}
.chapter-controls .field{flex:1;min-width:0;margin:0}.chapter-controls select{width:100%;min-width:0;min-height:44px}
.chapter-buttons{display:flex;gap:6px;flex-shrink:0}.chapter-buttons button{min-height:44px;font-size:12px}
.chapter-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.chapter-summary h2{font-size:22px;margin:0}.chapter-summary p{margin:0;font-size:11px}.course-resource{margin-top:24px;font-size:12px}
@media(max-width:720px){.chapter-controls{flex-direction:column;align-items:stretch;padding:16px;gap:12px}.chapter-buttons{justify-content:space-between}.chapter-summary{gap:5px}.chapter-summary p{width:100%}.lesson-row>span:nth-child(2){min-width:0}.lesson-row strong,.lesson-row small{overflow-wrap:anywhere}}
.session-meta{flex-wrap:wrap;gap:14px;min-height:68px}
.session-controls{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto;max-width:100%}
.session-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.display-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}
.display-label{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px;margin-right:3px}
.display-toggle{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 10px;border-radius:18px;font-size:11px;color:var(--muted);background:transparent;border-color:var(--line);white-space:nowrap}
.display-toggle[aria-pressed="true"]{color:var(--ink);background:color-mix(in srgb,var(--soft) 65%,transparent)}
.display-dot{width:6px;height:6px;border:1px solid currentColor;border-radius:50%;flex:none}
.display-toggle[aria-pressed="true"] .display-dot{background:currentColor}
.display-all{min-height:36px;padding:6px 8px;font-size:11px;white-space:nowrap}
.no-wpm #session-root .stat-wpm,.no-accuracy #session-root .stat-accuracy,.no-clock #session-root .stat-clock,.no-live-stats #session-root .stats,.no-progress-bar #session-root .session-progress-line{display:none}
@media(max-width:720px){.session-controls{order:-1;width:100%;align-items:stretch;margin-left:0}.display-controls{justify-content:flex-start}.display-toggle,.display-all{min-height:44px}.display-label{width:100%;margin-bottom:-5px}.display-all{margin-left:auto}.session-meta .stats{margin-top:2px;gap:28px}.session-meta{gap:6px}}
