/* Only the preview background picker and photographic stage are extended here. */
.scene-switcher{position:absolute;left:24px;bottom:26px;z-index:7}
.scene-toggle{display:flex;align-items:center;gap:6px;min-width:64px;min-height:44px;padding:5px 8px 5px 5px;border:1px solid #DCE6E2;border-radius:15px;background:#FFFFFFF0;box-shadow:0 4px 18px #153D4510;color:var(--ink);position:relative}
.scene-toggle:hover,.scene-toggle[aria-expanded=true]{border-color:#80B7BE;background:#FFFFFF}
.scene-current{width:32px;height:32px;display:grid;place-items:center;background:#EFF5F2;border:1px solid #DCE6E2;border-radius:10px;overflow:hidden;flex:none}
.scene-current>img{width:100%;height:100%;object-fit:cover}
.scene-current>.icon{width:18px;height:18px;color:#486C68}
.scene-toggle-chevron>.icon,.scene-toggle>.icon{width:12px;height:12px}
.scene-toggle[aria-expanded=true] .scene-toggle-chevron{transform:rotate(180deg)}
.scene-picker{position:fixed;z-index:90;width:300px;max-width:calc(100vw - 24px);border:1px solid #DDE8E3;border-radius:20px;background:#FFFFFF;box-shadow:0 14px 50px #173C4525,0 2px 8px #173C4510;padding:9px 12px 14px;color:#173D44}
.scene-picker[hidden]{display:none}
.scene-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px;padding-left:3px}
.scene-picker-head h2{font-size:14px;font-weight:600;letter-spacing:-.025em}
.scene-picker-head .icon-btn{width:40px;height:40px;background:none;border:0}
.scene-picker-head .icon{width:17px;height:17px}
.scene-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 8px}
.scene-choice{border:0;background:none;padding:0;min-height:80px;min-width:0;text-align:left;border-radius:10px}
.scene-choice-art{height:61px;position:relative;display:block;border-radius:11px;overflow:hidden;outline:1px solid #E4EBE7;outline-offset:0;background:#EEF4F1}
.scene-choice-art>img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.scene-choice-art.plain{display:grid;place-items:center;background:#F2F6F3}
.scene-choice-art.plain>.icon{width:22px;height:22px;color:#7B9790}
.scene-choice.active .scene-choice-art{outline:2px solid #087E90;outline-offset:2px}
.scene-choice:hover .scene-choice-art>img{transform:scale(1.05)}
.scene-choice-name{display:block;font-size:11px;font-weight:500;padding:6px 2px 0;line-height:1.4}
.scene-choice-check{display:none;position:absolute;bottom:5px;right:5px;background:#FFFFFF;border-radius:50%;height:18px;width:18px;place-items:center;box-shadow:0 1px 4px #0002}
.scene-choice-check>.icon{width:12px;height:12px;color:#006D80}
.scene-choice.active .scene-choice-check{display:grid}
.stage.has-photo-scene::before{display:none}
.stage.has-photo-scene .canvas-wrap{inset:0!important}
.stage.has-photo-scene .stage-meta{background:#FFFFFFED;border:1px solid #FFFFFFA8;border-radius:13px;padding:9px 12px;box-shadow:0 3px 15px #0C253208;max-width:65%;backdrop-filter:blur(10px)}
.stage.has-photo-scene .stage-actions .icon-btn,.stage.has-photo-scene .viewer-dock,.stage.has-photo-scene .zoom-control{background:#FFFFFFF2;border-color:#FFFFFF99;box-shadow:0 3px 20px #152D3214}
.stage.has-photo-scene .stage-bottom-info{border-radius:20px;background:#FFFFFFEA;padding:6px 9px;color:#406264}
.stage.has-photo-scene .view-notice:not([hidden]){background:#FFFFFFED;border-radius:20px;padding:4px 10px;color:#446369;max-width:80%;white-space:normal;text-align:center}
.stage[aria-busy=true] .scene-current{opacity:.55}
@media(max-width:1100px){.scene-switcher{left:15px;bottom:23px}}
@media(max-width:760px){.scene-switcher{left:13px;bottom:67px}.scene-toggle{min-height:42px;min-width:58px;border-radius:14px;padding:4px 7px 4px 4px;gap:4px}.scene-current{width:31px;height:31px}.scene-picker{border-radius:19px}.stage.has-photo-scene .stage-meta{padding:7px 10px;gap:3px;max-width:68%;border-radius:12px}.stage.has-photo-scene .stage-meta strong{font-size:11px}.stage.has-photo-scene .stage-meta span{font-size:10px}.stage.has-photo-scene .view-notice{bottom:60px}.keyboard-open .scene-switcher{display:none}}
@media(max-height:650px) and (max-width:760px){.scene-switcher{bottom:54px}.scene-toggle{min-width:52px;min-height:38px;padding:3px 5px 3px 3px}.scene-current{width:30px;height:30px}}
@media(max-height:480px) and (orientation:landscape){.scene-switcher{display:block;left:10px;bottom:51px}.scene-toggle{min-width:47px;min-height:36px;padding:3px;gap:2px}.scene-current{width:28px;height:28px}.scene-picker{width:286px}.scene-choice-art{height:52px}.scene-choice{min-height:68px}.scene-options{gap:8px}.scene-picker-head{margin:0}.scene-picker-head .icon-btn{height:34px;width:34px}.stage.has-photo-scene .stage-meta{padding:5px 8px}.stage.has-photo-scene .stage-meta strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.scene-choice-art>img{transition:none}}
/* Keep the original icon wrappers visible when the compact landscape/keyboard
   rules hide text captions. Otherwise those older rules hide both together. */
@media(max-height:480px) and (orientation:landscape){.tool-btn [data-icon]{display:block}.tool-btn [data-icon]>.icon{width:21px;height:21px}}
@media(max-width:760px){.keyboard-open .tool-btn [data-icon]{display:block}}
