:root{font-family:Manrope,Inter,system-ui,-apple-system,sans-serif;background:#080e16;color:#e8f3fc;font-synthesis:none;font-size:13px}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}.app{display:flex;height:100vh;min-height:640px}
.inspector{width:340px;flex:0 0 340px;background:#0c141e;border-right:1px solid #263342;padding:26px 27px 20px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#254155 transparent;position:relative;z-index:2}
.eyebrow,.edition,.minor,.sidetext,.chip,.coordinate,.stage-label,.progress-area,.base-note{font-family:'DM Mono',ui-monospace,monospace;letter-spacing:.1em}
.eyebrow{font-size:9px;color:#9baebc;display:flex;align-items:center;gap:9px;white-space:nowrap}.mark{font-size:18px;color:#77e7f9}.status-led,.dot{width:6px;height:6px;border-radius:50%;background:#82e2cf;box-shadow:0 0 8px #3be9d8}.status-led{margin-left:auto}
.identity{margin-top:48px}.edition{font-size:9px;color:#4db9ca}.identity h1{font-size:43px;line-height:.97;margin:11px 0 12px;letter-spacing:-.085em;font-weight:800}.identity h1 span{color:#74d5e9}.identity p{margin:0;color:#96acbd;font-size:12px}.rule{height:1px;background:#293444;margin:28px 0 22px}.minor{font-size:9px;font-weight:700;color:#71d3e3}.summary{font-size:11px;line-height:1.85;color:#a8b9c9;margin:10px 0 22px}
.buttons{display:grid;grid-template-columns:1fr 39px 39px;gap:8px}.buttons button,.secondary,.audio{border-radius:5px;height:39px;border:1px solid #30465a;background:#152431;color:#c8e6f0}.buttons .primary{background:linear-gradient(100deg,#b3fcff,#6fe0de);color:#12303b;font-weight:800;border-color:transparent}.buttons button:hover,.secondary:hover,.audio:hover{filter:brightness(1.2)}.secondary{width:100%;margin:8px 0 25px;background:#101e2b;border:1px solid #1b5864;color:#83dbe7;font-size:11px}.line-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.sidetext{color:#486378;font-size:9px}
.field{display:flex;justify-content:space-between;align-items:center;color:#cbd8e4;font-size:11px;margin:12px 0;gap:12px}select{color:#b1e7ed;background:#14222e;border:1px solid #2c4356;border-radius:4px;padding:7px 8px;min-width:146px;font-size:10px;outline:none}.control{margin:20px 0}.control label{display:flex;justify-content:space-between;font-size:11px;color:#bbcad5}.control output{font-family:ui-monospace,monospace;color:#8ee7ef}.control input[type=range]{width:100%;margin:13px 0 0;accent-color:#7de3e5;cursor:pointer;height:3px}
.double{display:flex;gap:18px;margin:20px 0}.double label{font-size:10px;color:#b9cedb;flex:1;display:flex;flex-direction:column;gap:9px}.double input[type=color]{width:100%;height:32px;border:1px solid #335066;background:#14222e;border-radius:4px;cursor:pointer;padding:3px}.double select{min-width:0;width:100%}.audio{width:100%;background:#172a39;text-align:center;font-size:11px;margin-top:3px}.audiohint{font-size:9px;line-height:1.7;color:#688092}.base-note{border-top:1px solid #293646;margin-top:27px;padding-top:15px;color:#88a0b5;font-size:9px;line-height:1.9;letter-spacing:.02em}.base-note span{color:#547082}
.stage{flex:1;position:relative;overflow:hidden;background:radial-gradient(circle at 52% 49%,#142b3c 0,#0a1621 46%,#050b12 100%)}#viewport{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;outline:none}.stage:before{content:'';pointer-events:none;z-index:1;position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 39px,rgba(139,207,224,.028) 40px),repeating-linear-gradient(90deg,transparent 0,transparent 39px,rgba(139,207,224,.028) 40px);mask-image:linear-gradient(to bottom,transparent,black 30%,black 70%,transparent)}
.stage-top{position:absolute;z-index:2;left:32px;right:34px;top:31px;display:flex;justify-content:space-between;pointer-events:none}.chip{font-size:9px;color:#a9c9d6;background:rgba(11,26,38,.60);border:1px solid #3450617a;border-radius:3px;padding:9px 12px;display:flex;gap:10px;align-items:center}.right{color:#7196ac}.coordinate{position:absolute;z-index:2;right:35px;top:92px;font-size:9px;color:#557b93;line-height:2;text-align:right;pointer-events:none}
.stage-caption{position:absolute;z-index:2;left:40px;right:40px;bottom:32px;display:flex;justify-content:space-between;align-items:end;pointer-events:none}.stage-label{color:#69bfce;font-size:9px}.stage-caption h2{margin:8px 0;color:#eaf9ff;letter-spacing:-.04em;font-size:23px;font-weight:700}.stage-caption p{margin:0;color:#7391a5;font-size:11px}.progress-area{width:165px;display:flex;flex-direction:column;gap:8px;font-size:9px;color:#7999a8}.progress-area span:first-child{display:flex;justify-content:space-between}.progress-area strong{color:#afecf1}.progress-bar{height:3px;background:#244355}.progress-bar div{height:100%;width:0;background:#a0e8eb;box-shadow:0 0 12px #6ad7ee}.progress-area .fps{text-align:right;color:#538397}
@media(max-width:820px){body{overflow:auto}.app{flex-direction:column;height:auto;min-height:100vh}.inspector{width:100%;flex:0 0 auto;order:2;padding:24px 20px}.identity{margin-top:24px}.stage{height:62vh;min-height:460px;order:1}.stage-top{top:12px;left:15px;right:15px}.stage-caption{left:18px;right:18px;bottom:18px}.stage-caption h2{font-size:16px}.stage-caption p{font-size:9px}.progress-area{width:95px}.coordinate{top:60px;right:15px;font-size:8px}}
