/* 移除两处常驻区域：抽取设置外置，结果只在场景揭晓期间短暂出现。 */
.draw-settings-trigger{white-space:nowrap}
.draw-settings-modal{width:min(430px,100%)}
.draw-settings-modal .modal-header{margin-bottom:16px}
.draw-settings-modal .modal-header>div>p:last-child{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.draw-settings-current{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f7faf7}
.draw-settings-current span{color:var(--muted);font-size:11px}
.draw-settings-current strong{font-size:13px}
.draw-settings-modal .pool-tabs{margin:15px 0 13px}
.draw-settings-quantity{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;font-weight:700}
.draw-settings-quantity select{min-width:64px;min-height:38px;padding:6px 9px;color:var(--ink);font-weight:800}
.draw-settings-quantity b{color:var(--ink);font-size:11px}
.draw-settings-modal #closeDrawSettingsAction{width:100%;margin-top:19px}

.draw-controls-panel,#drawResult{display:none!important}
.scene-trigger{border:0;outline:0;font:inherit;cursor:pointer}
.scene-trigger:focus-visible{outline:3px solid rgba(255,239,166,.9);outline-offset:7px}
.scene-trigger:hover span{filter:brightness(1.08)}
/* Decorative layers stay visual so they never intercept the theme touchpoint. */
.theme-scene > div,.theme-scene > i,.theme-scene > span{pointer-events:none}
.theme-scene > button{pointer-events:auto}
.theme-scene > .scene-reveal,.theme-scene > .scene-selection{pointer-events:auto}
.scene-reveal,.scene-selection{position:absolute;z-index:9;display:grid;gap:5px;min-width:180px;max-width:min(300px,44%);padding:15px 17px;border:1px solid var(--scene-border);border-radius:16px;color:var(--scene-ink);background:var(--scene-surface);box-shadow:var(--scene-shadow);backdrop-filter:blur(8px);animation:scene-reveal-in .42s both}
.scene-reveal-pin{width:9px;height:9px;border-radius:50%;background:var(--scene-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--scene-accent) 18%,transparent)}
.scene-reveal strong,.scene-selection strong{display:block;overflow-wrap:anywhere;color:var(--scene-ink);font-size:15px;line-height:1.35}
.scene-reveal small,.scene-selection small{color:color-mix(in srgb,var(--scene-ink) 64%,white);font-size:10px}
.scene-reveal-summary .scene-reveal-items{display:grid;gap:5px;max-height:145px;margin-top:4px;overflow:auto}
.scene-reveal-item{padding:7px 9px;border-radius:9px;color:var(--scene-ink);background:var(--scene-soft);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.scene-reveal-dismiss{min-height:32px;margin-top:5px;padding:6px 11px;border:1px solid var(--scene-border);border-radius:999px;color:var(--scene-ink);background:transparent;font-size:10px;font-weight:800}
.scene-reveal-dismiss:hover{background:var(--scene-soft)}
.scene-reveal-orbit,.scene-selection-orbit{top:64%;left:31%}
.scene-reveal-stars,.scene-selection-stars{top:57%;left:58%}
.scene-reveal-paper,.scene-selection-paper{top:64%;left:66%}
.scene-reveal-bubbles,.scene-selection-bubbles{top:59%;left:48%}
.animation-status{max-width:calc(100% - 230px);color:rgba(255,255,255,.78)}
@keyframes scene-reveal-in{from{opacity:0;transform:translateY(9px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .draw-page-heading .theme-picker{align-items:stretch;flex-wrap:wrap;gap:8px;padding:10px}
  .draw-settings-trigger{flex:1 1 100%;width:100%;min-height:37px;text-align:left}
  .draw-stage{min-height:550px}
  .scene-reveal,.scene-selection{min-width:160px;max-width:76%;padding:12px 13px}
  .scene-reveal strong,.scene-selection strong{font-size:13px}
  .scene-reveal-orbit,.scene-selection-orbit{top:42%;left:30%}
  .scene-reveal-stars,.scene-selection-stars{top:40%;left:57%}
  .scene-reveal-paper,.scene-selection-paper{top:42%;left:64%}
  .scene-reveal-bubbles,.scene-selection-bubbles{top:42%;left:48%}
  .animation-status{max-width:calc(100% - 120px);font-size:11px}
}
@media(max-width:360px){
  .draw-settings-current{padding-inline:11px}
  .draw-settings-quantity{font-size:11px}
  .draw-stage{min-height:535px}
  .scene-reveal,.scene-selection{min-width:145px;max-width:82%}
}
