:root{--navy:#0d2238;--ink:#edf0f2;--muted:#c4ccd2;--gold:#e6c887;--paper:#f5f2ec;--wine:#853045;--line:#344558;color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:#101f2f;color:var(--ink);font:15px/1.55 Arial,Helvetica,sans-serif}
[hidden]{display:none!important}
.site-head{max-width:1500px;margin:auto;padding:21px max(4.5vw,20px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #304052}
.site-head img{width:103px;height:auto}
.site-head a{color:var(--ink);font-size:12px;font-weight:700;text-decoration:none}
.site-head a span{color:var(--gold);margin-left:7px}
main{max-width:1500px;margin:auto;padding:24px max(4.5vw,20px) 10px}
.intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.eyebrow,.group-label,.badge{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.14em}
.eyebrow{color:var(--gold);margin:0 0 4px}
h1{font-size:clamp(39px,5vw,76px);line-height:1;letter-spacing:-.065em;margin:0}
.intro>p{color:var(--muted);max-width:305px;font-size:14px;margin:0}
.viewer{border:1px solid var(--line);background:#12243a;border-radius:13px;overflow:hidden}
.stage{min-height:490px;height:65vh;max-height:810px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 48% 52%,#4b5263,#283648 52%,#18283b 83%)}
.stage:fullscreen{width:100vw;height:100vh;max-height:none}
.poster,.stage canvas{position:absolute;inset:0;width:100%;height:100%}
.poster{object-fit:cover;opacity:.4}
.stage canvas{cursor:grab;touch-action:none}.stage canvas:active{cursor:grabbing}
.stage-head,.stage-foot{position:absolute;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.stage-head{top:15px}.stage-foot{bottom:15px}
.badge{color:#f1e9da;background:#111f31de;border:1px solid #9b9da53c;border-radius:4px;padding:7px 9px}
.led{display:inline-block;background:var(--gold);width:6px;height:6px;margin-right:5px;border-radius:50%;vertical-align:2px}
.controls-help{font-size:10px;font-weight:400;letter-spacing:.025em;text-transform:none}
.load{position:absolute;left:10%;right:10%;top:46%;padding:10px;text-align:center;font-weight:700;text-shadow:0 1px 8px #081625;pointer-events:none}
.zoom{display:flex;gap:5px;pointer-events:auto}
button{font:700 12px Arial,Helvetica,sans-serif;cursor:pointer;border:1px solid #526076;color:var(--ink);background:#24384f;border-radius:6px;padding:9px 11px;min-height:36px}
button:hover{border-color:var(--gold)}button[aria-pressed=true]{background:var(--gold);color:#252320;border-color:var(--gold)}
button:disabled,input:disabled{opacity:.55;cursor:default}
.zoom button{min-width:36px;font-size:17px;background:#111f31ed;padding:6px}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.stage canvas:focus-visible{outline-offset:-4px}
.tools{padding:13px 15px 14px;display:flex;justify-content:space-between;gap:15px;align-items:end}
.group-label{display:block;color:var(--gold);margin-bottom:7px}
.buttons{display:flex;flex-wrap:wrap;gap:6px}
.signs{font-size:12px;font-weight:700;display:flex;white-space:nowrap;align-items:center;gap:6px;min-height:36px}
.signs input{accent-color:var(--gold);width:16px;height:16px}
footer{display:flex;justify-content:space-between;gap:16px;padding:13px 1px;color:var(--muted);font-size:11px}
.embedded body{background:#12243a}.embedded .site-head,.embedded .intro,.embedded footer{display:none}
.embedded main{max-width:none;padding:0}.embedded .viewer{border:0;border-radius:0}
.embedded .stage{height:calc(100dvh - 94px);min-height:365px;max-height:none}
@media(max-width:750px){.intro{align-items:start;flex-direction:column;gap:10px}.intro>p{max-width:500px}.stage{height:60vh;min-height:365px}.tools{flex-wrap:wrap;gap:8px}.embedded .stage{height:calc(100dvh - 158px)}}
@media(max-width:420px){.stage-head,.stage-foot{left:9px;right:9px}.badge{padding:6px;font-size:8px}footer{flex-wrap:wrap;gap:4px 12px}main{padding-inline:12px}}

.compatibility-note{position:absolute;left:16px;bottom:62px;color:#eef1f3;background:#111f31e8;border:1px solid #9b9da53c;border-radius:4px;padding:6px 9px;font-size:10px;max-width:calc(100% - 32px);pointer-events:none}

.rendered-mode .poster{object-fit:contain;opacity:1}.rendered-mode{background:#242d36}

.stage.expanded{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;z-index:9999}
