.model-fullscreen-frame{position:relative;min-width:0}.model-fullscreen-button{position:absolute;top:16px;right:16px;z-index:5;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid #73e7d155;border-radius:10px;background:#091321e8;color:#e8fff9;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.model-fullscreen-button:hover{background:#16372f}.model-fullscreen-button:focus-visible{outline:3px solid #73e7d1;outline-offset:3px}.model-fullscreen-button:disabled{opacity:.65;cursor:wait}.model-fullscreen-button svg{width:20px;height:20px;flex:none}.model-fullscreen-active .fullscreen-expand-icon,.model-fullscreen-button .fullscreen-exit-icon{display:none}.model-fullscreen-active .model-fullscreen-button .fullscreen-exit-icon{display:block}.model-fullscreen-message{position:absolute;left:20px;right:20px;bottom:64px;z-index:5;font:13px/1.6 system-ui,sans-serif;color:#fff;text-shadow:0 1px 4px #000;pointer-events:none}.model-fullscreen-message:empty{display:none}.model-fullscreen-frame.model-fullscreen-active{width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#090e19}.model-fullscreen-frame.model-fullscreen-active>model-viewer{display:block;width:100%!important;height:100%!important;border-radius:0!important}.model-fullscreen-frame::backdrop{background:#090e19}.model-fullscreen-frame.model-fullscreen-window{position:fixed!important;inset:0!important;z-index:10000!important}.model-fullscreen-open{overflow:hidden!important}.model-fullscreen-active .model-fullscreen-button{top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right))}@media(max-width:600px){.model-fullscreen-button{top:12px;right:12px;padding:10px}.model-fullscreen-button [data-fullscreen-label]{display:none}}:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#090e19;color:#edf3ff;--accent:#6ce3d1}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header,main,footer{width:min(1600px,94%);margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:24px 0}small{color:var(--accent);letter-spacing:.2em}h1{margin:6px 0;font-size:26px}h1 span{color:var(--accent)}h2{font-size:20px;margin:0 0 14px}p{color:#b9c8de;line-height:1.8;font-size:14px}section{padding:24px;background:#111b2a;border:1px solid #29394c;border-radius:18px;margin-bottom:20px}button,.file-button,select,input,textarea{font:inherit;border-radius:8px;border:1px solid #385169;padding:10px;color:inherit;background:#162639}button,.file-button{cursor:pointer}button:disabled,fieldset:disabled{opacity:.5}button:hover:enabled,.file-button:hover{border-color:var(--accent)}input,select,textarea{width:100%;margin-top:6px}input[type=checkbox]{width:auto}input[type=file]{max-width:100%;font-size:14px}.dropzone{display:block;padding:25px;border:1px dashed var(--accent);border-radius:12px;cursor:pointer}.dropzone input{display:block}.dragging{background:#203d47}.frame{position:relative;padding:0;overflow:hidden;background:#172438}.frame model-viewer{width:100%;height:clamp(360px,65vh,850px);display:block}.viewer-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;font-size:13px}.frame [data-fullscreen-toggle]{position:absolute;right:14px;top:14px}.frame [data-fullscreen-message]{position:absolute;left:14px;top:10px;max-width:65%}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}fieldset{border:0;padding:0;margin:0;min-width:0}.actions{display:flex;flex-wrap:wrap;gap:12px}.file-button input{width:220px;display:block}.check{display:flex;align-items:center;gap:8px}footer{padding:12px 0 24px;color:#a2b6cf;font-size:13px}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.frame:fullscreen model-viewer,.frame.model-fullscreen-window model-viewer{height:calc(100dvh - 70px)}@media(max-width:600px){header{display:block}header p{margin:4px 0}.fields{grid-template-columns:1fr}.wide{grid-column:auto}section{padding:18px}.viewer-controls{flex-wrap:wrap}.actions>*{width:100%}}.viewer-controls{background:#111b2a;color:#d7e4f5}.frame [data-fullscreen-message]:not(:empty){background:#111b2a;color:#edf3ff;padding:8px;border-radius:8px}.actions{align-items:center}.viewer-controls{flex-wrap:wrap}.animation-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%}.animation-controls select{width:min(360px,100%);margin:0;min-width:0}.animation-controls label{flex-shrink:0}.animation-controls [role=status]{color:#b9c8de}.frame.model-fullscreen-active{display:flex;flex-direction:column;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.frame.model-fullscreen-active model-viewer{flex:1;min-height:0;height:auto}.frame.model-fullscreen-active .viewer-controls{flex-shrink:0;max-height:45dvh;overflow:auto}@media(max-width:600px){.animation-controls select{flex:1;min-width:120px}.animation-controls [role=status]{width:100%}}.performance-label{display:block;max-width:320px;margin-top:16px}html[data-performance=light] .frame:not(.model-fullscreen-active) model-viewer{height:clamp(300px,50vh,480px)}.shared-model-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}.shared-model-list button[aria-current=true]{border-color:var(--accent);color:var(--accent)}.shared-model-list button{max-width:100%;overflow-wrap:anywhere}.shared-model-list li{max-width:100%}
