body.playground{height:100dvh;overflow:hidden}.app{position:fixed;inset:0}.stage{touch-action:none;position:absolute;inset:0}.bar{z-index:3;background:linear-gradient(#06100ff2,#06100f00);align-items:center;gap:14px;height:64px;padding:0 16px;display:flex;position:absolute;top:0;left:0;right:0}.bar .brand img{width:24px;height:24px}.vsep{background:var(--line);width:1px;height:22px}.seg{background:var(--panel);border:1px solid var(--line);border-radius:10px;gap:2px;padding:4px;display:flex}.seg button{color:var(--muted);cursor:pointer;font:500 13px var(--font);background:0 0;border:0;border-radius:7px;height:32px;padding:0 12px}.seg button:hover{color:var(--paper)}.seg button[aria-pressed=true]{color:var(--paper);background:#ffffff1f}.app:not([data-scene=stress]) .sizes,.dof .short-label{display:none}.lens .span{grid-column:1/-1}.lens input[type=range]{accent-color:var(--green);width:100%}.scene-select{display:none}.scene-select select,.settings select,.entity select{background:var(--panel);border:1px solid var(--line);color:var(--paper);font:500 13px var(--font);border-radius:9px;height:36px;padding:0 8px}.bar-actions,.mobile-actions,.prove-actions,.code-actions{gap:8px;display:flex}.gbtn{background:var(--panel);border:1px solid var(--line);color:var(--paper);cursor:pointer;font:500 13px var(--font);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 14px;display:inline-flex}.gbtn:hover:not(:disabled){border-color:#fcfffc47}.gbtn:disabled{cursor:default;opacity:.45}.gbtn.primary{background:var(--green);border-color:var(--green)}.gbtn.small{height:32px;padding:0 12px}.gbtn[hidden]{display:none}.settings{border:1px solid var(--line);z-index:4;background:#0a1211f5;border-radius:14px;width:min(520px,100vw - 32px);max-height:calc(100dvh - 96px);padding:16px 18px 18px;position:absolute;top:72px;right:16px;overflow-y:auto}.settings-head{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.settings-note{color:var(--muted);margin:0;font-size:12.5px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;display:grid}.settings label,.entity{gap:4px;display:grid}.settings label span,label.entity span{color:var(--muted);font-size:12px}.settings select{width:100%}.settings .check{align-items:center;gap:8px;margin-top:14px;display:flex}.settings .check span{color:var(--soft);font-size:13px}.inspector{border:1px solid var(--line);z-index:2;background:#0a1211eb;border-radius:14px;gap:12px;width:320px;max-height:calc(100dvh - 150px);padding:18px 20px;display:grid;position:absolute;top:72px;right:16px;overflow-y:auto}.grabber,.mobile-actions{display:none}.insp-title{align-items:center;gap:10px;display:flex}.insp-title h1{margin:0;font-size:17px;font-weight:600}.swatch{border-radius:99px;flex:none;width:12px;height:12px}.swatch[hidden]{display:none}.insp-sub,.insp-note,.insp-message{color:var(--muted);margin:0;font-size:12.5px;line-height:1.5}.insp-message:empty{display:none}.insp-message{color:var(--mint)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips:empty,.insp-actions:empty{display:none}.chip{border:1px solid var(--line);color:var(--muted);font:400 11.5px var(--mono);border-radius:99px;padding:3px 8px}.relations{border-block:1px solid var(--line);gap:2px;padding:8px 0;display:grid}.relations[hidden],.entity[hidden]{display:none}.relations button{color:var(--soft);cursor:pointer;font:400 13px var(--font);text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:baseline;gap:12px;margin:0 -6px;padding:4px 6px;display:grid}.relations button span,.relations small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.relations button:hover{color:var(--paper);background:#ffffff0f}.relations small{color:var(--muted);font:400 11.5px var(--mono);text-align:right;max-width:9.5rem}.relations .more{color:var(--muted);margin:4px 0 0;font-size:12px}.insp-actions{flex-wrap:wrap;gap:6px;display:flex}.entity select{width:100%}.status,.hint{background:var(--panel);border:1px solid var(--line);color:var(--muted);z-index:2;border-radius:10px;margin:0;padding:10px 14px;position:absolute;bottom:16px}.status{font:400 12px var(--mono);gap:18px;display:flex;left:16px}.hint{font-size:12.5px;right:16px}.proving .hint,.proving .inspector,.proving .bar-actions{display:none}.busy .stage{cursor:progress}.prove{background:var(--sheet);border-left:1px solid var(--line);z-index:4;align-content:start;gap:18px;width:440px;padding:24px 26px;display:grid;position:absolute;top:0;bottom:0;right:0;overflow-y:auto}.prove[hidden]{display:none}.proving .bar,.proving .stage{right:440px}.prove-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.prove h2,.code-dialog h2{letter-spacing:-.01em;margin:0;font-size:22px;font-weight:600}.prove-meta{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.results{border-collapse:collapse;width:100%;font-size:13.5px}.results th{color:var(--muted);font:500 11px var(--mono);letter-spacing:.05em;text-align:right;text-transform:uppercase;padding-bottom:6px}.results th:first-child{text-align:left}.results td{border-top:1px solid var(--line);padding:10px 0}.results td+td{font:400 13px var(--mono);text-align:right}.results td:last-child{color:var(--muted)}.results .faster{color:var(--mint)}.progress{gap:8px;display:grid}.progress-text{color:var(--muted);justify-content:space-between;font-size:12.5px;display:flex}.bar-track{background:#ffffff14;border-radius:99px;height:6px;overflow:hidden}.bar-track i{background:var(--mint);width:0;height:100%;transition:width .3s;display:block}.code-dialog{background:var(--sheet);border:1px solid var(--line);color:var(--paper);border-radius:16px;width:100%;max-width:min(760px,100vw - 32px);padding:22px 24px}.code-dialog[open]{gap:16px;display:grid}.code-dialog::backdrop{background:#040f0fb8}.code-dialog .code-block{max-height:60dvh;font-size:12.5px}.playground-overlay-label{color:var(--paper);font:500 11px / 1.25 var(--font);text-overflow:ellipsis;white-space:nowrap;background:#040f0fd1;border:1px solid #73c7a547;border-radius:4px;max-width:12rem;padding:2px 6px;overflow:hidden}.playground-overlay-toolbar{gap:4px;display:flex}.playground-overlay-toolbar button{background:var(--paper);color:var(--ink);cursor:pointer;font:600 11px / 1 var(--font);border:1px solid #17372d;border-radius:4px;padding:5px 8px}.playground-overlay-rich{background:var(--paper);color:var(--ink);border:1px solid #17372d;border-radius:6px;gap:2px;min-width:8.5rem;padding:7px 10px;font-size:12px;display:grid}article.playground-overlay-rich span{color:#315a51}@media (width<=1100px){.bar .vsep,.hint,#code-button{display:none}}@media (width<=860px){.bar{gap:8px;padding:0 12px}.scenes{display:none}.scene-select{display:block}.dof .long-label{display:none}.dof .short-label{display:inline}.bar-actions,.status{display:none}.mobile-actions{display:flex}.mobile-actions .gbtn{flex:1;height:44px}.inspector{border-radius:18px 18px 0 0;gap:10px;width:auto;max-height:40dvh;padding:12px 18px 24px;inset:auto 0 0}.grabber{background:#fff3;border-radius:99px;justify-self:center;width:40px;height:4px;display:block}.insp-note,.relations,.relations[hidden],.entity,.chips{display:none}.prove{border-left:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;width:auto;max-height:78dvh;padding:20px;top:auto;left:0}.proving .bar,.proving .stage{right:0}.settings{z-index:6;border-radius:18px 18px 0 0;width:auto;max-height:70dvh;padding:16px 18px 24px;inset:auto 0 0}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings select{min-height:44px}}@media (width<=480px){.bar{gap:6px;padding:0 8px}.seg{padding:3px}.seg button{padding:0 8px}}@media (prefers-reduced-motion:reduce){.bar-track i{transition:none}}
