/* Quiet chrome: keep the artwork as the main visual. */
#settings-dialog{width:min(620px,92vw);padding:28px}#settings-dialog .settings-caption{color:#8a90a5;margin-top:-4px;font-size:13px}.setting-section{padding:12px 0 18px;border-bottom:1px solid #e3e7f1}.setting-section h3{font-size:13px;color:#8a90a5;letter-spacing:2px}.setting-row{display:flex;justify-content:space-between;align-items:center}.setting-row select{padding:9px 14px;border:1px solid #d8ddeb;border-radius:8px}.settings-actions{display:flex;gap:12px;margin:22px 0}.settings-actions button{flex:1;padding:12px}.settings-version{font-size:11px;color:#9b9eaf;text-align:right}#settings-dialog #volume-controls{position:static;transform:none;display:flex;flex-wrap:wrap;border:0;box-shadow:none;border-radius:0;padding:0;background:transparent;gap:14px;font-size:14px}#settings-dialog #volume-controls .animation-settings{width:100%;justify-content:space-between;border:0;padding:0;margin:4px 0 10px;font-size:15px}#settings-dialog #volume-controls .animation-settings select{font-size:14px;border:1px solid #d8ddeb;border-radius:8px;padding:9px 12px;max-width:none}#settings-dialog #volume-controls input{flex:1;width:160px}#settings-dialog #choose-music{display:none}#menu{font-size:25px;border-radius:10px;width:48px;min-width:48px}#back[hidden]{display:none}header{border-bottom-width:1px}.resources>span{border-radius:9px}.quick-pool{border-radius:10px;overflow:hidden;transition:box-shadow .2s,border-color .2s}.quick-pool.active{box-shadow:0 0 0 2px #2bcfc1,0 5px 18px #2bcfc126}.pool-actions button{border-radius:7px;box-shadow:0 2px 8px #17213b20}.pool-item{position:relative;padding-top:34px;border-radius:10px}.pool-type-tag{position:absolute;top:10px;left:16px;font-size:10px;letter-spacing:1px;color:#16a99d}.pool-item:hover{border-color:#32c9bf;box-shadow:0 5px 18px #344a6a12}.pool-item strong{line-height:1.6}.pool-item small{line-height:1.6}#music-group{padding:10px;border-radius:7px;border:1px solid #cbd2e2;margin:0 0 12px;width:100%}#music-results button{position:relative;padding:15px 70px 15px 16px;border-color:#e0e5ef;border-radius:10px}#music-results button .song-state{position:absolute;right:15px;top:20px;color:#19aca3}.focus-note{font-size:12px;line-height:1.8;color:#8b90a4}#focus-list{overflow:auto;max-height:57vh}.focus-event{background:#fff;border:1px solid #e1e5ef;border-radius:10px;margin:12px 0;padding:18px}.focus-number{font-size:12px;color:#17a99f}.focus-event h3{margin:8px 0;font-size:16px}.focus-event small{color:#9095a5}.focus-event button{padding:8px 10px;margin:12px 6px 0 0;font-size:11px}.image-loading{opacity:.75;transition:opacity .2s}dialog{border-radius:16px}dialog .dialog-title{border-bottom-width:1px}dialog::backdrop{background:#151e36a0;backdrop-filter:blur(7px)}
:root[data-theme=dark]{color-scheme:dark;color:#e1e6f4;background:#111520}:root[data-theme=dark] body{background:#111520}:root[data-theme=dark] #game{background:radial-gradient(ellipse at 4% 90%,#183a3c,transparent 55%),#191f2d}:root[data-theme=dark] header,:root[data-theme=dark] footer,:root[data-theme=dark] .draw-panel{background:#1b2232f5;border-color:#343e52}:root[data-theme=dark] aside{background:#202838}:root[data-theme=dark] button,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] .resources>span{background:#2a3448;color:#e1e6f4;border-color:#49546e}:root[data-theme=dark] button.primary,:root[data-theme=dark] .draw-button.primary{background:#27c8bd;color:#122f35;border-color:#2aafa7}:root[data-theme=dark] .subtle,:root[data-theme=dark] #back,:root[data-theme=dark] #fullscreen{background:transparent;color:#ccd5e9}:root[data-theme=dark] .quick-pool{background:linear-gradient(120deg,#263f4c,#38334c);border-color:#49516d}:root[data-theme=dark] .quick-pool span{background:#202838ed;color:#e0e6f6}:root[data-theme=dark] dialog{background:#202838;color:#e1e6f4}:root[data-theme=dark] .history-entry,:root[data-theme=dark] .focus-event,:root[data-theme=dark] .rate-summary>div,:root[data-theme=dark] #collection-list button{background:#293246;border-color:#414e68}:root[data-theme=dark] .history-entry strong{color:#e1e6f4}:root[data-theme=dark] #result{background:radial-gradient(ellipse at 10% 80%,#183e40,transparent 60%),#1b2232}:root[data-theme=dark] #start-screen{background:radial-gradient(ellipse at 20% 30%,#204047,transparent 55%),radial-gradient(ellipse at 85% 70%,#3a2944,transparent 55%),#191f2d}:root[data-theme=dark] #settings-dialog #volume-controls{background:transparent;color:#e1e6f4}:root[data-theme=dark] .setting-section,:root[data-theme=dark] .save-tools{border-color:#414c63}:root[data-theme=dark] .detail-info,:root[data-theme=dark] #skill-panel{background:#293246;color:#e1e6f4}:root[data-theme=dark] .sim-note,:root[data-theme=dark] #collection-summary,:root[data-theme=dark] #history-summary{color:#aab5cd}
@media(max-width:760px){.resources{gap:7px}.resources>span{min-width:0;padding:5px 8px}.jp{display:none}#pool-list{grid-template-columns:1fr}.filters{flex-wrap:wrap}.settings-actions{flex-wrap:wrap}.pool-actions{gap:5px!important}.pool-actions button{padding:6px!important;font-size:11px!important}}

.web-save-note{margin-left:auto;margin-right:20px;font-size:10px;color:#8993a9}@media(max-width:760px){#game{width:100vw;min-height:100dvh;aspect-ratio:auto}header{height:72px;padding:10px}#lobby{top:0!important;bottom:auto!important;height:calc(100dvh - 110px)!important;grid-template-columns:160px 1fr!important;grid-template-rows:1fr 145px!important}.page-title strong{font-size:22px}.page-title small,.resources>span:first-child{display:none}.resources>span{font-size:11px}.draw-buttons{width:100%;gap:12px}.draw-button{width:46%;min-width:0;padding:7px}.draw-button strong{font-size:18px}.quick-pool{min-height:90px}aside{padding:9px!important}.pool-actions{right:8px!important;bottom:8px!important}.pickup-strip{display:none}#pool-logo{max-width:55%!important}.pool-heading{font-size:10px!important}#period{max-width:60%}#result{top:72px;padding:15px}#result-grid{padding:5% 0;gap:5%;height:65%}.result-bottom{gap:8px}.result-bottom>button{width:120px}.result-bottom>span{font-size:10px}.card-list{grid-template-columns:repeat(3,1fr)}#collection-list{grid-template-columns:repeat(3,1fr)}}@media(max-width:480px){#lobby{grid-template-columns:112px 1fr!important}.all-pools{font-size:12px}.quick-pool span{font-size:9px}.pool-actions{flex-wrap:wrap}.pool-actions button{font-size:9px!important}.banner-stage #fallback-title{font-size:18px}.resources>span small{display:none}}

:root[data-theme=dark] #card-dialog{background:#202838f5!important;color:#e1e6f4!important}:root[data-theme=dark] #skill-panel{background:#293246!important;color:#e1e6f4!important}:root[data-theme=dark] #card-dialog .close-card{color:#e1e6f4}:root[data-theme=dark] .detail-tools button{background:#303c52!important;color:#e1e6f4!important}:root[data-theme=dark] .preview-note{color:#a7b2ca}:root[data-theme=dark] .detail-power,:root[data-theme=dark] .detail-level,:root[data-theme=dark] .detail-skill{border-color:#49556e}@media(max-width:760px){#card-dialog[open]{grid-template-columns:1fr!important}#card-dialog{padding:32px 20px 20px!important}#skill-panel{font-size:15px}}
