body.studio-page{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.studio-page .site-header{z-index:20;flex-shrink:0;width:100%;max-width:none;position:relative}.studio-page #main{outline:none;flex-direction:column;flex:1;min-height:0;display:flex}.studio-page #play-stage{--scene-background:#f3efe6;--action-background:#292b27;--action-foreground:#faf9f5;--action-hover:#484a40;--control-radius:12px;caret-color:var(--accent)}html[data-theme=evening] .studio-page #play-stage{--scene-background:#24221d;--action-background:#ded0b9;--action-foreground:#24221d;--action-hover:#f2ecdf}#play-stage *,#play-stage :before,#play-stage :after{box-sizing:border-box}#play-stage [hidden]{display:none!important}#play-stage button,#play-stage a,#play-stage summary{-webkit-tap-highlight-color:transparent}#play-stage button{font:inherit;color:inherit;cursor:pointer;border-radius:var(--control-radius);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.2;display:inline-flex}#play-stage button:hover:not(:disabled),#play-stage summary:hover{background:var(--stone)}#play-stage button:disabled{cursor:default;opacity:.38}#play-stage a{color:inherit;text-underline-offset:4px;text-decoration-thickness:1px}#play-stage a:hover{color:var(--accent)}#play-stage :focus-visible{outline:2px solid var(--accent);outline-offset:4px}#play-stage ::selection{color:var(--paper);background:var(--accent)}#play-stage h1,#play-stage h2,#play-stage p{margin:0}#play-stage svg{pointer-events:none;flex-shrink:0;display:block}#play-stage .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}#play-stage{isolation:isolate;background:var(--scene-background);flex:1;min-height:0;position:relative;overflow:hidden}#play-stage #play-canvas{touch-action:none;cursor:grab;outline-offset:-4px;width:100%;height:100%;display:block;position:absolute;inset:0}#play-stage #play-canvas:active{cursor:grabbing}#play-stage #frozen-layer{z-index:1;pointer-events:none;background:var(--scene-background);position:absolute;inset:0}#play-stage #frozen-layer img{object-fit:contain;width:100%;height:100%;display:block}#play-stage #studio-guides{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}#play-stage #light-handle{z-index:3;touch-action:none;cursor:grab;width:48px;min-width:48px;height:48px;min-height:48px;color:var(--accent);user-select:none;background:0 0;border:0;border-radius:12px;padding:8px;position:absolute;transform:translate(-50%,-50%)}#play-stage #light-handle:hover,#play-stage #light-handle:active{background:0 0}#play-stage #light-handle:active{cursor:grabbing}#play-stage #light-handle.pointer-focus:focus-visible{outline:none}#play-stage .light-glyph{width:26px;height:26px;display:none}#play-stage #light-handle[data-offscreen=true] .light-glyph{display:block}#play-stage .light-label{color:var(--ink);background:var(--paper);white-space:nowrap;opacity:0;pointer-events:none;border-radius:6px;padding:5px 8px;font-size:12px;line-height:1.2;position:absolute;top:calc(100% + 3px);left:50%;transform:translate(-50%)}#play-stage #light-handle:is(:hover,:focus-visible) .light-label,#play-stage #light-handle[data-offscreen=true] .light-label{opacity:1}#play-stage .control-area{z-index:4;bottom:max(14px,env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;left:24px;right:24px}#play-stage #toolbar{background:var(--paper);border:1px solid var(--rule);pointer-events:auto;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;max-width:100%;padding:8px;display:flex;position:relative}#play-stage #objects{flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;min-width:0;display:flex}#play-stage #objects button{border:1px solid #0000;gap:8px;min-width:78px}#play-stage #objects button svg{width:22px;height:22px}#play-stage #objects button[aria-pressed=true],#play-stage #objects button.selected{background:var(--stone);border-color:var(--theme-control-border)}#play-stage .editing-actions{border-left:1px solid var(--rule);flex-wrap:wrap;align-items:center;gap:2px;min-width:0;padding-left:12px;display:flex}#play-stage .action-button{white-space:nowrap;gap:7px}#play-stage #object-size summary{border-radius:var(--control-radius);cursor:pointer;user-select:none;white-space:nowrap;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.2;list-style:none;display:flex}#play-stage #object-size summary::-webkit-details-marker{display:none}#play-stage #object-size summary:hover,#play-stage #object-size[open] summary{background:var(--stone)}#play-stage #object-size summary[aria-disabled=true]{opacity:.38;cursor:default;background:0 0}#play-stage .object-size-panel{overscroll-behavior:contain;background:var(--paper);border:1px solid var(--rule);border-radius:var(--control-radius);text-align:left;width:min(280px,100vw - 32px);max-height:min(230px,100dvh - 260px);padding:18px;scroll-padding:12px;position:absolute;bottom:calc(100% + 8px);left:50%;overflow-y:auto;transform:translate(-50%)}#play-stage .object-size-panel h2{letter-spacing:-.015em;margin-bottom:16px;font-size:17px;font-weight:600;line-height:1.3}#play-stage .icon-button{width:44px;padding:10px}#play-stage .reference-actions{align-items:center;gap:6px;display:flex}#play-stage .primary-button{background:var(--action-background);color:var(--action-foreground);white-space:nowrap;min-height:46px;padding:12px 17px;font-weight:550}#play-stage .primary-button:hover:not(:disabled){background:var(--action-hover);color:var(--action-foreground)}#play-stage .stage-message{z-index:10;background:var(--scene-background);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:28px;font-size:17px;display:flex;position:absolute;inset:0}#play-stage .stage-message h2{letter-spacing:-.03em;font-size:28px;font-weight:600}#play-stage .stage-message p{color:var(--muted);max-width:35ch;line-height:1.6}#play-stage[data-frozen=true] #light-handle{display:none}#play-stage[data-frozen=true] #play-canvas{cursor:default}@media (prefers-reduced-motion:no-preference){#play-stage button,#play-stage .light-label{transition:background-color .14s ease-out,color .14s ease-out,border-color .14s ease-out}}@media (width<=1000px){#play-stage #toolbar{grid-template-columns:1fr auto;gap:5px 12px;display:grid}#play-stage #objects{grid-column:1/-1}#play-stage #objects button{min-width:67px;padding:10px}#play-stage .editing-actions{border-left:0;justify-content:center;padding-left:0}}@media (width<=760px){#play-stage #light-handle{width:48px;min-width:48px;height:48px;min-height:48px}#play-stage .control-area{left:12px;right:12px;bottom:max(6px,env(safe-area-inset-bottom));gap:5px}#play-stage #toolbar{border-radius:16px;grid-template-columns:1fr;gap:5px;width:100%;max-width:420px;padding:7px 9px}#play-stage #objects{grid-column:1/-1;justify-content:center;gap:7px}#play-stage #objects button{min-width:86px;min-height:44px;padding:9px 12px;font-size:13px}#play-stage .editing-actions{border-left:0;justify-content:center;gap:0;padding-left:0}#play-stage .action-button{gap:6px;padding:10px;font-size:13px}#play-stage .reference-actions{justify-content:center;gap:4px}#play-stage .primary-button{gap:7px;min-height:44px;padding:11px 12px;font-size:13px}#play-stage .primary-button svg{width:18px;height:18px}}@media (width<=370px){#play-stage #toolbar{gap:4px;padding:6px}#play-stage #objects button{min-width:76px;padding:9px 8px}#play-stage .primary-button{gap:5px;padding:11px 9px}#play-stage .icon-button{width:44px}#play-stage .control-area{left:8px;right:8px}}@media (width<=760px){#play-stage #object-size summary{gap:6px;padding:10px;font-size:13px}}@media (width<=370px){#play-stage .editing-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}#play-stage .object-size-panel{max-height:min(230px,100dvh - 320px)}}@media (height<=540px) and (width>=600px){#play-stage .control-area{gap:0;bottom:6px;left:12px;right:12px}#play-stage #toolbar{grid-template-columns:1fr auto;gap:4px 12px;width:auto;max-width:100%;padding:5px;display:grid}#play-stage #objects{grid-column:1/-1;gap:0}#play-stage #objects button{min-width:60px;padding:8px;font-size:13px}#play-stage #objects button svg{width:18px;height:18px}#play-stage .editing-actions{border-left:0;padding-left:0}#play-stage .primary-button{padding:10px;font-size:13px}#play-stage .icon-button{width:44px}#play-stage #light-handle .light-label{display:none}#play-stage .object-size-panel{max-height:calc(100dvh - 240px);padding:14px}#play-stage .object-size-panel h2{margin-bottom:12px}}#play-stage[data-frozen=true] :is(#objects,.editing-actions){display:none}#play-stage[data-frozen=true] #toolbar{justify-content:center;width:auto;display:flex}@media (width<=760px){#play-stage #objects{width:100%}#play-stage #objects button{text-align:left;flex:1;gap:6px;min-width:0;padding:8px 6px}#play-stage #objects button span{min-width:0}}#play-stage .studio-settings{z-index:6;grid-template-columns:minmax(140px,1fr) repeat(4,auto);align-items:start;gap:8px;width:min(760px,100% - 40px);font-size:14px;line-height:1.2;display:grid;position:absolute;top:20px;left:20px}#play-stage .object-picker{background:var(--paper);border:1px solid var(--rule);border-radius:var(--control-radius);align-items:center;min-width:0;display:flex}#play-stage .object-picker-select{flex:1;min-width:0;position:relative}#play-stage #object-set{-webkit-appearance:none;appearance:none;border-radius:var(--control-radius);width:100%;min-width:0;min-height:44px;font:inherit;color:var(--ink);cursor:pointer;text-overflow:ellipsis;background:0 0;border:0;padding:10px 38px 10px 14px;display:block}#play-stage #object-set:focus-visible{outline:none}#play-stage .object-picker:has(#object-set:focus-visible){outline:2px solid var(--accent);outline-offset:3px}#play-stage #object-set:hover:not(:disabled){background:var(--stone)}#play-stage #object-set:disabled{cursor:default;opacity:.38}#play-stage #object-set option{color:var(--ink);background:var(--paper)}#play-stage .object-picker-select svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;right:13px;transform:translateY(-50%)}#play-stage .studio-settings details{min-width:0}#play-stage .studio-settings summary{border:1px solid var(--rule);border-radius:var(--control-radius);background:var(--paper);cursor:pointer;user-select:none;justify-content:center;align-items:center;gap:9px;min-width:84px;min-height:46px;padding:10px 12px;list-style:none;display:flex}#play-stage .studio-settings summary::-webkit-details-marker{display:none}#play-stage .studio-settings summary:hover,#play-stage .studio-settings details[open] summary{background:var(--stone)}#play-stage .studio-settings details[open] summary svg{transform:rotate(180deg)}#play-stage .settings-panel{overscroll-behavior:contain;background:var(--paper);border:1px solid var(--rule);border-radius:var(--control-radius);width:min(320px,100vw - 32px);max-height:min(510px,100dvh - 200px);padding:20px;scroll-padding:12px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}#play-stage .settings-panel h2{letter-spacing:-.015em;margin-bottom:16px;font-size:17px;font-weight:600;line-height:1.3}#play-stage .size-field+.size-field{margin-top:8px}#play-stage .size-label{justify-content:space-between;align-items:center;gap:16px;display:flex}#play-stage .size-label label{cursor:pointer}#play-stage .size-label output{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}#play-stage .size-field input{width:100%;height:44px;accent-color:var(--ink);cursor:ew-resize;margin:0;display:block}#play-stage .size-field input:focus-visible{outline:none}#play-stage .size-field:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}#play-stage .size-field input:disabled{cursor:default;opacity:.38}#play-stage #reset-table-size,#play-stage .quiet-action{min-height:44px;color:var(--muted);text-underline-offset:4px;margin-top:6px;padding:10px 0;text-decoration:underline}#play-stage #reset-table-size:hover,#play-stage .quiet-action:hover{color:var(--ink);background:0 0}#play-stage .view-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:20px;display:grid}#play-stage .view-presets button{background:var(--stone);border:1px solid #0000}#play-stage .view-presets button[aria-pressed=true]{border-color:var(--theme-control-border);background:var(--action-background);color:var(--action-foreground)}#play-stage .guide-options{flex-direction:column;gap:4px;margin-bottom:14px;display:flex}#play-stage .guide-options button{text-align:left;border:1px solid #0000;justify-content:space-between;gap:14px;padding:11px 10px}#play-stage .guide-options button:after{content:"";box-sizing:border-box;border:1px solid var(--theme-control-border);border-radius:3px;flex-shrink:0;width:16px;height:16px}#play-stage .guide-options button[aria-pressed=true]{background:var(--stone);border-color:var(--rule)}#play-stage .guide-options button[aria-pressed=true]:after{border:2px solid;border-width:0 2px 2px 0;border-radius:0;width:7px;height:12px;margin:0 5px 4px 4px;transform:rotate(45deg)}#play-stage .panel-note{color:var(--muted);font-size:13px;line-height:1.5}#play-stage .timer-fields{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:10px;display:grid}#play-stage .timer-fields label{flex-direction:column;gap:8px;line-height:1.4;display:flex}#play-stage .timer-fields select,#play-stage .timer-fields input{border:1px solid var(--theme-control-border);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;border-radius:8px;padding:8px;display:block}#play-stage .timer-fields select{cursor:pointer}#play-stage .sound-option{cursor:pointer;align-items:center;gap:10px;min-height:44px;margin-bottom:8px;display:flex}#play-stage .sound-option input{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0;margin:0}#play-stage .timer-actions{flex-wrap:wrap;gap:6px;margin-top:16px;display:flex}#play-stage #drawing-session{z-index:4;background:var(--paper);border:1px solid var(--rule);border-radius:var(--control-radius);align-items:center;gap:16px;max-width:calc(100% - 40px);padding:5px 8px 5px 14px;font-size:14px;line-height:1.4;display:flex;position:absolute;top:80px;left:20px}#play-stage #drawing-status{font-variant-numeric:tabular-nums}#play-stage .drawing-actions{align-items:center;gap:2px;display:flex}#play-stage[data-frozen=true] .studio-settings{grid-template-columns:repeat(2,auto);width:auto}#play-stage[data-frozen=true] .settings-panel{left:0;right:auto}#play-stage[data-frozen=true] :is(.object-picker,#table-size,#view-settings),#play-stage[data-drawing=true] #guide-settings{display:none}@media (width<=760px){#play-stage .studio-settings{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:min(382px,100% - 32px);top:16px;left:16px}#play-stage .object-picker{grid-column:span 4}#play-stage #table-size,#play-stage :is(#view-settings,#guide-settings,#timer-settings){grid-column:span 2}#play-stage .studio-settings summary{gap:7px;min-width:0;padding:10px 8px}#play-stage .settings-panel{width:100%;max-height:min(280px,100dvh - 350px);padding:18px}#play-stage #drawing-session{gap:8px;max-width:calc(100% - 32px);padding-left:12px;font-size:13px;top:126px;left:16px}#play-stage #drawing-session button{padding:10px}#play-stage[data-frozen=true] .studio-settings{grid-template-columns:repeat(2,auto)}#play-stage[data-frozen=true] :is(#guide-settings,#timer-settings){grid-column:auto}#play-stage[data-frozen=true] #drawing-session{top:76px}#play-stage[data-frozen=true] .settings-panel{width:min(320px,100vw - 32px);max-height:min(420px,100dvh - 230px);left:0;right:auto}}@media (height<=540px) and (width>=600px){#play-stage .studio-settings{grid-template-columns:minmax(120px,1fr) repeat(4,auto);gap:6px;width:calc(100% - 24px);top:12px;left:12px}#play-stage .studio-settings :is(.object-picker,#table-size,#view-settings,#guide-settings,#timer-settings){grid-column:auto}#play-stage .studio-settings summary{min-width:72px}#play-stage .settings-panel{width:300px;max-height:calc(100dvh - 140px);padding:16px}#play-stage #drawing-session,#play-stage[data-frozen=true] #drawing-session{top:66px;left:12px}}#play-stage .settings-panel,#play-stage[data-frozen=true] .settings-panel{max-height:min(510px,var(--settings-space,50dvh))}#play-stage .object-size-panel{max-height:min(230px,var(--object-space,40dvh))}@media (width<=760px){#play-stage .settings-panel{max-height:min(280px,var(--settings-space,40dvh))}#play-stage[data-frozen=true] .settings-panel{max-height:min(420px,var(--settings-space,50dvh))}#play-stage .object-size-panel{padding:12px 16px}#play-stage .object-size-panel h2{margin-bottom:6px}#play-stage .object-size-panel .size-field{margin-bottom:0}}
