/* A quiet field behind the content; it never intercepts pointer or keyboard input. */
body{isolation:isolate}
.scout-field{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 0% 65%,#10202b66,transparent 45%),radial-gradient(ellipse at 100% 20%,#15243655,transparent 46%)}
.scout-field canvas{display:block;width:100%;height:100%;opacity:.9}
.scout-field:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#080b1029,transparent 20%,transparent 80%,#080b1038);pointer-events:none}
.trade-hero{background:radial-gradient(ellipse at 50% 46%,#080b1033,transparent 68%)}
.band{background:linear-gradient(125deg,#0b1018d9,#0b0f16ce)}
.chain{background:#0b1017e8}
footer{padding-bottom:52px}
.background-settings{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:15;font-family:var(--body)}
.background-settings[hidden]{display:none}
.background-settings>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 13px;border:1px solid #354453;border-radius:9px;background:#101820ed;color:#bfccd9;font-size:11px;font-weight:500;list-style:none;cursor:pointer;box-shadow:0 3px 18px #0004;backdrop-filter:blur(16px);transition:background .2s,border-color .2s}
.background-settings>summary::-webkit-details-marker{display:none}
.background-settings>summary svg{width:15px;height:15px;flex:none;color:#adcced}
.background-settings>summary:hover,.background-settings[open]>summary{background:#1a2836;border-color:#6b88a5;color:#edf5ff}
.background-panel{position:absolute;right:0;bottom:calc(100% + 10px);width:304px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 90px);overflow-y:auto;padding:19px 16px 14px;border:1px solid #3a4a5c;border-radius:13px;background:#101821fa;box-shadow:0 18px 65px #0008;backdrop-filter:blur(24px);animation:background-panel-in .18s ease-out}
.background-panel h2{font:500 20px/1.25 var(--display);letter-spacing:-.025em;color:#e8f1fc;margin:0 3px 16px}
.background-panel fieldset{padding:0;margin:0;border:0;display:grid;gap:6px}
.background-panel legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.background-choice{display:flex;gap:11px;align-items:center;border:1px solid transparent;border-radius:8px;padding:10px 9px;cursor:pointer;min-height:65px;transition:background .2s,border-color .2s}
.background-choice:hover{background:#1c2937}
.background-choice:has(input:checked){background:#1b2b3c;border-color:#506d89}
.background-choice strong{display:block;font-size:11px;color:#d8e5f3;font-weight:500;line-height:1.5}
.background-choice small{display:block;font-size:9px;color:#9eb0c3;margin-top:2px;line-height:1.5}
.background-choice input{margin:0 0 0 auto;width:15px;height:15px;flex:none;accent-color:#b5d9ff;cursor:pointer}
.background-swatch{width:45px;height:40px;border-radius:5px;flex:none;border:1px solid #3b536c;background-color:#0b1119;overflow:hidden;position:relative}
.background-swatch[data-style=facets]{background:conic-gradient(from 28deg at 60% 35%,#253a50,#0b131c 29%,#1b2e41 29%,#102031 64%,#304961 64%,#0b131c 86%,#253a50)}
.background-swatch[data-style=constellation]{background:radial-gradient(circle at 25% 30%,#aecfee 1px,transparent 2px),radial-gradient(circle at 70% 22%,#aecfee 1px,transparent 2px),radial-gradient(circle at 45% 75%,#aecfee 1px,transparent 2px),radial-gradient(circle at 82% 70%,#829eb9 1px,transparent 2px),linear-gradient(63deg,transparent 41%,#304962 42%,transparent 44%),linear-gradient(170deg,transparent 31%,#304962 32%,transparent 34%),#0d1722}
.background-swatch[data-style=radar]{background:repeating-radial-gradient(circle at 22% 80%,transparent 0 8px,#52729066 9px,transparent 10px),conic-gradient(from 12deg at 22% 80%,#719cc344,transparent 48deg),#0d1722}
.background-motion-row{border-top:1px solid #2b3847;margin:15px 3px 0;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;color:#c9d6e4;font-size:11px;cursor:pointer}
.background-motion-row input{appearance:none;width:30px;height:18px;margin:0;border:1px solid #506276;border-radius:20px;background:#273443;cursor:pointer;position:relative;flex:none;transition:background .2s}
.background-motion-row input:before{content:"";position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:#c2d0df;transition:transform .2s}
.background-motion-row input:checked{background:#a9d0f4;border-color:#a9d0f4}
.background-motion-row input:checked:before{background:#152639;transform:translateX(12px)}
.background-motion-row input:disabled{cursor:default;opacity:.55}
.background-panel p{font-size:9px;color:#8fa1b5;line-height:1.6;margin:10px 3px 0}
.background-panel #background-motion-note{color:#b6c5d6}
@keyframes background-panel-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.scout-field canvas{opacity:.68}.background-settings{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}.background-settings>summary{min-height:44px}.background-panel{width:300px}.background-choice{min-height:68px}.background-choice strong{font-size:12px}.background-choice small{font-size:10px}.background-motion-row{min-height:46px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.background-panel{animation:none}.background-settings *,.background-settings *:before{transition:none!important}}
@media(forced-colors:active){.scout-field{display:none}.background-swatch{display:none}.background-settings>summary,.background-panel{border:1px solid ButtonText;background:Canvas;color:CanvasText}.background-choice:has(input:checked){outline:1px solid Highlight}.background-motion-row input{appearance:auto}.background-motion-row input:before{display:none}}
