:root{font-family:Arial,Helvetica,sans-serif;color:#e7f0f5;background:#08131d;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 95% 0,#12374255,transparent 45%),#08131d}main{max-width:960px;margin:auto;padding:24px 30px calc(24px + env(safe-area-inset-bottom))}header{display:flex;align-items:center;gap:26px;border-bottom:1px solid #29404d;padding-bottom:22px;margin-bottom:32px}.brand{font:900 26px Arial;letter-spacing:4px;color:#fff;text-decoration:none}.brand-dot{color:#4de1b0;margin-left:6px}.edition,.eyebrow{font:700 10px/1.5 Arial;letter-spacing:2px;color:#8da5b4}.text-button{color:#9fb3bf;background:none;border:0;padding:8px;cursor:pointer;font:12px Arial}header .text-button{margin-left:auto}.eyebrow{display:flex;align-items:center;gap:9px}.pulse{width:6px;height:6px;background:#4de1b0;border-radius:50%;box-shadow:0 0 12px #4de1b055}.round-label{margin-left:auto;color:#5f7c8b}h1{font:600 clamp(32px,5vw,52px)/1.1 Georgia,serif;letter-spacing:-1px;margin:18px 0 12px}h1 span{color:#8caaae}.intro{color:#8fa8b7;font-size:13px;line-height:1.7;margin-bottom:25px}.scoreboard{display:flex;justify-content:space-between;gap:20px;padding:23px 0;border-top:1px solid #28414c;margin-bottom:22px}.main-score,.side-score{display:flex;flex-direction:column;gap:8px}.scoreboard span,.scoreboard small{font-size:10px;letter-spacing:1.2px;color:#8fa8b7}.main-score strong{font-size:36px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums}.main-score small{letter-spacing:0}.side-score{text-align:right}.side-score>strong{font-size:23px;font-weight:400;font-variant-numeric:tabular-nums}.round-profit{margin-top:6px}.round-profit b{display:block;font-size:14px;margin-top:5px;letter-spacing:0}.positive{color:#52e4b1!important}.negative{color:#ff7c82!important}.chart-card{border:1px solid #28414e;background:#0c1b28;border-radius:12px;overflow:hidden}.chart-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 16px}h2{font:500 26px Georgia,serif;margin:8px 0}.chart-heading h2 span{font:9px Arial;letter-spacing:3px;margin-left:6px;color:#718796}.quote{text-align:right}.quote strong{display:block;font-size:23px;font-weight:400;font-variant-numeric:tabular-nums}.quote small{font-size:8px;letter-spacing:1.3px;color:#6e8999}.chart-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 22px;border-top:1px solid #203442;color:#91aaba;font:11px monospace}.speed{display:flex;align-items:center;gap:6px}.speed i{width:5px;height:5px;background:#4de1b0;border-radius:50%}canvas{width:100%;height:300px;display:block;touch-action:pan-y}.ohlc{padding:5px 22px 15px;font:10px monospace;color:#7e99aa;min-height:32px}.progress-track{height:3px;background:#1a303d}.progress-track>div{height:100%;width:10%;background:#47cfaa;transition:width .15s}.chart-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;font:8px Arial;letter-spacing:1px;color:#8ba5b6}.key{display:inline-block;width:5px;height:7px;margin-right:4px}.green{background:#52e4b1}.red{background:#ff7c82;margin-left:12px}.trade-status{text-align:center;font-size:12px;line-height:1.6;color:#9ab4c2;margin:18px 0 10px;min-height:38px}.actions{display:flex;gap:10px}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;background:#68e2bd;color:#071e1b;border:0;border-radius:8px;padding:17px 22px;font:700 15px Arial;cursor:pointer;min-height:52px}.primary span{font-size:22px;font-weight:400}.primary.sell{background:#f9b1a2;color:#321510}.primary:disabled{opacity:.45;cursor:default}.pause-button{background:#142937;color:#c7d9e4;border:1px solid #38515f;border-radius:8px;width:64px;font-size:21px;cursor:pointer}.pause-button:disabled{opacity:.4}.mechanics{text-align:center;color:#688595;font-size:10px;line-height:1.7;margin-top:12px}.results{margin-top:24px;padding:25px;border:1px solid #3a645c;background:#102a2a;border-radius:12px}.results h2{font-size:32px}.results p{font-size:12px;line-height:1.6;color:#9ab6ba}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin:25px 0}.result-grid>div{font-size:9px;letter-spacing:1px;color:#9db5bb}.result-grid strong{display:block;font-size:22px;font-weight:500;color:#e7f0f5;margin-top:8px;letter-spacing:0}.secondary{width:100%;background:none;border:1px solid #476660;color:#c4ded5;border-radius:7px;padding:13px;margin-top:10px;cursor:pointer}.how{margin-top:30px;border-top:1px solid #263d4b;padding-top:20px}.how>span{font-size:9px;letter-spacing:2px;color:#658595}.how ol{display:flex;gap:30px;padding-left:17px;color:#87a4b4;font-size:11px;line-height:1.8}.how li{flex:1}.how b{color:#c9d9e3;font-weight:500}footer{margin-top:30px;font:9px/1.9 Arial;letter-spacing:.3px;color:#688393;max-width:700px}dialog{max-width:440px;width:calc(100% - 36px);background:#112634;border:1px solid #43605f;border-radius:16px;padding:30px;color:#e4f2f3;box-shadow:0 24px 100px #0009}dialog::backdrop{background:#020b15c9;backdrop-filter:blur(6px)}dialog h2{font-size:35px;line-height:1.2}dialog p{font-size:13px;color:#a5c0c8;line-height:1.8}dialog .primary{margin-top:20px}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:3px}[hidden]{display:none!important}@media(max-width:550px){main{padding:18px 16px calc(20px + env(safe-area-inset-bottom))}header{gap:16px;margin-bottom:25px}.edition{font-size:8px;letter-spacing:1px}.chart-heading{padding:16px}.chart-heading h2{font-size:21px}.chart-controls{padding:10px 15px;font-size:10px}.chart-footer{font-size:7px;padding:12px}.quote strong{font-size:20px}.main-score strong{font-size:29px}.side-score>strong{font-size:19px}.scoreboard{gap:10px}.scoreboard span{font-size:8px}.how ol{display:block}.how li{margin:8px 0}canvas{height:270px}.results{padding:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Live round performance leads the account summary. */
.scoreboard{display:flex;flex-direction:column;gap:18px}.main-score strong{font-size:clamp(44px,9vw,64px);font-weight:700;line-height:1.1}.account-summary{display:flex;gap:32px;flex-wrap:wrap}.account-summary>div{display:flex;flex-direction:column;gap:6px}.account-summary strong{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.account-summary small{font-size:11px;letter-spacing:0}@media(max-width:550px){.account-summary{gap:20px}.account-summary strong{font-size:18px}}

.ma-legend{text-align:center;font-size:11px;color:#8fa8b7}.ma-legend span:first-child{color:#f4ce6a}.ma-legend span:nth-child(2){color:#85adff}

/* Compact phone trading view: the canvas takes remaining viewport space. */
@media(max-width:700px){
 main{padding:8px 12px calc(12px + env(safe-area-inset-bottom))}
 header{padding-bottom:6px;margin-bottom:5px;gap:12px;min-height:30px}
 .brand{font-size:20px}.edition{font-size:8px}
 main>h1,main>.intro{display:none}
 main>.eyebrow{font-size:8px;line-height:14px;letter-spacing:1px}
 .play-screen{height:calc(var(--game-viewport,100dvh) - 72px - env(safe-area-inset-bottom));min-height:390px;display:flex;flex-direction:column;gap:5px}
 .scoreboard{flex:none;padding:6px 0;margin:0;gap:7px}
 .main-score{gap:2px}.main-score strong{font-size:clamp(32px,6vh,44px);line-height:1}
 .scoreboard span{font-size:8px;letter-spacing:.7px}
 .account-summary{gap:18px;flex-wrap:nowrap;justify-content:space-between}
 .account-summary>div{gap:2px}.account-summary strong{font-size:16px}.account-summary small{font-size:9px}
 .chart-card{flex:1;min-height:160px;display:flex;flex-direction:column;border-radius:8px}
 .chart-heading{padding:6px 10px;flex:none}.chart-heading .eyebrow{font-size:7px}
 .chart-heading h2{font-size:17px;margin:3px 0}.quote strong{font-size:18px}.quote small{font-size:7px}
 .chart-controls{padding:3px 10px;min-height:23px;font-size:9px;flex:none}.chart-controls .text-button{padding:3px;font-size:10px}
 canvas{flex:1;min-height:60px;height:0;width:100%}
 .ohlc{padding:3px 10px;min-height:18px;font-size:9px;flex:none}
 .chart-footer{padding:5px 10px;font-size:7px;flex:none}.progress-track{flex:none}
 .marker-legend{margin:0;font-size:9px;line-height:13px;flex:none}
 .trade-status{margin:0;min-height:28px;font-size:11px;line-height:14px;flex:none}
 .ma-legend{margin:0;font-size:9px;line-height:13px;flex:none}
 .actions{flex:none;gap:7px}.actions .primary{padding:10px 15px;min-height:46px;font-size:15px}.pause-button{width:54px}
 .mechanics{margin-top:6px}.how{margin-top:16px;padding-top:12px}footer{margin-top:16px}
}

.chart-heading h2{display:inline-block;margin-right:8px}.sector-hint{display:inline-block;color:#a7bdca;font:10px/1.4 Arial;vertical-align:middle;max-width:130px}@media(max-width:700px){.chart-heading h2{font-size:15px;margin-right:5px}.sector-hint{font-size:9px;max-width:95px}.chart-heading>div:first-child{min-width:0}}

.sector-hint{color:#ffe16a;font-size:14px;font-weight:700;max-width:none}@media(max-width:700px){.sector-hint{color:#ffe16a;font-size:12px;max-width:none;line-height:1.3}}
