.portal-path-stage .designer-guide-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;container-type:size}.portal-path-stage .designer-square-gallery{width:100%;height:100%;grid-template-columns:repeat(3,max-content);grid-template-rows:minmax(0,1fr);justify-content:center;align-items:center;gap:clamp(12px,2vw,28px);overflow:visible}.portal-path-stage .designer-square-gallery>button{position:relative;container-type:inline-size;width:min(calc((100cqw - 56px) / 3),calc(100cqh - 76px),300px);height:auto;max-height:none;min-height:0;padding:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:0;align-self:center;border:1px solid #d9c69f99;border-radius:5px 22px 5px 22px;background:linear-gradient(145deg,#33594e,#514f42);box-shadow:0 6px 20px #182e2833;color:#fff0d1;opacity:1;touch-action:manipulation}.portal-path-stage .designer-square-gallery .designer-square-art{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden}.designer-square-art img{display:block;width:100%;height:100%;object-fit:cover}.designer-square-play{position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:46px;height:46px;padding:10px;border:1px solid #fff0cddd;border-radius:50%;background:#24463db3;color:#fff5da}.designer-square-play svg{width:100%;height:100%}.portal-path-stage .learning-card-caption{display:grid;min-height:0;min-width:0;justify-items:center;align-content:center;gap:4px;padding:6px 4px;border-top:1px solid #e7d6b15c;text-align:center}.portal-path-stage .designer-square-gallery .learning-card-caption{min-height:66px;padding:10px 8px}.portal-path-stage .designer-square-gallery .learning-card-caption strong,.portal-path-stage .learning-card-caption strong{font:500 var(--card-title-size,clamp(14px,1.5vw,21px))/var(--card-line-height,1.3) var(--font-display,serif);letter-spacing:normal;max-width:100%}.portal-path-stage .learning-card-caption small{color:#dfd8bd;font:400 var(--card-status-size,12px)/var(--card-line-height,1.3) var(--font-display,serif);letter-spacing:normal;text-wrap:balance}.portal-path-stage .learning-card-caption small[data-completed=true]{color:#d9f4dc}.learning-card-caption i{font-style:normal}@media(max-height:500px) and (orientation:landscape){.portal-path-stage .learning-card-caption{--card-title-size:12px;--card-status-size:9px;--card-line-height:1.1;padding:1px 3px;gap:1px}}@media(max-height:360px) and (orientation:landscape){.portal-path-stage .learning-card-caption{display:flex;align-items:center;justify-content:center;gap:6px;--card-title-size:11px}}@container(max-width:180px){.portal-path-stage .learning-card-caption{padding:1px 3px;gap:1px;--card-title-size:11px;--card-status-size:9px;--card-line-height:1.15}}.portal-path-stage .designer-square-gallery>button:disabled{cursor:not-allowed;opacity:1}.portal-path-stage .designer-square-gallery>button:disabled .learning-card-caption{background:#55516780}.portal-path-stage .designer-square-gallery>button:focus-visible{outline:2px solid #ffe6ad;outline-offset:4px}.practice-layer-rehearsal .rehearsal-upper-panel{top:max(74px,calc(var(--safe-top) + 62px));width:min(880px,calc(100% - var(--safe-left) - var(--safe-right) - 64px));gap:10px}.rehearsal-upper-panel.is-selecting{padding:18px 22px;gap:12px;background:linear-gradient(120deg,#30574e99,#665c468a)}.rehearsal-upper-panel .rehearsal-video-guide-row{min-height:34px;flex-wrap:wrap}.practice-layer-rehearsal .rehearsal-stepper-dock{left:max(5vw,calc(var(--safe-left) + 18px));right:max(5vw,calc(var(--safe-right) + 18px));bottom:max(4vh,calc(var(--safe-bottom) + 14px));max-width:1080px;padding:12px 16px;gap:6px;height:auto;min-height:0;background:linear-gradient(138deg,#223d3a80,#5e47386b);-webkit-backdrop-filter:none;backdrop-filter:none}.portal-knowledge-footer .discovery-view-toggle{flex:none;align-self:stretch;white-space:nowrap;min-width:84px;padding:8px 13px;font:500 15px/1.2 var(--font-display,serif);color:#fff0d0;border:1px solid #f2dba2a6;border-radius:4px 16px;background:#365b4eb3;box-shadow:inset 0 0 14px #f5dc9a18}.portal-knowledge-footer .discovery-view-toggle[aria-expanded=true]{background:#52695a}.portal-knowledge-footer .discovery-view-toggle.hidden-area-entry{background:linear-gradient(125deg,#635c778a,#596d7899);border-color:#e3d4ed;color:#fff3eb;box-shadow:none;animation:none}.portal-knowledge-footer .hidden-area-entry:disabled{opacity:.5;cursor:not-allowed}.portal-knowledge-footer .hidden-area-entry:after,.portal-knowledge-footer .hidden-area-entry:before{content:none}@media(min-width:601px) and (max-width:760px) and (min-height:381px) and (orientation:landscape){.portal-knowledge-footer{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;padding:5px 10px}.portal-path-stage .portal-knowledge-footer .portal-shared-theory{grid-column:1/-1;width:100%;min-height:28px}.portal-knowledge-footer .discovery-view-toggle,.portal-knowledge-footer .theory-library-trigger{width:100%;min-height:32px;justify-content:center}}.portal-path-story .portal-path-detail.detail-story{display:flex;flex-direction:column}.portal-path-detail.detail-story>:first-child{flex:1 1;min-height:0;height:auto;width:100%}@media(min-width:601px) and (max-width:1132px) and (min-height:501px){.immersive-shell .cinema-stage.is-chord-mode .chord-queue{left:max(16px,calc(var(--safe-left) + 12px));right:auto;width:clamp(180px,24vw,240px);max-width:none;transform:none}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric,.immersive-shell .cinema-stage.is-chord-mode .mv-lyric.lyric-style-focus{left:calc(var(--safe-left) + clamp(220px,30vw,300px));right:max(60px,calc(var(--safe-right) + 52px));width:auto;max-width:none;transform:none}}.portal-inline-free-learning.is-overview{justify-content:flex-start}.portal-inline-free-learning.is-discovery-open>.portal-free-chord-heading{grid-template-columns:1fr}.portal-inline-free-learning .hidden-free-play-chapters{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.6fr)}.portal-inline-free-learning .hidden-free-play-chapters>button{gap:3px;white-space:nowrap}.portal-inline-free-learning .hidden-free-play-chapters>.is-hidden-free-chapter:not(.is-current){background:linear-gradient(125deg,#635c7766,#596d7866);border-color:#e3d4ed80;color:#fff3eb}.portal-inline-free-learning .hidden-free-play-rule{flex:none;margin:5px 0 0;padding:0;text-align:center;white-space:nowrap;font:400 clamp(11px,1.4vw,14px)/1.4 var(--font-display,serif);letter-spacing:0;color:#f4ead4}.rehearsal-operation .rehearsal-start-prominent{pointer-events:auto;position:absolute;top:72%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:28px;width:min(380px,calc(100% - 48px));min-height:54px;padding:12px 26px;white-space:nowrap;font:500 clamp(18px,2vw,23px)/1.2 var(--font-display,serif);color:#fff3d1;border:1px solid #ffe6a6;border-radius:5px 25px;background:linear-gradient(120deg,#31584ee6,#766044dc);box-shadow:0 0 22px #ffe0a04a,inset 0 0 16px #ffe0a029;animation:rehearsal-start-breathe 2.8s ease-in-out infinite}@keyframes rehearsal-start-breathe{50%{box-shadow:0 0 32px #ffe0a080,inset 0 0 22px #ffe0a045;border-color:#fff8d8}}@media(prefers-reduced-motion:reduce){.rehearsal-operation .rehearsal-start-prominent{animation:none}}.practice-layer-rehearsal .rehearsal-one-line-stepper>i{min-height:52px;height:52px;padding-block:4px}.free-practice-topbar .rehearsal-back-corner,.free-practice-topbar .rehearsal-settings-toggle,.immersive-shell>.settings-toggle,.portal-back-corner,.portal-free-settings-toggle{flex-direction:row!important;flex-wrap:nowrap!important;white-space:nowrap!important;writing-mode:horizontal-tb;letter-spacing:0;max-width:none!important}.free-practice-topbar .rehearsal-back-corner,.free-practice-topbar .rehearsal-settings-toggle{position:fixed!important}.practice-layer-rehearsal .free-practice-topbar{transform:none!important;transition-property:opacity}.portal-back-corner>span,.portal-free-settings-toggle>span{flex:none;white-space:nowrap}.story-opening-countdown{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:8px;color:#fff4d9;pointer-events:none;text-align:center;text-shadow:0 2px 8px #183b36,0 0 22px #183b36;z-index:10;padding:14px 30px;border-radius:8px 24px;background:radial-gradient(ellipse,#25433cbb,#25433c00 72%)}.story-opening-countdown small{font-size:clamp(15px,1.6vw,20px);white-space:nowrap}.story-opening-countdown strong{font:500 clamp(56px,7vw,88px)/1.15 var(--font-display,serif)}.immersive-shell .cinema-stage.is-chord-mode .lyric-sweep-mask{transition:opacity .18s ease}:root{--guide-surface:linear-gradient(138deg,#284c46,#69523e)}.chapter-video-guide-card,.portal-path-guide,.rehearsal-decision-card{background:var(--guide-surface);background-color:#284c46}.portal-path-guide{animation:none}.portal-path-detail:has(>.portal-path-guide)>:not(.portal-path-guide){visibility:hidden;pointer-events:none}.portal-path-stage{--portal-reserved-height:230px;--portal-entry-gap:10px}.portal-cinematic .portal-path-stage>.portal-start-game{position:absolute;grid-row:auto;left:50%;top:auto;bottom:max(0px,calc((100% - var(--portal-reserved-height) - 540px) / 4 + var(--portal-entry-gap) / 2));transform:translateX(-50%);margin:0}.portal-path-stage .designer-guide-chapters button.is-hidden-unlocked{border-color:#e3d4ed;background:linear-gradient(125deg,#635c778a,#596d7899);color:#fff3eb}.designer-guide-chapters button.is-unlock-reveal{animation:designer-secret-reveal 1.8s ease-out both}.designer-guide-chapters button.is-unlock-reveal:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 25px #eedaf599;animation:designer-secret-light 1.8s ease-out both}@keyframes designer-secret-reveal{0%{filter:brightness(.75)}35%{filter:brightness(1.5)}to{filter:brightness(1)}}@keyframes designer-secret-light{0%{opacity:0}35%{opacity:1}to{opacity:0}}@media(max-width:600px) and (orientation:portrait){.portal-path-stage{--portal-reserved-height:196px;--portal-entry-gap:6px}.practice-layer-rehearsal .rehearsal-upper-panel{width:calc(100% - var(--safe-left) - var(--safe-right) - 32px);top:max(62px,calc(var(--safe-top) + 52px));gap:8px}.rehearsal-upper-panel.is-selecting{padding:12px;gap:7px}.rehearsal-upper-panel .rehearsal-chapter-switcher button{min-height:42px;padding:6px}.rehearsal-speed-choice{gap:7px;margin:4px 0}.rehearsal-speed-choice button{padding:7px 9px;font-size:13px}.practice-layer-rehearsal .rehearsal-stepper-dock{left:max(16px,calc(var(--safe-left) + 12px));right:max(16px,calc(var(--safe-right) + 12px));bottom:max(4vh,calc(var(--safe-bottom) + 12px));padding:6px 8px;gap:4px}.practice-layer-rehearsal .rehearsal-one-line-stepper>i{min-height:36px;height:36px;padding:2px 0;gap:2px}.practice-layer-rehearsal .rehearsal-one-line-stepper>i>small{font-size:7px;line-height:1}.practice-layer-rehearsal .rehearsal-hand-beat{height:26px}.practice-layer-rehearsal .rehearsal-hand-score{gap:3px}.practice-layer-rehearsal .rehearsal-hand-harmony>b{padding-block:3px}}@media(max-height:500px) and (orientation:landscape){.portal-path-stage{--portal-reserved-height:134px;--portal-entry-gap:3px}.practice-layer-rehearsal .rehearsal-upper-panel{top:max(48px,calc(var(--safe-top) + 42px));width:min(720px,calc(100% - var(--safe-left) - var(--safe-right) - 96px));gap:4px}.rehearsal-upper-panel.is-selecting{padding:7px 12px;gap:4px}.rehearsal-upper-panel .rehearsal-video-guide-row{min-height:26px}.rehearsal-upper-panel.is-focused{display:grid;grid-template-columns:auto auto;justify-content:center;column-gap:12px}.rehearsal-upper-panel.is-focused>:first-child{grid-column:1/-1}.practice-layer-rehearsal .rehearsal-stepper-dock{padding:5px 10px;gap:3px;bottom:max(10px,calc(var(--safe-bottom) + 5px));display:grid;grid-template-columns:minmax(0,1fr);align-items:center}.rehearsal-stepper-dock>div:first-child{grid-column:1/-1;grid-row:1}.rehearsal-stepper-dock>div:last-child{grid-column:1/-1;grid-row:2}.rehearsal-operation .rehearsal-start-prominent{top:75%;min-height:42px;width:290px;padding:9px 20px}.practice-layer-rehearsal .rehearsal-one-line-stepper>i{min-height:35px;height:35px}.practice-layer-rehearsal .rehearsal-hand-beat{height:22px}.story-opening-countdown{top:35%;gap:4px}}.rehearsal-stepper-shell:has(.rehearsal-upper-panel.is-selecting) .rehearsal-stepper-dock{display:none}@media(prefers-reduced-motion:reduce){.designer-guide-chapters button.is-unlock-reveal,.designer-guide-chapters button.is-unlock-reveal:after{animation:none}}:root{--portal-gesture-clearance:0px}@media(any-pointer:coarse){:root{--portal-gesture-clearance:44px}}.portal-path-stage.portal-path-free,.portal-path-stage.portal-path-rehearsal,.portal-path-stage.portal-path-story{bottom:max(24px,calc(var(--safe-bottom) + 14px),var(--portal-gesture-clearance))}@media(max-height:500px) and (orientation:landscape){.portal-path-stage.portal-path-free,.portal-path-stage.portal-path-rehearsal,.portal-path-stage.portal-path-story{bottom:max(16px,calc(var(--safe-bottom) + 12px),var(--portal-gesture-clearance))}}.free-practice-topbar .rehearsal-back-corner,.free-practice-topbar .rehearsal-settings-toggle,.immersive-shell>.settings-toggle,.portal-back-corner,.portal-free-settings-toggle{position:fixed!important;top:max(14px,var(--safe-top))!important;display:flex!important;align-items:center;justify-content:center;gap:6px;min-width:80px;width:auto!important;height:46px!important;min-height:46px!important;padding:8px 15px!important;border:1px solid #eee0c580!important;border-radius:24px!important;color:#fff4da!important;background:#3c5c50a8!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:inset 0 0 12px #ffefc512!important;font-size:20px!important;line-height:1!important;transform:none!important;z-index:80}.free-practice-topbar .rehearsal-back-corner,.portal-back-corner{left:max(14px,calc(var(--safe-left) + 8px))!important;right:auto!important}.free-practice-topbar .rehearsal-settings-toggle,.immersive-shell>.settings-toggle,.portal-free-settings-toggle{right:max(14px,calc(var(--safe-right) + 8px))!important;left:auto!important}.free-practice-topbar .rehearsal-settings-toggle>span,.portal-back-corner>span,.portal-free-settings-toggle>span{display:inline;font-family:var(--font-display,serif);font-size:16px!important;line-height:1.2!important}.corner-icon{flex:none;width:20px;height:20px;display:block}.practice-layer-rehearsal .practice-layer-heading{display:none!important}@media(max-height:500px),(max-width:600px){.free-practice-topbar .rehearsal-back-corner,.free-practice-topbar .rehearsal-settings-toggle,.immersive-shell>.settings-toggle,.portal-back-corner,.portal-free-settings-toggle{top:max(8px,var(--safe-top))!important;min-width:64px;width:64px!important;height:38px!important;min-height:38px!important;padding:5px 6px!important;gap:4px}.free-practice-topbar .rehearsal-settings-toggle>span,.portal-back-corner>span,.portal-free-settings-toggle>span{font-size:14px!important}.corner-icon{width:16px;height:16px}}.practice-layer-rehearsal .rehearsal-one-line-stepper>i.is-active-harmony,.rehearsal-hand-harmony>b.is-active{background:color-mix(in srgb,var(--hand-chord-color,var(--portal-chord-color)) 65%,#425c53);border-color:#fff4c5;color:#fffdf2;box-shadow:inset 0 0 12px #fff4c55c,0 0 10px #fff0b352}.practice-layer-rehearsal .rehearsal-one-line-stepper>i.is-active-harmony.is-correct{background:#557e67}.immersive-shell .cinema-stage.is-chord-mode .lyric-line-current,.immersive-shell .cinema-stage.is-chord-mode .lyric-line-next,.immersive-shell .cinema-stage.is-chord-mode .lyric-line-next:has(.has-attack-rail){position:relative;padding-top:44px;overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .lyric-cell{height:calc(var(--story-lyric-chord-size) * 1.04 + 1.25em + 6px);grid-template-rows:calc(var(--story-lyric-chord-size) * 1.04) minmax(0,1fr);overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .lyric-cell:has(.has-attack-rail){z-index:6}.immersive-shell .lyric-attack-rail[data-edge=start]{left:0;right:auto;transform:none}.immersive-shell .lyric-attack-rail[data-edge=end]{left:auto;right:0;transform:none}@media(orientation:portrait) and (min-width:744px) and (max-width:1280px){.immersive-shell .cinema-stage.is-chord-mode .chord-queue{left:max(24px,calc(var(--safe-left) + 18px));right:auto;width:clamp(216px,28.5vw,300px);max-width:none;transform:none}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric,.immersive-shell .cinema-stage.is-chord-mode .mv-lyric.lyric-style-focus{left:max(270px,calc(var(--safe-left) + 36vw));right:max(66px,calc(var(--safe-right) + 58px));width:auto;max-width:none;transform:none}}@media(orientation:landscape) and (min-width:1024px) and (max-width:1696px) and (min-height:600px){.immersive-shell .cinema-stage.is-chord-mode .chord-queue{left:max(24px,calc(var(--safe-left) + 18px));right:auto;width:clamp(255px,23vw,360px);max-width:none;transform:none}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric,.immersive-shell .cinema-stage.is-chord-mode .mv-lyric.lyric-style-focus{left:max(360px,calc(var(--safe-left) + 30vw));right:max(86px,calc(var(--safe-right) + 74px));width:auto;max-width:none;transform:none}}@media(max-width:600px) and (max-height:700px) and (orientation:portrait){.portal-path-stage .portal-path-detail.detail-rehearsal>.portal-inline-free-learning{gap:4px;padding:6px 8px;justify-content:flex-start}.portal-inline-free-learning .portal-discovery-chords{min-height:48px;height:48px}.portal-inline-free-learning .portal-discovery-chords>button{min-height:0;padding:4px}.portal-inline-free-learning .foundation-keyboard-row{flex:1 1 62px;min-height:50px}.portal-inline-free-learning .foundation-keyboard{height:100%!important;min-height:0!important}.portal-inline-free-learning [data-attack-rail=discovery]{flex:none;height:28px}.portal-knowledge-footer{flex-shrink:0}}@media(max-width:1000px) and (orientation:portrait){.portal-knowledge-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:7px 10px}.portal-path-stage .portal-knowledge-footer .portal-shared-theory{grid-column:1/-1;grid-template-columns:auto 1fr;gap:7px;min-height:0}.portal-knowledge-footer .portal-shared-theory>small{align-self:start;padding-top:1px}.portal-knowledge-footer .portal-shared-theory>i{display:none}.portal-path-stage .portal-knowledge-footer .portal-shared-theory>div{display:block;min-width:0;width:auto}.portal-knowledge-footer .discovery-view-toggle,.portal-knowledge-footer .theory-library-trigger{width:auto;min-width:0;min-height:36px;padding:6px 10px;font-size:14px}.portal-knowledge-footer .theory-library-label{display:inline;white-space:nowrap;font-size:14px}}@media(max-height:350px) and (orientation:landscape){.portal-path-stage .portal-path-detail.detail-rehearsal>.portal-inline-free-learning.is-overview{padding-block:1px}}.hidden-area-entry[aria-disabled=true]{opacity:.55;cursor:help}.portal-inline-free-learning.is-overview{display:flex;justify-content:center;gap:0;padding:clamp(10px,1.8vw,24px)}.hand-beat-slice.is-timing-miss,.rehearsal-one-line-stepper>i.is-timing-miss{background:#8c534caa!important;border-color:#edaa89!important;color:#fff0d9!important}.hand-miss-dot{font:700 14px/1 sans-serif;color:#ffc1a2}.rehearsal-stepper-dock[data-reset="1"] .rehearsal-hand-beat,.rehearsal-stepper-dock[data-reset="1"] .rehearsal-one-line-stepper>i{animation:practice-flip-a .55s ease both}.rehearsal-stepper-dock[data-reset="0"] .rehearsal-hand-beat,.rehearsal-stepper-dock[data-reset="0"] .rehearsal-one-line-stepper>i{animation:practice-flip-b .55s ease both}@keyframes practice-flip-a{0%{transform:rotateX(80deg);opacity:.35}to{transform:none;opacity:1}}@keyframes practice-flip-b{0%{transform:rotateX(80deg);opacity:.35}to{transform:none;opacity:1}}.chapter-arrival-glow{animation:chapter-arrival 1.7s ease both}@keyframes chapter-arrival{30%{text-shadow:0 0 18px #fff0b2;box-shadow:0 0 18px #fff0b255;filter:brightness(1.25)}}.rehearsal-decision-layer{pointer-events:auto;z-index:130}.rehearsal-decision-card.is-completed-chapter{isolation:isolate;overflow:hidden}.rehearsal-decision-card.is-completed-chapter>footer,.rehearsal-decision-card.is-completed-chapter>p,.rehearsal-decision-card.is-completed-chapter>strong{position:relative;z-index:4}.wind-ending.is-mastered h2,.wind-ending.is-practice h2{animation:chapter-arrival 2s ease both;text-shadow:0 0 22px #e8d39466}.wind-ending-card{position:relative}.wind-ending-copy{position:relative;z-index:4}.immersive-shell.is-movie-mode .video-segment-rail{max-width:none;top:max(12px,var(--safe-top,0px));z-index:65}.immersive-shell.is-movie-mode .video-segment-rail,.immersive-shell.is-movie-mode .video-segment-rail-trigger{left:calc(var(--safe-left,0px) + 114px);right:calc(var(--safe-right,0px) + 114px);width:auto}@media(max-width:600px) and (orientation:portrait){.immersive-shell.is-movie-mode .video-segment-rail{top:calc(var(--safe-top,0px) + 67px);left:16px;right:16px}.immersive-shell.is-movie-mode .video-segment-rail-trigger{top:calc(var(--safe-top,0px) + 58px);left:16px;right:16px}.rehearsal-timing-feedback{font-size:12px;min-height:18px;line-height:1.3}}@media(max-height:500px) and (orientation:landscape){.rehearsal-stepper-dock>.rehearsal-timing-feedback{grid-row:2}.rehearsal-stepper-dock>div:last-child{grid-row:3}.rehearsal-timing-feedback{min-height:18px;font-size:11px}}@media(prefers-reduced-motion:reduce){.chapter-arrival-glow,.rehearsal-stepper-dock[data-reset] .rehearsal-hand-beat,.rehearsal-stepper-dock[data-reset] .rehearsal-one-line-stepper>i{animation:none}}:root{--visible-height:100dvh}@media(max-height:500px) and (orientation:landscape){html[data-performance-apple=true] .portal-path-stage:is(.portal-path-free,.portal-path-story,.portal-path-rehearsal){top:max(8px,var(--safe-top));bottom:max(28px,calc(var(--safe-bottom) + 8px));gap:3px!important;grid-template-rows:40px 0 30px minmax(0,1fr) 32px!important;--portal-reserved-height:117px;--portal-entry-gap:3px}html[data-performance-apple=true] .portal-path-heading{visibility:hidden}html[data-performance-apple=true] .portal-path-grid .portal-path-card{padding:3px 8px}html[data-performance-apple=true] .portal-path-stage .portal-inline-free-learning.is-overview{padding:4px 10px}html[data-performance-apple=true] .portal-knowledge-footer{padding:3px 8px;min-height:30px}html[data-performance-apple=true] .portal-knowledge-footer .discovery-view-toggle,html[data-performance-apple=true] .portal-knowledge-footer .theory-library-trigger{min-height:26px;padding:3px 8px;font-size:12px}html[data-performance-apple=true] .portal-path-stage .portal-shared-theory{padding:2px 0}html[data-performance-apple=true] .portal-path-stage .portal-shared-theory p,html[data-performance-apple=true] .portal-path-stage .portal-shared-theory strong{font-size:11px;line-height:1.2}html[data-performance-apple=true] .portal-cinematic .portal-path-stage>.portal-start-game{bottom:0}}.landscape-guide{width:min(540px,calc(100vw - 36px));max-height:calc(var(--visible-height) * .5);padding:22px;margin:auto;overflow:auto;border:1px solid #e7d8b7;border-radius:7px 24px;background:var(--guide-surface);color:#fff2d9;text-align:center;font-family:var(--font-display,serif)}.landscape-guide::backdrop{background:#122d3699}.landscape-guide h2{font-size:var(--guide-title-size);font-weight:500;margin:10px 0}.landscape-guide p{font-size:var(--guide-body-size);line-height:1.5;margin:8px 0}.landscape-guide .rotation-help{font-size:14px;color:#e0d6bd}.landscape-guide footer{display:flex;gap:12px;justify-content:center;margin-top:16px}.landscape-guide button{min-height:40px;padding:9px 16px;border:1px solid #e5d5b7;border-radius:5px 18px;background:#eee0be;color:#284c46;font:500 15px/1.2 var(--font-display,serif);cursor:pointer}.landscape-guide button:first-child{background:transparent;color:#fff2d9}.landscape-guide button:disabled{opacity:.5;cursor:default}.rotate-device{display:flex;align-items:center;justify-content:center;gap:10px;color:#eedcaa}.rotate-device i{display:block;width:24px;height:38px;border:2px solid;border-radius:5px;transform:rotate(-28deg);transition:transform .35s}.rotate-device[data-ready=true] i{transform:rotate(-90deg)}.rotate-device span{font-size:29px}.portal-path-detail>.portal-path-guide{inset:0;margin:auto;width:min(760px,94%);height:max-content;max-height:calc(var(--visible-height) * .5);padding:16px 22px;border:1px solid #e8d9b766;border-radius:6px 24px}.portal-path-guide>div{max-height:calc(var(--visible-height) * .5 - 34px);display:flex;flex-direction:column;gap:8px;min-height:0}.portal-path-guide button,.portal-path-guide small,.portal-path-guide strong{flex:none}.portal-path-guide .portal-path-guide-copy{min-height:0;overflow:auto;overscroll-behavior:contain}.portal-path-guide button{min-height:38px;margin:0}.chapter-video-guide-card,.rehearsal-decision-card{max-height:calc(var(--visible-height) * .5);overflow:auto}.rehearsal-operation .rehearsal-start-prominent{z-index:12;touch-action:manipulation}.rehearsal-operation .rehearsal-start-prominent:disabled{opacity:.55;animation:none}@media(max-height:350px) and (orientation:landscape){html[data-performance-apple=true] .portal-path-stage:is(.portal-path-free,.portal-path-story,.portal-path-rehearsal){grid-template-rows:32px 0 26px minmax(0,1fr) 32px!important}html[data-performance-apple=true] .portal-path-detail .portal-knowledge-footer{height:28px;flex:0 0 28px;padding:1px 6px;gap:7px}html[data-performance-apple=true] .portal-path-detail .portal-knowledge-footer .portal-shared-theory{min-height:0;height:24px}html[data-performance-apple=true] .portal-path-detail .portal-knowledge-footer .discovery-view-toggle,html[data-performance-apple=true] .portal-path-detail .portal-knowledge-footer .theory-library-trigger{min-height:24px;padding:2px 6px;font-size:11px}}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric.lyric-style-focus{--lyric-bottom:max(6px,calc(var(--safe-bottom) + 4px));--lyric-field-height:min(220px,calc(var(--visible-height) / 3 - var(--lyric-bottom)));--lyric-row-height:calc((var(--lyric-field-height) - 4px) / 2);--rail-band:min(35px,calc(var(--lyric-row-height) * .40));--chord-band:calc(var(--lyric-row-height) * .34);--lyric-type:min(28px,calc(var(--lyric-row-height) * .27));position:absolute;top:auto;bottom:var(--lyric-bottom);height:var(--lyric-field-height);min-height:0;max-height:none;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;padding:0;margin:0;overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-line,.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-line-next:has(.has-attack-rail){position:relative;width:100%;height:100%;min-height:0;padding:0;margin:0;transform:none;overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-characters{box-sizing:border-box;height:100%;padding:var(--rail-band) 0 3px;margin:0;font-size:var(--lyric-type);line-height:1;gap:0;align-items:end;overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-cell{--story-lyric-chord-size:min(42px,calc(var(--chord-band) / 1.04));height:100%;min-height:0;padding:0;grid-template-rows:var(--chord-band) minmax(0,1fr);overflow:visible}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-cell>b{font-size:var(--lyric-type);line-height:1;margin:0;padding:0;align-self:end}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-chord-stack{grid-row:1;height:var(--chord-band);overflow:visible;align-self:start}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-chord-stack>.lyric-chord{overflow:visible;transform:none}.immersive-shell .cinema-stage.is-chord-mode .mv-lyric .lyric-chord:is(.is-judged-correct,.is-judged-missed){animation-name:v142ChordLight}@keyframes v142ChordLight{0%,to{filter:brightness(1)}34%{filter:brightness(1.65)}68%{filter:brightness(1.16)}}.immersive-shell .mv-lyric .lyric-attack-rail{bottom:calc(100% + 3px);overflow:visible}.immersive-shell .mv-lyric [data-attack-rail=lyric]{--beat-size:clamp(34px,3vw,40px);height:calc(var(--rail-band) - 3px);min-height:0;padding-bottom:0;gap:1px}.immersive-shell .mv-lyric [data-attack-rail=lyric] [data-rest]{font-size:min(14px,calc(var(--rail-band) * .5));font-family:system-ui,sans-serif;line-height:1}.immersive-shell .mv-lyric .lyric-sweep-mask{bottom:0}.immersive-shell .mv-lyric [data-beat-cell]{height:100%;min-height:0;align-items:stretch;border-radius:2px 4px}.immersive-shell .mv-lyric [data-rest]>span{font:inherit;line-height:1}@media(max-height:500px) and (orientation:landscape){.portal-path-detail>.portal-path-guide{padding:8px 18px}.portal-path-guide>div{max-height:calc(var(--visible-height) * .5 - 18px);gap:4px}.portal-path-guide small{display:none}.portal-path-guide strong{font-size:20px}.portal-path-guide p{font-size:14px;line-height:1.4}.landscape-guide{padding:10px 20px}.landscape-guide h2{margin:3px 0;font-size:20px}.landscape-guide p{margin:4px 0;font-size:14px}.rotate-device{display:none}.landscape-guide footer{margin-top:8px}}:root{--info-border:#e9d6b4;--info-ink:#fff1d6;--info-title:clamp(16px,1.8vw,22px);--info-body:clamp(13px,1.2vw,15px)}.info-panel.info-panel{border:1px solid var(--info-border);border-radius:5px 30px;background:var(--guide-surface);background-color:#284c46;color:var(--info-ink);box-shadow:0 14px 70px #182e4350;font-family:var(--font-display,"Songti SC",serif)}.info-panel::backdrop{background:#152d344b}.info-panel.info-panel h2,.info-panel.info-panel>strong,.portal-path-guide.info-panel>div>strong{font:500 var(--info-title)/1.25 var(--font-display,"Songti SC",serif);color:var(--info-ink);margin:0 0 10px;letter-spacing:.025em}.info-panel.info-panel p{font-size:var(--info-body);line-height:1.5;margin:6px 0;color:inherit;text-wrap:pretty}.info-panel.info-panel :is(button,a.midi-connect-control){min-height:40px;padding:8px 18px;border:1px solid #a1b3a0;border-radius:24px;background:#325f55;color:#fff3da;font:500 14px/1.3 var(--font-display,"Songti SC",serif);cursor:pointer}.info-panel button:disabled{opacity:.55;cursor:default}.info-panel button:focus-visible{outline:2px solid #ffe2a5;outline-offset:3px}.info-panel .development-history-fixed-head{background:#314e44;color:var(--info-ink)}.development-history-card.info-panel .development-history-fixed-head header{background:#314e44}.development-history-card.info-panel .development-history-scroll-body{background:transparent}.development-history-card.info-panel .development-history-scroll-body li span,.development-history-card.info-panel header small{color:var(--info-ink)}.info-panel .development-history-fixed-head h2{font-size:var(--info-title)}.info-panel .development-history-scroll-body li{color:var(--info-ink);font-size:var(--info-body)}.info-panel .development-history-scroll-body li b{color:#e7cf9b}.portal-path-guide.info-panel small{font-size:12px}.rehearsal-decision-card.info-panel{padding:18px 24px}.rehearsal-decision-card.info-panel .rehearsal-decision-mark{display:none}.rehearsal-decision-card.info-panel>small{font-size:12px}.settings-learning-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;padding:8px 0}.settings-learning-tools .settings-learning-tool{display:grid;place-items:center;min-width:0;min-height:42px;padding:7px 3px;font:750 clamp(11px,1.1vw,13px)/1.3 var(--font-display,"Songti SC",serif);white-space:nowrap}.settings-learning-tools .settings-learning-tool,.settings-quick-actions .settings-connect,.settings-quick-actions button{border:1px solid rgba(82,164,139,.55);border-radius:3px 11px;color:#f5fff9;background:linear-gradient(135deg,#4c9281,#68ac95);box-shadow:0 5px 14px rgba(46,119,98,.2)}.settings-learning-tool:focus-visible,.settings-learning-tool:hover,.settings-quick-actions :is(button,a.midi-connect-control):focus-visible,.settings-quick-actions :is(button,a.midi-connect-control):hover{outline:1px solid #bce2ce;outline-offset:2px}a.midi-connect-control{text-decoration:none;cursor:pointer;font:inherit;box-sizing:border-box}.settings-quick-actions a.midi-connect-control{min-width:0;min-height:34px;padding:6px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.designer-square-gallery .is-locked .designer-square-art:after{content:"";position:absolute;inset:0;background:#41444240;pointer-events:none}.designer-square-gallery .designer-square-art>i{z-index:1}.rehearsal-hand-score,.rehearsal-single-score{position:relative}.rehearsal-playhead{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:5}.rehearsal-hand-score>.rehearsal-playhead{left:var(--hand-gutter)}.rehearsal-playhead>i{position:absolute;top:0;bottom:0;left:var(--playhead-position,0);width:2px;transform:translateX(-1px);background:#fff0b9;box-shadow:0 0 8px #ffdc96bb}.rehearsal-playhead>i:before{content:"";position:absolute;top:-6px;left:-3px;border:4px solid transparent;border-top-color:#fff0b9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.info-panel.info-panel .information-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0!important;line-height:1;box-sizing:border-box}.information-close svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.rehearsal-video-guide-row .rehearsal-melody-toggle{display:grid;place-items:center;width:96px;height:34px;min-height:34px;padding:4px 7px;border-color:#efdaa5;box-shadow:inset 0 0 9px #f5e4b629;white-space:nowrap}.portal-cinematic .portal-path-detail.detail-rehearsal>.rehearsal-card-enter{position:relative;inset:auto;transform:none;grid-row:auto;align-self:center;flex:0 0 auto;width:min(420px,85%);min-height:42px;height:42px;margin:4px auto 8px;padding:6px 20px}.portal-cinematic .rehearsal-card-enter b{font-size:clamp(15px,1.5vw,20px)}.wind-ending.is-celebrating .wind-ending-card{overflow:visible;border-color:#ffedaf;box-shadow:0 0 0 1px #ffebbaaa,0 0 28px #ffde9977,0 0 75px #f3c97844;animation:ending-arrival .85s cubic-bezier(.2,.8,.2,1) both}.wind-ending.is-celebrating .wind-ending-card:before{content:"";position:absolute;inset:-4px;border:1px solid #ffedb3;border-radius:inherit;box-shadow:0 0 20px #ffe3a5aa,inset 0 0 18px #ffe6b333;pointer-events:none;animation:ending-halo 2.8s ease-in-out infinite}.wind-ending.is-celebrating h2{color:#fff1bd;text-shadow:0 0 20px #ffdc94aa,0 2px 6px #254039}@keyframes ending-arrival{0%{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}@keyframes ending-halo{0%,to{opacity:.6}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.wind-ending.is-celebrating .wind-ending-card,.wind-ending.is-celebrating .wind-ending-card:before{animation:none}}@media(max-height:500px) and (orientation:landscape){:root{--info-title:16px;--info-body:13px}.info-panel.info-panel h2,.info-panel.info-panel>strong,.portal-path-guide.info-panel>div>strong{margin-bottom:6px}.info-panel.info-panel p{line-height:1.35;margin:4px 0}.info-panel.info-panel :is(button,a.midi-connect-control){min-height:32px;padding:5px 14px}.rehearsal-decision-card.info-panel{padding:10px 18px}.portal-cinematic .portal-path-detail.detail-rehearsal>.rehearsal-card-enter{min-height:32px;height:32px;margin:2px auto 4px;padding:3px 16px}}.wind-extract{position:relative;min-height:100dvh;color:#f9efd8;font-family:Songti SC,STSong,serif;background:#334b39}.still-background,.still-shade{position:fixed;inset:0;pointer-events:none}.still-background{background:url(/media/wind-rehearsal-loading-v70.png) 50%/cover no-repeat}.still-shade{background:linear-gradient(180deg,#1b342744,transparent 25%,#19372966 56%,#12362cd9)}.compact-header{position:relative;justify-content:space-between;width:min(1060px,calc(100% - 40px));margin:auto;padding:24px 0}.compact-brand,.compact-header{display:flex;align-items:center}.compact-brand{gap:12px;text-shadow:0 2px 10px #23412899}.compact-brand img{width:36px;height:36px}.compact-brand small{font-size:12px;letter-spacing:.2em}.compact-brand h1{font-weight:500;margin:2px 0 0}.compact-lab button,.compact-lab input,.compact-lab select{font-family:inherit}.compact-lab button{cursor:pointer}.quiet-button{font-size:11px;border:1px solid #f4e2b877;border-radius:20px;padding:6px 12px;color:#fff1d1;background:#214538a1}.practice-desk{position:relative;width:min(1040px,calc(100% - 40px));margin:clamp(35px,10vh,110px) auto 0;padding:18px 22px 14px;border:1px solid #eddfb989;border-radius:5px 25px;background:linear-gradient(110deg,#244c40e8,#596047e3);box-shadow:0 15px 45px #082d2666;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.compact-controls,.desk-toolbar,.tiny-tabs,.toolbar-actions{display:flex;align-items:center;gap:12px}.desk-toolbar{justify-content:space-between;margin-bottom:15px}.tiny-tabs{gap:15px}.tiny-tabs button{color:#e0d9c4;background:none;border:0;border-bottom:1px solid transparent;padding:5px 0;font-size:14px}.tiny-tabs button.active{color:#ffe5ae;border-bottom-color:#ffe5ae}.toolbar-actions{gap:13px}.compact-controls>button:not(.play-button),.keyboard-caption button,.library-actions>button:not(.done-button),.popup-bottom>button:not(.done-button),.stepper-top button,.toolbar-actions button{border:0;background:none;color:#eddcb7;font-size:12px;padding:4px}.compact-chords{display:grid;gap:8px;margin-bottom:16px}.compact-chords.count-4{grid-template-columns:repeat(4,1fr)}.compact-chords.count-8{grid-template-columns:repeat(8,1fr)}.compact-chords>button{position:relative;display:grid;align-content:center;justify-items:center;gap:3px;height:76px;border:1px solid #e2d1a988;border-radius:3px 15px;background:#1c4339ad;color:#f4e3ba;min-width:0}.compact-chords>button.selected{border-color:var(--slot-color);box-shadow:inset 0 2px var(--slot-color);background:#57705a88}.compact-chords small{position:absolute;left:9px;top:7px;font:9px Arial,sans-serif;color:#c8c8ac}.compact-chords strong{font-weight:500;font-size:25px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-chords .filled strong{color:var(--slot-color)}.compact-chords span{font-size:10px;color:#cfcdb7}.main-keyboard{padding:0 3px}.main-keyboard .foundation-keyboard{width:100%;height:145px}.foundation-black-keys{pointer-events:none}.foundation-black-keys>button{pointer-events:auto}.keyboard-caption{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#ddd8be;margin:7px 3px 9px}.keyboard-caption button:disabled{opacity:.4}.compact-controls{border-top:1px solid #dacda333;padding-top:10px;gap:18px;font-size:12px}.compact-controls label{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#dcd9c3}.compact-controls input[type=number]{width:43px;border:0;border-bottom:1px solid #c9b78766;color:#ffe3b0;background:none;font-size:13px;text-align:center;padding:3px;appearance:textfield}.compact-controls input::-webkit-inner-spin-button{appearance:none}.compact-controls select{background:#294c3f;color:#f4e5c5;border:0;font-size:12px;max-width:78px}.volume-control{margin-left:auto}.volume-control input{width:66px;accent-color:#dcca98}.done-button,.play-button{padding:6px 15px;border:1px solid #e3d0a5;border-radius:3px 10px;background:#e7d8b3;color:#294538;font-size:12px}.original-stepper{margin:12px 0 13px}.stepper-top{display:flex;align-items:center;gap:15px;margin:0 2px 10px}.stepper-top strong{font-size:13px;font-weight:500;color:#f3dba9}.stepper-top span{margin-left:auto;font-size:10px;color:#d2ccb6}.popover-backdrop{position:fixed;inset:0;z-index:50;background:#102d2366;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.compact-popover{width:440px;max-width:100%;max-height:90dvh;overflow:auto;background:linear-gradient(135deg,#31574a,#59634b);border:1px solid #eddfb5ab;border-radius:5px 22px;padding:18px 21px;box-shadow:0 20px 80px #0a261b99}.compact-popover header{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.compact-popover header strong{font-size:18px;font-weight:500}.compact-popover header>button{background:none;border:0;color:#efe2c5;font-size:24px;padding:0 3px}.compact-popover p{font-size:12px;line-height:1.7;color:#e4dcc8}.popup-label{display:block;margin:13px 0 7px;font-size:11px;color:#dfceaa}.quality-grid,.root-grid{display:grid;gap:5px}.root-grid{grid-template-columns:repeat(6,1fr)}.quality-grid{grid-template-columns:repeat(4,1fr)}.quality-grid button,.root-grid button{border:1px solid #e4d3ae66;border-radius:3px 8px;background:#23493dbc;color:#f4e8cd;height:32px;font-size:12px}.quality-grid button{display:flex;justify-content:center;align-items:center;gap:3px;height:35px}.quality-grid small{font:8px Arial,sans-serif;opacity:.7}.quality-grid button.active,.root-grid button.active{background:#e3d2a9;color:#294b3c}.popup-bottom{gap:12px;margin-top:18px}.color-row,.popup-bottom{display:flex;align-items:center}.color-row{gap:7px;margin-right:auto}.color-row button{width:17px;height:17px;border:1px solid #ffffff66;border-radius:50%;padding:0}.color-row button.active{outline:1px solid #fff0ca;outline-offset:2px}.color-row input{width:23px;height:24px;border:0;padding:0;background:none}.custom-popover{width:640px}.popup-keyboard .foundation-keyboard{height:130px}.line-input{width:100%;box-sizing:border-box;background:#1d4136aa;border:1px solid #dfcfab66;border-radius:3px 8px;color:#f7ebd1;padding:9px 11px;margin:8px 0;font-size:13px}.line-input::placeholder{color:#e1d7c399}.library-actions{margin:10px 0}.library-actions,.preset-list>div{display:flex;justify-content:space-between}.preset-list>div{border-top:1px solid #d8c8a544;padding:8px 0}.preset-list button{background:none;border:0;color:#f3e3c4}.preset-list button:first-child{display:grid;text-align:left;gap:4px}.preset-list strong{font-size:13px;font-weight:500}.preset-list span{font-size:11px;color:#cfcdb4}.transpose-row{display:flex;align-items:center;justify-content:center;gap:28px;margin:25px 0}.transpose-row button{width:36px;height:36px;background:#e8d9b5;color:#294938;border:0;border-radius:50%;font-size:22px}.transpose-row strong{font-size:30px;font-weight:500}.lab-toast,.transpose-row small{font-size:13px}.lab-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#f2e4c1;color:#264936;padding:9px 18px;border-radius:20px;z-index:100}@media(min-height:800px){.practice-desk{margin-top:clamp(60px,14vh,180px)}}@media(max-width:700px){.compact-header{width:calc(100% - 26px);padding:16px 0}.compact-brand h1{font-size:21px}.compact-header .quiet-button{max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.practice-desk{width:calc(100% - 20px);padding:12px;margin-top:120px}.desk-toolbar{gap:7px}.tiny-tabs{gap:10px}.tiny-tabs button{font-size:12px}.toolbar-actions{gap:5px}.toolbar-actions button{font-size:10px}.compact-chords.count-8{grid-template-columns:repeat(4,1fr)}.compact-chords>button{height:60px}.compact-chords strong{font-size:21px}.main-keyboard .foundation-keyboard{height:125px}.compact-controls{gap:10px;flex-wrap:wrap}.volume-control{margin-left:auto}.stepper-top span{font-size:9px}.compact-popover{padding:15px}.popup-bottom{gap:6px}.color-row{gap:5px}}@media(max-height:600px){.compact-header{padding:10px 0}.practice-desk{margin-top:15px}.compact-chords>button{height:56px}.main-keyboard .foundation-keyboard{height:100px}.compact-chords{margin-bottom:10px}}@media(max-width:600px){.quality-grid small{display:none}.quality-grid button{white-space:nowrap}.stepper-top{gap:8px}.stepper-top span{max-width:112px;text-align:right}.compact-controls .volume-control{gap:3px}}.original-stepper .rehearsal-hand-score,.original-stepper .rehearsal-single-score{position:relative;min-width:0}.compact-brand img{width:68px;height:68px;border-radius:13px;object-fit:contain;background:#fff}.rhythm-pattern{display:flex;gap:5px;margin:15px 0}.rhythm-pattern button{flex:1 1;padding:8px 3px;background:#274d40;border:1px solid #e8d8b566;color:#eddfc4;border-radius:3px 9px;display:grid;gap:8px}.rhythm-pattern button.active{background:#cbb786;color:#294536}.rhythm-pattern b{font-size:10px}@media(max-width:600px){.compact-brand img{width:48px;height:48px}.compact-brand h1{font-size:18px}.original-stepper .rehearsal-one-line-stepper>i{min-height:42px}.original-stepper .rehearsal-one-line-stepper>i.is-chord-step b{font-size:11px}}.original-stepper.practice-layer-rehearsal{background:transparent!important}.guide-help{border:1px solid #fff4;border-radius:50%;width:28px;height:28px;background:#172922aa;color:#eee;cursor:pointer;margin-left:8px}.compact-header>.quiet-button{margin-left:auto}.compact-brand img{background:#c9c5bc}.hand-beat-slice[role=button]{cursor:pointer}.hand-beat-slice[aria-disabled=true]{cursor:default}.hand-beat-slice:focus-visible,.hand-beat-slice[aria-disabled=false]:hover{outline:2px solid #d5ff65;outline-offset:-2px;background:#d5ff6520}.count-in{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;color:#e8e8d8}.count-in b{display:grid;place-items:center;border:1px solid #ffffff30;border-radius:50%;width:30px;height:30px;opacity:.4}.count-in b.active{opacity:1;background:#d7ff69;color:#14291b;box-shadow:0 0 20px #d7ff6950}.rotation-screen{position:fixed;inset:0;z-index:3000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 32%,#1b4939 0,#10291f 44%,#060b09 100%);text-align:center;color:#f6f6e9;padding:24px}.rotation-screen img{width:132px;height:132px;border-radius:35px;object-fit:cover;background:#c9c5bc}.rotation-screen h2{font-size:34px;margin:35px 0 15px;letter-spacing:2px}.rotation-screen p{font-size:18px;color:#a6b2a8}.rotate-symbol{font-size:82px;color:#d6ff53;line-height:1;margin:32px}.rotation-screen button{color:#d6ff53;border:1px solid #b8de3888;background:#afcd3b12;border-radius:50px;font-size:23px;padding:17px 28px}.tour-layer{position:fixed;inset:0;z-index:2500}.tour-blocker{position:absolute;inset:0}.tour-spotlight{position:absolute;pointer-events:none;border:1px solid #dcff94;border-radius:15px;box-shadow:0 0 0 9999px #020b08cf,0 0 28px #c8ef7844;transition:all .2s}.tour-card{position:absolute;max-width:calc(100vw - 28px);width:340px;background:#182d25;border:1px solid #bacc9860;box-shadow:0 18px 70px #0008;color:#f2f3e6;padding:22px;border-radius:18px}.tour-card small{color:#bfd382}.tour-card h2{font-size:21px;margin:10px 0}.tour-card p{font-size:14px;color:#bdc9bd;line-height:1.75;margin:10px 0 20px}.tour-card footer{display:flex;gap:8px;justify-content:flex-end}.tour-card button{background:#ffffff0b;color:#e4edda;border:1px solid #ffffff20;padding:8px 13px;border-radius:18px;cursor:pointer}.tour-card button:last-child{background:#d8f997;color:#203321}.tour-card button:first-child{margin-right:auto}.stepper-top{flex-wrap:wrap}.stepper-top button{white-space:nowrap}.stepper-top>span{flex:1 1;font-size:11px}.compact-controls .play-button:disabled{opacity:.4}@media(orientation:landscape) and (max-height:600px){.compact-header{padding:10px 20px}.compact-brand img{width:42px;height:42px}.practice-desk{margin-top:0!important;padding-top:12px!important;padding-bottom:12px!important}.compact-chords{margin-top:10px!important;margin-bottom:10px!important}.compact-chords>button{min-height:50px!important;padding:6px 10px!important}.main-keyboard{height:100px!important}.compact-chords>button span{display:none}.keyboard-caption{margin:5px 0!important}.compact-controls{padding-top:8px!important}.rehearsal-hand-row{min-height:32px}.tour-card{padding:14px}.tour-card p{margin:8px 0 12px}}.rotation-screen,.rotation-screen button,.tour-layer,.tour-layer button{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif}.rotation-screen h2{font-weight:750}.rotation-screen p{font-weight:550}.rotation-screen button{font-weight:700}.back-button{flex:none;width:40px;border:1px solid #e8d9b555;border-radius:50%;background:#21453890;color:#fff0cc;font-size:30px;margin-right:12px}.compact-brand{min-width:0}.compact-header{gap:4px}.stepper-focused{margin-top:clamp(24px,5vh,64px)}.collapse-keyboard{display:block;margin:0 0 12px auto;background:none;border:0;color:#dfd6b9;font-size:12px;padding:8px}.segment-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #d6c49955;background:#193e3488;border-radius:24px;flex-shrink:0}.segment-switch button,.stepper-top .segment-switch button{min-height:32px;padding:5px 13px;border:0;border-radius:20px;background:transparent;color:#d6d5bd;font-size:12px;white-space:nowrap}.segment-switch button[aria-pressed=true]{background:#e5d6ad;color:#254634;box-shadow:0 2px 6px #0c24152a}.segment-switch button:disabled{opacity:.3;cursor:not-allowed}.voicing-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.voicing-row>small{font-size:12px;color:#dfceaa}.voicing-caption{min-height:20px}.builtin-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.builtin-templates button{display:grid;gap:5px;text-align:left;background:#1d4237aa;border:1px solid #e3d3ac55;color:#f4e4bc;border-radius:4px 12px;padding:10px 12px;min-width:0}.builtin-templates strong{font:17px Georgia,serif;letter-spacing:.06em;overflow-wrap:anywhere}.builtin-templates span{font-size:11px;color:#cfcbb4}.builtin-templates button:last-child{grid-column:1/-1}.degree-entry{display:flex;gap:8px;align-items:center}.degree-entry>input{min-width:0}.degree-entry>button{white-space:nowrap}.sound-controls{display:flex;align-items:center;gap:18px;margin-left:auto}.sound-controls label{display:flex;align-items:center;gap:7px}.sound-controls input[type=range]{width:100px;accent-color:#e2cd95;min-height:32px;cursor:pointer}.sound-controls .volume-control input{width:72px}.compact-controls{flex-wrap:wrap}.compact-controls>.sound-controls{order:3}.compact-controls .volume-control{margin-left:0}.chord-pagination,.step-pages{display:flex;align-items:center;gap:9px;font-size:12px;color:#e9dcbb}.chord-pagination{justify-content:flex-end;margin:0 0 10px}.chord-pagination button,.step-pages button{min-width:34px;min-height:34px;font-size:20px;background:transparent;border:1px solid #e3d3ac55;border-radius:50%;color:#f4e4bc}.step-pages{margin-left:auto}.chord-pagination button:disabled,.step-pages button:disabled{opacity:.3}.compact-popover header{position:sticky;top:-18px;z-index:3;background:#3b5b4b;padding:8px 0}.compact-popover{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.compact-lab button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.compact-lab input[type=range]{touch-action:pan-y}.foundation-keyboard button{touch-action:none;user-select:none;-webkit-user-select:none}.practice-desk.stepper-focused .rehearsal-hand-row{min-height:64px}.practice-desk.stepper-focused .hand-beat-slice{min-height:50px}.original-stepper [data-guide=score]{overflow-x:auto;padding-bottom:6px;overscroll-behavior-x:contain}.original-stepper .rehearsal-hand-score{min-width:620px}.stepper-top>span{max-width:none;text-align:left;min-width:120px}.compact-lab{padding-bottom:max(20px,env(safe-area-inset-bottom))}.compact-header{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}@media(max-width:900px){.practice-desk{margin-top:35px}.practice-desk.stepper-focused{margin-top:22px}.compact-header{width:calc(100% - 24px)}.compact-brand h1{font-size:20px}.compact-brand img{width:48px;height:48px}.compact-controls{gap:12px}.sound-controls{gap:14px}.quality-grid button,.root-grid button{min-height:40px}.voicing-row .segment-switch button{min-height:38px}.compact-popover .popup-bottom>button{min-height:40px}.compact-popover .color-row button{width:24px;height:24px}.compact-popover .color-row{gap:7px}}@media(max-width:600px){.compact-brand h1{font-size:16px;white-space:nowrap;letter-spacing:.02em}.compact-brand small{font-size:10px}.compact-brand img{width:38px;height:38px}.compact-brand{gap:7px}.back-button{width:32px;height:32px;margin-right:4px}.compact-header .quiet-button{font-size:10px;max-width:90px;padding:6px}.guide-help{flex:none;margin-left:3px}.desk-toolbar{flex-wrap:wrap;gap:8px}.toolbar-actions{margin-left:auto}.toolbar-actions button{font-size:12px;min-height:36px}.tiny-tabs button{min-height:38px}.stepper-top{gap:8px}.stepper-top>strong{display:none}.stepper-top .segment-switch button{padding:5px 12px;min-height:38px}.stepper-top>span{flex-basis:100%;font-size:12px;max-width:none}.sound-controls{width:100%;justify-content:space-between;margin:0;gap:10px}.sound-controls input[type=range]{width:100px}.sound-controls .volume-control input{width:75px}.popover-backdrop{padding:10px}.compact-popover{max-height:calc(100dvh - 20px);padding:14px}.compact-popover header{top:-14px}.voicing-row{flex-wrap:wrap}.voicing-row .segment-switch button{padding:5px 10px}.compact-controls select,.compact-controls>button{min-height:38px}.compact-popover .color-row{gap:5px}.compact-popover .color-row button{width:21px;height:21px}.compact-popover .popup-bottom{flex-wrap:wrap}.original-stepper [data-guide=score]:after{content:"左右滑动查看整行节奏";display:block;text-align:center;font-size:10px;color:#ccc9ae;margin-top:8px}.main-keyboard{overflow-x:auto}.main-keyboard .foundation-keyboard{min-width:500px}.popup-keyboard{overflow-x:auto}.popup-keyboard .foundation-keyboard{min-width:500px}.compact-chords.count-8{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(orientation:landscape) and (max-height:600px){.compact-header{padding-top:6px;padding-bottom:6px}.practice-desk.stepper-focused{margin-top:4px!important}.practice-desk.stepper-focused .hand-beat-slice{min-height:42px}.practice-desk.stepper-focused .rehearsal-hand-row{min-height:48px}.collapse-keyboard{margin-bottom:3px;padding:4px}.desk-toolbar{margin-bottom:4px}.compact-controls{padding-top:6px!important}.original-stepper{margin-top:4px;margin-bottom:4px}.compact-popover{max-height:calc(100dvh - 16px)}.rotation-screen{overflow:auto}.stepper-top{margin-bottom:5px}.stepper-top>span{flex-basis:auto}.sound-controls{width:auto;margin-left:auto}.main-keyboard .foundation-keyboard{min-width:0}}.compact-lab{overflow-anchor:none}.stepper-focused>.chord-editor{margin-top:18px;padding-top:16px;border-top:1px solid #dacda333}.stepper-focused .collapse-keyboard{min-height:32px}.stepper-focused .compact-controls{position:relative}.stepper-focused .chord-editor .keyboard-caption{margin-bottom:0}@media(max-width:600px){.stepper-focused>.chord-editor{margin-top:14px;padding-top:12px}}.practice-desk,.practice-desk.stepper-focused{margin-top:clamp(24px,5vh,64px)!important;min-height:460px;display:flex;flex-direction:column;box-sizing:border-box}.practice-body{flex:1 1;min-width:0}.practice-desk>.compact-controls{margin-top:14px}.tiny-tabs button{display:flex;min-height:40px}.back-button,.tiny-tabs button{align-items:center;justify-content:center;line-height:1}.back-button{display:inline-flex;gap:7px;width:auto;min-width:76px;height:40px;padding:0 13px;border-radius:24px;font-size:13px}.back-button span:first-child{font:20px Arial}.compact-brand .practice-wordmark small{display:flex;align-items:center;gap:10px;letter-spacing:.25em;color:#f3dfac}.practice-wordmark em{font:8px Arial,sans-serif;letter-spacing:.22em;opacity:.65;font-style:normal}.compact-brand h1{font-size:26px;font-weight:600;letter-spacing:.08em;margin-top:7px;line-height:1.2}.compact-brand h1>span{display:inline-block;font-size:.65em;font-weight:400;letter-spacing:.12em;border-left:1px solid #e7d8b377;padding-left:10px;margin-left:10px;vertical-align:middle}.stepper-top .page-switch,.toolbar-actions .template-button,.toolbar-actions .tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 14px;border:1px solid #dfcea77a;border-radius:12px;background:linear-gradient(150deg,#5b715755,#183c3299);box-shadow:inset 0 1px #fff2,0 3px 8px #102b2522;color:#f4e3ba;white-space:nowrap;font-size:12px}.toolbar-actions .template-button{background:linear-gradient(130deg,#eee0bb,#cbb987);color:#284839;font-weight:600;border-color:#f4e5bf}.template-button span{font-size:17px}.toolbar-actions .segment-switch button{padding:5px 11px;min-height:30px}.stepper-top .page-switch{margin-left:auto}.transpose-control{position:relative}.transpose-inline{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:270px;padding:12px;border:1px solid #d9caa877;border-radius:15px;background:#315346;box-shadow:0 12px 35px #09251dcc}.transpose-adjust{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.transpose-adjust button{width:36px;height:36px;border:1px solid #d9caa866;border-radius:50%;font-size:20px}.transpose-adjust strong{font:24px Georgia}.transpose-inline .root-grid button{min-height:36px;padding:4px}.transpose-inline .transpose-done{display:block;margin:10px 0 0 auto;border:1px solid #d9caa866;border-radius:20px;padding:5px 16px}.loop-hint{font-size:11px;color:#cfcbb4;white-space:nowrap}.rehearsal-hand-harmony .harmony-edit{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;border:0;background:none;color:inherit;cursor:pointer;font:inherit}.rehearsal-hand-harmony .harmony-edit.empty{font-size:13px!important;font-weight:400;letter-spacing:.05em}.rehearsal-hand-harmony .harmony-edit.empty *{font-size:13px!important}.library-popover{width:840px}.library-popover .builtin-templates{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.library-popover .builtin-templates button:last-child{grid-column:auto}.library-popover .builtin-templates button{min-height:72px;justify-content:center}.library-popover .preset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-popover .line-input{max-width:100%}.library-popover>input.line-input{width:calc(50% - 6px);margin-right:6px}.original-stepper .rehearsal-hand-score{min-width:0}.original-stepper .rehearsal-hand-name{width:32px;font-size:10px}.stepper-top{gap:9px}.original-stepper [data-guide=score]:after,.stepper-top>strong{display:none}@media(max-width:900px){.practice-desk,.practice-desk.stepper-focused{margin-top:24px!important;min-height:440px}.desk-toolbar{flex-wrap:wrap}.toolbar-actions{margin-left:auto}.compact-brand h1{font-size:23px}.compact-header{flex-wrap:wrap}.library-popover{width:760px}}@media(max-width:600px){.practice-desk,.practice-desk.stepper-focused{min-height:490px;margin-top:18px!important;width:calc(100% - 20px)}.compact-header{display:grid;grid-template-columns:76px 1fr 28px;gap:10px;width:calc(100% - 24px)}.compact-brand{grid-column:2;justify-content:center}.compact-brand img{width:32px;height:32px}.compact-brand h1{font-size:17px;letter-spacing:0}.compact-brand h1>span{padding-left:6px;margin-left:6px}.compact-brand .practice-wordmark small{font-size:10px;gap:4px;letter-spacing:.12em}.practice-wordmark em{font-size:6px}.compact-header>.quiet-button{grid-column:1/4;grid-row:2;justify-self:center;max-width:none;margin:0;min-height:32px}.guide-help{grid-column:3;grid-row:1;margin:0}.back-button{margin:0;min-width:72px;padding:0 9px}.tiny-tabs{gap:24px}.tiny-tabs,.toolbar-actions{justify-content:center;width:100%}.toolbar-actions{gap:8px}.toolbar-actions .template-button,.toolbar-actions .tool-button{padding:6px 10px}.stepper-top{justify-content:center}.stepper-top .segment-switch button{padding:5px 9px;min-height:34px}.stepper-top>span{min-width:0;text-align:center;order:3}.stepper-top .page-switch{margin:0;min-height:34px}.library-popover .builtin-templates{grid-template-columns:repeat(2,minmax(0,1fr))}.library-popover .preset-list{grid-template-columns:1fr 1fr}.library-popover>input.line-input{width:100%;margin-right:0}.rehearsal-hand-harmony .harmony-edit{min-height:55px}.rehearsal-hand-harmony .harmony-edit.empty *{font-size:11px!important}.practice-desk.stepper-focused .hand-beat-slice{min-height:48px}.transpose-inline{right:-64px;width:260px}.original-stepper .rehearsal-hand-score{min-width:0}.original-stepper .hand-chord-glyph{transform:scale(.7)}.original-stepper .rehearsal-hand-name{display:none}.original-stepper .rehearsal-hand-row{padding-left:0}.sound-controls{flex-wrap:wrap}.compact-controls,.sound-controls{justify-content:center}.main-keyboard{max-width:100%}}@media(orientation:landscape) and (max-height:600px){.practice-desk,.practice-desk.stepper-focused{margin-top:4px!important;min-height:340px}.compact-brand h1{font-size:20px}.library-popover .builtin-templates{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-header{padding:6px 0}.practice-body{min-height:210px}}body:has(>.compact-lab),html:has(.compact-lab){height:auto;min-height:100dvh;overflow-x:clip;overflow-y:auto;overscroll-behavior-y:auto}.practice-wordmark{display:block;min-width:0}.compact-brand .practice-wordmark small{white-space:nowrap}.compact-brand .practice-wordmark h1{color:#fff1ce}.compact-brand .practice-wordmark h1>span{color:#e6d3ab}.compact-brand img{flex-shrink:0}.stepper-top .page-switch span{margin-left:0}.lab-toast{pointer-events:none}@media(max-width:600px){.compact-brand h1{font-size:15px}.practice-wordmark em{display:none}.compact-brand .practice-wordmark h1>span{display:block;border:0;padding:0;margin:4px 0 0;font-size:11px;letter-spacing:.3em}.original-stepper .rehearsal-hand-score{min-width:660px}.original-stepper .rehearsal-hand-name{display:grid}.original-stepper .rehearsal-hand-row{padding-left:var(--hand-gutter)}.original-stepper [data-guide=score]:after{display:block;content:"左右滑动编排节奏";position:sticky;left:0;text-align:center}.original-stepper .hand-chord-glyph{transform:none}.practice-desk,.practice-desk.stepper-focused{min-height:570px}}.practice-desk,.practice-desk.stepper-focused{min-height:390px}.practice-desk>.compact-controls{margin-top:6px}.practice-body{flex:0 1}.compact-controls{justify-content:flex-start}.compact-controls>.sound-controls{margin-left:auto}.desk-toolbar>.tiny-tabs{gap:3px;border:1px solid #ddcda666;background:#193c3266;border-radius:28px;padding:4px;box-shadow:inset 0 2px 5px #0c2a272b}.desk-toolbar>.tiny-tabs button{border:0;border-radius:24px;min-width:110px;padding:9px 17px;font-family:PingFang SC,sans-serif;font-size:13px;letter-spacing:.08em;min-height:36px;transition:background .15s}.desk-toolbar>.tiny-tabs button.active{background:linear-gradient(135deg,#f2e5c2,#c9b57e);color:#284737;box-shadow:0 2px 7px #16362933;font-weight:600}.chord-popover{width:840px}.chord-popover .root-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.chord-popover .quality-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.chord-popover .voicing-row{justify-content:flex-start;gap:22px}.chord-popover .popup-label{margin-top:10px}.chord-popover .voicing-caption{margin:10px 0}.octave-control{display:flex;align-items:center;gap:8px}.octave-control button{width:36px;height:36px;border:1px solid #ead9b46b;border-radius:50%;background:#21473a;color:#f3e4c3;font-size:20px}.octave-control select{height:36px;min-width:90px;text-align:center;border:1px solid #ead9b46b;border-radius:10px;background:#21473a;color:#f3e4c3;font:16px Georgia}.popup-bottom .color-row{display:flex;gap:9px;flex-wrap:wrap}.popup-bottom .color-row button{display:grid;gap:5px;justify-items:center;background:transparent;width:34px;height:47px;border:0;border-radius:8px;outline:none;color:#e9e1c9;padding:4px}.color-row button i{width:22px;height:22px;border-radius:50%;background:var(--swatch);border:1px solid #fff6;box-shadow:0 2px 6px #1235}.color-row button span{font-size:10px}.color-row button.active i{outline:2px solid #fff4d4;outline-offset:3px}.octave-hint{font-size:11px;text-align:center;color:#e5d7b1;margin:8px 0}.compact-header{padding-top:max(16px,var(--safe-top,env(safe-area-inset-top)));padding-left:var(--safe-left,env(safe-area-inset-left));padding-right:var(--safe-right,env(safe-area-inset-right))}.compact-lab{padding-bottom:max(16px,var(--safe-bottom,env(safe-area-inset-bottom)))}@media(max-width:900px){.practice-desk,.practice-desk.stepper-focused{min-height:380px}.chord-popover .root-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:600px){.practice-desk,.practice-desk.stepper-focused{min-height:0}.practice-body{min-height:320px}.desk-toolbar>.tiny-tabs{width:auto;margin:auto}.desk-toolbar>.tiny-tabs button{min-width:110px;padding:8px 12px}.compact-controls>.sound-controls{margin-left:0}.compact-controls{justify-content:center}.chord-popover .quality-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.popup-bottom .color-row{gap:4px;justify-content:center;width:100%;margin-bottom:10px}.popup-bottom .color-row button{width:30px}.chord-popover .voicing-row{gap:10px}.chord-popover .popup-bottom>.done-button{margin-left:auto}.chord-popover .voicing-caption{font-size:11px}}@media(orientation:landscape) and (max-height:600px){.practice-desk,.practice-desk.stepper-focused{min-height:0}.practice-body{min-height:210px}.chord-popover .root-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.chord-popover .quality-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}.practice-desk,.practice-desk.stepper-focused{min-height:0}.practice-body{min-height:240px}.main-keyboard .foundation-keyboard{height:110px}.compact-chords>button{height:66px}.compact-chords{margin-bottom:12px}.compact-controls{min-height:43px}.main-keyboard{height:auto}@media(max-width:600px){.practice-body{min-height:300px}.compact-controls{flex-wrap:nowrap;gap:8px;min-height:43px}.compact-controls .play-button{padding:6px 9px;white-space:nowrap;font-size:11px}.compact-controls>.sound-controls{width:auto;flex-wrap:nowrap;gap:8px;margin:auto}.sound-controls label{font-size:10px;gap:5px}.sound-controls input[type=range]{width:52px}.sound-controls .volume-control input{width:50px}.compact-controls input[type=number]{width:32px;font-size:12px}.main-keyboard .foundation-keyboard{height:110px}}@media(orientation:landscape) and (max-height:600px){.practice-body{min-height:220px}.compact-controls{min-height:41px}}@media(max-width:600px){.compact-controls{min-height:49px}}@media(orientation:landscape) and (max-height:600px){.practice-body{min-height:224px}}.keyboard-caption{justify-content:flex-start;margin:3px 3px 4px;min-height:28px}.keyboard-caption button{padding:4px 8px;border:1px solid #dfcfab55;border-radius:4px 10px;background:#23493d77;min-height:28px}.language-button{flex-shrink:0;min-width:40px;min-height:32px;margin-left:8px;font-family:Arial,sans-serif}.piano-control{position:relative;margin-right:auto;flex-shrink:0}.piano-button{border:1px solid #dfcfab66;border-radius:4px 12px;background:#23493d88;color:#f6e5c0;font-size:12px;padding:7px 9px;min-height:32px;white-space:nowrap}.piano-button span{opacity:.75;font-size:10px;margin-left:4px}.piano-popover{position:absolute;bottom:calc(100% + 12px);left:0;width:280px;max-width:calc(100vw - 50px);padding:16px;z-index:35;background:linear-gradient(130deg,#31574a,#59634b);border:1px solid #eddfb5aa;border-radius:5px 20px;box-shadow:0 12px 35px #102d2377}.piano-popover header,.sustain-heading,.sustain-slider{display:flex;align-items:center;justify-content:space-between;gap:12px}.piano-popover header{margin-bottom:8px}.piano-popover header button{background:none;border:0;color:#f6e5c0;font-size:22px}.piano-popover p,.piano-popover small{font-size:11px;line-height:1.6;color:#e0dcc5}.piano-popover p{margin:8px 0 14px}.sustain-heading button{min-width:44px;min-height:30px;border:1px solid #dfcfab77;background:#23493d;color:#e5d3a9;border-radius:20px}.sustain-heading button[aria-checked=true]{background:#e5d3a9;color:#294b3c}.sustain-slider{margin:10px 0}.sustain-slider input{min-width:0;flex:1 1;accent-color:#e5d3a9}.sustain-slider output{min-width:42px;text-align:right}.rotation-screen .rotation-language{position:absolute;right:18px;top:18px;padding:5px 12px;font-size:14px;min-width:0;width:auto;margin:0}html[lang=en] .compact-lab{font-family:Georgia,Times New Roman,serif}html[lang=en] .practice-wordmark h1{font-size:23px}html[lang=en] .practice-wordmark small{font-size:10px}html[lang=en] .practice-wordmark em{display:none}html[lang=en] .stepper-top{gap:8px}html[lang=en] .rehearsal-hand-name{font-size:10px}html[lang=en] .quality-grid button{font-size:11px}@media(max-width:600px){.compact-controls{flex-wrap:wrap;gap:8px!important}.sound-controls{margin-left:auto;gap:8px!important}.piano-button{font-size:11px;padding:6px}.piano-button span{display:none}html[lang=en] .practice-wordmark h1{font-size:18px}html[lang=en] .tiny-tabs button{font-size:12px!important}html[lang=en] .toolbar-actions{gap:5px}html[lang=en] .toolbar-actions button{font-size:11px}.compact-header .guide-help,.language-button{margin-left:4px}}.header-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}.language-button{border:1px solid #f4e2b877;border-radius:20px;padding:5px 9px;color:#fff1d1;background:#214538a1;font-size:11px}.tour-card{max-height:calc(100dvh - 28px);overflow:auto}@media(max-width:600px){.header-tools{grid-column:3;grid-row:1;gap:3px}.compact-header .guide-help{width:27px;min-width:27px}.compact-header .language-button{margin:0;min-width:35px;padding:4px 6px}.compact-header>.quiet-button{max-width:100%}.compact-controls{display:grid;grid-template-columns:auto 1fr;min-height:78px}.compact-controls>.piano-control{grid-column:1;grid-row:1}.stepper-focused .compact-controls>.piano-control{grid-column:2;justify-self:end;margin:0}.compact-controls>.play-button{grid-column:1;grid-row:1;justify-self:start}.compact-controls>.sound-controls{grid-column:1/3;grid-row:2;width:100%;justify-content:space-between}.stepper-focused .piano-popover{left:auto;right:0}}.piano-credit{display:block;color:#ddd4b9;font-size:9px;text-decoration:underline;text-underline-offset:2px;margin:4px 0}html[lang=en] .original-stepper [data-guide=score]:after{content:"Swipe to edit the rhythm"}@media(max-width:600px){.compact-header{grid-template-columns:72px minmax(0,1fr) 68px;gap:6px}.compact-brand{min-width:0;gap:6px}.compact-brand img{width:28px;height:28px}html[lang=en] .practice-wordmark h1{font-size:16px;letter-spacing:0}.header-tools{justify-content:flex-end}.practice-body{min-height:312px}.compact-controls{grid-template-rows:38px 32px;min-height:89px}}.pattern-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-4px 0 10px;min-height:30px}.pattern-picker{position:relative}.pattern-button,.whole-preview{border:1px solid #e4d3ae66;border-radius:4px 12px;background:#23493d99;color:#f4e8cd;font-size:11px;padding:6px 10px;min-height:30px;white-space:nowrap}.pattern-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:36;width:250px;max-width:calc(100vw - 54px);background:#35594a;border:1px solid #ead9b488;border-radius:5px 17px;padding:7px;box-shadow:0 12px 30px #102d2377}.pattern-menu button{display:grid;width:100%;text-align:left;gap:4px;border:0;border-radius:8px;color:#e9dfc6;background:none;padding:10px}.pattern-menu button[aria-pressed=true]{background:#e5d3a9;color:#294b3c}.pattern-menu strong{font-weight:500;font-size:13px}.pattern-menu small{opacity:.8}.keyboard-caption{gap:8px;flex-wrap:wrap}.missing-notes{display:flex;align-items:center;gap:5px;min-height:24px;flex-wrap:wrap;font-size:11px;color:#f4dfae}.missing-notes b{font:11px Georgia,serif;padding:3px 6px;border:1px solid #eddfa466;border-radius:6px;background:#284939}.keyboard-caption .missing-notes{margin-left:auto}.original-stepper>.missing-notes{margin:0 0 5px}.foundation-keyboard .is-completed-note{filter:saturate(.25) brightness(.72)}.pattern-note-label{font:10px Georgia,serif;color:#fff3d2;white-space:nowrap}.whole-preview[aria-pressed=true]{background:#e5d3a9;color:#294b3c}@media(max-width:600px){.pattern-toolbar{margin-top:0}.pattern-button,.whole-preview{font-size:10px;padding:6px 8px}.keyboard-caption .missing-notes{margin-left:0;flex-basis:100%}.practice-body{min-height:344px}}@media(min-width:601px) and (min-height:601px){.practice-body{min-height:260px}}.compact-lab{box-sizing:border-box;min-height:100dvh;padding-bottom:max(8px,env(safe-area-inset-bottom))}.compact-header{padding-top:12px;padding-bottom:12px}.practice-desk,.practice-desk.stepper-focused{margin-top:clamp(8px,5vh,44px)!important}.practice-body{min-height:250px}.desk-toolbar{gap:10px}.toolbar-actions{gap:7px}.toolbar-actions .pattern-button{min-height:38px;padding:6px 12px;border:1px solid #dfcea77a;background:linear-gradient(150deg,#5b715755,#183c3299);border-radius:12px;font-size:12px}.pattern-menu{width:228px}.pattern-menu button{padding:7px 10px;gap:3px}.pattern-menu strong{font-size:12px}.pattern-menu small{font-size:10px;white-space:nowrap}.pattern-picker{z-index:40}.compact-chords .filled strong{color:#fff5db}.compact-chords>button.filled{background:color-mix(in srgb,var(--slot-color) 58%,#20382f);border-color:color-mix(in srgb,var(--slot-color) 65%,#dfcfab)}.compact-chords>button.selected{background:color-mix(in srgb,var(--slot-color) 74%,#20382f);box-shadow:inset 0 0 0 1px #fff5}.compact-controls{display:grid!important;grid-template-columns:1fr auto 1fr;grid-template-rows:auto;gap:12px!important;min-height:44px;align-items:center}.listen-controls{display:flex;align-items:center;gap:7px;grid-column:1;grid-row:1}.listen-controls .piano-control{margin:0}.transport-center{grid-column:2;grid-row:1;justify-self:center;min-width:82px;text-align:center}.compact-controls>.sound-controls{grid-column:3;grid-row:1;width:auto;margin:0;justify-self:end;gap:10px;flex-wrap:nowrap;order:0}.compact-controls .play-button{white-space:nowrap}.piano-popover,.stepper-focused .piano-popover{left:0;right:auto;width:208px;max-width:calc(100vw - 36px);padding:10px;border-radius:5px 14px}.piano-popover header{margin:0}.piano-popover header strong{font-size:12px}.piano-popover header button{font-size:18px}.piano-popover p{font-size:10px;line-height:1.3;margin:5px 0 8px}.piano-popover .piano-credit{font-size:8px;margin:2px 0}.sustain-heading label,.sustain-slider output{font-size:11px}.sustain-heading button{min-height:26px;min-width:36px}.sustain-slider{margin:5px 0 0}.keyboard-caption .missing-notes{margin-left:0}.tour-card{padding:12px 14px;overflow:visible;border-radius:12px}.tour-card small{font-size:9px}.tour-card h2{font-size:14px;margin:7px 0;white-space:nowrap}.tour-card p{font-size:11px;line-height:1.5;margin:7px 0 12px}.tour-card footer{gap:6px;flex-wrap:nowrap}.tour-card button{font-size:11px;white-space:nowrap;padding:6px 10px;min-height:30px}.compact-popover{font-size:12px}.compact-popover header strong{font-size:15px}.compact-popover header{position:static;padding:0;margin-bottom:8px}.compact-popover .tiny-tabs button{font-size:12px}.compact-popover .popup-label{font-size:10px;margin:6px 0}.compact-popover .quality-grid button,.compact-popover .root-grid button{min-height:30px;font-size:12px;padding:4px}.compact-popover .voicing-row{margin-top:7px;gap:12px}.compact-popover .voicing-row>small{font-size:10px}.compact-popover .voicing-row .segment-switch button{min-height:28px;font-size:11px;padding:4px 9px}.compact-popover .voicing-caption{font-size:10px;margin:6px 0;min-height:0}.compact-popover .octave-control button,.compact-popover .octave-control select{height:28px;min-height:28px;font-size:13px}.compact-popover .octave-control button{width:28px}.compact-popover .popup-bottom>button{min-height:30px;font-size:11px}.library-popover .builtin-templates button{min-height:48px;padding:7px}.library-popover .builtin-templates strong{font-size:15px}.library-popover .builtin-templates span{font-size:10px}.library-popover p{font-size:10px;margin:7px 0}.count-in{position:absolute;bottom:55px;left:50%;transform:translateX(-50%);padding:5px 12px;border-radius:20px;background:#203e32f5;z-index:5;white-space:nowrap}.count-in b{width:22px;height:22px;font-size:12px}.count-in span{font-size:11px}@media(max-width:900px){.compact-controls>.sound-controls input[type=range]{width:65px}.compact-controls .volume-control input{width:48px}.practice-desk{padding:14px}.practice-body{min-height:250px}}@media(max-width:600px){.compact-header{padding:8px 0;gap:5px}.compact-brand .practice-wordmark h1{font-size:15px}.compact-header>.quiet-button{min-height:26px;padding:4px 8px}.practice-desk,.practice-desk.stepper-focused{margin-top:8px!important;padding:10px 11px}.desk-toolbar{margin-bottom:10px;gap:7px}.desk-toolbar>.tiny-tabs button{min-height:30px;padding:6px 10px;min-width:104px;font-size:12px}.toolbar-actions{gap:5px}.toolbar-actions .pattern-button,.toolbar-actions .template-button,.toolbar-actions .tool-button{padding:4px 7px;min-height:32px;font-size:10px}.toolbar-actions .segment-switch{padding:2px}.toolbar-actions .segment-switch button{padding:3px 7px;min-height:26px;font-size:10px}.pattern-menu{left:50%;transform:translateX(-50%);width:210px}.pattern-menu button{min-height:36px}.practice-body{min-height:260px}.compact-chords>button{height:54px}.compact-chords{gap:6px;margin-bottom:9px}.main-keyboard .foundation-keyboard{height:95px}.stepper-top{gap:5px;margin-bottom:5px}.stepper-top .segment-switch button{min-height:28px;padding:4px 8px;font-size:10px}.stepper-top>span{font-size:10px}.stepper-top .page-switch{min-height:28px;padding:4px 7px;font-size:10px}.practice-desk.stepper-focused .hand-beat-slice{min-height:38px}.practice-desk.stepper-focused .rehearsal-hand-row{min-height:46px}.rehearsal-hand-harmony .harmony-edit{min-height:44px}.compact-controls{grid-template-columns:1fr auto 1fr;grid-template-rows:32px 30px;min-height:70px;gap:4px!important}.listen-controls{grid-column:1/3;grid-row:1;gap:5px}.transport-center{grid-column:2;grid-row:2;min-width:70px}.compact-controls>.sound-controls{display:contents}.compact-controls .tempo-control{grid-column:1;grid-row:2;justify-self:start;font-size:9px}.compact-controls .volume-control{grid-column:3;grid-row:2;justify-self:end;font-size:9px}.compact-controls>.sound-controls input[type=range]{width:42px}.compact-controls input[type=number]{width:27px;font-size:10px}.compact-controls .play-button{padding:5px 9px;min-height:28px;font-size:10px}.piano-button,.whole-preview{font-size:10px;padding:5px 7px;min-height:28px}.piano-button span{display:inline;font-size:9px}.piano-popover{left:-60px!important}.compact-popover{padding:10px;max-height:calc(100dvh - 20px)}.chord-popover .root-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.compact-popover .voicing-row{flex-wrap:nowrap;gap:6px}.compact-popover .popup-bottom .color-row{gap:2px;margin:2px 0 6px}.compact-popover .color-row button{width:30px;height:36px;padding:3px}.compact-popover .color-row button i{width:18px;height:18px}.compact-popover .color-row button span{font-size:9px}.library-popover .builtin-templates{gap:5px}.library-popover .line-input{font-size:11px;padding:6px;min-height:28px}.library-popover .library-actions{margin:5px 0}.missing-notes{min-height:22px}.count-in{bottom:85px}}@media(orientation:landscape) and (max-height:600px){.compact-header{padding:4px 0;width:calc(100% - 30px);flex-wrap:nowrap}.compact-brand img{width:32px;height:32px}.compact-brand h1{font-size:18px;margin-top:3px}.compact-brand small{font-size:9px}.compact-header .back-button{height:30px}.practice-desk,.practice-desk.stepper-focused{margin-top:2px!important;padding:8px 14px!important;width:calc(100% - 30px)}.desk-toolbar{flex-wrap:nowrap;margin-bottom:5px}.desk-toolbar>.tiny-tabs button{min-width:85px;min-height:28px;padding:5px 9px;font-size:11px}.toolbar-actions{width:auto;gap:5px}.toolbar-actions .pattern-button,.toolbar-actions .template-button,.toolbar-actions .tool-button{min-height:30px;padding:4px 8px;font-size:11px}.toolbar-actions .segment-switch button{min-height:24px;padding:3px 8px}.practice-body{min-height:170px}.compact-chords{margin:4px 0 6px!important}.compact-chords>button{height:42px;min-height:42px!important;padding:4px!important}.main-keyboard{height:auto!important}.main-keyboard .foundation-keyboard{height:85px}.original-stepper{margin:2px 0}.stepper-top{margin-bottom:2px;gap:5px;flex-wrap:nowrap}.stepper-top .segment-switch button{min-height:24px;padding:3px 8px;font-size:10px}.stepper-top>span{font-size:9px;min-width:0}.stepper-top .page-switch{min-height:26px;padding:3px 7px;font-size:10px}.missing-notes{min-height:18px;font-size:10px}.rehearsal-hand-harmony .harmony-edit{min-height:32px}.practice-desk.stepper-focused .hand-beat-slice{min-height:29px}.practice-desk.stepper-focused .rehearsal-hand-row{min-height:35px}.compact-controls{min-height:32px;padding-top:4px!important;margin-top:2px!important;gap:6px!important}.compact-controls .sound-controls{gap:7px}.compact-controls .sound-controls input[type=range]{width:55px}.compact-controls .volume-control input{width:45px}.compact-controls .play-button{padding:5px 10px}.piano-button,.whole-preview{min-height:27px;font-size:10px;padding:5px 7px}.compact-lab{padding-bottom:4px}.pattern-menu{top:calc(100% + 3px);padding:4px}.pattern-menu button{padding:4px 8px;min-height:34px}.pattern-menu strong{font-size:11px}.pattern-menu small{font-size:9px}.compact-popover{width:min(840px,95vw);padding:9px 14px}.chord-popover{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.chord-popover>.popup-bottom,.chord-popover>.tiny-tabs,.chord-popover>header{grid-column:1/-1}.chord-popover>.quality-grid,.chord-popover>.root-grid{grid-column:1}.chord-popover>.voicing-row{grid-column:2}.chord-popover>.voicing-row:nth-of-type(3){grid-row:3/5}.chord-popover>.voicing-caption{grid-column:2}.chord-popover .popup-label{margin:3px 0}.chord-popover .quality-grid,.chord-popover .root-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.compact-popover header{margin-bottom:2px}.compact-popover .tiny-tabs button{min-height:26px}.compact-popover .quality-grid button,.compact-popover .root-grid button{min-height:25px;padding:2px;font-size:10px}.compact-popover .quality-grid small{font-size:8px}.compact-popover .voicing-row{margin:3px 0}.compact-popover .voicing-caption{margin:2px 0}.compact-popover .color-row button{height:32px;padding:1px}.compact-popover .color-row button i{width:17px;height:17px}.compact-popover .color-row button span{font-size:8px}.library-popover .builtin-templates{gap:5px}.library-popover .builtin-templates button{min-height:38px;padding:4px 7px}.library-popover .line-input{padding:4px;min-height:24px;font-size:11px}.library-popover .library-actions,.library-popover .popup-label,.library-popover p{margin:3px 0}.count-in{bottom:42px}}.compact-popover .quality-grid button,.compact-popover .root-grid button{white-space:nowrap}.compact-popover .popup-bottom{margin-top:8px}.compact-popover .quality-grid button small{display:inline;margin-left:3px}.compact-popover .line-input{box-sizing:border-box}@media(orientation:landscape) and (max-height:600px){.chord-popover>header{grid-row:1;height:24px}.chord-popover>.tiny-tabs{grid-row:2}.chord-popover>.popup-label:first-of-type{grid-row:3;grid-column:1}.chord-popover>.root-grid{grid-row:4;gap:4px}.chord-popover>.popup-label:nth-of-type(2){grid-row:5;grid-column:1}.chord-popover>.quality-grid{grid-row:6;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.chord-popover>.voicing-row:nth-of-type(3){grid-row:3/5;align-self:center;height:auto}.chord-popover>.voicing-row:nth-of-type(5){grid-row:5/6;align-self:center;height:auto}.chord-popover>.voicing-row:nth-of-type(6){grid-row:6;align-self:start;height:auto;flex-wrap:wrap;gap:4px}.chord-popover>.voicing-caption{grid-row:7;grid-column:1/-1}.chord-popover>.popup-bottom{grid-row:8;margin-top:3px}.compact-popover .quality-grid button,.compact-popover .root-grid button{height:25px;min-height:25px;line-height:1}.compact-popover .quality-grid small{font-size:7px;margin-left:2px}.library-popover .builtin-templates button{height:37px;min-height:37px;gap:2px}.library-popover .line-input{margin-top:3px;margin-bottom:3px;height:25px}.library-popover .degree-entry{margin:3px 0}.library-popover .done-button{min-height:24px;padding:4px 9px}.library-popover .library-actions{min-height:24px}.library-popover .preset-list{margin-top:4px}}@media(max-width:600px) and (min-height:601px){.compact-popover .quality-grid button{height:31px;min-height:31px}.compact-popover .root-grid button{height:30px}.compact-popover .popup-bottom{margin-top:6px}.compact-popover .voicing-caption{margin:4px 0}.compact-popover header{height:26px}.compact-popover .tiny-tabs button{min-height:28px}}@media(max-width:600px) and (max-height:600px) and (orientation:portrait){.compact-header{padding:4px 0}.practice-desk,.practice-desk.stepper-focused{margin-top:3px!important}.practice-body{min-height:216px}.compact-chords>button{height:42px}.main-keyboard .foundation-keyboard{height:77px}.desk-toolbar{margin-bottom:6px;gap:4px}.compact-controls{min-height:64px}.practice-desk.stepper-focused .hand-beat-slice{min-height:28px}.practice-desk.stepper-focused .rehearsal-hand-row,.rehearsal-hand-harmony .harmony-edit{min-height:34px}.compact-popover header{height:24px}.compact-popover .root-grid button{height:26px;min-height:26px}.compact-popover .quality-grid button{height:29px;min-height:29px}.compact-popover .voicing-row{margin-top:3px}.compact-popover .tiny-tabs button{min-height:26px}.compact-popover .voicing-caption{margin:3px 0}.compact-popover .popup-bottom{margin-top:4px}.library-popover .builtin-templates button{min-height:40px;padding:4px}.library-popover .line-input{margin:3px 0;height:27px}.library-popover .degree-entry,.library-popover .library-actions{margin:3px 0}}@media(max-width:600px) and (orientation:landscape){.compact-header{display:flex;gap:4px;height:40px;box-sizing:border-box}.compact-header>.quiet-button{max-width:92px;min-height:24px;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto}.compact-brand .practice-wordmark h1{font-size:12px}.compact-brand .practice-wordmark h1>span{display:inline;border:0;padding:0;margin:0 0 0 5px;font-size:9px}.compact-brand img{width:24px;height:24px}.compact-brand .practice-wordmark small{font-size:8px}.compact-header .back-button{min-width:53px;font-size:10px;padding:0 6px;height:26px}.header-tools{gap:2px}.compact-header .language-button{min-width:27px;font-size:9px}.compact-header .guide-help{min-width:24px;width:24px;height:24px}.desk-toolbar>.tiny-tabs button{min-width:67px;font-size:10px;padding:3px 5px;min-height:25px}.toolbar-actions .pattern-button,.toolbar-actions .template-button,.toolbar-actions .tool-button{font-size:9px;min-height:27px;padding:3px 5px}.toolbar-actions .segment-switch button{font-size:9px;padding:2px 5px}.compact-chords.count-8{grid-template-columns:repeat(8,minmax(0,1fr))}.compact-controls{grid-template-columns:1fr auto 1fr;grid-template-rows:auto;min-height:33px}.listen-controls{grid-column:1;grid-row:1}.transport-center{grid-column:2;grid-row:1}.compact-controls>.sound-controls{display:flex;grid-column:3;grid-row:1}.compact-controls .sound-controls{gap:3px}.compact-controls .sound-controls input[type=range]{width:30px}.compact-controls .tempo-control,.compact-controls .volume-control{font-size:8px;gap:2px}.piano-button span{display:none}.practice-body{min-height:175px}.stepper-top>span{display:none}.piano-popover{left:0!important}.chord-popover .voicing-row .segment-switch button{font-size:9px;padding:3px 6px}.library-popover .builtin-templates{grid-template-columns:repeat(4,minmax(0,1fr))}.library-popover>input.line-input{width:calc(50% - 6px);margin-right:6px}.library-popover p{font-size:9px}.library-popover .builtin-templates span{font-size:8px}}@media(max-width:600px) and (min-height:601px){.practice-body{min-height:292px}}@media(max-width:600px) and (max-height:600px) and (orientation:portrait){.compact-header,.compact-lab{padding-bottom:0}.compact-header{padding-top:0}.practice-body{min-height:240px}.practice-desk>.compact-controls{margin-top:2px}.original-stepper [data-guide=score]{padding-bottom:0}.stepper-top{margin-top:0}.compact-popover .popup-bottom .color-row{margin-bottom:3px}}@media(max-width:600px) and (orientation:landscape){.chord-popover{column-gap:10px}.chord-popover .voicing-row{flex-wrap:nowrap!important}.chord-popover .voicing-row>small{font-size:9px;white-space:nowrap}.chord-popover .voicing-row .segment-switch{padding:1px}.chord-popover .voicing-row .segment-switch button{padding:2px 4px;min-height:24px;font-size:8px}.chord-popover .octave-control{gap:3px}.chord-popover .octave-control select{min-width:60px}.chord-popover .quality-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chord-popover .quality-grid button{font-size:9px}.chord-popover .quality-grid small{font-size:6px}.chord-popover>.popup-bottom{margin-top:0}.chord-popover .voicing-caption{font-size:9px}}.library-tabs{margin-bottom:8px}.library-tabs button{min-height:28px;font-size:11px}.library-popover .preset-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none;overflow:visible}.library-popover .preset-list>div{min-width:0;margin:0}.library-popover .preset-list strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.preset-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:7px;font-size:11px}.preset-pagination button{border:1px solid #dfcea755;background:#23493d;color:#f4e3ba;border-radius:15px;width:28px;height:26px}.preset-pagination button:disabled{opacity:.3}@media(orientation:landscape) and (max-height:600px){.library-popover .preset-list{grid-template-columns:repeat(4,minmax(0,1fr))}.library-tabs{margin-bottom:4px}.library-tabs button{min-height:24px}.library-popover .preset-list span{font-size:9px}.library-popover .preset-list strong{font-size:11px}.library-popover .preset-list button{padding:5px}.preset-pagination{margin-top:4px}}@media(max-width:600px) and (orientation:landscape){.chord-popover{padding-top:5px;padding-bottom:5px}}@media(max-width:600px) and (max-height:600px) and (orientation:portrait){.stepper-top{gap:3px}.stepper-top .segment-switch{padding:2px;gap:1px}.stepper-top .page-switch,.stepper-top .segment-switch button{font-size:9px;padding:3px 5px;min-height:25px}.stepper-top>span{font-size:9px}.original-stepper .rehearsal-hand-harmony .harmony-edit{min-height:30px}}@media(orientation:landscape) and (max-height:600px){.compact-header>.quiet-button{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-brand .practice-wordmark h1{white-space:nowrap;font-size:18px}.compact-brand .practice-wordmark small{font-size:9px}.compact-header{height:44px;box-sizing:border-box}.compact-brand .practice-wordmark h1>span{font-size:11px}}@media(max-width:600px) and (orientation:landscape){.compact-header>.quiet-button{max-width:86px}.compact-brand .practice-wordmark h1{font-size:12px}.compact-brand .practice-wordmark h1>span{font-size:9px}}@media(orientation:landscape) and (max-height:600px){.custom-popover .popup-keyboard .foundation-keyboard{height:90px;min-height:90px}.custom-popover .popup-keyboard{height:94px}.custom-popover .line-input{margin:4px 0;padding:5px;height:28px}.custom-popover p{font-size:10px;line-height:1.3;margin:5px 0}.custom-popover .tiny-tabs button{min-height:25px}.custom-popover header{height:26px}.custom-popover .popup-bottom{margin-top:5px}}.compact-lab{--inset-top:max(env(safe-area-inset-top,0px),var(--safe-top,0px));--inset-right:max(env(safe-area-inset-right,0px),var(--safe-right,0px));--inset-bottom:max(env(safe-area-inset-bottom,0px),var(--safe-bottom,0px));--inset-left:max(env(safe-area-inset-left,0px),var(--safe-left,0px));min-height:var(--visible-height,100dvh);padding:var(--inset-top) var(--inset-right) max(8px,var(--inset-bottom)) var(--inset-left)}body:has(>.compact-lab),html:has(.compact-lab){min-height:var(--visible-height,100dvh)}.compact-lab .popover-backdrop{padding:max(8px,var(--inset-top)) max(8px,var(--inset-right)) max(8px,var(--inset-bottom)) max(8px,var(--inset-left));height:var(--visible-height,100dvh);box-sizing:border-box}.compact-lab .compact-popover{max-height:calc(var(--visible-height,100dvh) - var(--inset-top) - var(--inset-bottom) - 16px)}.device-menu{position:absolute;right:20px;top:100%;z-index:60;display:grid;gap:6px;max-width:calc(100% - 40px);padding:10px;background:#24493e;border:1px solid #dccba7;border-radius:14px;box-shadow:0 8px 30px #102d2380}.device-menu button{min-height:36px;color:#f1e4c8;background:#496251;border:1px solid #cbbd9270;border-radius:8px;padding:8px 12px;overflow-wrap:anywhere}.compact-lab button,.compact-lab input[type=range]{touch-action:manipulation}@media(prefers-reduced-motion:reduce){.compact-lab *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(orientation:landscape) and (max-height:375px){.compact-lab{padding-bottom:max(4px,var(--inset-bottom))}.main-keyboard .foundation-keyboard{height:75px}.practice-body{min-height:150px}.practice-desk.stepper-focused .hand-beat-slice{min-height:26px}.practice-desk.stepper-focused .rehearsal-hand-row{min-height:30px}}@media(orientation:landscape) and (max-height:350px){.compact-header{height:38px}.compact-brand img{height:27px;width:27px}.chord-popover>.quality-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.chord-popover .quality-grid small{display:none}.chord-popover .popup-bottom{margin-top:0}}@media(orientation:landscape) and (max-height:375px){.pattern-menu button{min-height:30px;padding:2px 8px;gap:1px}.pattern-menu strong{line-height:13px}.pattern-menu small{line-height:11px}}.compact-lab .rehearsal-hand-harmony>b{background:color-mix(in srgb,var(--hand-chord-color) 58%,#20382f);border-color:color-mix(in srgb,var(--hand-chord-color) 70%,#dfcfab)}