/* Chartomo v0.3.4 · standalone pips leaderboard */
.ranking-hero{text-align:center;padding:56px 0 29px;position:relative}
.ranking-eyebrow{font-size:11px;color:#f1c883;font-weight:850;letter-spacing:2.2px}
.ranking-eyebrow span{color:#526984}
.ranking-trophy{font-size:52px;margin:17px auto 11px;filter:drop-shadow(0 12px 25px #c5923450)}
.ranking-hero h1{font-size:clamp(32px,5vw,53px);letter-spacing:-2px;line-height:1.24;margin:0}
.ranking-hero h1 span{color:#e7bd7a}
.ranking-hero p{font-size:14px;color:#9dafc5;line-height:1.9;margin:17px 0 18px}
.ranking-hero-note{display:inline-block;font-size:11px;background:#172b3e;border:1px solid #36526d;border-radius:99px;padding:8px 13px;color:#bfd4e9}
.ranking-hero-note>span:first-child{color:#36d3a1}.mini-separator{color:#48627f;margin:0 5px}
.ranking-caution{border:1px solid #6b5940;background:#2b251a70;border-radius:11px;padding:11px 15px;color:#dfc6a2;font-size:11px;line-height:1.65}
.ranking-caution span{display:inline-block;font-size:9px;border-radius:4px;background:#634626;color:#f4d6a4;font-weight:800;padding:2px 6px;margin-right:7px}
.ranking-section{margin-top:27px}
.ranking-section-head,.ranking-board-head{display:flex;gap:15px;justify-content:space-between;align-items:flex-end;margin-bottom:16px}
.ranking-section-head h2,.ranking-board-head h2{font-size:24px;letter-spacing:-.6px;margin:3px 0}
.ranking-section-head p{font-size:11px;color:#849ab4;margin:0}
.rank-refresh{background:#182e47;border:1px solid #436481;border-radius:9px;color:#d0e6ff;padding:10px 13px;font-weight:700;font-size:12px;white-space:nowrap}
.rank-refresh:disabled{opacity:.5;cursor:wait}
.rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:end}
.rank-podium:has(.rank-loading){display:block}
.rank-loading{text-align:center;color:#9ab0cc;font-size:13px;background:#111e31;border:1px dashed #35506d;border-radius:13px;padding:33px}
.podium-card{background:linear-gradient(155deg,#172940,#0e1a2b);border:1px solid #38506a;border-radius:17px;min-height:190px;padding:25px 15px 19px;text-align:center;position:relative}
.podium-card:nth-child(2){min-height:212px;background:linear-gradient(155deg,#423318,#202f42 64%,#101e31);border-color:#a98045;box-shadow:0 12px 30px #8a5f1728;transform:translateY(-6px)}
.podium-medal{font-size:28px;margin-bottom:9px}
.podium-avatar{height:42px;width:42px;border-radius:15px;background:#36506b;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-weight:850;font-size:19px;color:#e2eeff}
.podium-card:nth-child(2) .podium-avatar{background:#75572e}
.podium-handle{font-weight:800;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.podium-score{font-size:25px;font-weight:850;color:#57deb7;margin-top:7px;font-variant-numeric:tabular-nums;line-height:1.25}
.podium-score.is-negative{color:#ef92a6}
.podium-score small{font-size:11px;font-weight:600;color:#8298b3;margin-left:3px}
.podium-trades{font-size:10px;color:#8198b4;margin-top:7px}
.podium-placeholder{background:#111d30;border:1px dashed #3b516d;border-radius:17px;min-height:174px;display:flex;align-items:center;justify-content:center;text-align:center;color:#536d88;font-size:12px;padding:10px}
.my-rank-panel{margin:24px 0 9px;background:linear-gradient(125deg,#1a3d46,#142c42);border:1px solid #53aa9f;border-radius:15px;padding:16px 24px}
.my-rank-top{font-weight:850;font-size:10px;letter-spacing:1.8px;color:#83e9c8}
.my-rank-top span{font-size:11px;font-weight:550;letter-spacing:0;margin-left:9px;color:#b7d3d4}
.my-rank-content{display:flex;align-items:center;gap:14px;margin-top:8px}
.my-rank-content>div:first-child{white-space:nowrap}.my-rank-place{font-size:39px;line-height:1;font-weight:880;color:#fff}
.my-rank-content small{font-size:11px;color:#97c5c2;margin-left:4px}
.my-rank-detail{flex:1;min-width:0}.my-rank-detail strong{font-size:14px;overflow-wrap:anywhere}.my-rank-detail p{color:#8facbf;font-size:11px;margin:2px 0}
.my-rank-score{font-size:26px;color:#62e7b9;font-variant-numeric:tabular-nums;white-space:nowrap}.my-rank-score.is-negative{color:#f58ca6}
.ranking-board{margin:30px 0;background:linear-gradient(145deg,#101e31,#0b1628);border:1px solid #2a415a;border-radius:17px;overflow:hidden}
.ranking-board-head{padding:23px 25px 12px;margin:0}.ranking-status{font-size:10px;color:#8ea7c2}
.rank-table-head,.rank-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 148px;gap:12px;align-items:center;padding:11px 25px}
.rank-table-head{font-size:10px;color:#7b93b0;text-transform:uppercase;letter-spacing:.4px;border-top:1px solid #23394f;border-bottom:1px solid #23394f;background:#0c1a2d}
.rank-table-head>span:not(:first-child){text-align:right}
.rank-row{border-bottom:1px solid #26364d70;min-height:63px}.rank-row:last-child{border-bottom:0}
.rank-row:hover{background:#182b40}
.rank-row.is-me{background:#183c40;box-shadow:inset 3px 0 #49caac}
.rank-person{display:flex;align-items:center;min-width:0;gap:12px}
.rank-number{display:inline-flex;min-width:28px;justify-content:center;font-size:13px;font-weight:900;color:#8ba4bd}
.rank-number.top-1{color:#f6d08c}.rank-number.top-2{color:#cbd6e2}.rank-number.top-3{color:#d7a680}
.rank-user-avatar{width:32px;height:32px;border-radius:10px;background:#2a4160;color:#b8d4f5;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;font-size:12px}
.rank-user-handle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;color:#d4e4f5}
.rank-me-badge{display:inline-block;font-size:9px;font-weight:850;padding:2px 5px;border-radius:4px;color:#73f1ca;background:#194d40;margin-left:7px;vertical-align:middle}
.rank-num-trades{text-align:right;color:#89a0b9;font-size:12px;font-variant-numeric:tabular-nums}
.rank-total{text-align:right;color:#69e4bb;font-size:14px;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.rank-total.is-negative{color:#ee869b}
.rank-help{font-size:10px;color:#7f98b3;padding:14px 25px 19px;line-height:1.7;margin:0;border-top:1px solid #273a4e}
.ranking-cta{display:flex;align-items:center;justify-content:space-between;gap:17px;margin:31px 0;background:linear-gradient(115deg,#233b50,#15283e);border:1px solid #3f607a;border-radius:15px;padding:23px 25px}
.ranking-cta h3{font-size:17px;margin:0 0 5px}.ranking-cta p{color:#9ab1c8;font-size:11px;margin:0}
.rank-cta-link{white-space:nowrap;border-radius:10px;background:#176a59;color:#e6fff6;font-size:12px;font-weight:800;padding:11px 15px}
.rank-cta-link:hover{background:#218b74}
@media(max-width:680px){
.ranking-hero{padding:37px 5px 25px}.ranking-eyebrow{font-size:9px;letter-spacing:1.7px}.ranking-trophy{font-size:44px;margin:15px auto 7px}.ranking-hero h1{font-size:34px;letter-spacing:-1.5px}.ranking-hero h1 span{display:block}.ranking-hero p{font-size:12px}.ranking-hero-note{font-size:9px}
.ranking-caution{font-size:10px;padding:10px 12px}
.ranking-section-head h2,.ranking-board-head h2{font-size:19px}
.rank-refresh{font-size:11px;padding:8px 9px}
.rank-podium{gap:6px}.podium-card{padding:15px 6px 11px;min-height:155px;border-radius:11px}.podium-card:nth-child(2){min-height:172px}.podium-medal{font-size:23px;margin-bottom:7px}.podium-avatar{height:31px;width:31px;border-radius:11px;font-size:13px;margin-bottom:6px}.podium-handle{font-size:10px}.podium-score{font-size:17px}.podium-score small{display:block;font-size:9px}.podium-trades{font-size:9px}.podium-placeholder{min-height:142px;font-size:10px;border-radius:11px}
.my-rank-panel{padding:14px 15px}.my-rank-place{font-size:31px}.my-rank-content{gap:10px}.my-rank-detail strong{font-size:12px}.my-rank-detail p{font-size:9px}.my-rank-score{font-size:19px}
.ranking-board{margin:24px 0}.ranking-board-head{padding:17px 13px 11px}
.rank-table-head,.rank-row{grid-template-columns:minmax(0,1fr) 43px 95px;gap:6px;padding:10px 11px}.rank-table-head{font-size:9px}.rank-person{gap:7px}.rank-number{min-width:19px;font-size:11px}.rank-user-avatar{height:25px;width:25px;border-radius:8px;font-size:10px}.rank-user-handle{font-size:11px}.rank-num-trades{font-size:11px}.rank-total{font-size:12px}.rank-me-badge{font-size:8px;margin-left:4px;padding:1px 3px}
.rank-help{padding:11px 12px 16px;font-size:9px}.ranking-cta{padding:16px 13px}.ranking-cta h3{font-size:13px}.ranking-cta p{font-size:10px}.rank-cta-link{font-size:10px;padding:9px 10px}
}
@media(max-width:360px){.rank-me-badge{display:none}.rank-person{gap:5px}.rank-user-handle{font-size:10px}.ranking-cta{flex-direction:column;align-items:flex-start}}

/* Chartomo v0.3.5 — live-score components */
.podium-breakdown{font-size:10px;color:#a6c4c8;line-height:1.45;margin-top:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rank-score-block{text-align:right;min-width:0}
.rank-score-block .rank-total{display:block}
.rank-score-parts{display:block;font-size:9px;color:#9bb3c9;margin-top:4px;line-height:1.35;white-space:normal;font-variant-numeric:tabular-nums}
.my-rank-pips-stack{display:flex;flex-direction:column;align-items:flex-end;min-width:0;gap:3px}
.my-rank-breakdown{font-size:10px;color:#a8cad0;line-height:1.4;text-align:right;white-space:normal;font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .podium-breakdown{font-size:8px;line-height:1.35;margin-top:5px}
 .rank-score-parts{font-size:8px;line-height:1.25}
 .my-rank-breakdown{font-size:9px}
 .rank-total{font-size:12px}
}

/* Chartomo v0.3.6 — period switcher + public profile links */
.ranking-period-filter{margin:24px 0 4px;padding:20px 23px;border:1px solid #35516d;background:linear-gradient(135deg,#13263a,#102131);border-radius:15px}
.ranking-filter-caption{color:#9ab4d3;letter-spacing:1.8px;font-weight:850;font-size:10px;margin-bottom:12px}
.ranking-filter-caption span{letter-spacing:normal;font-weight:500;margin-left:8px;color:#b6c9da;font-size:11px}
.ranking-period-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-width:520px;background:#091627;border:1px solid #2b4560;border-radius:12px;padding:5px}
.ranking-period-tab{background:transparent;color:#96afc9;border:0;border-radius:8px;padding:11px 5px;font-weight:800;font-size:13px;transition:background .15s,color .15s}
.ranking-period-tab:hover{color:white;background:#1b304b}
.ranking-period-tab.active{background:#225b58;color:#a1ffe4;box-shadow:inset 0 0 0 1px #499c8c}
.ranking-period-explainer{font-size:11px;line-height:1.6;color:#94b1cb;margin:11px 0 0}
.rank-user-handle,.podium-handle{cursor:pointer;text-decoration:none}
.rank-user-handle:hover,.podium-handle:hover{text-decoration:underline;color:#9eebd0}
@media(max-width:680px){.ranking-period-filter{padding:15px 13px}.ranking-period-tabs{max-width:none}.ranking-period-tab{font-size:12px;padding:10px 4px}.ranking-period-explainer{font-size:10px}}
