@import url('/public/pixel.css');
body{background:var(--paper);color:var(--ink)}body>header,body>footer{display:none}main{max-width:none;margin:0;padding:0}.card,details,.pill,.identity,.meter,.pitch-view,input:not([type=checkbox]),select,textarea,.production-desktop .phone,.production-desktop .side .hint,.sg-modal,.sg-modal-actions button{border-radius:0}.production-desktop{max-width:1440px;padding:0;gap:0;min-height:100dvh}.production-desktop .side{padding:32px 24px;top:0;width:240px;max-height:100dvh;color:var(--ink);border-right:1px solid var(--line);background:#f1eee6;min-height:100dvh}.production-desktop .side .brand{color:var(--ink)}.production-desktop .side>p{color:var(--muted)}.production-desktop .side .hint{background:#e9e4d9;border:1px solid var(--line);color:var(--muted)}.production-desktop .side nav a{background:transparent;color:var(--ink);border:0;border-radius:0}.production-desktop .side nav a[aria-current=page]{background:#e1dbf0}.production-desktop .phone{border:0;box-shadow:none;min-height:100dvh;background:var(--paper)}.production-desktop .scroll{padding:48px}.card{box-shadow:none;background:#fffdfa}button{border-radius:0;font-weight:600}button.secondary{box-shadow:2px 2px 0 #d6d0df;border-color:var(--ink)}.discovery-layout{display:flex;max-width:1520px;margin:auto;min-height:100dvh}.discovery-side{position:sticky;top:0;height:100dvh;width:236px;flex:none;background:#f1eee6;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;gap:16px;overflow:auto}.discovery-side .pixel-logo{font-size:24px;color:var(--ink)}.discovery-side p{margin:0}.discovery-side nav{display:flex;flex-direction:column;gap:7px;margin:16px 0}.discovery-side nav button{background:none;box-shadow:none;color:var(--muted);border:0;justify-content:flex-start;font-size:14px;padding:12px 9px;font-weight:500}.discovery-side nav button.active{color:var(--ink);background:#e1dbed;border-left:3px solid var(--purple)}.discovery-side nav small{margin-left:auto;font:9px ui-monospace,monospace;text-transform:uppercase}.discovery-side>button{font-size:11px;min-height:35px;padding:6px}.side-scene{height:105px;margin-top:auto;overflow:hidden;border:1px solid #c5c5c9;flex-shrink:0}.discovery-main{flex:1;min-width:0}.discovery-top{display:flex;height:82px;padding:24px 45px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:none;color:var(--muted);font:10px ui-monospace,monospace;letter-spacing:.08em}.top-dot{color:var(--purple);padding:0 12px}.discovery-content{padding:42px 48px 65px;max-width:1220px;margin:auto}.discovery-content h1{font-size:clamp(38px,4.5vw,62px);font-weight:500;letter-spacing:-.05em;margin:15px 0 20px}.discovery-content p{overflow-wrap:normal}.discovery-content .lead{max-width:670px;font-size:16px}.discovery-content h2{font-size:29px}.discovery-content h3{font-size:20px;font-weight:550}.discovery-content .pixel-card{padding:26px}.discovery-steps{display:flex;align-items:center;gap:14px;font:11px ui-monospace,monospace;color:#9d98a9;margin:0 0 45px;flex-wrap:wrap}.discovery-steps i{font-style:normal;color:#d3cedc}.discovery-steps .current{color:var(--purple);font-weight:700}.discovery-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.discovery-content .number{font:11px ui-monospace,monospace;letter-spacing:.08em;color:var(--purple)}.quest-locked{opacity:.6}.range-start{max-width:640px}.range-start select{max-width:280px;display:inline-block;margin-right:10px}.range-console{max-width:720px;border:1px solid var(--line);text-align:center;padding:30px;background:#fffdf9}.target-note{font:72px ui-monospace,monospace;letter-spacing:-.07em;color:var(--purple);line-height:1.4}.range-console .row{justify-content:center}.piano-strip{display:flex;justify-content:center;height:52px;margin:25px 0 16px;overflow:hidden}.piano-strip i{width:22px;background:#fff;border:1px solid #cac5d6;position:relative}.piano-strip i:not(:nth-child(7n)):not(:nth-child(7n+3)):after{content:'';position:absolute;right:-5px;top:0;width:10px;height:30px;background:var(--ink);z-index:1}.piano-strip i.lit{background:var(--purple)}.live-note{font:12px ui-monospace,monospace;color:var(--muted);min-height:25px}.range-summary{display:flex;gap:35px;justify-content:center;padding:38px 24px;background:#eee9f7;border:1px solid #d9d0ea;align-items:center;margin:28px 0;max-width:780px}.range-summary div{text-align:center;display:flex;flex-direction:column}.range-summary div>span{font:10px ui-monospace,monospace;color:var(--muted)}.range-summary strong{font:64px ui-monospace,monospace;line-height:1.5;color:var(--purple)}.signature-tasks{display:grid;grid-template-columns:1fr 1fr;gap:16px}.signature-tasks .pixel-card{margin:0}.signature-tasks .pill{font-size:9px}.signature-result{display:grid;grid-template-columns:1fr 1.2fr;gap:38px;margin:34px 0}.butterfly-stage{background:#eee9f5;border:1px solid #d5cce6;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;min-height:440px}.butterfly-stage .pixel-butterfly{margin:15px 0;max-width:300px}.butterfly-stage p{font-weight:600;font-size:15px;color:var(--purple)}.butterfly-stage small{font-size:10px}.signature-axis{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.axis-number{display:grid;place-items:center;background:var(--ink);color:white;font:11px ui-monospace,monospace;width:24px;height:24px;flex:none;margin-top:3px}.signature-axis>div{flex:1}.signature-axis h3{font-size:14px;margin:0}.signature-axis h3 span{float:right;color:var(--purple);font:11px ui-monospace,monospace;margin-top:3px}.signature-axis p{font-size:12px;margin:5px 0 10px;color:var(--muted)}.axis-track{height:4px;background:#dfd9e8;position:relative;margin-right:8px}.axis-track i{position:absolute;width:7px;height:9px;top:-3px;background:var(--purple)}.signature-axis small{font-size:10px}.world-banner{position:relative;height:230px;overflow:hidden;background:#d7d9ff;border:1px solid #c5c5db;margin:30px 0}.world-avatar{position:absolute;width:140px;top:0;left:calc(50% - 70px)}.world-caption{position:absolute;left:20px;bottom:15px;font:10px ui-monospace,monospace;color:#fff4d8}.home-stats{margin-top:-1px}.home-stats .pixel-card{background:#fffdfa}.home-stats h2{margin:15px 0}.avatar-roadmap{margin-top:25px;background:#eeece2}.avatar-roadmap p{margin-bottom:0}.guild-code{font:24px ui-monospace,monospace;display:inline-block;padding:15px;background:#ece7f5;margin:15px 20px 15px 0;letter-spacing:.12em}.meter,.meter span{border-radius:0}.meter{height:7px;max-width:550px;margin:20px auto;background:#eee8f2}.meter span{background:var(--purple)}#notice:not(:empty){border-radius:0;box-shadow:4px 4px #b9a5db}.narrow .card .row{gap:12px}@media(max-width:1000px){.discovery-side{width:196px;padding:25px 14px}.discovery-content{padding:30px 25px}.signature-result{gap:20px;grid-template-columns:1fr 1fr}.discovery-content .pixel-grid{grid-template-columns:1fr}}@media(max-width:700px){.discovery-layout{display:block}.discovery-side{width:auto;height:auto;position:static;display:block;padding:16px 20px;border-right:0;border-bottom:1px solid var(--line)}.discovery-side>.pixel-label,.discovery-side>.muted,.side-scene,.discovery-side>button{display:none}.discovery-side nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;margin:12px 0 0;gap:4px}.discovery-side nav button{white-space:nowrap;padding:8px;font-size:11px;flex:none}.discovery-side nav small{display:none}.discovery-top{padding:15px 20px;height:50px;font-size:8px}.discovery-content{padding:26px 20px 45px}.discovery-content h1{font-size:38px}.discovery-two,.signature-result,.signature-tasks{grid-template-columns:1fr}.discovery-steps{gap:7px;font-size:9px;margin-bottom:27px}.discovery-steps i{display:none}.discovery-steps span{margin-right:8px}.range-console{padding:24px 14px}.range-summary{gap:20px;padding:25px 15px}.range-summary strong{font-size:45px}.range-summary div>span{font-size:8px}.butterfly-stage{min-height:300px}.world-banner{height:190px}.production-desktop .side{width:auto;min-height:0;max-height:none;position:static}.production-desktop .scroll{padding:25px 20px}.production-desktop .phone{border:0;border-radius:0;box-shadow:none}.production-desktop .side .brand{color:var(--ink)}}
@media(max-width:700px){.discovery-side>button{display:inline-flex;font-size:10px;padding:5px 9px;min-height:32px;margin:8px 6px 0 0}.discovery-side .pixel-logo{display:block}.production-desktop .side nav a{color:var(--ink)}}
.range-console input[type=range]{appearance:none;height:10px;min-height:10px;padding:0;border:1px solid #bbb2ce;background:#e6e0ee;max-width:420px;margin:15px auto 24px;display:block;cursor:ew-resize}.range-console input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:24px;background:var(--purple);border:2px solid var(--ink);border-radius:0;box-shadow:2px 2px var(--ink)}.range-console input[type=range]::-moz-range-thumb{width:15px;height:22px;background:var(--purple);border:2px solid var(--ink);border-radius:0}.range-console input[type=range]:disabled{cursor:not-allowed;opacity:.5}
/* Avatar is the main character; the signature butterfly is its smaller companion. */
.world-banner{height:285px}.world-avatar{width:190px;left:calc(50% - 95px);top:auto;bottom:12px;height:245px;display:grid;place-items:center}.avatar-art{display:block;object-fit:contain;width:100%;height:100%;filter:drop-shadow(0 7px 5px #25213922)}.world-companion{position:absolute;width:90px;left:calc(50% + 70px);top:28px;animation:float 6s ease-in-out infinite}.avatar-companion-scene{position:relative;width:100%;max-width:340px;height:280px;margin:20px 0}.principal-avatar{position:absolute;width:190px;height:260px;left:calc(50% - 110px);bottom:0}.signature-companion{position:absolute;width:95px;right:0;top:8px}.signature-companion .pixel-butterfly{margin:0}.avatar-unselected{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#eee8f2;border:1px dashed #a599b5;clip-path:polygon(20% 0,80% 0,80% 16%,100% 16%,100% 72%,78% 72%,78% 100%,22% 100%,22% 72%,0 72%,0 16%,20% 16%)}.avatar-unselected>span{font:65px ui-monospace,monospace;color:#9b8db3}.avatar-unselected small{font:9px ui-monospace,monospace;color:#82758d}.world-banner .avatar-unselected{background:#e5dfed}.world-caption{max-width:240px;font-size:9px;background:#355f55;padding:7px 10px}@media(max-width:700px){.world-banner{height:260px}.world-avatar{height:215px;width:165px;left:calc(50% - 83px)}.world-companion{width:72px;left:calc(50% + 59px);top:25px}.world-caption{font-size:8px;bottom:8px;left:10px}.avatar-companion-scene{height:250px}.principal-avatar{height:235px;width:170px;left:calc(50% - 105px)}.signature-companion{width:80px;right:0}}

/* Original SVG piano: white and black keys follow their actual semitone positions. */
#rangePiano{overflow-x:auto;margin:8px 0 12px;padding:4px 2px}.range-piano{display:block;width:100%;min-width:540px;height:auto;max-height:160px}.piano-key rect{stroke:#302c4c;stroke-width:1;fill:#fffdf9}.piano-key.black rect{fill:#302c4c}.piano-key text{font:8px ui-monospace,monospace;text-anchor:middle;fill:#5e586e;pointer-events:none}.piano-key.black text{fill:#fffdf9}.piano-key.challenge rect{fill:#93d9d0;stroke:#18756e;stroke-width:2}.piano-key.challenge text{fill:#153e3a}.piano-key.detected rect{fill:#e6a4ce;stroke:#843266;stroke-width:2}.piano-key.detected text{fill:#46203b}.piano-key.supported rect{stroke:#7658eb;stroke-width:3}.piano-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;font:10px ui-monospace,monospace}.piano-legend .detected{color:#843266}.piano-legend .challenge{color:#18756e}.piano-legend .supported{color:#7658eb}.range-console .target-note{font-size:clamp(32px,7vw,64px)}

/* Piano-led range discovery: only the actions needed for the current stage. */
.range-focused{max-width:1040px}.range-focused h1{font-size:clamp(30px,4vw,46px);margin-bottom:28px}.range-focused .range-console{max-width:none;padding:30px 24px}.range-focused .live-note{font-size:42px;color:var(--purple);margin:24px 0 12px;line-height:1.2}.range-focused #noteStatus{font-size:17px;max-width:560px;margin:12px auto}.range-question{font-size:26px;font-weight:600;color:var(--purple);margin:18px 0}.range-listening{font:11px ui-monospace,monospace;color:var(--muted);min-height:16px}.range-actions{margin:24px 0 12px}.range-actions [hidden]{display:none}.range-scope{max-width:none;margin-top:20px;background:transparent}.range-result-piano{margin:25px 0;background:#fffdfa;border:1px solid var(--line);padding:24px}.piano-scroll{overflow-x:auto;padding:4px}.piano-key.in-range rect{fill:#d6caef}.piano-key.black.in-range rect{fill:#7658ab}.piano-key.black.in-range text{fill:#fff}.piano-key.range-low rect,.piano-key.range-high rect{fill:#93d9d0;stroke:#18756e;stroke-width:3}.piano-key.range-low text,.piano-key.range-high text{fill:#153e3a}.range-result-piano figcaption{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0;font:12px ui-monospace,monospace}.range-result-piano figcaption strong{text-align:center;color:var(--purple)}.range-result-piano .muted{font-size:11px}@media(max-width:700px){.range-focused .range-console{padding:22px 12px}.range-result-piano{padding:16px 10px}.range-result-piano figcaption{flex-wrap:wrap}.range-result-piano figcaption strong{order:3;width:100%;margin-top:8px}.range-question{font-size:23px}}

.range-console[hidden]{display:none}.range-completion{margin-top:24px;text-align:center;padding:36px 24px}.range-completion h2{font-size:30px}.range-completion [role=alert]{color:#963c53}.range-completion[aria-busy=true]{border-top:4px solid var(--purple)}

.signature-feedback[hidden]{display:none}.signature-feedback{margin-top:18px;border-top:1px solid var(--line);padding-top:8px}.signature-feedback .meter{margin:16px 0;width:100%;max-width:none}.signature-tasks .is-recording{outline:2px solid var(--purple);outline-offset:2px}.signature-feedback [role=status]{font:12px ui-monospace,monospace}.signature-processing{max-width:850px}.signature-processing h1{font-size:48px}.signature-axis small{display:block;line-height:1.55;margin-top:8px}

.signature-feedback progress{display:block;width:100%;height:12px;margin:10px 0 14px;accent-color:var(--purple)}

.capture-cue{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;background:#f3ead9;border:2px solid #9c7840;padding:22px 14px;margin:5px 0 22px;min-height:205px}.capture-cue-label{font:700 12px ui-monospace,monospace;letter-spacing:.06em}.capture-cue-value{font:700 86px/1.05 ui-monospace,monospace;color:#785423}.capture-cue-hint{font-size:13px;line-height:1.5;max-width:280px}.capture-cue[data-phase=recording]{background:#e2f1e9;border-color:#276b54}.capture-cue[data-phase=recording] .capture-cue-value{font-size:38px;color:#205c48}.capture-cue[data-phase=preparing] .capture-cue-value,.capture-cue[data-phase=cancelled] .capture-cue-value,.capture-cue[data-phase=error] .capture-cue-value{font-size:32px}.signature-feedback #holdTimer[hidden]{display:none}

.capture-cue[data-phase=saving] .capture-cue-value{font-size:32px}

.voice-class-overview{margin:26px 0}.voice-class-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.voice-class-chip{display:flex;flex-direction:column;justify-content:center;min-height:65px;padding:12px;border:1px solid var(--line);background:#fffdfa;font-size:15px}.voice-class-chip small{font:10px ui-monospace,monospace;margin-top:6px;color:var(--purple)}.voice-class-chip.is-suggested{border:2px dashed var(--purple)}.voice-class-chip.is-selected{background:#eee7fa;border:2px solid var(--purple)}@media(max-width:700px){.voice-class-options{grid-template-columns:repeat(2,1fr)}}
