/* Shared theme settings UI, not a theme. */
.theme-only,.gachi-stage,.gachi-footer,.theme-sound-top{display:none}
.theme-control{margin:0;flex-shrink:0}.theme-control select{width:126px;padding:7px 8px;font-size:12px}
.theme-settings{scroll-margin-top:90px}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.theme-choice{min-width:0;padding:12px;border:1px solid var(--border);background:var(--bg-secondary);border-radius:8px}.theme-choice h3{margin:12px 0 6px}.theme-choice button{width:100%}.theme-choice button[aria-pressed=true]{outline:2px solid var(--accent-primary);outline-offset:2px}
.theme-mini{height:140px;position:relative;padding:15px;overflow:hidden;pointer-events:none}.theme-mini::before{content:"";display:block;width:70%;height:70px;margin-left:20%;border:1px solid #9e94b8;background:repeating-linear-gradient(90deg,transparent 0 20%,#67627733 21% 23%)}.theme-mini::after{content:"";position:absolute;left:10px;top:15px;width:32px;height:90px;border:1px solid #8b83a4}
.preview-default{background:#0b0e14;border-radius:8px}.preview-default::before{background-color:#151a23;border-radius:5px;border-color:#252d3a}.preview-windows95{background:linear-gradient(#211344,#e68cab 65%,#321443 66%)}.preview-windows95::before,.preview-windows95::after{background-color:#c0c0c0;border:3px outset white;border-top:14px solid navy}.preview-gachimuchi{background:linear-gradient(#ff1f9e44,#13081cd9),url(gachimuchi/characters.png) center/auto 100%;border:1px solid #ff20bd}.preview-gachimuchi::before{border:2px solid #ff23bd;box-shadow:0 0 12px #ff23bd;color:#fff}
.theme-settings .theme-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.theme-settings input[type=range]{max-width:260px}.theme-settings label{display:flex;align-items:center;gap:10px}.theme-settings .theme-status{min-height:24px}.theme-status:empty{display:none}.theme-global-status{position:fixed;bottom:12px;right:12px;z-index:80;max-width:min(420px,90vw);padding:10px 15px;background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border)}
@media(max-width:900px){.theme-options{grid-template-columns:1fr}.theme-mini{height:110px}.theme-choice{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px}.theme-choice .theme-mini{grid-row:span 3}.theme-choice h3{margin:0}.theme-control select{width:105px}.topbar-right{gap:8px}.topbar{gap:12px}}
@media(max-width:430px){.brand>span{display:none}.theme-control select{width:88px;font-size:11px}.topbar{gap:6px;padding-inline:8px}.topbar-right{gap:4px}.brand-group{min-width:0;gap:5px}.brand-logo{width:26px;height:26px}.theme-choice{grid-template-columns:100px minmax(0,1fr)}}
.guest-layout .topbar-right{display:flex}@media(max-width:760px){.guest-layout .guest-caption{display:none}.guest-layout .brand small{display:none}}
html .guest-layout .topbar-right{display:flex}

.reference-art{display:none}.window-actions{display:none}

.reference-label{display:none}
