.studio-demo-player{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000;color:#fff}.studio-demo-player video{display:block;width:100%;height:100%;object-fit:contain}.studio-demo-canvas{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer}.studio-demo-canvas,.studio-demo-start{display:flex;align-items:center;justify-content:center}.studio-demo-start{width:64px;height:64px;border-radius:999px;background:#0004}.studio-demo-start svg{width:28px;height:28px}.studio-demo-controls{position:absolute;z-index:2;inset:auto 0 0;display:flex;align-items:center;gap:12px;padding:10px 14px;background:#232a34ed}.studio-demo-controls button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px}.studio-demo-controls svg{width:18px;height:18px}.studio-demo-controls input[type=range]{display:block;min-width:0;height:20px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}.studio-demo-controls input[type=range]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:2px;background:linear-gradient(to right,#fff var(--demo-fill,0),#788390 var(--demo-fill,0))}.studio-demo-controls input[type=range]::-moz-range-track{height:4px;border:0;border-radius:2px;background:linear-gradient(to right,#fff var(--demo-fill,0),#788390 var(--demo-fill,0))}.studio-demo-controls input[type=range]::-webkit-slider-thumb{width:8px;height:8px;margin-top:-2px;appearance:none;-webkit-appearance:none;border:0;border-radius:50%;background:#fff;box-shadow:none}.studio-demo-controls input[type=range]::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#fff;box-shadow:none}.studio-demo-controls .studio-demo-progress{flex:1;width:0}.studio-demo-volume{position:relative;flex-shrink:0}.studio-demo-volume-panel{position:absolute;bottom:100%;left:50%;width:40px;height:132px;transform:translateX(-50%);border-radius:4px 4px 0 0;background:#232a34;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s}.studio-demo-volume-panel input[type=range]{position:absolute;top:50%;left:50%;width:96px;transform:translate(-50%,-50%) rotate(-90deg)}.studio-demo-volume:focus-within .studio-demo-volume-panel,.studio-demo-volume:hover .studio-demo-volume-panel{opacity:1;visibility:visible;pointer-events:auto}.studio-demo-controls .studio-demo-speed{width:42px;flex-shrink:0;appearance:none;border:0;border-radius:0;padding:2px;background:transparent;color:#fff;font-size:13px;text-align:center;cursor:pointer}.studio-demo-speed option{background:#232a34;color:#fff}.studio-demo-time{flex-shrink:0;font-size:11px;font-variant-numeric:tabular-nums}.studio-demo-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;font-size:13px;text-align:center;background:#111}.studio-demo-error button{padding:7px 12px;border:1px solid #ffffff40;border-radius:8px}.studio-demo-player button:focus-visible,.studio-demo-player input:focus-visible,.studio-demo-player select:focus-visible{outline:2px solid #fff;outline-offset:3px}.studio-demo-player:fullscreen{display:flex;align-items:center;justify-content:center;width:100vw;height:100dvh;aspect-ratio:auto;border-radius:0}@media (max-width:639px){.studio-demo-controls{gap:8px;padding-inline:10px}}