.settings-panel{position:absolute;right:24px;top:209px;bottom:145px;width:304px;z-index:6;background:#10212be8;border:1px solid #85a7b52b;border-radius:12px;backdrop-filter:blur(22px);box-shadow:0 18px 60px #0004;opacity:0;transform:translateY(-7px) translateX(12px) scale(.985);transform-origin:top right;visibility:hidden;pointer-events:none;transition:opacity .24s var(--ease),transform .32s var(--ease),visibility .32s}
.settings-open .settings-panel{opacity:1;transform:translate(0) scale(1);visibility:visible;pointer-events:auto}.settings-heading{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 17px 0 23px;font-size:13px;color:#d6e8ed;border-bottom:1px solid #87acbe1c}.settings-heading .icon{width:30px;height:30px}.settings-content{max-height:calc(100% - 57px);overflow-y:auto;padding:23px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#466678 transparent}.setting{margin-bottom:20px}.setting>label,.setting-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#a9c2ce;margin-bottom:8px}.setting output{color:#d2e3e7;font-size:10px}.setting-note{font-size:10px;line-height:1.65;color:#7998a9;margin:10px 0 0}.palette-choices{display:flex;gap:9px;margin-top:11px}.palette-choices button{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;padding:9px 5px 8px;border:1px solid transparent;border-radius:8px;color:#7e9bab;font-size:10px;transition:border-color .23s,background .23s,color .23s}.palette-choices button[aria-pressed=true]{border-color:#8ec6d34d;background:#a6d6e00c;color:#d5e9eb}.palette-choices button:hover{background:#a6d6e012;color:#d5e9eb}.swatch{display:block;width:36px;height:14px;border-radius:9px;box-shadow:0 0 11px #9bcad01a}.swatch.ice{background:linear-gradient(100deg,#7a69d4,#52d0eb,#d5fff2)}.swatch.ember{background:linear-gradient(100deg,#7b8cbf,#ee9b5a,#ffe8b3)}.swatch.pearl{background:linear-gradient(100deg,#9a8ebc,#c6d5e7,#fbf5ec)}.segmented{display:flex;gap:3px;padding:3px;background:#06151d80;border:1px solid #88afc21c;border-radius:8px}.segmented button{flex:1;padding:8px 6px;border-radius:5px;white-space:nowrap;font-size:10px;color:#7f9bab;transition:background .22s,color .22s,box-shadow .22s}.segmented button:hover{color:#d6edf2}.segmented button[aria-pressed=true]{color:#e0eef1;background:#8cbdcf20;box-shadow:inset 0 0 0 1px #8cbdcf13}.vector-key{display:flex;gap:18px;margin-top:8px;justify-content:flex-end}.vector-key>span{display:flex;gap:6px;align-items:center;font-size:9px;color:var(--electric)}.vector-key>span:last-child{color:var(--magnetic)}.vector-key i{display:block;width:13px;height:1px;background:currentColor;position:relative}.vector-key i:after{content:'';position:absolute;right:0;top:-2px;width:4px;height:4px;border-right:1px solid currentColor;border-top:1px solid currentColor;transform:rotate(45deg)}
.settings-section{border-top:1px solid #88afc21f;margin-top:4px}.settings-section summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:11px;color:#9ab6c5;cursor:pointer}.settings-section summary::-webkit-details-marker{display:none}.chevron{width:6px;height:6px;border-right:1px solid #7594a5;border-bottom:1px solid #7594a5;transform:rotate(45deg);transition:transform .25s var(--ease);margin-right:3px}.settings-section[open] .chevron{transform:rotate(225deg)}.section-body{padding:5px 0 16px;animation:section-enter .3s var(--ease)}@keyframes section-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.element-card{display:flex;align-items:center;gap:15px}.element-card canvas{width:106px;height:106px;border:1px solid #6e9db833;border-radius:4px;background:#06111a}.element-card>div{flex:1;font-size:10px;line-height:1.6;color:#b1c9d4}#element-legend{margin-top:9px;color:#7393a5;font-size:9px}.phase-key{height:6px;width:82px;background:linear-gradient(90deg,#ec8cab,#a5b6f3,#87cc9f,#e8c37b,#ec8cab);border-radius:4px;margin-bottom:6px}.switch{display:flex;position:relative;align-items:center;justify-content:space-between;min-height:40px;margin:0 0 10px;cursor:pointer;font-size:11px;color:#a9c2ce}.switch input{position:absolute;right:0;width:35px;height:32px;opacity:0;cursor:pointer}.switch i{display:block;width:28px;height:16px;border-radius:12px;background:#48637255;border:1px solid #6b8c9d40;pointer-events:none;transition:background .2s}.switch i:after{content:'';display:block;width:10px;height:10px;border-radius:50%;background:#88a4b3;transform:translate(2px,2px);transition:transform .23s var(--ease),background .2s}.switch input:checked+i{background:#73bbcd50;border-color:#93cbd954}.switch input:checked+i:after{transform:translate(14px,2px);background:#d0e7e9}.switch input:focus-visible+i{outline:2px solid #8cc6d9;outline-offset:4px}.camera-choices{display:flex;gap:6px;padding-top:19px;margin:3px 0 21px;border-top:1px solid #88afc21f}.camera-choices button{flex:1;border:1px solid #88afc224;border-radius:6px;padding:8px 5px;font-size:10px;color:#91aebe;transition:background .2s,color .2s}.camera-choices button:hover{background:#88afc218;color:#dbedf2}.settings-footer{display:flex;justify-content:space-between;gap:10px}.settings-footer button{font-size:10px;color:#7d9cad;padding:4px 0;transition:color .2s}.settings-footer button:hover{color:#d1e9ed}
#app[data-palette=amber]{--electric:#ffd18d;--magnetic:#9bbcff;--accent:#e6b77e}#app[data-palette=silver]{--electric:#eff2f5;--magnetic:#cbb7f1;--accent:#cbc5de}
@media(min-width:1400px){.settings-panel{right:32px;top:228px;bottom:150px;width:320px}.settings-content{padding:25px}.settings-heading{padding-left:25px}}
@media(max-width:650px){.settings-panel{top:183px;right:14px;bottom:129px;width:calc(100% - 28px);max-height:620px;transform:translateY(-8px) scale(.985);transform-origin:top center}.settings-heading{height:50px}.settings-content{padding:20px 23px;max-height:calc(100% - 50px)}.setting{margin-bottom:18px}.palette-choices{margin-top:8px}.palette-choices button{flex-direction:row;justify-content:center;gap:6px;padding:9px 5px}.swatch{width:28px;height:12px}.settings-open .detector-ui{opacity:0}}

.experiment-setting{border-bottom:1px solid #88afc226;margin-bottom:20px}.experiment-setting button:disabled{opacity:.4;cursor:wait}.experiment-setting input:disabled{opacity:.4;cursor:wait}
