#strategy-visual-slot{grid-column:1/-1;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:min(1500px,calc(100vw - 56px));margin-left:50%;transform:translateX(-50%)}
.sv{margin:30px 0 12px;padding:34px;border:1px solid rgba(197,174,255,.35);border-radius:30px;background:radial-gradient(circle at 85% 0%,rgba(154,115,225,.16),transparent 36%),linear-gradient(145deg,#171633,#0d1027 70%);box-shadow:0 24px 70px rgba(0,0,0,.18);color:#f5f0ff}
.sv-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:22px}
.sv-kicker{margin:0 0 10px;color:#d9bdff;font:700 12px/1.3 ui-monospace,SFMono-Regular,monospace;letter-spacing:.2em}
.sv h2{margin:0 0 10px;font-size:clamp(27px,3vw,42px);line-height:1.13;letter-spacing:-.035em}
.sv-intro{max-width:750px;margin:0;color:#bcb8d3;line-height:1.65}
.sv-pill{flex:none;padding:9px 13px;border:1px solid rgba(255,218,155,.46);border-radius:100px;color:#ffe1a7;font:700 11px/1 ui-monospace,SFMono-Regular,monospace;letter-spacing:.12em}
.sv-panel{overflow:hidden;border:1px solid rgba(176,162,225,.3);border-radius:22px;background:#0e1128}
.sv-panel-head,.sv-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px}
.sv-panel-head{border-bottom:1px solid rgba(176,162,225,.15)}
.sv-pair{font-weight:750;letter-spacing:.03em}.sv-pair small{font-weight:500;color:#9e99bc}
.sv-state{color:#ffe1a7;font:700 12px/1.2 ui-monospace,SFMono-Regular,monospace;letter-spacing:.07em;text-align:right}
.sv-scroll{overflow-x:auto}.sv svg{display:block;width:100%;min-width:620px;height:auto}
.sv-grid line{stroke:#282b49;stroke-width:1}.sv-reference{fill:none;stroke:#bc9af5;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.sv-price-dot{fill:#fff1bd;stroke:#8a6bc9;stroke-width:6}.sv-ask-line{stroke:#ef9ab2;stroke-width:1.5;stroke-dasharray:6 7}.sv-bid-line{stroke:#8cdbc9;stroke-width:1.5;stroke-dasharray:6 7}
.sv-ask-dot{fill:#ef9ab2}.sv-bid-dot{fill:#8cdbc9}.sv-fill-ring{fill:none;stroke:#ffe2a0;stroke-width:3}
.sv svg text{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;font-weight:700;letter-spacing:.06em}
.sv-ask-label{fill:#f6acc1}.sv-bid-label{fill:#9ce8d7}.sv-ref-label{fill:#d5b9ff}
.sv-panel-foot{border-top:1px solid rgba(176,162,225,.15);justify-content:flex-start;flex-wrap:wrap;color:#bebad4;font-size:13px}
.sv-legend{display:flex;gap:16px;flex-wrap:wrap;margin-left:auto}.sv-key{display:inline-flex;align-items:center;gap:7px}.sv-key:before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:var(--dot)}.sv-key.ref{--dot:#bc9af5}.sv-key.buy{--dot:#8cdbc9}.sv-key.sell{--dot:#ef9ab2}
.sv-note{margin:14px 0 0;color:#8e8bab;font-size:12px}
.gv{margin-top:30px}.gv-levels line{stroke:#716c9c;stroke-opacity:.34;stroke-width:1;stroke-dasharray:5 7}.gv-bound,.gv-axis{fill:#a9a2c5}.gv svg .gv-bound,.gv svg .gv-axis{font-size:11px}.gv-buy{fill:#8cdbc9}.gv-sell{fill:#ef9ab2}.gv-buy-text{fill:#9ce8d7}.gv-sell-text{fill:#f6acc1}
@media(min-width:1101px){.sv{display:flex;flex-direction:column;min-width:0;padding:26px}.sv-head{display:block;flex:1}.sv h2{font-size:clamp(26px,2.1vw,35px)}.sv-intro{font-size:14px}.sv-pill{display:inline-block;margin-top:14px}.sv svg{min-width:0}.sv svg text{font-size:15px}.sv-panel-foot{min-height:68px}.sv-legend{font-size:11px}.sv-note{min-height:34px}}
@media(max-width:1100px){.sv{display:flex;flex-direction:column;min-width:0;padding:18px}.sv-head{display:block;flex:1}.sv h2{font-size:clamp(20px,2.5vw,27px)}.sv-pill{display:inline-block;margin-top:12px}.sv svg{min-width:0}.sv-panel-foot{min-height:60px}.sv-legend{font-size:10px}}
@media(max-width:700px){#strategy-visual-slot{width:calc(100vw - 20px);gap:8px}.sv,.gv{padding:10px;margin-top:18px;border-radius:15px}.sv-head{margin-bottom:10px}.sv-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:6px}.sv h2{font-size:16px;line-height:1.13;margin-bottom:7px}.sv-intro{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:10px;line-height:1.35;min-height:54px}.sv-pill{font-size:7px;letter-spacing:.04em;padding:6px 7px;margin-top:8px}.sv-panel{border-radius:10px}.sv-panel-head,.sv-panel-foot{padding:7px}.sv-pair{font-size:9px}.sv-pair small{display:none}.sv-state{font-size:7px;letter-spacing:0;max-width:70px}.sv svg{min-width:0}.sv svg text{display:none}.sv svg path,.sv svg line{vector-effect:non-scaling-stroke}.sv-reference{stroke-width:2}.sv-ask-line,.sv-bid-line{stroke-width:1}.sv-price-dot,.sv-ask-dot,.sv-bid-dot,.gv-buy,.gv-sell{r:13px}.sv-panel-foot{font-size:9px;line-height:1.25;min-height:42px}.sv-legend{display:none}.sv-note{font-size:9px;line-height:1.3;margin-top:7px}}
#strategy-visual-slot{display:block;width:min(1400px,calc(100vw - 40px))}
.strategy-tabs{display:flex;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:28px auto 0;padding:7px;border:1px solid #555278;border-radius:999px;background:#101428;box-shadow:0 10px 30px #0004}
.strategy-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin:0;padding:10px 22px;border:1px solid transparent;border-radius:999px;background:transparent;color:#a9a5c4;font-size:14px;font-weight:750;white-space:nowrap;box-shadow:none;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.strategy-tabs button:hover{color:#f8f3ff;transform:translateY(-1px)}.strategy-tabs button[aria-selected="true"]{background:linear-gradient(135deg,#fff0c8,#e8c882);color:#2c2346;box-shadow:0 4px 16px #e7c67525}.strategy-tabs button span{font-size:19px;line-height:1}
#strategy-visual-slot .sv[hidden]{display:none!important}
#strategy-visual-slot .sv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:0 36px;min-width:0;margin:18px 0 0;padding:30px}
#strategy-visual-slot .sv-head{display:block;grid-column:2;grid-row:1;width:100%;max-width:520px;margin:0 auto}
#strategy-visual-slot .sv-panel{grid-column:1;grid-row:1;min-width:0}
#strategy-visual-slot .sv-note{grid-column:1/-1;margin:18px 0 0;min-height:0}
#strategy-visual-slot .sv svg{min-width:0}
#strategy-visual-slot .sv-intro{display:block;max-width:none;min-height:0;overflow:visible;font-size:15px;line-height:1.7}
#strategy-visual-slot .sv h2{font-size:clamp(30px,3.1vw,46px)}
@media(max-width:760px){#strategy-visual-slot{width:calc(100vw - 24px)}.strategy-tabs{gap:4px;padding:5px;margin-top:20px}.strategy-tabs button{min-height:40px;padding:8px 12px;font-size:12px;gap:6px}.strategy-tabs button span{font-size:16px}#strategy-visual-slot .sv{grid-template-columns:1fr;gap:16px;padding:16px;margin-top:14px;border-radius:18px}#strategy-visual-slot .sv-panel{grid-column:1;grid-row:1}#strategy-visual-slot .sv-head{grid-column:1;grid-row:2}#strategy-visual-slot .sv-note{grid-column:1;grid-row:3;margin:0;font-size:10px}#strategy-visual-slot .sv h2{font-size:27px}#strategy-visual-slot .sv-intro{font-size:13px;line-height:1.55}#strategy-visual-slot .sv svg text{display:none}#strategy-visual-slot .sv-pair{font-size:12px}#strategy-visual-slot .sv-pair small{display:inline}#strategy-visual-slot .sv-state{font-size:9px;max-width:130px}#strategy-visual-slot .sv-panel-foot{font-size:11px}#strategy-visual-slot .sv-legend{display:flex;font-size:10px}}
/* Strategy showcase: balanced chart and explanation within one frame. */
.strategy-section-intro{text-align:center;max-width:760px;margin:66px auto 0}.strategy-section-intro span{color:#d9c4ff;font:750 11px/1.3 ui-monospace,SFMono-Regular,monospace;letter-spacing:.22em}.strategy-section-intro h2{margin:11px 0 9px;color:#f8f4ff;font-size:clamp(31px,4.4vw,54px);line-height:1.06;letter-spacing:-.055em}.strategy-section-intro p{margin:0;color:#a9a6c2;font-size:15px;line-height:1.6}
.strategy-tabs{margin-top:25px}
#strategy-visual-slot .sv{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0 44px;margin-top:24px;padding:34px;min-height:480px;background:radial-gradient(circle at 98% 0%,#8b6cbd1d,transparent 35%),linear-gradient(145deg,#171a32,#101329 76%);border-color:#5f5a87;box-shadow:0 25px 65px #0004,inset 0 1px #ffffff12}
#strategy-visual-slot .sv-head{display:flex;flex-direction:column;justify-content:center;align-self:stretch;grid-column:2;grid-row:1;max-width:none;padding:10px 8px 10px 0}
#strategy-visual-slot .sv-panel{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-self:stretch;height:100%;border-color:#454361;background:#0b0e1b;box-shadow:inset 0 1px #ffffff0d}
#strategy-visual-slot .sv-scroll{flex:1;display:flex;align-items:center;min-height:0}
#strategy-visual-slot .sv-panel-head{min-height:50px;padding:12px 18px}
.sv-chart-tag{color:#aaa3c7;font:700 11px ui-monospace,SFMono-Regular,monospace;letter-spacing:.1em;white-space:nowrap}
#strategy-visual-slot .sv-panel-foot{justify-content:center;min-height:54px}
#strategy-visual-slot .sv-legend{margin:0}
#strategy-visual-slot .sv-kicker{margin-bottom:14px;color:#e5c991}
#strategy-visual-slot .sv h2{font-size:clamp(32px,3.1vw,48px);max-width:560px;margin:0 0 18px}
#strategy-visual-slot .sv-intro{max-width:550px;font-size:16px;line-height:1.72;color:#bbb9d2}
#strategy-visual-slot .sv-pill{align-self:flex-start;margin-top:24px}
.sv-readout{display:flex;flex-direction:column;gap:7px;margin-top:22px;padding:16px 18px;border-left:2px solid #e6cb93;background:linear-gradient(90deg,#e6cb9314,transparent 75%);border-radius:0 12px 12px 0}
.sv-readout strong{color:#ffe1a7;font:750 12px/1.3 ui-monospace,SFMono-Regular,monospace;letter-spacing:.06em}.sv-readout span{color:#d1cce2;font-size:13px;line-height:1.5}
#strategy-visual-slot .sv-note{grid-column:1/-1;margin:22px 0 0;padding-top:15px;border-top:1px solid #ffffff13;text-align:center;font-size:12px}
@media(max-width:850px){#strategy-visual-slot .sv{grid-template-columns:1fr;gap:24px;min-height:0;padding:24px}#strategy-visual-slot .sv-panel{grid-column:1;grid-row:1}#strategy-visual-slot .sv-head{grid-column:1;grid-row:2;padding:0}#strategy-visual-slot .sv-note{grid-column:1;grid-row:3;margin:0}#strategy-visual-slot .sv h2{font-size:clamp(29px,7vw,40px)}}
@media(max-width:600px){.strategy-section-intro{margin-top:42px;padding:0 12px}.strategy-section-intro h2{font-size:34px}.strategy-section-intro p{font-size:13px}.strategy-tabs{margin-top:18px}#strategy-visual-slot .sv{gap:18px;padding:15px;margin-top:15px;border-radius:18px}#strategy-visual-slot .sv-panel-head{min-height:43px;padding:9px 11px}#strategy-visual-slot .sv-chart-tag{font-size:9px}#strategy-visual-slot .sv-panel-foot{min-height:42px}#strategy-visual-slot .sv-head{padding:0 4px}#strategy-visual-slot .sv-kicker{font-size:10px;margin-bottom:8px}#strategy-visual-slot .sv h2{font-size:27px;margin-bottom:10px}#strategy-visual-slot .sv-intro{font-size:13px;line-height:1.55}#strategy-visual-slot .sv-pill{margin-top:15px;font-size:9px}#strategy-visual-slot .sv-readout{margin-top:16px;padding:12px 13px}.sv-readout strong{font-size:10px}.sv-readout span{font-size:11px}#strategy-visual-slot .sv-note{font-size:10px;line-height:1.4}}
/* Keep the strategy section on the same horizontal grid as the page content. */
#strategy-visual-slot{display:block;width:100%;margin:0;transform:none}
#strategy-visual-slot[hidden],#onboarding[hidden],#workspace[hidden]{display:none!important}
/* On the public home page, lead with the animated strategy and then the setup steps. */
.home-showcase .strategy-section-intro{margin-top:0}
.home-showcase + .onboarding-grid{margin-top:60px}
@media(max-width:600px){.home-showcase .strategy-section-intro{margin-top:0}.home-showcase + .onboarding-grid{margin-top:38px}}
.sv-open{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:50px;margin-top:10px;padding:13px 24px;border:1px solid #e6cb9380;border-radius:999px;color:#ffe1a7;text-decoration:none;font-size:16px;font-weight:750;letter-spacing:.02em;transition:background .2s,transform .2s}
.sv-open:hover,.sv-open:focus-visible{background:#e6cb9320;transform:translateY(-1px)}
@media(max-width:600px){.sv-open{min-height:44px;padding:11px 18px;font-size:14px}}
