.view-switch{position:absolute;z-index:9;left:4.4vw;top:19vh;display:flex;gap:3px;padding:3px;border-radius:999px;background:rgba(238,238,240,.94);box-shadow:0 3px 16px rgba(0,0,0,.08);font:700 clamp(12px,1vw,15px)/1 var(--ui)}
@media (min-width:701px) and (min-aspect-ratio:1/1){.view-switch{left:auto;right:4.4vw;top:auto;bottom:4vh}.mk{display:none}}
.view-switch button{min-width:48px;padding:10px 15px;border:0;border-radius:999px;background:transparent;color:#555;cursor:pointer;font:inherit}
.view-switch button[aria-selected="true"]{background:#111;color:#fff}
.view-switch button:focus-visible{outline:2px solid #ff4229;outline-offset:2px}
.three-host{display:none;position:absolute;z-index:3;inset:0;width:100%;height:100%;background:#fff}
.three-host model-viewer{display:block;width:100%;height:100%;background:#fff;--poster-color:#fff}
.three-host model-viewer::part(default-progress-bar){display:none}
.three-host:not(.ready){background:#fff}
.three-host:not(.ready) model-viewer{visibility:hidden}
.three-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.three-host.failed .three-status{left:50%;top:50%;z-index:2;width:auto;height:auto;margin:0;overflow:visible;clip:auto;transform:translate(-50%,-50%);color:#666;font:700 14px/1.3 var(--ui);text-align:center;pointer-events:none}
.three-loading{position:absolute;left:50%;top:50%;z-index:2;display:grid;justify-items:center;gap:16px;transform:translate(-50%,-50%);width:min(340px,calc(100vw - 40px));pointer-events:none}
.three-loading-brand{display:flex;align-items:center;justify-content:center;gap:14px;color:#111;font:700 clamp(20px,2.2vw,30px)/1 var(--ui);letter-spacing:-.025em;white-space:nowrap}
.three-loading-brand img{display:block;width:clamp(48px,5.8vw,76px);height:auto}
.three-loader{display:block;width:min(230px,68vw);height:5px;border:0;border-radius:999px;appearance:none;-webkit-appearance:none;background:#e7e7ea;overflow:hidden}
.three-loader::-webkit-progress-bar{border-radius:999px;background:#e7e7ea}
.three-loader::-webkit-progress-value{border-radius:999px;background:#111;transition:width .16s ease}
.three-loader::-moz-progress-bar{border-radius:999px;background:#111;transition:width .16s ease}
.three-host.ready .three-loading,.three-host.failed .three-loading{display:none}
.stg.mode-3d .mk{display:none}
.drag-hint{display:none;position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%);padding:12px 22px;border-radius:999px;background:rgba(17,17,17,.7);color:#fff;font:700 15px/1.1 var(--ui);white-space:nowrap;pointer-events:none}
.three-host.ready .drag-hint:not(.used){display:block}
.stg.mode-3d .three-host{display:block}
.stg.mode-3d #layers,.stg.mode-3d #dial,.stg.mode-3d #ring,.stg.mode-3d #hand,.stg.mode-3d #arrowsBtn,.stg.mode-3d #layerInfo{visibility:hidden;pointer-events:none}
@media (max-width:700px){.view-switch{left:50%;top:max(4vh,calc(env(safe-area-inset-top) + 8px));transform:translateX(-50%)}.view-switch button{min-width:42px;padding:8px 12px}.three-loading{gap:14px}.three-loading-brand{gap:11px;font-size:clamp(18px,5.4vw,24px)}.three-loading-brand img{width:48px}}
