.cinematic-stage{position:relative;isolation:isolate;overflow:hidden}.cinematic-stage>.stage-sculpture{position:absolute;inset:0 0 44px;pointer-events:none;z-index:0;opacity:.82;transition:opacity .6s ease}.sculpture-webgl{position:absolute;inset:0}.sculpture-webgl canvas{display:block;width:100%;height:100%}.sculpture-fallback{position:absolute;top:50%;left:50%;width:160px;height:160px;transform:translate(-50%,-50%)}.sculpture-fallback i{position:absolute;inset:0;border:25px solid #5D6F82;border-radius:45%;box-shadow:inset 6px 6px #2a333d;transform:rotate(35deg) skewY(15deg)}.sculpture-fallback i:nth-child(2){transform:rotate(95deg) skewY(15deg);border-color:#2a333d}.sculpture-fallback i:nth-child(3){transform:rotate(155deg) skewY(15deg);border-color:#5d6f82}.sculpture-ready .sculpture-fallback{display:none}.cinematic-stage.preview-stage:after{content:"";position:absolute;left:0;right:0;bottom:44px;height:48px;z-index:0;pointer-events:none;background:linear-gradient(to top,#171c22,#171c2200)}.cinematic-stage.presentation-stage>.stage-sculpture{inset:0;opacity:.55}.cinematic-stage.welcome-stage>.stage-sculpture{inset:0;opacity:1}.cinematic-stage.stage-occupied>.stage-sculpture{opacity:.28;transition:opacity 1.2s ease .9s}.cinematic-stage.presentation-stage.stage-occupied>.stage-sculpture{opacity:.26}.cinematic-stage.stage-drawing>.stage-sculpture{opacity:.6;transition:opacity .5s ease}.cinematic-stage.presentation-stage.stage-drawing>.stage-sculpture{opacity:.5}@media(prefers-reduced-motion:reduce){.cinematic-stage>.stage-sculpture{transition:none}}.manual-guide-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;color:#e7eef5;background:#0b0d10;border:1px solid #2A333D;border-radius:30px;font-size:var(--controller-text-sm);letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.manual-guide-trigger:hover{background:#171c22;border-color:#5d6f82}.manual-guide-dialog{width:min(860px,calc(100vw - 36px));max-width:none;max-height:min(860px,calc(100dvh - 48px));margin:auto;padding:0;color:#e7eef5;background:#171c22;border:1px solid #2A333D;border-radius:22px;overflow-y:auto;overscroll-behavior:contain;font-size:calc(13px * var(--controller-text-scale, 1));text-align:left}.manual-guide-dialog::backdrop{background:#0b0d10;opacity:.86}.manual-guide-dialog[open]{animation:manual-guide-appear .18s ease-out}.manual-guide-frame{display:flex;flex-direction:column;min-height:0}.manual-guide-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:30px 32px 25px;flex-shrink:0}.manual-guide-eyebrow{margin:0 0 18px;color:var(--color-muted-text);font-size:.88em;font-weight:500}.manual-guide-header h2{margin:0;font-size:2.4em;line-height:1.12;letter-spacing:-.045em;font-weight:500}.manual-guide-subtitle{color:#e7eef5;opacity:.72;margin:11px 0 0;font-size:.97em;line-height:1.7}.manual-guide-close{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #2A333D;border-radius:50%;color:#e7eef5;background:#171c22}.manual-guide-close:hover{background:#2a333d}.manual-guide-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:8px 32px 32px;overflow-y:auto;min-height:0}.manual-guide-language-option{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:32px;padding:22px;border:1px solid #2A333D;border-radius:12px;color:#e7eef5;background:#0b0d10;text-align:left}.manual-guide-language-option:hover{background:#2a333d;border-color:#5d6f82}.manual-guide-language-option strong{display:block;font-size:1.3em;font-weight:500;line-height:1.35}.manual-guide-language-option span>span{display:block;margin-top:9px;font-size:.87em;color:var(--color-muted-text);line-height:1.5}.manual-guide-language-option:hover span>span{color:#e7eef5}.manual-guide-language-option>svg{align-self:flex-end}.manual-guide-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:0 32px 17px;border-bottom:1px solid #2A333D;flex-shrink:0}.manual-guide-nav{display:flex;flex-wrap:wrap;gap:4px}.manual-guide-nav button{padding:8px 11px;border:0;border-radius:7px;color:#e7eef5;background:#171c22;font-size:.92em;line-height:1.4}.manual-guide-nav button[aria-current=page]{background:#e7eef5;color:#0b0d10}.manual-guide-nav button:hover:not([aria-current=page]){background:#2a333d}.manual-guide-language{display:inline-flex;align-items:center;gap:6px;padding:8px 0;border:0;background:#171c22;color:#e7eef5;font-size:.85em}.manual-guide-language:hover{color:var(--color-muted-text)}.manual-guide-content{flex-shrink:0;padding:28px 32px 32px;scrollbar-width:thin;scrollbar-color:#5D6F82 #171C22}.manual-guide-content::-webkit-scrollbar,.manual-guide-languages::-webkit-scrollbar{width:5px}.manual-guide-content::-webkit-scrollbar-track,.manual-guide-languages::-webkit-scrollbar-track{background:#171c22}.manual-guide-content::-webkit-scrollbar-thumb,.manual-guide-languages::-webkit-scrollbar-thumb{background:#5d6f82;border-radius:5px}.manual-guide-content h3{font-weight:500;font-size:1.65em;letter-spacing:-.03em;line-height:1.25;margin:0 0 10px}.manual-guide-content h3:focus{outline:none}.manual-guide-intro{margin:0 0 25px;line-height:1.75;color:#e7eef5;opacity:.72;max-width:65ch}.manual-guide-items{display:grid;gap:22px}.manual-guide-item{border-top:1px solid #2A333D;padding-top:19px}.manual-guide-item-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.manual-guide-item h4{margin:0;font-size:1.04em;font-weight:500;line-height:1.5}.manual-guide-item p{margin:8px 0 0;max-width:76ch;font-size:.97em;line-height:1.8;color:#e7eef5;opacity:.8}.manual-guide-keys{display:flex;align-items:center;gap:5px;flex-shrink:0}.manual-guide-keys kbd{border:1px solid #5D6F82;border-radius:5px;background:#0b0d10;padding:4px 9px;min-width:35px;text-align:center;font-size:.86em}.manual-guide-note{margin-top:26px;padding:16px 18px;border-left:2px solid #5D6F82;border-radius:0 8px 8px 0;background:#0b0d10;line-height:1.8;font-size:.94em}.manual-guide-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 32px;border-top:1px solid #2A333D;color:var(--color-muted-text);font-size:.85em;flex-shrink:0}.manual-guide-footer button{display:inline-flex;align-items:center;gap:8px;color:#e7eef5;border:0;padding:2px;background:#171c22;font-size:inherit}.manual-guide-footer kbd{border:1px solid #2A333D;border-radius:4px;padding:3px 5px;color:var(--color-muted-text)}.manual-guide-dialog button:focus-visible,.manual-guide-trigger:focus-visible{outline:2px solid #E7EEF5;outline-offset:3px}@keyframes manual-guide-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:640px){.manual-guide-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.manual-guide-header{padding:22px 20px 19px;gap:12px}.manual-guide-header h2{font-size:2em}.manual-guide-eyebrow{margin-bottom:12px}.manual-guide-languages{grid-template-columns:1fr;padding:4px 20px 24px}.manual-guide-language-option{flex-direction:row;align-items:center;padding:18px;gap:16px}.manual-guide-language-option>svg{align-self:center}.manual-guide-toolbar{padding:0 20px 14px;gap:8px}.manual-guide-nav{gap:2px}.manual-guide-nav button{padding:7px 9px}.manual-guide-content{padding:22px 20px 24px}.manual-guide-footer{padding:14px 20px;flex-wrap:wrap}}@media(max-width:620px){.manual-guide-trigger{padding:10px 13px}}@media(prefers-reduced-motion:reduce){.manual-guide-dialog[open]{animation:none}}.history-export{margin-top:22px}.controller-shell .history-export-button{width:100%;min-height:40px;padding:10px 14px;gap:8px}.history-export-button:hover:not(:disabled){border-color:#5d6f82}.history-export-button:focus-visible{outline:2px solid #E7EEF5;outline-offset:3px}.history-export-status{color:var(--color-muted-text);font-size:var(--controller-text-sm);line-height:1.6;overflow-wrap:anywhere}.history-export-status:not(:empty){margin-top:9px}.history-export-status[role=alert]{color:#e7eef5}.history-export-spinner{animation:history-export-spin 1s linear infinite}@keyframes history-export-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.history-export-spinner{animation:none}}@media(max-width:1000px){.controller-shell .history-export-button{width:auto;min-width:148px}}.controller-shell .app-topbar{flex-wrap:wrap;padding-top:20px;padding-bottom:20px}.controller-shell .branding{flex-shrink:0}.controller-shell .brand-name{font-size:calc(20px * var(--controller-text-scale, 1))}.controller-shell .brand-credit{font-size:var(--controller-text-sm)}.controller-shell .topbar-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;margin-left:auto}.controller-shell .secondary-button,.controller-shell .primary-button{font-size:var(--controller-text-base)}.controller-shell .launch-button{font-size:var(--controller-text-sm)}.controller-shell .controller-text-control{display:flex;align-items:center;gap:9px;margin-right:8px}.controller-shell .controller-text-label{color:var(--color-muted-text);font-size:var(--controller-text-sm);white-space:nowrap}.controller-shell .controller-text-buttons{display:flex;align-items:stretch;padding:3px 7px;border:1px solid #2A333D;border-radius:30px;background:#0b0d10}.controller-shell .controller-text-buttons button{min-height:34px;border:0;border-radius:50%;color:#e7eef5;background:#0b0d10}.controller-shell .controller-text-buttons button:hover:not(:disabled){background:#2a333d}.controller-shell .controller-text-buttons button:disabled{color:#5d6f82}.controller-shell .controller-text-step{min-width:36px;padding:6px 9px;font-size:var(--controller-text-lg);font-weight:500}.controller-shell .controller-text-sign{font-size:.8em;margin-left:1px}.controller-shell .controller-text-reset{min-width:58px;padding:6px 8px;font-size:var(--controller-text-md);font-variant-numeric:tabular-nums}.controller-shell .section-label{font-size:var(--controller-text-sm);line-height:1.6}.controller-shell .field-label{font-size:var(--controller-text-base)}.controller-shell .input-shell{flex-wrap:wrap}.controller-shell .input-shell input{flex:1 1 105px;font-size:calc(22px * var(--controller-text-scale, 1))}.controller-shell .input-shell>span{flex:0 1 auto;font-size:var(--controller-text-sm)}.controller-shell .field-hint{font-size:var(--controller-text-sm)}.controller-shell .apply-button,.controller-shell .field-error{font-size:var(--controller-text-md)}.controller-shell .toggle-row>div{min-width:0}.controller-shell .segmented button{white-space:normal;overflow-wrap:normal;line-height:1.45;font-size:var(--controller-text-sm)}.controller-shell .scale-label{font-size:var(--controller-text-md)}.controller-shell .scale-label output{font-size:var(--controller-text-sm)}.controller-shell .scale-endpoints{font-size:var(--controller-text-sm)}.controller-shell .preview-heading{flex-wrap:wrap;font-size:var(--controller-text-md)}.controller-shell .preview-indicator{font-size:var(--controller-text-sm)}.controller-shell .preview-baseline{line-height:1.6;font-size:var(--controller-text-sm)}.controller-shell .baseline-mark{flex-shrink:0;font-size:calc(15px * var(--controller-text-scale, 1))}.controller-shell .history-draw-heading{font-size:var(--controller-text-sm)}.controller-shell .session-stats>div{min-width:0;padding:0 6px;text-align:center}.controller-shell .stat-value{overflow-wrap:anywhere;font-size:calc(23px * var(--controller-text-scale, 1))}.controller-shell .stat-label{font-size:var(--controller-text-sm)}.controller-shell .draw-button{gap:12px;line-height:1.4;text-align:left;font-size:var(--controller-text-lg)}.controller-shell .draw-note{flex-wrap:wrap;line-height:1.6;font-size:var(--controller-text-sm)}.controller-shell .history-heading{align-items:flex-start}.controller-shell .count-badge{flex-shrink:0;font-size:var(--controller-text-sm)}.controller-shell .history-entry-meta{flex-wrap:wrap;line-height:1.5;font-size:var(--controller-text-sm)}.controller-shell .history-entry-meta>span{display:flex;align-items:baseline;flex-wrap:wrap}.controller-shell .history-chips span,.controller-shell .empty-history p{font-size:var(--controller-text-base)}.controller-shell .empty-history>span{font-size:var(--controller-text-sm)}.controller-shell .history-bottom{font-size:var(--controller-text-sm)}.controller-shell .app-footer{min-height:55px;padding:10px 0;gap:12px;flex-wrap:wrap}.controller-shell .footer-note,.controller-shell .text-button{font-size:var(--controller-text-sm)}.controller-shell .reset-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.controller-shell .reset-dialog h2{font-size:calc(24px * var(--controller-text-scale, 1))}.controller-shell .reset-dialog p{font-size:var(--controller-text-base)}.controller-shell .dialog-actions{flex-wrap:wrap}.controller-shell .dialog-actions button{flex:1 1 130px}@media(max-width:620px){.controller-shell .app-topbar{gap:18px}.controller-shell .topbar-actions{width:100%;justify-content:flex-start;gap:10px}.controller-shell .controller-text-control{margin-right:auto}.controller-shell .controller-text-label{display:none}.controller-shell .controller-text-buttons{padding:2px}.controller-shell .controller-text-step{min-width:30px;padding:6px}.controller-shell .controller-text-reset{min-width:44px;padding:6px}}.sound-controls{display:flex;align-items:center;gap:3px}.sound-settings-trigger{display:grid;place-items:center;width:32px;height:38px;color:#5d6f82;background:none;border:0;border-radius:20px}.sound-settings-trigger:hover{color:#e7eef5;background:#171c22}.sound-dialog{width:min(420px,calc(100vw - 36px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #2A333D;border-radius:22px;background:#171c22;color:#e7eef5}.sound-dialog::backdrop{background:#0b0d10;opacity:.85}.sound-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px}.sound-dialog-heading h2{font-size:25px;letter-spacing:-.05em;font-weight:400;margin:7px 0 0}.sound-dialog-heading button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #2A333D;border-radius:50%;color:#e7eef5;background:none}.sound-dialog p{color:var(--color-muted-text);font-size:12px;line-height:1.6;margin:5px 0 24px}.sound-dialog-heading p{margin:0}.sound-dialog label{display:flex;justify-content:space-between;font-size:14px;margin-bottom:12px}.sound-dialog output{color:var(--color-muted-text)}.sound-dialog input[type=range]{width:100%;accent-color:#E7EEF5}.sound-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px}.sound-dialog-actions button{display:flex;align-items:center;gap:8px}.sound-dialog .sound-output-note{margin:22px 0 0;font-size:11px}.welcome-overlay{position:fixed;inset:0;z-index:100;background:#0b0d10;overflow:hidden;pointer-events:auto}.welcome-screen{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100%;height:100%;overflow:hidden;background:#0b0d10;color:#e7eef5}.welcome-scene{position:absolute;inset:0;z-index:-1}.welcome-scene>.welcome-stage{width:100%;height:100%;min-height:100%;border:0;border-radius:0;background:#0b0d10;touch-action:pan-y;cursor:grab}.welcome-scene>.welcome-stage:active{cursor:grabbing}.welcome-topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:clamp(24px,4vh,50px) clamp(26px,5vw,84px);pointer-events:none}.welcome-brand{display:flex;align-items:center;gap:13px}.welcome-brand>svg{width:38px;height:38px;fill:none;stroke:#e7eef5;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.welcome-brand span{display:block;font-size:20px;letter-spacing:-.05em}.welcome-brand small{display:block;margin-top:5px;color:var(--color-muted-text);font-size:11px;letter-spacing:.025em}.welcome-top-note{color:var(--color-muted-text);font-size:11px;letter-spacing:.02em}.welcome-layout{flex:1;display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:20px;width:100%;padding:54px clamp(26px,5vw,84px) 72px;pointer-events:none}.welcome-copy{position:relative;max-width:690px}.welcome-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 25px;font-size:11px;color:var(--color-muted-text);letter-spacing:.035em}.welcome-eyebrow>span{width:5px;height:5px;border-radius:50%;background:#5d6f82}.welcome-copy h1{font-size:clamp(45px,5.1vw,86px);font-weight:400;letter-spacing:-.068em;line-height:1.035;margin:0}.welcome-description{margin:25px 0 35px;max-width:320px;color:#e7eef5;opacity:.68;font-size:15px;line-height:1.6}.welcome-entry-controls{pointer-events:auto;width:fit-content;max-width:100%}.welcome-entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px}.welcome-entry-actions button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;gap:10px;border-radius:30px;font-size:12px;font-weight:500;letter-spacing:.005em}.welcome-enter-sound{background:#e7eef5;color:#0b0d10;border:1px solid #E7EEF5;padding:13px 19px}.welcome-enter-sound>svg:last-child{margin-left:18px;transition:transform .18s}.welcome-enter-sound:hover{background:#e7eef5;transform:translateY(-2px)}.welcome-enter-sound:hover>svg:last-child{transform:translate(3px)}.welcome-enter-sound:active{transform:translateY(0)}.welcome-enter-silent{padding:12px 0;border:0;background:none;color:#e7eef5}.welcome-enter-silent>svg{color:#5d6f82}.welcome-enter-silent:hover{color:var(--color-muted-text)}.welcome-skip-preference{position:relative;display:flex;align-items:center;gap:9px;width:fit-content;margin-top:24px;padding:4px 0;font-size:11px;color:var(--color-muted-text);cursor:pointer}.welcome-skip-preference input{position:absolute;width:18px;height:18px;left:0;top:50%;transform:translateY(-50%);margin:0;opacity:0}.welcome-checkbox{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;background:#0b0d10;border:1px solid #5D6F82;border-radius:4px}.welcome-checkbox svg{width:13px;height:13px;fill:none;stroke:#0b0d10;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}.welcome-skip-preference input:checked+.welcome-checkbox{background:#e7eef5;border-color:#e7eef5}.welcome-skip-preference input:checked+.welcome-checkbox svg{visibility:visible}.welcome-skip-preference input:focus-visible+.welcome-checkbox{outline:2px solid #E7EEF5;outline-offset:4px}.welcome-skip-preference:hover{color:#e7eef5}.welcome-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:83px;padding:18px clamp(26px,5vw,84px) 28px;color:var(--color-muted-text);font-size:11px;pointer-events:none}.welcome-drag-hint{display:flex;align-items:center;gap:10px}.welcome-drag-hint>span{color:#e7eef5;font-size:18px}.welcome-footer-note{letter-spacing:.025em}@media(min-width:1500px){.welcome-layout{padding-bottom:100px}.welcome-entry-actions{gap:26px}}@media(max-height:720px)and (min-width:701px){.welcome-topbar{padding-top:24px;padding-bottom:24px}.welcome-layout{padding-top:32px;padding-bottom:34px}.welcome-copy h1{font-size:clamp(43px,5.1vw,68px)}.welcome-eyebrow{margin-bottom:20px}.welcome-description{margin:22px 0 27px}.welcome-footer{min-height:65px;padding-bottom:20px}}@media(max-width:900px)and (min-width:701px){.welcome-layout{grid-template-columns:1.15fr 1fr}.welcome-entry-actions{gap:8px 15px}.welcome-entry-actions button{font-size:11px}.welcome-enter-sound{padding:12px 15px}.welcome-enter-sound>svg:last-child{margin-left:4px}}@media(max-width:700px){.welcome-topbar{padding:24px}.welcome-top-note{display:none}.welcome-layout{display:flex;flex-direction:column-reverse;align-items:stretch;gap:0;padding:0 26px 25px}.welcome-hero-space{min-height:clamp(190px,33vh,360px)}.welcome-copy{text-align:center;align-self:center;width:100%;max-width:430px}.welcome-eyebrow{justify-content:center;margin-bottom:17px}.welcome-copy h1{font-size:clamp(42px,8.7vw,60px)}.welcome-description{max-width:none;font-size:13px;margin:18px 0 25px}.welcome-entry-controls{margin:0 auto}.welcome-entry-actions{justify-content:center;gap:10px 20px}.welcome-skip-preference{margin:18px auto 0}.welcome-footer{padding:15px 26px 24px;min-height:60px}.welcome-footer-note{display:none}.welcome-drag-hint{margin:0 auto}}@media(max-width:420px){.welcome-entry-actions{flex-direction:column;gap:1px}.welcome-enter-silent{min-height:40px!important}.welcome-skip-preference{margin-top:12px}}@media(prefers-reduced-motion:reduce){.welcome-enter-sound:hover,.welcome-enter-sound:hover>svg:last-child{transform:none}}@font-face{font-family:Aeonik;src:url(../fonts/aeonik/Aeonik-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Aeonik;src:url(../fonts/aeonik/Aeonik-Medium.ttf) format("truetype");font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:Aeonik;src:url(../fonts/aeonik/Aeonik-Bold.ttf) format("truetype");font-style:normal;font-weight:600 700;font-display:swap}@layer base{*,:before,:after,::backdrop{box-sizing:border-box;margin:0;padding:0;border:0 solid}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent}h1,h2,h3,h4{font-size:inherit;font-weight:inherit}kbd{font-size:1em;font-feature-settings:normal;font-variation-settings:normal}svg,canvas{display:block;vertical-align:middle}button,input,select{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background-color:transparent;border-radius:0;opacity:1}button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}:-moz-focusring:where(:not(iframe)){outline:auto}:-moz-ui-invalid{box-shadow:none}}:root{--color-muted-text: #808F9F;font-family:Aeonik,Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:#e7eef5;background:#0b0d10;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400}*{scrollbar-width:thin;scrollbar-color:#2A333D #0B0D10}*::-webkit-scrollbar{width:5px;height:5px}*::-webkit-scrollbar-track{background:#0b0d10}*::-webkit-scrollbar-thumb{background:#2a333d;border-radius:8px}*::-webkit-scrollbar-thumb:hover{background:#5d6f82}body{min-width:360px}button{cursor:pointer;transition:background-color .16s,color .16s,border-color .16s}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #E7EEF5;outline-offset:4px}button svg{flex-shrink:0}input{min-width:0}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}::selection{background:#e7eef5;color:#0b0d10}kbd{font-family:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.controller-shell-wrap{width:100%;min-height:100dvh;display:flex;flex-direction:column;flex:1}.controller-shell{--controller-text-sm: calc(11px * var(--controller-text-scale, 1));--controller-text-md: calc(12px * var(--controller-text-scale, 1));--controller-text-base: calc(13px * var(--controller-text-scale, 1));--controller-text-lg: calc(14px * var(--controller-text-scale, 1));width:100%;max-width:100%;min-height:100dvh;padding:0 clamp(24px,3.5vw,64px);display:flex;flex-direction:column;flex:1;font-size:var(--controller-text-base)}.app-topbar{min-height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2A333D;gap:20px;width:100%}.branding{display:flex;align-items:center;gap:13px}.brand-symbol{width:38px;height:38px;padding:3px;border:0;fill:none;stroke:#e7eef5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-name{display:block;letter-spacing:-.055em;font-weight:500;line-height:1.25}.brand-credit{display:block;color:var(--color-muted-text);letter-spacing:.02em;margin-top:5px}.topbar-actions{display:flex;align-items:center;gap:12px}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:30px;padding:12px 20px;border:1px solid #2A333D;background:#171c22;color:#e7eef5;font-size:12px;font-weight:500}.secondary-button:hover{background:#2a333d}.secondary-button:disabled{color:#5d6f82}.primary-button{background:#e7eef5;color:#0b0d10;border-color:#e7eef5}.primary-button:hover{background:#2a333d;border-color:#5d6f82;color:#e7eef5}.launch-button{min-height:43px;min-width:166px;gap:9px;text-transform:uppercase;letter-spacing:.035em}.launch-button svg:last-child{margin-left:6px;color:#5d6f82}.launch-button[aria-pressed=true]{background:#e7eef5;border-color:#e7eef5;color:#0b0d10}.launch-button[aria-pressed=true]:hover{background:#2a333d;border-color:#5d6f82;color:#e7eef5}.sound-button{gap:8px;white-space:nowrap}.workspace{flex:1;display:grid;grid-template-columns:clamp(230px,18vw,340px) minmax(0,1fr) clamp(220px,18vw,340px);gap:clamp(24px,2.5vw,48px);padding:clamp(24px,3vh,40px) 0;min-height:620px;width:100%;align-items:stretch}.parameters{padding:4px 0 0;border:0}.section-label{display:flex;align-items:center;gap:8px;color:var(--color-muted-text);font-weight:500;letter-spacing:.07em;text-transform:uppercase}.settings-form{margin-top:27px}.field-label{display:block;line-height:1.4;font-weight:500}.field-hint+.field-label,.settings-form+.field-label{margin-top:24px}.section-label+.field-label{margin-top:20px}.input-shell{display:flex;align-items:center;background:#171c22;border:1px solid #2A333D;border-radius:11px;margin-top:10px;padding:13px 14px;gap:5px}.input-shell:focus-within{border-color:#5d6f82}.input-shell:has(input:focus-visible){outline:2px solid #E7EEF5;outline-offset:3px}.input-shell input{width:100%;letter-spacing:-.6px;font-weight:400;font-variant-numeric:tabular-nums;border:0;outline:none;background:#171c22;color:#e7eef5}.input-shell input:disabled{color:#5d6f82}.input-shell>span{white-space:nowrap;color:var(--color-muted-text)}.field-hint{color:var(--color-muted-text);line-height:1.6;margin:8px 0 0}.duration-select{width:100%;margin-top:10px;padding:12px 14px;border:1px solid #2A333D;border-radius:11px;background:#171c22;color:#e7eef5;font:inherit;font-size:calc(13px * var(--controller-text-scale, 1));color-scheme:dark}.apply-button{display:flex;align-items:center;justify-content:center;gap:6px;color:#e7eef5;background:#2a333d;border:0;width:100%;border-radius:6px;padding:9px;margin-top:14px}.apply-button:hover{box-shadow:inset 0 0 0 1px #5d6f82}.field-error{color:#e7eef5;line-height:1.6;margin:10px 0}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:25px}.toggle-row .field-hint{margin-top:4px}.switch{border:1px solid #2A333D;padding:3px;background:#171c22;width:34px;height:20px;border-radius:15px;flex-shrink:0}.switch-thumb{display:block;background:#5d6f82;height:12px;width:12px;border-radius:50%;transition:transform .18s,background-color .18s}.switch[aria-checked=true]{background:#e7eef5;border-color:#e7eef5}.switch[aria-checked=true] .switch-thumb{background:#171c22;transform:translate(14px)}.switch:disabled{border-color:#5d6f82}.repeat-note{border-left:2px solid #2A333D;padding-left:8px}.settings-divider{height:1px;background:#2a333d;margin:32px 0 27px}.segmented{margin-top:11px;padding:4px;border:1px solid #2A333D;border-radius:25px;display:flex;gap:0;background:#0b0d10}.segmented button{flex:1;background:#0b0d10;color:var(--color-muted-text);padding:9px 5px;border:0;border-radius:22px}.segmented button:hover{color:#e7eef5}.segmented button[aria-pressed=true]{color:#0b0d10;background:#e7eef5}.scale-label{display:flex;align-items:center;justify-content:space-between;margin-top:26px}.scale-label output{color:var(--color-muted-text);font-variant-numeric:tabular-nums}.scale-slider{-webkit-appearance:none;appearance:none;display:block;width:100%;background:#2a333d;height:3px;margin:21px 0 12px;border-radius:4px;cursor:pointer}.scale-slider::-webkit-slider-thumb{-webkit-appearance:none;height:12px;width:12px;background:#e7eef5;border:3px solid #171C22;outline:1px solid #5D6F82;border-radius:50%}.scale-slider::-moz-range-thumb{height:8px;width:8px;background:#e7eef5;border:3px solid #171C22;outline:1px solid #5D6F82;border-radius:50%}.scale-endpoints{display:flex;justify-content:space-between;color:var(--color-muted-text)}.draw-workspace{display:flex;flex-direction:column;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.preview-indicator{display:flex;align-items:center;gap:6px;color:var(--color-muted-text)}.status-dot{width:4px;height:4px;border-radius:50%;display:inline-block;background:#5d6f82;flex-shrink:0}.pulsing{animation:pulse .85s ease-in-out infinite;background:#e7eef5}.preview-stage{flex:0 0 auto;width:100%;min-height:365px;height:clamp(380px,50vh,680px);display:flex;flex-direction:column;border:1px solid #2A333D;border-radius:22px;background:#171c22}.stage-welcome{position:relative;z-index:1;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:0 24px 20px;text-align:center;pointer-events:none}.stage-welcome h1{font-size:clamp(28px,3vw,46px);font-weight:400;letter-spacing:-.055em;line-height:1.15;margin:0 0 10px}.stage-welcome p{color:var(--color-muted-text);font-size:calc(12px * var(--controller-text-scale, 1));margin:0;line-height:1.5}.preview-baseline{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 22px;color:var(--color-muted-text)}.baseline-mark{line-height:1;color:#5d6f82}.session-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0}.session-stats>div{display:flex;flex-direction:column;align-items:center;gap:7px}.session-stats>div+div{border:0}.stat-value{line-height:1.2;font-weight:400;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.stat-label{color:var(--color-muted-text)}.draw-button{width:100%;border:1px solid #E7EEF5;background:#e7eef5;color:#0b0d10;border-radius:30px;min-height:54px;padding:14px 24px;display:flex;justify-content:space-between;align-items:center;font-weight:500}.draw-button:hover:not(:disabled){transform:translateY(-2px)}.draw-button:active:not(:disabled){transform:translateY(0)}.draw-button:disabled{background:#171c22;color:var(--color-muted-text);border-color:#2a333d}.draw-button svg{transition:transform .18s}.draw-button:hover:not(:disabled) svg{transform:translate(4px)}.draw-note{min-height:33px;padding-top:14px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--color-muted-text);text-align:center}.draw-note kbd{padding:1px 5px;border:1px solid #2A333D;border-radius:3px}.drawing-dots{display:flex;gap:5px}.drawing-dots i{width:4px;height:4px;background:#5d6f82;border-radius:50%;animation:pulse .8s infinite}.drawing-dots i:nth-child(2){animation-delay:.15s}.drawing-dots i:nth-child(3){animation-delay:.3s}.reveal-canvas{position:relative;z-index:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;min-height:0}.preview-canvas{flex:1;padding:28px 24px 8px}.current-numbers{min-height:100%;display:flex;align-items:center;justify-content:center}.number-grid{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;width:100%;max-width:var(--grid-max);gap:var(--grid-gap);margin:0 auto;padding-bottom:5px}.number-tile{flex:0 0 calc((100% - ((var(--grid-columns) - 1) * var(--grid-gap))) / var(--grid-columns));min-width:0;min-height:var(--tile-height);display:flex;align-items:center;justify-content:center;padding:16px 8px;background:linear-gradient(140deg,#2a333d,#171c22 70%);border:1px solid #2A333D;border-top-color:#5d6f82;border-radius:15px;box-shadow:0 3px #0b0d10;container-type:inline-size}.number-value{font-size:min(var(--number-font),calc(150cqi / var(--digits)));font-weight:400;letter-spacing:-.05em;font-variant-numeric:tabular-nums;line-height:1.12;padding-right:.045em}.is-empty .number-value{color:#5d6f82;font-weight:300}.is-cycling .number-value{color:#5d6f82}.number-tile.has-sheen{position:relative;overflow:hidden}.number-tile.has-sheen>.number-value{position:relative;z-index:1}.number-tile.has-sheen:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;transform:translate(-100%);background:linear-gradient(112deg,transparent 32%,rgba(231,238,245,.06) 43%,rgba(231,238,245,.14) 50%,rgba(231,238,245,.06) 57%,transparent 68%);animation:tile-sheen var(--sheen-duration, .72s) cubic-bezier(.45,0,.25,1) var(--sheen-delay, 0s) 1 both}@keyframes tile-sheen{0%{transform:translate(-100%)}to{transform:translate(100%)}}.history-rows{display:flex;flex-direction:column;gap:24px}.history-draw+.history-draw{border-top:1px solid #2A333D;padding-top:24px}.history-draw{display:flex;flex-direction:column;align-items:center}.history-draw-heading{width:100%;display:flex;align-items:baseline;justify-content:center;gap:10px;margin-bottom:17px;color:#e7eef5;font-size:14px;font-weight:500;letter-spacing:.02em;text-align:center}.history-draw-state{color:var(--color-muted-text);font-size:11px;font-weight:400;letter-spacing:.08em;text-transform:uppercase}.history-canvas .number-grid{--tile-height: 90px !important;--number-font: 42px !important}.history-sidebar{display:flex;flex-direction:column;min-width:0;padding:4px 0 0 24px;border:0;border-left:1px solid #2A333D}.history-heading{display:flex;justify-content:space-between;gap:9px}.history-heading .section-label{letter-spacing:.75px}.count-badge{background:#171c22;color:var(--color-muted-text);min-width:24px;text-align:center;padding:4px 7px;border-radius:20px}.history-list{flex:1;min-height:0;overflow-y:auto;max-height:calc(100dvh - 270px);padding-right:5px;margin-top:27px}.history-entry{padding:0 0 21px;margin-bottom:21px;border-bottom:1px solid #2A333D}.history-entry-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.history-entry-meta time{color:var(--color-muted-text)}.latest-label{color:var(--color-muted-text);padding-left:7px}.history-chips{display:flex;flex-wrap:wrap;gap:6px}.history-chips span{min-width:34px;background:#171c22;border:0;border-radius:6px;padding:7px 9px;font-variant-numeric:tabular-nums;text-align:center}.empty-history{color:#5d6f82;display:flex;flex-direction:column;align-items:flex-start;padding:46px 0;text-align:left}.empty-history p{color:#e7eef5;line-height:1.85;margin:15px 0 3px}.empty-history>span{color:var(--color-muted-text)}.history-bottom{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:22px;color:var(--color-muted-text)}.app-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2A333D}.footer-note{display:flex;align-items:center;gap:7px;color:var(--color-muted-text)}.footer-actions{display:flex;align-items:center;gap:24px}.text-button{display:inline-flex;align-items:center;gap:7px;color:var(--color-muted-text);border:0;background:#0b0d10;padding:6px 0 6px 10px;letter-spacing:.035em;text-transform:uppercase}.text-button:hover:not(:disabled){color:#e7eef5}.text-button:disabled{color:#5d6f82}.text-button>svg{color:#5d6f82}.text-button:disabled>svg{color:#2a333d}.reset-dialog{max-width:420px;width:calc(100% - 32px);margin:auto;background:#171c22;color:#e7eef5;border:1px solid #2A333D;border-radius:14px;padding:30px}.reset-dialog::backdrop{background:#0b0d10;opacity:.9}.dialog-icon{color:#5d6f82;margin-bottom:17px}.reset-dialog h2{font-weight:500;letter-spacing:-.6px;margin:0 0 12px}.reset-dialog p{color:var(--color-muted-text);line-height:1.8;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:26px}.error-toast{position:fixed;z-index:100;bottom:22px;left:50%;transform:translate(-50%)!important;background:#171c22;color:#e7eef5;border:1px solid #5D6F82;border-radius:9px;display:flex;align-items:center;gap:18px;max-width:min(600px,calc(100vw - 36px));padding:16px 18px;font-size:12px}.error-toast button{background:#171c22;color:#5d6f82;border:0;padding:4px}.display-shell{position:fixed;inset:0;background:#0b0d10}.presentation-stage{width:100%;height:100%;background:#0b0d10}.presentation-canvas{width:100%;height:100%;padding:clamp(24px,5vw,100px)}.presentation-canvas .number-grid{padding-bottom:8px}.presentation-canvas .number-tile{border-radius:20px;box-shadow:0 5px #171c22}.presentation-canvas.history-canvas .number-grid{--tile-height: calc(150px * var(--display-scale, 1)) !important;--number-font: calc(78px * var(--display-scale, 1)) !important}.presentation-canvas .history-rows{gap:36px}.presentation-canvas .history-draw+.history-draw{padding-top:36px}.display-tools{position:fixed;top:0;right:0;padding:20px;opacity:0;transition:opacity .16s}.display-tools:hover,.display-tools:focus-within{opacity:1}.display-tool{width:38px;height:38px;display:grid;place-items:center;background:#171c22;border:1px solid #2A333D;border-radius:7px;color:#5d6f82}.display-tool:hover{color:#e7eef5}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;height:100dvh;color:var(--color-muted-text);font-size:12px}.loading-dot{width:6px;height:6px;background:#5d6f82;border-radius:50%;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:.35}50%{opacity:1}}@media(min-width:1500px){.controller-shell{padding:0 clamp(36px,3.5vw,64px)}.workspace{grid-template-columns:clamp(260px,18vw,360px) minmax(0,1fr) clamp(250px,18vw,350px);gap:clamp(32px,3vw,56px);padding:38px 0}.preview-stage{height:clamp(420px,53vh,720px)}.history-sidebar{padding-left:28px}}@media(max-width:1150px){.controller-shell{padding:0 26px}.workspace{grid-template-columns:204px minmax(0,1fr) 176px;gap:24px}.preview-canvas{padding:24px 16px 8px}.history-sidebar{padding-left:18px}}@media(max-width:1000px){.topbar-actions{gap:8px}.workspace{grid-template-columns:215px minmax(0,1fr)}.history-sidebar{grid-column:1 / -1;border:0;border-top:1px solid #2A333D;padding:23px 0 0;margin-top:8px}.history-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;max-height:200px}.history-entry{margin:0}.empty-history{grid-column:1 / -1;padding:0}.empty-history>svg,.empty-history p{display:none}}@media(max-width:620px){.controller-shell{padding:0 18px}.launch-button{min-width:0;padding:11px 14px}.workspace{display:flex;flex-direction:column;gap:26px;padding:25px 0}.preview-stage{height:380px}.stage-welcome h1{font-size:34px}.history-sidebar{margin-top:0}.error-toast{width:calc(100vw - 36px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.number-tile.has-sheen:after{display:none;animation:none}}:root.demo{font-family:Inter Variable,Segoe UI,system-ui,sans-serif}.demo-badge{position:fixed;left:50%;top:12px;transform:translate(-50%);z-index:1000;padding:4px 12px;border:1px solid #2A333D;border-radius:999px;background:#171c22;color:#e7eef5;font-size:11px;letter-spacing:.06em;pointer-events:none;white-space:nowrap}
