:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--surface:#f5f5f7;--surface-strong:#e9e9ec;--nav-bg:#ffffffd9;--danger:#ff3b3b;--danger-bg:#ff3b3b1f;--accent:#6d4aff;--accent-bg:#6d4aff1f;--accent-strong:#5433e0;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--radius-lg:20px;--radius-md:14px;--radius-pill:999px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9a9aa3;--text-h:#f5f5f7;--bg:#000;--border:#2e303a;--code-bg:#1f2028;--surface:#1c1c1e;--surface-strong:#2c2c2e;--nav-bg:#1c1c1ed9;--danger:#ff453a;--danger-bg:#ff453a26;--accent:#a892ff;--accent-bg:#a892ff26;--accent-strong:#b9a7ff;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-.5px;margin:0;font-size:34px;font-weight:700}@media (width<=1024px){h1{font-size:30px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code{font-family:var(--mono);color:var(--text-h);background:var(--code-bg);border-radius:4px;padding:4px 8px;font-size:15px;line-height:135%;display:inline-flex}.btn{border-radius:var(--radius-pill);font:inherit;cursor:pointer;white-space:nowrap;border:none;justify-content:center;align-items:center;gap:6px;padding:12px 20px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--accent-bg);color:var(--accent)}.btn-primary:disabled{color:var(--text);background:0 0}.btn-secondary{background:var(--surface);color:var(--text-h)}.btn-danger{background:var(--danger-bg);color:var(--danger)}.back-button{margin-bottom:16px}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.input-pill{border-radius:var(--radius-pill);background:var(--surface);align-items:center;gap:8px;padding:6px;display:flex}.input-pill input{border-radius:var(--radius-pill);min-width:0;font:inherit;color:var(--text-h);background:0 0;border:none;flex:1;padding:10px 14px}.page-heading{margin-bottom:16px}.text-page{max-width:640px}.text-page h2{margin:24px 0 6px;font-size:18px}.text-page p{color:var(--text);font-size:15px;line-height:1.6}.text-page a{color:var(--accent)}.text-page-note{opacity:.85;font-size:13px}.app{box-sizing:border-box;flex-direction:column;width:100%;min-height:100svh;display:flex}.app-content{box-sizing:border-box;text-align:left;flex:1;width:100%;max-width:480px;margin:0 auto;padding:28px 20px 100px}@media (width>=700px){.app-content{max-width:680px}}@media (width>=1024px){.app-content{max-width:920px;padding:40px 32px 120px}}.empty-state{color:var(--text);padding:8px 2px}.app-content{padding-bottom:40px}@media (width>=1024px){.app-content{padding-bottom:56px}}.btn:focus-visible,.mode-chip:focus-visible,.switch:focus-visible,.stage-fullscreen:focus-visible,.app-footer-link:focus-visible,.select-pill select:focus-visible,.input-pill input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.range:focus-visible{outline:none}.app-header{align-items:center;gap:10px;margin-bottom:4px;display:flex}.app-header-mark{color:var(--accent);display:flex}.app-tagline{color:var(--text);margin-bottom:20px;font-size:15px}.stage{aspect-ratio:4/3;border-radius:var(--radius-md);background:var(--surface);touch-action:none;width:100%;position:relative;overflow:hidden}@media (width>=700px){.stage{aspect-ratio:16/9}}.stage-canvas{width:100%;height:100%;display:block}.stage:fullscreen{aspect-ratio:auto;border-radius:0;width:100vw;height:100vh}.stage:fullscreen{aspect-ratio:auto;border-radius:0;width:100vw;height:100vh}.stage-pseudo-fullscreen{z-index:50;aspect-ratio:auto;border-radius:0;width:100%;height:100svh;position:fixed;inset:0}body.is-pseudo-fullscreen{overflow:hidden}.stage-fullscreen{z-index:10;color:#fff;-webkit-backdrop-filter:blur(12px);cursor:pointer;background:#00000073;border:none;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex;position:absolute;bottom:12px;right:12px}.stage-fullscreen:hover{background:#000000a6}.stage-overlay{pointer-events:none;justify-content:center;align-items:center;padding:24px 68px 24px 24px;display:flex;position:absolute;inset:0}.stage-overlay-card{border-radius:var(--radius-md);text-align:center;color:#fff;-webkit-backdrop-filter:blur(14px);background:#00000080;flex-direction:column;gap:6px;max-width:36ch;padding:14px 20px;display:flex}.stage-overlay-title{font-size:17px;font-weight:600}.stage-overlay-hint{opacity:.8;font-size:14px}.controls{flex-direction:column;gap:24px;margin-top:20px;display:flex}.control-section{flex-direction:column;gap:10px;display:flex}.control-label{color:var(--text);font-size:13px;font-weight:600}.control-row{align-items:center;gap:12px;min-height:44px;display:flex}.control-row-label{color:var(--text-h);flex:1 0 auto;font-size:15px}.control-value{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;min-width:46px;font-size:13px}.mode-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}@media (width>=700px){.mode-grid{grid-template-columns:repeat(5,1fr)}}.mode-chip{border-radius:var(--radius-md);background:var(--surface);min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border:none;align-items:center;gap:10px;padding:8px 12px 8px 8px;font-size:14px;font-weight:600;display:flex}.mode-chip:hover{background:var(--surface-strong)}.mode-chip-active{background:var(--surface-strong);color:var(--text-h);box-shadow:inset 0 0 0 2px var(--accent)}.mode-chip-swatch{border-radius:8px;flex-shrink:0;width:32px;height:32px}.mode-chip-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-pill{border-radius:var(--radius-pill);background:var(--surface);align-items:center;padding:3px;display:flex}.select-pill select{border-radius:var(--radius-pill);min-width:0;color:var(--text-h);font:inherit;cursor:pointer;background:0 0;border:none;flex:1;padding:12px 14px;font-size:15px}.select-pill select:disabled{color:var(--text);cursor:not-allowed}.switch{border-radius:var(--radius-pill);background:var(--surface-strong);cursor:pointer;border:none;flex-shrink:0;width:50px;height:30px;padding:0;position:relative}.switch-on{background:var(--accent)}.switch-knob{background:var(--bg);border-radius:50%;width:24px;height:24px;transition:left .12s;position:absolute;top:3px;left:3px}.switch-on .switch-knob{left:23px}.range{appearance:none;cursor:pointer;background:0 0;flex:0 280px;min-width:0;height:24px;margin:0}.range::-webkit-slider-runnable-track{border-radius:var(--radius-pill);background:var(--surface-strong);height:6px}.range::-moz-range-track{border-radius:var(--radius-pill);background:var(--surface-strong);height:6px}.range::-webkit-slider-thumb{appearance:none;background:var(--accent);border:none;border-radius:50%;width:20px;height:20px;margin-top:-7px}.range::-moz-range-thumb{background:var(--accent);border:none;border-radius:50%;width:20px;height:20px}.range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 5px var(--accent-bg)}.range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 5px var(--accent-bg)}.range:disabled{cursor:not-allowed;opacity:.4}.status-line{color:var(--text);align-items:center;gap:8px;font-size:13px;display:flex}.status-dot{background:var(--text);opacity:.4;border-radius:50%;flex-shrink:0;width:8px;height:8px}.status-dot-active{background:var(--accent);opacity:1}.status-dot-error{background:var(--danger);opacity:1}.status-note{color:var(--text);font-size:13px;line-height:1.5}.app-footer{margin-top:32px}.app-footer-link{min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:8px;padding:0;font-size:15px;font-weight:600;display:inline-flex}.app-footer-link:hover{color:var(--text-h)}.text-page .text-page-note{font-size:13px}.text-page p+p{margin-top:10px}.info-usage-list{color:var(--text);flex-direction:column;gap:6px;margin:0;padding-left:20px;font-size:15px;line-height:1.6;display:flex}.text-page h3{color:var(--text-h);margin:20px 0 4px;font-size:15px;font-weight:600}
