@font-face{font-family:Inter;src:url('/assets/fonts/inter-normal.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:light dark;--background:light-dark(#fafafa,#181818);--foreground:light-dark(#222,#eee);--muted:light-dark(#e9e9e9,#303030);--muted-foreground:light-dark(#5e5e5e,#bcbcbc);--border:light-dark(#c9c9c9,#505050);--control:light-dark(#fff,#252525);--selected:light-dark(#292929,#eee);--selected-foreground:light-dark(#fff,#202020)}
*{box-sizing:border-box}
body{margin:0;background:var(--background);color:var(--foreground);font:16px/1.5 Inter,system-ui,sans-serif}
main{max-width:1040px;margin:0 auto;padding:20px 24px 28px}
a{color:inherit;text-underline-offset:3px}
.studio-header a{font-size:14px}
h1{font-size:clamp(21px,3vw,30px);line-height:1.2;letter-spacing:-.035em;font-weight:550;margin:14px 0 20px}
button,input{font:inherit}
button{color:var(--foreground);background:var(--control);border:1px solid var(--border);border-radius:8px;min-height:44px;padding:9px 14px;cursor:pointer}
button:hover{border-color:var(--foreground)}
button:focus-visible,input:focus-visible{outline:3px solid light-dark(#326ec7,#9fc0ff);outline-offset:3px}
.move-controls{display:flex;gap:8px;flex-wrap:wrap}
.move-controls button{font-size:14px}
.move-controls button[aria-pressed="true"]{background:var(--selected);color:var(--selected-foreground);border-color:var(--selected)}
.hint{font-size:14px;color:var(--muted-foreground);margin:10px 0 14px}
.light-controls{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:20px}
.slider-field{display:block;min-width:0;font-size:14px}
.slider-field>span:first-child{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
output{color:var(--muted-foreground);font-size:13px;font-variant-numeric:tabular-nums}
input[type="range"]{display:block;width:100%;margin:8px 0 3px;min-height:28px;accent-color:var(--foreground);cursor:ew-resize}
.range-ends{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted-foreground)}
.ps-stage{position:relative;width:100%;touch-action:none;user-select:none;cursor:crosshair;background:var(--muted);border:1px solid var(--border);border-radius:4px}
.ps-scene{display:block;width:100%;overflow:hidden;touch-action:none}
.ps-scene text{fill:var(--foreground);font:13px Inter,system-ui,sans-serif}
.point-handle{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:10px;border-radius:50%;touch-action:none;cursor:grab;box-shadow:0 2px 5px #0002}
.point-handle:active{cursor:grabbing}
.point-handle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;pointer-events:none}
.light-handle{color:light-dark(#805000,#ffd073)}
.material-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;margin:16px 0}
.material-controls label{display:flex;align-items:center;gap:7px;font-size:14px;min-height:44px;cursor:pointer}
input[type="color"]{width:48px;height:36px;padding:3px;background:var(--control);border:1px solid var(--border);border-radius:6px;cursor:pointer}
input[type="checkbox"]{width:18px;height:18px;accent-color:var(--foreground)}
.ps-values{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px}
.ps-value{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.ps-swatch{display:inline-block;width:20px;height:20px}
.note{font-size:13px;color:var(--muted-foreground);margin:18px 0 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){main{padding:14px 16px 24px}h1{margin:10px 0 14px}.light-controls{gap:16px;margin-bottom:14px}.slider-field>span:first-child{display:block}.slider-field output{display:block;min-height:20px}.range-ends{font-size:11px}.material-controls{gap:4px 15px;margin:12px 0}.hint{font-size:13px;margin:8px 0 12px}}
