/* Structural constraints shared by the two projector appearances. */
[hidden]{display:none!important}*,*:before,*:after{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid currentColor;outline-offset:3px}
:root{font-family:-apple-system,BlinkMacSystemFont,Arial,sans-serif}button canvas{display:block;pointer-events:none}.searchbox svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.searchbox input{min-width:0}.utility{position:relative}#tool-menu{position:absolute;z-index:8;right:0;top:100%;min-width:140px;padding:6px;background:Canvas;color:CanvasText;box-shadow:0 6px 23px #0003;border:1px solid #80808055;border-radius:10px}#tool-menu>*{display:block;text-decoration:none;color:inherit;text-align:left;background:none;border:0;padding:8px;white-space:nowrap}
.tray,.filmstrip,.ref-rail{overscroll-behavior:contain}.filter-chips:empty{display:none}.filter-chips{display:flex;flex-wrap:wrap;gap:5px}.tray.choices-light{display:flex;flex-direction:column;align-items:stretch}.orb-controls{display:flex;align-items:center;gap:12px;min-width:0}.orb-demo{flex:none;width:74px;height:74px}.light-groups{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.light-row{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.light-row.small-hues{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.hue-dot{display:inline-flex;width:20px;height:20px;min-width:20px;padding:3px;background:transparent;border:1px solid transparent;border-radius:50%}.hue-dot:before{content:"";background:var(--swatch);border-radius:50%;width:100%;height:100%}.hue-dot[aria-pressed=true]{border-color:currentColor}.more-lights{display:flex;overflow-x:auto;gap:4px}.more-lights .tile{flex:none}
#empty{padding:16px 0;text-align:center}.screen{position:relative}.screen img,.screen video,.frame-card img,.ref-rail img{filter:none!important;mix-blend-mode:normal!important;opacity:1!important}.screen video,.screen img{display:block;max-width:100%;max-height:100%;object-fit:contain}.clip-toggle{position:absolute;left:10px;bottom:10px;background:#15191de8;color:white;border:1px solid #fff6;border-radius:5px;padding:5px 10px;line-height:1.3}.screen:has(video) .clip-toggle{top:8px;bottom:auto}.frame-card .fallback,.screen .fallback{display:grid;place-items:center;width:100%;min-height:70px;background:#7772}.frame-card img{max-width:100%}.ref-rail button{position:relative}.ref-rail img{display:block;width:100%;height:100%;object-fit:contain}.ref-rail .ref-slot{position:absolute;bottom:3px;left:3px;background:#12161be3;color:#fff;font:10px/1.2 ui-monospace,monospace;padding:2px 4px;border-radius:2px}
#status{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);max-width:90%;width:max-content;padding:8px 12px;background:#171b20;color:#fff;border-radius:7px;z-index:20;font:13px/1.4 -apple-system,sans-serif}.director-reveal{animation:portrait-reveal .38s ease-out}@keyframes portrait-reveal{from{transform:scale(.84);opacity:.5}63%{transform:scale(1.055)}to{transform:scale(1);opacity:1}}
body[data-host=native][data-collapsed=true],body[data-host=native][data-collapsed=true] #studio,body[data-host=native][data-collapsed=true] main,body[data-host=native][data-collapsed=true] #idle{background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;height:100vh!important;min-height:0!important;width:100vw!important;max-width:none!important;overflow:hidden!important}
body[data-host=native][data-collapsed=true] .topbar,body[data-host=native][data-collapsed=true] .idle-caption,body[data-host=native][data-collapsed=true] #studio:before,body[data-host=native][data-collapsed=true] #idle:after{display:none!important}
body[data-host=native][data-collapsed=true] .projector-launch,body[data-host=native][data-collapsed=true] .projector-launch canvas{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;animation:none!important;margin:0!important;touch-action:none}
body[data-host=native][data-collapsed=false]{overflow:auto}body[data-host=native] .mini-projector{touch-action:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Keep native controls semantic and mount the same Seedream photography as the artworks. */
.searchbox .search-art{width:22px;height:22px;object-fit:contain;flex:none}
#tools,.fold,#back{font-size:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:20px 20px!important}
#tools{background-image:var(--key-more,url('assets/key-more.webp'))!important}.fold{background-image:var(--key-fold,url('assets/key-fold.webp'))!important}#back{background-image:var(--key-back,url('assets/key-back.webp'))!important}
.copy-skill:before,.media-mode button:before,.clip-toggle:before,#clear:before,#reset-empty:before{content:'';display:inline-block;background-position:center;background-repeat:no-repeat;background-size:contain;width:18px;height:18px;vertical-align:middle;margin-right:5px}
.copy-skill:before{background-image:var(--key-copy,url('assets/key-copy.webp'))}.media-mode [data-mode=image]:before{background-image:var(--key-image-mode,url('assets/key-image-mode.webp'))}.media-mode [data-mode=video]:before{background-image:var(--key-video-mode,url('assets/key-video-mode.webp'))}.clip-toggle:before{background-image:var(--key-play,url('assets/key-play.webp'))}#clear:before,#reset-empty:before{background-image:var(--key-clear,url('assets/key-clear.webp'));width:13px;height:13px}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:4px}.theme-switch button:before{content:'';display:inline-block;flex:none;width:21px;height:23px;background-position:center;background-repeat:no-repeat;background-size:contain}.theme-switch [data-theme=mounty]:before{background-image:url('assets/hero-mounty.webp')}.theme-switch [data-theme=creature]:before{background-image:url('assets/hero-cat-projector.webp')}
body[data-host=native][data-collapsed=true] .projector-launch,body[data-host=native][data-collapsed=true] .projector-launch canvas{box-shadow:none!important;clip-path:none!important;border:0!important;border-radius:0!important;background:transparent!important}
body[data-host=native][data-collapsed=true]::before,body[data-host=native][data-collapsed=true]::after,body[data-host=native][data-collapsed=true] .projector-launch:after,body[data-host=native][data-collapsed=true] .projector-launch:before{display:none!important}

#studio{width:min(624px,100%);min-height:0}body[data-page=idle] main{display:grid;min-height:min(76vh,570px);place-items:center}
#browser,#detail{min-width:0}.filmstrip{max-height:min(43vh,350px);overflow:auto;align-content:start;scrollbar-width:thin;padding:2px 2px 6px}.frame-card{min-width:0}.frame-name{text-align:left;max-width:100%}.facet canvas,.tile canvas{height:70px;display:block}.facet{align-items:center}.tile canvas{height:64px}.tray{scrollbar-width:thin}
.screen{aspect-ratio:1.95;min-height:0}.screen img,.screen video{width:100%;height:100%;object-fit:contain}.ref-rail{grid-template-columns:repeat(auto-fit,minmax(0,88px))}.ref-rail button{min-width:0}
body[data-host=native][data-collapsed=false] #studio{padding:0 8px 8px;width:100%;min-height:0}body[data-host=native][data-collapsed=false] .topbar{padding:6px 0 9px}body[data-host=native][data-collapsed=false] .filmstrip{max-height:225px}body[data-host=native][data-collapsed=false] #browser,body[data-host=native][data-collapsed=false] #detail{gap:7px;padding-top:7px}body[data-host=native][data-collapsed=false] .facet canvas{height:61px}
body[data-theme=creature]{color-scheme:dark}body[data-theme=mounty]{color-scheme:light}body[data-theme=creature] #tool-menu{background:#242a21;color:#edf1e6}body[data-theme=mounty] #tool-menu{background:#fbf7ef;color:#28251f}
body[data-theme=creature][data-page=idle] #launch canvas,body[data-host=native][data-collapsed=true] #launch canvas{filter:drop-shadow(0 0 1px rgba(234,243,215,.45))}
@media(max-width:440px){#studio{padding:0 9px 14px}.topbar{gap:5px}.theme-switch button{padding:4px 7px}.light-option{padding:5px 7px}.handoff{gap:6px}.agent-picker select{padding:0 12px}.media-mode button{padding:6px 8px}.facet canvas{height:57px}}
