.figure-settings{padding-top:12px}.figure-settings h3{margin-top:24px}.figure-settings input:not([type=checkbox]):not([type=file]){min-width:0;max-width:55%;padding:8px}.figure-settings button{padding:8px 12px;margin:4px 4px 4px 0;border:1px solid #777;background:#f8f8f5}.figure-settings input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:var(--accent)}.figure-list>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border-bottom:1px solid #aaa;padding:5px 0}.figure-list>div>:first-child{flex:1;min-width:0;overflow-wrap:anywhere;text-align:left}.figure-list select{max-width:55%;font-size:13px}.figure-list span{font-size:13px}.figure-toolbar,.figure-photo-controls{display:none;position:absolute;z-index:9;background:#eceeebed;color:#171717;border-top:3px solid var(--accent);padding:8px;max-width:94%;left:3%;font-size:13px}.figure-toolbar{top:max(12px,env(safe-area-inset-top))}.figure-toolbar button,.photo-preview button,.photo-preview a{min-height:44px;padding:8px 12px;border:1px solid #444;background:#f8f8f5;color:#171717;font:inherit;cursor:pointer}.figure-toolbar .photo-only{display:none}.figure-photo-controls{bottom:max(12px,env(safe-area-inset-bottom));right:3%}.figure-photo-controls label{display:inline-flex;gap:8px;align-items:center;margin-right:12px}.figure-photo-controls span{display:block;margin-top:6px}.figure-photo-controls p{margin:6px 0}.figure-camera{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}.camera-active .figure-camera{display:block}.camera-active{background:none!important}.camera-active::before{display:none!important}body[data-figure-mode=view] .widgets,body[data-figure-mode=photo] .widgets,body[data-figure-mode=view] .hud-decoration,body[data-figure-mode=photo] .hud-decoration,body[data-figure-mode=view] .menu-heading,body[data-figure-mode=photo] .menu-heading,body[data-figure-mode=view] .settings-launch,body[data-figure-mode=photo] .settings-launch{display:none!important}body[data-figure-mode=view] .figure-toolbar,body[data-figure-mode=photo] .figure-toolbar,body[data-figure-mode=photo] .figure-photo-controls{display:block}body[data-figure-mode=photo] .photo-only{display:inline}body[data-figure-mode=photo] .scene{background:var(--photo-background,#c9cbcb)}body[data-figure-mode=photo] .scene::before{display:none}.widgets,.hud-decoration,.menu-heading,.settings-launch,.figure-toolbar{transition:opacity .5s}body.figure-dim .widgets,body.figure-dim .hud-decoration,body.figure-dim .menu-heading,body.figure-dim .settings-launch,body.figure-dim[data-figure-mode=view] .figure-toolbar{opacity:.18}.photo-preview img{width:100%;max-height:60dvh;object-fit:contain}.photo-preview a{display:inline-flex;align-items:center;text-decoration:none;margin:5px}.figure-toolbar [hidden]{display:none!important}@media(max-width:420px){.figure-toolbar button{font-size:12px;padding:6px 8px}.figure-photo-controls input[type=range]{width:110px}}
/* Photography controls: top lighting, bottom shutter, no image backdrop. */
body[data-figure-mode=photo] .scene{background:none!important}
.figure-photo-controls{top:calc(env(safe-area-inset-top,0px) + 64px);bottom:auto;left:3%;right:3%;border:0;display:none;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;background:#eceeebed}
body[data-figure-mode=photo] .figure-photo-controls{display:flex}
.figure-photo-controls label{margin:0;gap:5px;font-size:12px}.figure-photo-controls input[type=range]{width:clamp(65px,23vw,150px)}.figure-photo-controls input[type=color]{width:38px;height:32px;padding:1px;border:1px solid #777}
#posePause{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#171717;margin-left:auto}#posePause svg{width:22px;height:22px;fill:currentColor}
#photoMessage:empty{display:none}#photoMessage{width:100%}
.photo-shutter{display:none;position:absolute;z-index:10;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 22px);transform:translateX(-50%);width:70px;height:70px;border:4px solid #fff;border-radius:50%;padding:4px;background:#3338;box-shadow:0 1px 5px #0005;cursor:pointer}
.photo-shutter::after{content:'';display:block;width:100%;height:100%;border-radius:50%;background:#fff}.photo-shutter:active::after{background:#ccc}.photo-shutter:disabled{opacity:.5}
body[data-figure-mode=photo] .photo-shutter{display:block}
#figureExit,#closePhoto{font:28px/1 sans-serif;min-width:44px}
.figure-quick-photo circle{fill:none;stroke:currentColor}

/* Minimal camera overlay: only the back control has a frame. */
.figure-toolbar{background:transparent;border:0;padding:0}
.figure-toolbar .photo-only,body[data-figure-mode=photo] .figure-toolbar .photo-only{display:none!important}
.figure-photo-controls{background:transparent;border:0;padding:0;justify-content:flex-start}
#posePause{margin-left:0}
.figure-photo-controls input[type=color]{border:0;background:transparent;padding:0}
.figure-photo-controls .photo-shadow{white-space:nowrap}.figure-photo-controls .photo-shadow input{width:20px;height:20px;accent-color:var(--accent)}
.photo-shutter{box-shadow:none;background:transparent}
