:root{color-scheme:dark;--bg:#0d1118;--card:#151c27;--border:#273342;--text:#edf1f6;--muted:#a1afc2;--gold:#efc675;--green:#68dbb7;--red:#ff929c;--mono:ui-monospace,SFMono-Regular,Consolas,monospace;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.45}main{margin:auto;padding:20px 16px 27px;display:grid;gap:12px}h1,h2,h3,p{margin:0}.header,.topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.header{margin:0 0 3px}.header h1{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:650}.mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid #776142;border-radius:8px;background:#eac47b16;color:var(--gold);font:600 14px var(--mono)}button{background:#171f2a;color:var(--text);border:1px solid var(--border);border-radius:8px;padding:7px 11px;font-size:12px;cursor:pointer;min-height:36px}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.card{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px 15px}.gold{border-color:#67563a;background:linear-gradient(108deg,#231f1b,#151c27 68%);padding:15px 16px}.topline h2{font-size:14px;font-weight:650}.symbol,.topline>span{font:11px var(--mono);color:var(--muted);white-space:nowrap}.hero-price,.market-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;margin:10px 0 8px;font-variant-numeric:tabular-nums}.hero-price strong{color:var(--gold);font:600 clamp(35px,10vw,56px)/1.16 var(--mono);letter-spacing:-.04em}.hero-price>span,.market-price>span{font-size:10px;color:var(--muted);white-space:nowrap}.quote-meta{display:flex;gap:3px 8px;flex-wrap:wrap;align-items:center;color:var(--muted);line-height:1.55}.quote-meta a{color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-color:#4e5c6c}.up,.support{color:var(--green)}.down,.resistance{color:var(--red)}.notice{color:var(--gold)}.level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:10px 0 7px}.level-side + .level-side{border-left:1px solid var(--border);padding-left:15px}.level-side h3{font-size:11px;margin:0 0 4px;font-weight:560}.level-row{display:flex;justify-content:space-between;gap:4px;padding:4px 0}.level-row strong{font:550 17px var(--mono);white-space:nowrap;font-variant-numeric:tabular-nums}.level-row small{text-align:right;font-size:10px;color:var(--muted);line-height:1.3}.placeholder,.fine{color:var(--muted);font-size:10px}.fine{line-height:1.65}.markets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market{padding:11px 10px}.market h2{font-size:12px;line-height:1.5}.market h2 span{color:var(--muted);font-size:9px}.market-price{margin:7px 0 6px;gap:0 4px}.market-price strong{font:550 clamp(16px,4.6vw,25px)/1.2 var(--mono);letter-spacing:-.035em}.market .quote-meta{display:grid;gap:2px}.quote-date{}.market .quote-meta .move{display:none}.quote-status:empty{display:none}@media(max-width:360px){main{padding:15px 11px 24px;gap:10px}.markets{gap:6px}.market{padding:9px 7px}.market h2{font-size:11px}.level-grid{gap:9px}.level-side + .level-side{padding-left:9px}.level-row strong{font-size:15px}.level-row small{font-size:9px}}@media(min-width:600px){main{padding-top:32px;gap:14px}.market{padding:14px 15px}.market .quote-meta{display:flex}.market .quote-meta .move{display:inline}.level-row strong{font-size:20px}}

.macro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}.macro-grid>div{min-width:0;background:#101720;border:1px solid var(--border);border-radius:7px;padding:7px 8px;display:flex;flex-direction:column;gap:2px}.macro-grid small,.macro-grid span{font-size:9px;color:var(--muted);overflow-wrap:anywhere}.macro-grid strong{font:600 clamp(14px,2.2vw,18px)/1.25 var(--mono);font-variant-numeric:tabular-nums}.macro-outlook{font-size:11px;line-height:1.65;border-left:2px solid var(--gold);padding:6px 9px;margin:5px 0;background:#101720}.macro-outlook .fine{font-size:9px}@media(max-width:430px){.macro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.strategy details{margin-top:8px}.strategy summary{display:list-item;color:var(--gold);cursor:pointer}.strategy details>p{margin-top:6px}.strategy-plan{display:flex;flex-wrap:wrap;gap:5px 15px;background:#101720;border:1px solid var(--border);border-radius:8px;padding:8px;margin:8px 0;font-size:11px}.strategy-plan[hidden]{display:none}.strategy-indicators{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.strategy-indicators>span{font-size:10px;background:#101720;border-radius:5px;padding:4px 7px;color:var(--muted)}

/* The same dashboard fits narrow phones, tablets and desktop windows. */
main{width:min(100%,1080px);grid-template-columns:minmax(0,1fr);padding-inline:clamp(12px,3.5vw,30px)}
.header,.card,.market,.level-side,.quote-meta{min-width:0}.quote-meta a,.quote-meta span,.fine{overflow-wrap:anywhere}
.fine{font-size:11px}.quote-meta{font-size:11px}.quote-date{white-space:nowrap}.market .quote-meta .quote-date{max-width:100%;font-variant-numeric:tabular-nums}
.markets{align-items:stretch}.market .quote-meta{align-content:start}.market h2{min-height:1.45em}.market-price>span{flex:none}
.level-row{align-items:center}.level-row small{min-width:0;overflow-wrap:anywhere}.level-row strong{flex:none}
.strategy summary{min-height:27px;padding:4px 0;font-size:12px}.strategy summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.strategy-plan>span,.strategy-indicators>span{min-width:0;overflow-wrap:anywhere}.strategy details .fine a{color:inherit}
.header button{flex:none;min-height:40px}.header h1{min-width:0}
@media(max-width:390px){.market .quote-meta{font-size:10px}.market-price>span{font-size:9px}.market .quote-date{white-space:normal}.level-grid{gap:10px}.level-side + .level-side{padding-left:10px}}
@media(max-width:345px){.market h2{font-size:10px}.market .quote-meta{font-size:9px}.market .quote-meta a{white-space:normal}.level-row{gap:4px}.level-row strong{font-size:15px}.level-row small{font-size:9px}}
@media(min-width:760px){
  main{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:16px;padding-top:30px}
  .header,.markets,.strategy,footer{grid-column:1/-1}.header h1{font-size:23px}
  .gold,.levels,.strategy{padding:19px 21px}.topline h2{font-size:15px}
  .gold .hero-price{margin:15px 0 10px}.hero-price strong{font-size:clamp(40px,5.8vw,63px)}
  .level-grid{gap:20px}.level-side + .level-side{padding-left:18px}
  .markets{gap:16px}.market{padding:16px 19px}.market h2{font-size:13px}
  .market-price strong{font-size:28px}.market .quote-meta{display:flex;row-gap:4px}
  .strategy-headline{font-size:19px}
}

.strategy-headline{margin:7px 0 2px;font-size:17px;font-weight:650;line-height:1.4}.macro-outlook>span{display:block}.macro details{margin-top:8px}.macro summary{color:var(--gold);font-size:11px;cursor:pointer;padding:4px 0}.macro details p{margin-top:5px}.macro details a{font-size:10px;color:var(--muted)}.macro{min-width:0;grid-column:1/-1}.macro-grid strong{overflow-wrap:anywhere}.topline{flex-wrap:wrap}.macro .topline>span{white-space:normal;overflow-wrap:anywhere;font-size:10px}
