:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#0a1018;color:#e9f1f6}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,select,input{font:inherit}a{color:inherit}.layout{max-width:1440px;margin:0 auto;padding:0 20px 24px}
.topbar{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;letter-spacing:.12em}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border:1px solid #6fdaac;border-radius:10px;font-size:27px;color:#a1e9c1;line-height:1}.brand strong{display:block;font-size:16px}.brand small{display:block;margin-top:4px;color:#8a9aa9;font-size:10px;letter-spacing:.17em}.topright{display:flex;align-items:center;gap:10px;color:#9faeaf;letter-spacing:.1em;font-size:10px}.live-dot,.pulse{background:#79ebae;width:7px;height:7px;display:inline-block;border-radius:50%;box-shadow:0 0 8px #71daa4}.repo{margin-left:16px;padding:10px 13px;border:1px solid #344555;border-radius:8px;text-decoration:none;color:#b3c5d4;font-size:11px;letter-spacing:0}.repo:hover{background:#243343}
.stage{position:relative;height:min(69vh,760px);min-height:380px;border:1px solid #2c3a47;border-radius:14px;background:radial-gradient(circle at 50% 40%,#223448,#111b29 65%,#0c141e);overflow:hidden}#viewer{width:100%;height:100%;touch-action:none}#viewer canvas{display:block;width:100%;height:100%;outline:none}.stage-info{position:absolute;top:20px;left:24px;pointer-events:none}.pill{font-size:10px;letter-spacing:.14em;display:flex;align-items:center;gap:8px;color:#9bd9b8;background:rgba(11,28,31,.75);border:1px solid rgba(97,197,141,.3);border-radius:50px;padding:9px 12px;width:max-content;max-width:92%}.measure{margin:20px 2px;display:flex;align-items:baseline;gap:10px}.measure span{font-size:42px;letter-spacing:-.04em;font-weight:650;font-variant-numeric:tabular-nums}.measure small{font-size:11px;color:#aebdca;letter-spacing:.05em}.stage-right{position:absolute;top:23px;right:24px;display:flex;gap:24px;text-align:right;pointer-events:none}.stage-right b{display:block;font-size:19px;font-weight:650}.stage-right small{color:#a1afbd;font-size:9px;letter-spacing:.12em}.stage-help{position:absolute;right:20px;bottom:52px;color:#c5d4db;font-size:11px;background:rgba(10,22,32,.6);padding:6px 10px;border-radius:6px;pointer-events:none}.stage-bottom-tag{position:absolute;left:20px;bottom:16px;color:#9dacb7;font-size:10px;pointer-events:none}.error{position:absolute;top:40%;left:10%;width:80%;background:#421f22;color:#ffe0e0;border:1px solid #9e5353;padding:20px;border-radius:10px;text-align:center;font-size:14px;z-index:4}
.controls{background:#111b26;border:1px solid #2a3946;margin-top:12px;border-radius:12px;padding:15px 19px;display:flex;flex-direction:column;gap:16px}.transport{display:flex;align-items:center;gap:18px}.play{display:grid;place-items:center;width:46px;height:46px;flex:0 0 auto;background:#9be6b8;color:#12251a;border:0;border-radius:9px;font-size:21px;font-weight:750;cursor:pointer}.play:hover{background:#bef7d1}.scrubber{flex:1;min-width:0}.scrubber input{appearance:none;width:100%;height:5px;background:linear-gradient(90deg,#8ae3b1 var(--pct,0%),#324655 var(--pct,0%));border-radius:50px;cursor:pointer}.scrubber input::-webkit-slider-thumb{appearance:none;background:#abf7c9;width:14px;height:14px;border:3px solid #14271e;border-radius:50%;box-shadow:0 0 0 1px #9be6b8}.scrubber input::-moz-range-thumb{background:#9be6b8;width:12px;height:12px;border:0;border-radius:50%}.timeline-label{display:flex;justify-content:space-between;margin-top:7px;color:#a7bbc8;font-size:12px;font-variant-numeric:tabular-nums}.speedlabel{display:flex;align-items:center;gap:10px;color:#8d9eac;font-size:12px}.speedlabel select{background:#20303c;color:#dce9ed;border:1px solid #3b5261;border-radius:7px;padding:8px;cursor:pointer}.options{border-top:1px solid #283847;padding-top:13px;display:flex;align-items:center;gap:23px;flex-wrap:wrap;color:#bdcbd4;font-size:12px}.options label{display:flex;align-items:center;gap:7px;cursor:pointer}.options input{accent-color:#8de1b1}.text-button{margin-left:auto;background:none;border:none;color:#9cddbc;text-decoration:underline;text-decoration-color:#456e60;text-underline-offset:4px;cursor:pointer;font-size:12px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 6px;color:#8d9faa;font-size:11px;line-height:1.55}footer strong{color:#bacccc;font-weight:600}
@media(max-width:750px){.layout{padding:0 10px 15px}.topbar{min-height:67px}.brand strong{font-size:13px}.brand small{font-size:9px}.brand-mark{height:36px;width:36px;font-size:23px}.topright>span:not(.live-dot){display:none}.repo{margin-left:0;padding:8px}.stage{height:62vh;min-height:370px}.stage-info{left:13px;top:13px}.pill{font-size:8px;padding:7px 9px}.measure{margin:14px 2px;display:block}.measure span{display:block;font-size:31px}.measure small{display:block;font-size:9px}.stage-right{right:13px;top:15px;gap:12px}.stage-right b{font-size:15px}.stage-right small{font-size:8px}.stage-help{left:12px;right:auto;bottom:49px;font-size:9px}.stage-bottom-tag{bottom:12px;left:12px;right:12px;font-size:9px}.controls{padding:12px;gap:13px}.transport{gap:11px}.play{width:41px;height:41px}.speedlabel{font-size:0;gap:0}.speedlabel select{font-size:12px;padding:6px}.options{gap:12px 17px;font-size:11px}.text-button{margin-left:0}footer{padding:12px 4px;font-size:10px}}
