.hc-backdrop-picker{border:1px solid var(--hc-line);background:var(--hc-surface);min-width:0;color:var(--hc-ink);border-radius:14px;margin:10px 0 14px}.hc-backdrop-picker>summary{cursor:pointer;align-items:center;gap:12px;min-height:58px;padding:7px 13px;list-style:none;display:flex}.hc-backdrop-picker>summary::-webkit-details-marker{display:none}.hc-backdrop-picker>summary:focus-visible{outline:3px solid var(--hc-accent);outline-offset:3px;border-radius:12px}.hc-backdrop-title{font-size:13px;font-weight:700}.hc-backdrop-current{color:var(--hc-ink);align-items:center;gap:8px;margin-inline-start:auto;font-size:12px;font-weight:600;display:flex}.hc-backdrop-current>img,.hc-backdrop-current-plain{object-fit:cover;border:1px solid var(--hc-line);border-radius:7px;width:52px;height:36px}.hc-backdrop-current-plain{background:var(--hc-surface);color:var(--hc-ink);place-items:center;display:grid}.hc-backdrop-chevron{color:var(--hc-ink);flex-shrink:0;transition:transform .18s}.hc-backdrop-picker[open]>summary .hc-backdrop-chevron{transform:rotate(180deg)}.hc-backdrop-content{border-top:1px solid var(--hc-line);padding:0 13px 13px}.hc-backdrop-colors{border-bottom:1px solid var(--hc-line);padding:12px 0}.hc-backdrop-colors legend{padding-top:12px;font-size:12px;font-weight:650}.hc-backdrop-colors>div{flex-wrap:wrap;gap:8px;display:flex}.hc-backdrop-colors button{border:1px solid var(--hc-line);background:var(--hc-surface);min-height:44px;color:var(--hc-ink);border-radius:10px;align-items:center;gap:7px;padding:5px 10px;font-size:12px;display:flex}.hc-backdrop-colors button[aria-pressed=true]{border-color:var(--hc-accent);background:var(--hc-selected);font-weight:650}.hc-backdrop-colors button>span{border:1px solid #94a3b866;border-radius:50%;flex-shrink:0;place-items:center;width:27px;height:27px;display:grid}.hc-backdrop-category{color:var(--hc-ink);flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;font-size:12px;display:flex}.hc-backdrop-category select{border:1px solid var(--hc-line);background:var(--hc-surface);min-height:40px;color:inherit;border-radius:9px;padding:7px 34px 7px 11px;font-size:14px}.hc-backdrop-category select:focus-visible{outline:2px solid var(--hc-accent);outline-offset:3px}.hc-backdrop-options{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px;max-width:920px;display:grid}.hc-backdrop-options button{border:1px solid var(--hc-line);background:var(--hc-surface);min-width:0;min-height:54px;color:var(--hc-ink);text-align:start;border-radius:10px;align-items:center;gap:9px;padding:5px 9px;font-size:12px;line-height:1.35;transition:border-color .15s,background .15s,box-shadow .15s;display:flex;position:relative}.hc-backdrop-options button:hover{border-color:var(--hc-accent);background:var(--hc-selected)}.hc-backdrop-options button[aria-pressed=true]{border-color:var(--hc-accent);background:var(--hc-selected);box-shadow:0 0 0 1px color-mix(in srgb, var(--foreground) 8%, transparent);color:var(--hc-ink);font-weight:650}.hc-backdrop-preview{object-fit:cover;border-radius:6px;flex:0 0 66px;width:66px;height:42px;display:block}.hc-backdrop-plain{background:var(--hc-surface);color:var(--hc-ink);place-items:center;display:grid}.hc-backdrop-check{background:var(--hc-surface);color:var(--hc-ink);width:19px;height:19px;box-shadow:0 1px 4px color-mix(in srgb, var(--foreground) 8%, transparent);border-radius:50%;flex-shrink:0;margin-inline-start:auto;padding:2px}.hc-backdrop-picker p{color:var(--hc-muted);margin:9px 0 0;font-size:10px;line-height:1.5}.hc-scene-backdrop{pointer-events:none;background:#fff;position:absolute;inset:0;overflow:hidden}.hc-scene-backdrop img{object-fit:cover;opacity:.68;width:100%;height:100%;display:block}.hc-stage[data-backdrop] .hc-stage-glow{display:none}.hc-stage[data-backdrop] .hc-stage-floor>span{color:#30445d;background:#ffffffdf;border-radius:4px;padding:3px 5px}@media (max-width:560px){.hc-backdrop-picker{border-radius:12px;margin:8px 0 12px}.hc-backdrop-picker>summary{gap:8px;min-height:54px;padding:6px 10px}.hc-backdrop-title{font-size:12px}.hc-backdrop-current{gap:6px;font-size:11px}.hc-backdrop-current>img,.hc-backdrop-current-plain{width:42px;height:30px}.hc-backdrop-content{padding:0 9px 10px}.hc-backdrop-category{gap:7px;font-size:11px}.hc-backdrop-category select{min-height:40px;font-size:13px}.hc-backdrop-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hc-backdrop-options button{gap:6px;min-height:50px;padding:4px 6px;font-size:10px}.hc-backdrop-preview{flex-basis:48px;width:48px;height:36px}.hc-backdrop-check{width:17px;height:17px}}
.hc-camera-toolbar{background:var(--background);color:var(--foreground);border-block:1px solid var(--border);padding:10px 14px}.hc-camera-controls{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hc-camera-controls button,.hc-camera-item button{background:var(--background);min-width:44px;min-height:44px;color:var(--foreground);border:1px solid var(--border);border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:600;display:inline-flex}.hc-camera-controls button:hover:not(:disabled),.hc-camera-item button:hover{border-color:var(--primary);color:var(--primary)}.hc-camera-controls button:disabled{opacity:.35;cursor:default}.hc-camera-controls output{text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:52px;font-size:12px}.hc-camera-items{scrollbar-width:thin;gap:8px;padding-block:10px 2px;display:flex;overflow-x:auto}.hc-camera-item{border:1px solid var(--border);background:var(--background);border-radius:12px;flex-shrink:0;align-items:center;display:flex}.hc-camera-item button{white-space:nowrap;background:0 0;border:0}.hc-camera-item button>span{border-radius:50%;width:8px;height:8px}.hc-camera-item .hc-camera-remove{border-inline-start:1px solid var(--border);border-radius:0 10px 10px 0;padding:8px}.hc-camera-toolbar>p{color:var(--muted-foreground);margin:8px 0 0;font-size:12px;line-height:1.5}.hc-stage-viewport[data-zoomed]{touch-action:none;overscroll-behavior:contain;cursor:grab;overflow:auto}.hc-stage-viewport[data-zoomed]:active{cursor:grabbing}.hc-scene-remove{z-index:60;border:1px solid var(--border);background:var(--background);width:28px;height:28px;color:var(--foreground);border-radius:50%;place-items:center;display:grid;position:absolute;box-shadow:0 2px 8px #0002;pointer-events:auto!important}.hc-scene-remove:hover{background:var(--destructive);color:#fff}.hc-camera-toolbar button:focus-visible,.hc-scene-remove:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (max-width:700px){.hc-camera-toolbar{padding:8px}.hc-camera-controls{gap:4px}.hc-camera-controls button{padding:8px;font-size:11px}.hc-camera-controls output{min-width:42px}.hc-camera-items{gap:6px}.hc-camera-item button{font-size:11px}}.hc-stage-viewport{overflow-anchor:none;scroll-behavior:auto}.hc-stage-viewport[data-zoomed] .hc-stage{overflow-anchor:none}.hc-figure-detail{border-block:1px solid var(--border);background:var(--background);color:var(--foreground);align-items:center;gap:20px;padding:16px;display:flex}.hc-figure-detail>.hc-character{flex:0 220px;width:auto;max-width:45%;position:relative;height:180px!important}.hc-figure-detail>.hc-character svg{width:100%;height:100%}.hc-figure-detail strong{font-size:16px}.hc-figure-detail p{color:var(--muted-foreground);margin-top:6px}.hc-figure-detail>button{border:1px solid var(--border);border-radius:10px;align-self:flex-start;place-items:center;min-width:44px;min-height:44px;margin-inline-start:auto;display:grid}
.hc-reference-dialog{background:var(--background);width:min(960px,100vw - 24px);max-height:90dvh;color:var(--foreground);flex-direction:column;gap:14px;padding:24px;display:flex;overflow:hidden;max-width:960px!important}.hc-reference-search{border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;padding:10px 14px;display:flex}.hc-reference-search input{background:0 0;outline:none;width:100%;min-width:0}.hc-reference-tabs{flex-shrink:0;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.hc-reference-tabs button{white-space:nowrap;border:1px solid var(--border);border-radius:12px;min-height:44px;padding:8px 14px}.hc-reference-tabs button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.hc-reference-note,.hc-reference-editor>p{color:var(--muted-foreground);font-size:12px;line-height:1.6}.hc-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0;padding:3px;display:grid;overflow-y:auto}.hc-reference-option{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:12px;display:flex}.hc-reference-option:hover:not(:disabled){border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--card))}.hc-reference-option:disabled{opacity:.6}.hc-reference-option img{object-fit:contain;width:100%;height:130px}.hc-reference-option strong{font-size:14px}.hc-reference-option>span{font-size:13px}.hc-reference-add{color:var(--primary);align-items:center;gap:6px;min-height:30px;margin-top:auto;display:flex}.hc-reference-option:focus-visible,.hc-reference-tabs button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.hc-reference-editor{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:18px;margin-block:24px;padding:20px}.hc-reference-editor h3{margin-bottom:8px;font-weight:700}.hc-reference-selected{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:16px;display:grid}.hc-reference-selected article{border:1px solid var(--border);border-radius:14px;align-items:center;gap:12px;padding:12px;display:flex}.hc-reference-selected img{object-fit:contain;width:75px;height:90px}.hc-reference-selected article>div{flex:1;min-width:0}.hc-reference-selected label{margin-block:6px;font-size:12px;display:block}.hc-reference-selected input{border:1px solid var(--border);background:var(--background);width:100%;color:var(--foreground);border-radius:8px;min-height:44px;padding:8px;font-size:16px;display:block}.hc-reference-selected small{color:var(--muted-foreground)}.hc-reference-selected article>button{align-self:flex-start;place-items:center;min-width:44px;min-height:44px;display:grid}@media (max-width:600px){.hc-reference-dialog{padding:16px 12px}.hc-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hc-reference-option{padding:10px}.hc-reference-option img{height:100px}.hc-reference-editor{padding:14px}.hc-reference-entry{font-size:12px!important}.hc-reference-selected{grid-template-columns:1fr}}.hc-reference-summary{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 20px;display:flex}.hc-reference-summary span+span{font-weight:400}
.hc-celebrity-dialog{flex-direction:column;gap:14px;width:min(900px,100vw - 24px);max-height:90dvh;padding:24px;display:flex;overflow:hidden;max-width:900px!important}.hc-celebrity-search{border:1px solid var(--border);border-radius:14px;flex-shrink:0;align-items:center;gap:10px;padding:10px 14px;display:flex}.hc-celebrity-search input{background:0 0;outline:none;width:100%;min-width:0}.hc-celebrity-filters{flex-shrink:0;align-items:center;gap:8px;display:flex}.hc-celebrity-filters button{border:1px solid var(--border);border-radius:10px;min-height:44px;padding:9px 15px}.hc-celebrity-filters button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.hc-celebrity-filters>span{margin-inline-start:auto;font-size:13px}.hc-celebrity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;padding:2px 4px 4px;display:grid;overflow-y:auto}.hc-celebrity-option{border:1px solid var(--border);background:var(--background);border-radius:18px;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:14px;display:grid}.hc-celebrity-portrait{background:color-mix(in srgb,var(--primary) 7%,transparent);border-radius:12px;justify-content:center;height:155px;padding:6px;display:flex}.hc-celebrity-portrait img{object-fit:contain;width:auto;max-width:100%;height:100%}.hc-celebrity-info{flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.hc-celebrity-info strong{overflow-wrap:anywhere;font-size:15px;line-height:1.3}.hc-celebrity-info small{color:var(--muted-foreground);font-size:12px}.hc-celebrity-info b{font-size:18px}.hc-celebrity-info button{background:var(--primary);width:100%;min-height:44px;color:var(--primary-foreground);border-radius:10px;justify-content:center;align-items:center;gap:5px;margin-top:auto;padding:8px;font-size:13px;display:flex}.hc-celebrity-info button:disabled{opacity:.5;cursor:not-allowed}.hc-celebrity-option details{color:var(--muted-foreground);grid-column:1/-1;font-size:12px}.hc-celebrity-option summary{cursor:pointer;padding:6px 0}.hc-celebrity-option details p{overflow-wrap:anywhere;margin-top:6px}.hc-celebrity-option a,.hc-celebrity-source a{align-items:center;gap:4px;-webkit-text-decoration:underline;text-decoration:underline;display:inline-flex}.hc-celebrity-note{color:var(--muted-foreground);flex-shrink:0;font-size:11px;line-height:1.5}.hc-celebrity-note span{margin-top:3px;display:block}.hc-celebrity-source{border-top:1px solid var(--border);color:var(--muted-foreground);flex-direction:column;gap:7px;padding:12px 0;font-size:12px;display:flex}.hc-celebrity-height{color:var(--foreground);font-size:32px;font-weight:700}.hc-celebrity-name{font-size:18px;font-weight:650}.hc-add-actions{flex-wrap:wrap}.hc-celebrity-filters{padding-bottom:4px;overflow-x:auto}.hc-celebrity-filters button{flex-shrink:0}.hc-celebrity-count{color:var(--muted-foreground);flex-shrink:0;justify-content:space-between;gap:12px;font-size:12px;display:flex}.hc-celebrity-explanation{color:var(--muted-foreground);grid-column:1/-1;font-size:12px;line-height:1.5}.hc-celebrity-info .hc-illustrative-badge,.hc-illustrative-badge{color:var(--foreground);font-weight:600}@media (max-width:560px){.hc-celebrity-dialog{gap:10px;padding:18px 14px}.hc-celebrity-grid{grid-template-columns:minmax(0,1fr)}.hc-celebrity-option{grid-template-columns:65px minmax(0,1fr)}.hc-celebrity-portrait{height:132px}.hc-editor-heading{flex-wrap:wrap;gap:14px}}
