*{box-sizing:border-box}body{margin:0;background:#f6f8fb;color:#192637;font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}a{text-decoration:none;color:inherit}button{font:inherit;cursor:pointer}header{background:#fff;border-bottom:1px solid #e6eaf0;position:sticky;top:0;z-index:9}.nav{max-width:1000px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:15px}.brand{font-weight:850;font-size:19px;color:#1c60be}.links{display:flex;align-items:center;gap:22px}.links a{font-weight:650;font-size:14px;color:#64758b}.links a.active{color:#1c60be}main{max-width:1000px;margin:36px auto;padding:0 20px 60px}.eyebrow{font-size:12px;color:#52719c;font-weight:800;letter-spacing:1px}h1{font-size:30px;letter-spacing:-1px;margin:6px 0 7px}h2{font-size:19px;margin:0 0 10px}.sub{color:#718095;margin:0 0 25px}.panel{background:white;border:1px solid #e6eaf0;border-radius:18px;box-shadow:0 5px 22px #162c4a08}.pad{padding:23px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.status{display:inline-flex;align-items:center;gap:7px;background:#e8f7ef;color:#138258;font-weight:750;border-radius:30px;padding:6px 12px;font-size:12px}.dot{height:7px;width:7px;background:#21ae7e;border-radius:50%}.pill{background:#eff4fa;color:#536b88;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:700}.btn{background:#2169c8;color:#fff;border:0;padding:10px 17px;border-radius:10px;font-weight:750}.btn.secondary{background:#eff4fa;color:#255d9f}.btn.outline{background:white;border:1px solid #cedaeb;color:#2868b5}.btn:disabled{opacity:.5;cursor:not-allowed}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.chip{border:1px solid #dce5ef;background:white;padding:7px 14px;border-radius:20px;color:#56718f}.chip.on{background:#e6f0ff;border-color:#9ac2fd;color:#1d65c5;font-weight:800}.feed{position:relative}.event{border-bottom:1px solid #edf1f6;padding:21px 24px;display:flex;gap:18px}.event:last-child{border-bottom:0}.clock{font-size:13px;color:#8796a8;min-width:68px;font-variant-numeric:tabular-nums;padding-top:4px}.event-main{flex:1;min-width:0}.line{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.symbol{font-size:17px;font-weight:850}.action{border-radius:7px;padding:3px 9px;font-weight:800;font-size:12px}.long{background:#e5f7ee;color:#07966a}.short{background:#ffeded;color:#d55157}.name{font-weight:750;color:#2d4058;margin-top:9px}.meta{font-size:13px;color:#78889c;margin-top:5px}.right{display:flex;align-items:center}.tiny{font-size:12px;color:#8291a1}.muted{color:#7a8b9f}.hero{background:#eaf3ff;border:1px solid #d4e5ff;border-radius:18px;padding:19px 23px;margin-bottom:23px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.hero strong{font-size:17px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stat{background:white;border:1px solid #e6eaf0;border-radius:16px;padding:20px}.stat small{color:#79889a}.stat b{display:block;font-size:28px;margin:6px 0}.mini-list{padding:0;list-style:none;margin:0}.mini-list li{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f6;padding:12px 0;gap:14px}.mini-list li:last-child{border:0}.notice{background:#fff9ec;border:1px solid #ffe5ad;color:#876c31;border-radius:12px;padding:11px 14px;font-size:13px;margin-top:17px}.footer{text-align:center;font-size:12px;color:#9ba8b6;margin:30px}.empty{padding:40px;text-align:center;color:#8393a6}.toggle{display:flex;align-items:center;gap:9px}.switch{accent-color:#2169c8;width:17px;height:17px}.highlight{border:2px solid #9ac2fd}.hidden{display:none!important}@media(max-width:620px){.nav{align-items:flex-start;flex-direction:column}.links{gap:17px}h1{font-size:25px}.event{padding:16px 13px;gap:9px}.clock{min-width:57px;font-size:12px}.two{grid-template-columns:1fr}.hero{padding:15px}.right .btn{padding:7px 9px;font-size:12px}}
/* Prominent above-the-fold alert controls */
.alert-hub{background:#102f59;color:#fff;border-radius:18px;padding:22px 24px;margin:18px 0 23px;box-shadow:0 12px 30px #12396824}.alert-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.alert-hub-head strong{display:block;font-size:20px;line-height:1.35;margin:7px 0}.alert-kicker{color:#80d9ff;font-weight:800;font-size:12px}.alert-note{color:#b8cde7;font-size:13px}.alert-hub .status{background:#284e79;color:#cfe8ff}.alert-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:19px}.voice-control{display:flex;align-items:center;gap:9px;background:#234a78;padding:11px 14px;border-radius:11px;font-weight:750}.voice-control .switch{accent-color:#5de1ac}.alert-hub .btn{background:#54dca9;color:#103851;display:inline-block}.alert-hub .btn.secondary{background:#294d77;color:white}.alert-subs{font-size:13px;color:#c3d8ed}.alert-lock{color:#d8e7fb;font-size:13px;flex:1}.alert-feedback{margin-top:15px;padding:11px 13px;border-radius:10px;background:#224f75;color:#fff;font-size:13px}
@media(max-width:620px){.alert-hub{padding:17px 15px;margin-top:16px}.alert-hub-head strong{font-size:17px}.alert-controls{align-items:stretch}.alert-controls .btn{width:100%;text-align:center}.voice-control{width:100%}}

.voice-panel{margin-top:17px}.voice-panel-label{font-size:13px;color:#cce1fa;font-weight:800;margin-bottom:9px}.voice-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.voice-mode{display:flex;gap:10px;align-items:flex-start;border:1px solid #446c99;background:#22456e;padding:13px;border-radius:12px;cursor:pointer}.voice-mode.selected{background:#205776;border:2px solid #54dca9;padding:12px}.voice-mode input{accent-color:#54dca9;margin-top:3px}.voice-mode b{display:block;font-size:14px}.voice-mode small{display:block;color:#bfd1e8;line-height:1.45;margin-top:4px}.voice-mode-summary{font-size:12px;color:#aeeacb;margin-top:10px}.voice-panel .alert-controls{margin-top:13px}@media(max-width:620px){.voice-modes{grid-template-columns:1fr}.voice-mode{padding:10px 12px}.voice-mode.selected{padding:9px 11px}}

/* vNext: compact alert control bar */
.compact-alert{background:#102f59;border-radius:13px;padding:11px 15px;margin:13px 0 16px;box-shadow:none}
.compact-alert-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.compact-alert-title{display:flex;align-items:center;gap:9px;white-space:nowrap}
.compact-alert-icon{font-size:19px}
.compact-alert-title b{display:block;font-size:14px;line-height:1.25}
.compact-alert-title small{display:block;font-size:11px;color:#b7cfec;line-height:1.5}
.compact-alert-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.compact-select-label{font-size:12px;color:#b7cfec}
.compact-select{background:#294d77;color:#fff;border:1px solid #4d6d91;border-radius:8px;padding:7px 9px;font-size:13px;max-width:150px}
.compact-toggle{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;cursor:pointer}
.compact-toggle input{accent-color:#54dca9;width:16px;height:16px}
.compact-alert .btn{padding:7px 12px;border-radius:8px;font-size:12px}
.compact-more{position:relative;font-size:12px}
.compact-more summary{cursor:pointer;list-style:none;color:#cae1f6;padding:7px 2px;white-space:nowrap}
.compact-more summary:after{content:'⌄';margin-left:4px}
.compact-popover{position:absolute;z-index:8;right:0;top:calc(100% + 9px);background:#1d426d;border:1px solid #4d6d91;border-radius:11px;padding:14px;width:240px;box-shadow:0 16px 32px #0b203b55}
.compact-popover p{font-size:12px;color:#cfdfef;margin:10px 0 0}
.compact-free{display:flex;align-items:center;gap:12px;font-size:12px;color:#c8def6}
.compact-alert .alert-feedback{padding:6px 10px;margin-top:9px;font-size:12px}
@media(max-width:620px){.compact-alert{padding:10px 12px;margin:10px 0 13px}.compact-alert-row{gap:9px}.compact-alert-title{width:100%}.compact-alert-title small{display:inline}.compact-alert-actions{width:100%;justify-content:space-between;gap:7px}.compact-select-label{display:none}.compact-select{max-width:130px;flex:1}.compact-toggle span{display:none}.compact-alert .btn{width:auto;padding:7px 10px}.compact-free{width:100%;justify-content:space-between}.compact-more summary{font-size:12px}.compact-popover{right:0;width:min(240px,85vw)}}

/* 钱包排行榜 */
.rank-panel{overflow:hidden}.rank-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 20px 10px}.rank-tabs{display:flex;gap:8px;flex-wrap:wrap}.rank-search{border:1px solid #dbe3ef;background:#fff;border-radius:9px;padding:10px 13px;min-width:205px;color:#20344c}.rank-tip{font-size:12px;color:#6b7e96;padding:0 20px 14px}.rank-list{display:grid;gap:10px;padding:0 20px 20px}.rank-card{padding:17px;border:1px solid #e4eaf1;border-radius:12px;background:#fff}.rank-head{display:flex;gap:12px;align-items:center}.rank-number{font-size:16px;font-weight:800;color:#3372b8;width:32px}.rank-identity{flex:1;min-width:0}.rank-identity strong{display:block;font-size:16px}.rank-identity small{font-size:12px;color:#8a97a7;display:block;margin-top:3px}.rank-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:17px 0 12px}.rank-metrics small{display:block;color:#8794a6;font-size:12px;margin-bottom:4px}.rank-metrics strong{font-size:19px;font-variant-numeric:tabular-nums}.positive{color:#0d9970}.risk{color:#ba7143}.rank-foot{font-size:12px;color:#4f647e}.rank-foot span{color:#98a6b5}.rank-explain{line-height:1.8;margin-top:18px}@media(max-width:600px){.rank-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-tools{padding:14px}.rank-list{padding:0 12px 12px}.rank-tip{padding:0 14px 12px}.rank-identity strong{font-size:14px}.rank-head .btn{font-size:12px;padding:8px}.rank-search{width:100%}}

/* 新闻式双栏布局：开单快讯 + 重要事件 */
main{max-width:1200px}.news-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:18px;align-items:start}.flash-panel{min-width:0}.news-layout .pad{padding:19px 22px 8px}.news-layout .topline h2{margin:0 0 5px}.news-layout .toolbar{margin-bottom:10px}.timeline{margin:0 10px 10px 20px;border-left:2px solid #eaf0f7}.timeline .event{position:relative;padding:17px 16px 17px 18px;gap:12px}.timeline .event:before{content:'';position:absolute;left:-6px;top:24px;width:9px;height:9px;background:#2d77c8;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #a7c9ec}.timeline .symbol{font-size:16px}.timeline .name{margin-top:5px}.timeline .meta{margin-top:3px}.important-panel{overflow:hidden;position:sticky;top:82px}.important-heading{display:flex;align-items:center;gap:9px;padding:17px 19px;border-bottom:1px solid #edf1f6}.important-heading h2{font-size:17px;margin:0;flex:1}.important-heading small{font-size:11px;color:#8c9cac}.important-accent{width:4px;height:18px;border-radius:4px;background:#e89d38}.biggest-open{padding:20px 19px;background:linear-gradient(160deg,#fffaf0,#fff 75%)}.biggest-label{font-size:12px;color:#a06a2c;font-weight:800}.biggest-amount{display:block;font-size:30px;letter-spacing:-.8px;line-height:1.35;color:#183c69;margin:8px 0 12px;font-variant-numeric:tabular-nums}.biggest-coin{display:flex;align-items:center;gap:8px}.biggest-coin b{font-size:16px}.biggest-name{font-size:14px;font-weight:750;margin-top:12px}.biggest-name span,.biggest-time{color:#7f90a3;font-weight:400}.biggest-time{font-size:12px;margin-top:3px}.important-sub{width:100%;margin-top:15px;font-size:13px;padding:8px!important}.important-secondary{padding:17px 19px 8px;border-top:1px solid #f0f2f5}.important-secondary h3{margin:0 0 8px;font-size:14px}.top-open-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #eef2f6}.top-open-row:last-child{border:0}.top-place{color:#a8b3bf;font-weight:850;width:15px}.top-open-row>div{flex:1;min-width:0}.top-open-row b,.top-open-row small{display:block}.top-open-row b{font-size:13px}.top-open-row small{color:#94a0ae;font-size:11px}.top-open-row strong{font-size:12px;white-space:nowrap;color:#2c5076}.important-footnote{padding:11px 19px 16px;font-size:11px;color:#919eac;background:#fafbfd}@media(max-width:820px){.news-layout{grid-template-columns:1fr}.important-panel{position:static;grid-row:1}.important-secondary{display:none}.biggest-open{padding:15px 17px}.biggest-amount{font-size:24px;margin:5px 0}.important-sub{width:auto}.important-heading{padding:12px 16px}.important-footnote{padding:10px 16px}.timeline .event{padding:15px 10px}.timeline .event .right .btn{font-size:12px;padding:7px 9px}}

/* Homepage: compact unique-wallet long/short comparison */
.direction-overview{padding:13px 18px 12px;margin:0 0 15px}.direction-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.direction-heading strong{font-size:15px}.direction-heading span{font-size:11px;color:#96a1ae}.direction-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:8px}.direction-stat{display:flex;align-items:center;gap:10px;font-size:13px}.direction-stat strong{font-size:22px;font-variant-numeric:tabular-nums}.long-stat strong{color:#07966a}.short-stat strong{color:#d55157}.direction-stat:nth-child(2){justify-content:flex-end}.direction-bar{height:9px;border-radius:30px;background:#f7cbd0;overflow:hidden}.direction-long-bar{width:50%;height:100%;background:#1fb78b;border-radius:30px 0 0 30px;transition:width .2s}.direction-percent{display:flex;justify-content:space-between;color:#6b7c90;font-size:11px;margin-top:5px}@media(max-width:620px){.direction-overview{padding:11px 13px;margin-bottom:11px}.direction-heading span{font-size:10px}.direction-stat{gap:5px;font-size:12px}.direction-stat strong{font-size:19px}}

/* Funds-first comparison */
.direction-overview .direction-stats{gap:12px;margin:11px 0}.direction-overview .direction-stat{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.direction-overview .direction-stat:nth-child(2){align-items:flex-end}.direction-overview .direction-stat strong{font-size:clamp(18px,2.2vw,29px);line-height:1.3;white-space:nowrap}.direction-foot{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#73859a}.direction-note{font-size:10px;color:#9da9b6;margin-top:6px}@media(max-width:620px){.direction-overview .direction-stat strong{font-size:18px}.direction-foot{font-size:11px}.direction-heading span{max-width:155px;text-align:right}}

/* Compact, one-line funding ribbon: preserve all existing data bindings */
.direction-compact{padding:9px 13px;margin:0 0 12px}
.funds-inline{display:flex;align-items:center;gap:14px;min-height:37px}
.funds-title{font-size:13px;white-space:nowrap;color:#26364e}
.funds-side{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}
.funds-side b{font-size:16px;font-variant-numeric:tabular-nums}
.funds-long b{color:#08966c}.funds-short b{color:#d55157}
.funds-meter{flex:1;min-width:100px;max-width:340px}
.funds-meter .direction-bar{height:7px}
.funds-meter .direction-percent{margin-top:3px;font-size:10px}
.funds-details{margin-left:auto;position:relative;flex-shrink:0;font-size:11px;color:#517294}
.funds-details summary{cursor:pointer;list-style:none;white-space:nowrap}.funds-details summary::-webkit-details-marker{display:none}
.funds-details[open] .funds-detail-inner{position:absolute;right:0;top:25px;z-index:5;width:260px;background:white;border:1px solid #e5ebf1;border-radius:9px;box-shadow:0 8px 25px #152c4420;padding:12px;display:flex;flex-direction:column;gap:7px;color:#56677b}
.funds-detail-inner small{color:#92a0ae;line-height:1.5}
@media(max-width:760px){.funds-inline{gap:8px;flex-wrap:wrap}.funds-title{width:100%;font-size:12px}.funds-side{font-size:11px}.funds-side b{font-size:14px}.funds-meter{order:4;flex-basis:100%;max-width:none}.funds-details{margin-left:auto}.direction-compact{padding:8px 11px}}

/* Reviewed UI: tighter visual rhythm, legible feed, mobile-first information priority */
:root{--ink:#172c44;--muted:#78899d;--line:#e6ebf1;--blue:#1768d5}body{background:#f5f7fa;color:var(--ink)}
header{box-shadow:0 1px 2px #102b4a08}.nav{max-width:1180px;padding:11px 20px}.brand{letter-spacing:-.5px}.links a{transition:color .15s}.links a:hover,.head-link:hover{color:#1768d5}
main{max-width:1180px;margin:20px auto;padding:0 20px 45px}.panel{border-radius:12px;box-shadow:0 2px 10px #26395006}
.home-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 12px}.home-head h1{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin:4px 0 0}.home-head .eyebrow{font-size:10px;letter-spacing:.8px}.demo-label{margin-left:8px;color:#8897a6;font-weight:500;letter-spacing:0}.head-link{font-size:12px;color:#55708e;white-space:nowrap;padding-bottom:3px}
.compact-alert{background:#173658;border-radius:10px;padding:9px 13px;margin:0 0 10px}.compact-alert-icon{font-size:16px}.compact-alert-title b{font-size:13px}.compact-alert-title small{font-size:10px}.compact-alert-row{gap:8px}.compact-alert .btn,.compact-select{padding:5px 10px}.compact-select{font-size:12px}.compact-alert-actions{gap:9px}.compact-free{font-size:12px}.compact-more summary{padding:5px 3px}
.direction-compact{border-radius:10px;padding:9px 13px;margin-bottom:12px}.funds-inline{gap:15px;min-height:30px}.funds-title{font-size:12px}.mini-help{font-weight:400;color:#8d9eae}.funds-side{font-size:12px}.funds-side b{font-size:15px}.funds-meter .direction-bar{height:7px}.funds-meter .direction-percent{font-size:10px}.funds-details summary{font-size:11px}
.news-layout{grid-template-columns:minmax(0,1.95fr) minmax(280px,.88fr);gap:14px}.news-layout .pad{padding:16px 18px 5px}.news-layout .topline{margin-bottom:10px}.news-layout .topline h2{font-size:17px}.feed-sim{display:inline-block;vertical-align:middle;font-weight:500;font-size:10px;color:#8797a8;background:#f0f3f7;border-radius:4px;padding:2px 6px;margin-left:5px}.news-layout .toolbar{margin-bottom:7px}.chip{padding:5px 12px;font-size:12px}.news-layout .topline .btn{font-size:12px;padding:7px 11px}.timeline{margin:0 12px 10px 17px}.timeline .event{padding:14px 12px 14px 17px;gap:12px}.timeline .event:before{top:22px}.timeline .symbol{font-size:15px}.timeline .name{margin-top:5px;font-size:13px}.timeline .meta{font-size:12px;line-height:1.5}.timeline .clock{font-size:12px;min-width:60px}.timeline .right .btn{padding:6px 9px;font-size:11px;white-space:nowrap}.action{font-size:11px;padding:2px 7px}.important-panel{top:68px}.important-heading{padding:13px 15px}.important-heading h2{font-size:16px}.biggest-open{padding:15px;background:linear-gradient(160deg,#fffcf5,#fff 75%)}.biggest-amount{font-size:27px;margin:5px 0 8px}.biggest-name{margin-top:9px;font-size:13px}.important-sub{margin-top:10px}.important-secondary{padding:13px 15px 3px}.top-open-row{padding:8px 0}.important-footnote{padding:9px 15px;font-size:10px}.footer{margin:20px 0;font-size:11px}
.btn,.chip,.compact-select,summary{transition:filter .15s}.btn:hover,.chip:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #78aef9;outline-offset:2px}
@media(max-width:820px){.news-layout{grid-template-columns:1fr}.important-panel{grid-row:auto;position:static}.important-secondary{display:block}.important-heading{padding:12px 15px}.biggest-open{padding:12px 15px}.important-panel .important-secondary{display:none}.important-panel{display:grid;grid-template-columns:1fr}.important-panel .important-footnote{display:none}}
@media(max-width:620px){.nav{flex-direction:column;align-items:stretch;gap:8px;padding:10px 13px}.brand{font-size:17px}.links{gap:0;justify-content:space-between}.links a{font-size:12px;white-space:nowrap}.nav .links{overflow-x:auto;gap:17px}main{margin:13px auto;padding:0 10px 32px}.home-head{align-items:center;margin-bottom:10px}.home-head h1{font-size:20px}.head-link{font-size:10px}.compact-alert{padding:8px 10px}.compact-alert-title{width:auto}.compact-alert-actions{justify-content:flex-start;gap:8px}.compact-alert-row{align-items:start}.compact-free{width:auto;margin-left:auto;gap:7px}.compact-free span{display:none}.compact-select{max-width:110px}.compact-select-label{display:none}.compact-more{margin-left:auto}.direction-compact{padding:9px 11px}.funds-inline{display:grid;grid-template-columns:1fr 1fr auto;column-gap:8px;row-gap:5px}.funds-title{grid-column:1/-1;font-size:11px}.funds-side{display:flex;justify-content:flex-start;gap:5px}.funds-side b{font-size:14px}.funds-short{justify-content:flex-end}.funds-meter{order:initial;grid-column:1/3;grid-row:3;min-width:0;width:100%;max-width:none}.funds-details{grid-column:3;grid-row:2 / 4;align-self:center}.funds-long{grid-column:1;grid-row:2}.funds-short{grid-column:2;grid-row:2}.funds-details[open] .funds-detail-inner{right:-2px}.news-layout{gap:10px}.news-layout .pad{padding:12px 12px 5px}.timeline{margin:0 9px 10px 12px}.timeline .event{padding:12px 7px 12px 13px;gap:8px;flex-wrap:wrap}.timeline .clock{font-size:11px;min-width:53px}.timeline .event-main{flex:1;min-width:140px}.timeline .right{width:100%;justify-content:flex-end;margin-top:-2px}.timeline .meta{font-size:11px}.important-heading{padding:10px 12px}.biggest-open{padding:11px 12px}.biggest-amount{font-size:23px}.important-panel .important-sub{width:auto}.notice{font-size:11px}}

/* Clean neutral theme — consistent across all pages */
:root{--ink:#1f2937;--muted:#6b7280;--line:#e5e7eb;--blue:#2563eb;--surface:#ffffff;--page:#f8fafc;--up:#059669;--down:#dc4756}
body{background:var(--page);color:var(--ink)}
header{background:#fff;border-bottom-color:var(--line);box-shadow:none}
.brand{color:#1f2937;letter-spacing:-.6px}
.links a{color:#64748b}.links a.active,.links a:hover,.head-link:hover{color:var(--blue)}
.eyebrow{color:#64748b;letter-spacing:.4px}.sub,.muted,.meta,.tiny{color:#64748b}
.panel,.stat,.rank-card{background:#fff;border-color:var(--line);box-shadow:none}
.panel,.rank-card{border-radius:10px}.stat{border-radius:10px}
.btn{background:#2563eb;border-radius:8px}.btn.secondary{background:#eef2ff;color:#1d4ed8}.btn.outline{border-color:#dbe3ef;color:#2563eb}
.pill{background:#f1f5f9;color:#475569}.status{background:#ecfdf5;color:#047857}
.chip{color:#475569;border-color:#e2e8f0}.chip.on{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}
.long{background:#ecfdf5;color:#047857}.short{background:#fff1f2;color:#be123c}
.positive,.long-stat strong,.funds-long b{color:var(--up)}.short-stat strong,.funds-short b{color:var(--down)}
.direction-long-bar{background:var(--up)}.direction-bar{background:#fecdd3}
.compact-alert{background:#fff;color:#1f2937;border:1px solid #e5e7eb;box-shadow:none}
.compact-alert-title small,.compact-select-label,.compact-free,.compact-more summary{color:#64748b}
.compact-alert .status{background:#f1f5f9;color:#475569}
.compact-select{background:#f8fafc;color:#334155;border:1px solid #cbd5e1}
.compact-toggle{color:#334155}.compact-alert .btn{background:#2563eb;color:#fff}
.compact-alert .btn.secondary{background:#f1f5f9;color:#334155}
.compact-alert .alert-feedback{background:#f1f5f9;color:#334155}
.compact-popover{background:#fff;color:#334155;border-color:#e2e8f0;box-shadow:0 10px 30px #0f172a15}
.compact-popover p{color:#64748b}
.biggest-open{background:#fff}.important-footnote{background:#f8fafc}
.name,.symbol{color:#1f2937}.rank-number{color:#2563eb}
.notice{background:#fffbeb;border-color:#fde68a;color:#92400e}
/* Keep only direction semantics vivid: green=long, red=short; blue=actions */
@media(max-width:620px){.links a{font-weight:600}.panel,.rank-card{border-radius:9px}}

/* Telegram account: compact, consistent across pages */
.nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tg-account{margin-left:auto;display:flex;align-items:center;gap:8px}.tg-login{border:1px solid #c9d7e6;background:#fff;color:#2475bd;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:650;cursor:pointer}.tg-login:hover{background:#edf6ff}.tg-user{font-size:12px;color:#334155;display:flex;align-items:center;gap:7px}.tg-avatar{width:27px;height:27px;border-radius:50%;object-fit:cover}.tg-dialog{border:1px solid #e2e8f0;border-radius:14px;padding:22px;width:min(92vw,410px);box-shadow:0 16px 65px #15253b33}.tg-dialog::backdrop{background:#0f172a77}.tg-dialog h2{margin:0 0 8px;font-size:19px}.tg-dialog p{font-size:13px;color:#64748b;line-height:1.7}.tg-dialog-actions{display:flex;justify-content:flex-end;margin-top:15px}.tg-demo{display:flex;gap:8px;align-items:center;margin:12px 0}.tg-demo input{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px}.tg-note{font-size:12px;color:#64748b}@media(max-width:700px){.tg-account{margin-left:0}.tg-login{padding:6px 9px}}
/* Unified compact multi-method sign-in */
.login-chooser{padding:22px;width:min(92vw,430px)}.login-heading{display:flex;justify-content:space-between;align-items:center;font-size:19px}.login-close{border:0;background:transparent;font-size:26px;color:#64748b;cursor:pointer}.login-subtitle{margin:7px 0 16px!important}.login-choice{display:flex;align-items:center;gap:12px;width:100%;padding:13px 12px;margin:9px 0;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:11px;cursor:pointer;color:#1f2937}.login-choice:hover{background:#f8fafc;border-color:#93c5fd}.login-choice>span:nth-child(2){flex:1;display:grid;gap:3px}.login-choice b{font-size:14px}.login-choice small{font-size:11px;color:#64748b}.login-choice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eff6ff;color:#2563eb;font-size:20px}.login-divider{text-align:center;color:#94a3b8;font-size:12px;margin:17px 0 7px}.login-security{font-size:11px!important;color:#94a3b8!important;margin-bottom:0}.login-field{display:grid;gap:7px;font-size:13px;color:#475569}.login-field input{padding:11px;border:1px solid #cbd5e1;border-radius:9px}.login-primary{margin-top:14px;background:#2563eb;border:0;color:#fff;padding:11px;border-radius:9px;width:100%;cursor:pointer}.login-back{margin-top:13px;border:0;background:transparent;color:#2563eb;cursor:pointer;padding:6px}.tg-user{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
