*{box-sizing:border-box}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}body{margin:0} .topbar{gap:10px}.topbar .brand{font-size:17px;white-space:nowrap;gap:0}.topbar .brand span{font-size:13px;color:#91bfc5}.mode-pill{font-size:12px;color:#88e6da;border:1px solid #36605d;border-radius:20px;padding:4px 8px;margin-left:auto;white-space:nowrap}.topbar .avatar-button{flex-shrink:0;width:32px;height:32px}.auth-wordmark strong{font-size:24px!important;letter-spacing:.025em!important}.auth-admin .auth-brand{font-size:19px}#page{padding:20px 0 30px}.live-grid{display:grid;gap:18px}.panel,.portfolio-card{margin-bottom:18px}.live-copy{color:var(--muted,#8ba0b2);font-size:14px;line-height:1.8}.live-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.live-title h2{font-size:18px;margin:0}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metric-grid small{display:block;color:#8ba0b2;font-size:12px;margin-bottom:5px}.metric-grid strong{font-size:21px;font-variant-numeric:tabular-nums}.live-form{display:grid;gap:18px}.live-form label{display:grid;gap:8px;color:#9fb1bf;font-size:14px}.live-form input,.live-form select,.live-form textarea{width:100%;min-width:0;background:#0b1926;border:1px solid #294255;border-radius:9px;padding:13px;color:#e5f3ff;font:inherit;font-size:16px}.live-form textarea{min-height:110px}.live-button{border:0;border-radius:9px;padding:13px 18px;background:#75dfd1;color:#0b2422;font-size:15px;font-weight:600}.live-button.secondary{background:#172c3d;color:#bcd2e0;border:1px solid #2b4558}.live-button.danger{background:#3d1f2b;color:#ffafbb}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.actions>*{flex:1;white-space:nowrap}.live-list{display:grid;gap:0}.live-row{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #ffffff0c}.live-row:last-child{border-bottom:0}.live-row small{display:block;color:#849cac;margin-top:5px;font-size:12px}.live-row b{font-size:15px}.live-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}.empty{color:#8399a9;padding:24px 0;line-height:1.8;font-size:14px}.status-banner{border:1px solid #355257;padding:12px 15px;border-radius:9px;background:#16342d33;color:#a3d6cc;font-size:13px;line-height:1.8;margin-bottom:18px}.negative{color:#ff889d}.positive{color:#67e0cb}.rule-list{display:grid;grid-template-columns:auto 1fr;gap:12px 20px;font-size:14px}.rule-list dt{color:#809cac}.rule-list dd{margin:0;text-align:right}.chart{width:100%;height:130px;display:block;margin-top:20px}.period-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.period-buttons button{background:transparent;border:1px solid #294152;color:#93aab9;border-radius:7px;padding:7px 10px}.period-buttons button.active{background:#153c3d;color:#71e7d7}.bottom-nav button{font-size:22px}.bottom-nav button span{font-size:12px}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:#263e4f;color:#fff;max-width:90vw;padding:13px 20px;border-radius:10px;z-index:100;opacity:0;pointer-events:none;font-size:14px}#toast.show{opacity:1}dialog{background:#0f202d;color:#e4f3ff;border:1px solid #3b566a;border-radius:16px;padding:24px;width:calc(100% - 32px);max-width:560px;max-height:85dvh;overflow:auto}dialog::backdrop{background:#000a}dialog h2{font-size:20px}dialog #modal-close{margin-top:20px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 ui-monospace,monospace}.admin-body{background:#f5f6f8;color:#273142;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}.admin-head{padding:20px 28px;border-bottom:1px solid #ddd;background:#fff;display:flex;gap:18px;justify-content:space-between;align-items:center}.admin-head small{font-weight:400;color:#78808c;margin-left:10px}.admin-head a{color:#345a91;margin-right:18px}.admin-main{max-width:1250px;margin:24px auto;padding:0 24px}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.admin-body button{background:#fff;border:1px solid #d9dfe6;border-radius:5px;padding:9px 14px;color:#334050;font-size:14px}.admin-body button.active{background:#263b50;color:white}.admin-card{background:white;border:1px solid #e0e4e9;border-radius:8px;padding:24px;margin-bottom:18px}.admin-card h2{font-size:18px;margin:0 0 18px}.admin-body .live-form input,.admin-body .live-form textarea{background:#fff;color:#273142;border-color:#d4dce6}.admin-body .live-form label{color:#586475}.admin-body dialog{background:white;color:#273142;border-color:#d4dce6}.admin-table-wrap{overflow:auto}.admin-table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.admin-table th,.admin-table td{padding:15px 12px;border-bottom:1px solid #e9edf1;white-space:nowrap}.admin-table th{color:#7d8794;font-weight:500}.admin-body .live-row{border-color:#e8edf1}.admin-body .live-row small{color:#6d7883}.admin-body .rule-list dt{color:#677180}.admin-body .status-banner{color:#355c57;background:#eef6f4;border-color:#d4e3dd}.admin-body .empty{color:#7a838e}@media(max-width:500px){.topbar{padding-left:16px;padding-right:16px}.topbar .brand{font-size:15px}.topbar .brand span{font-size:12px}.topbar .icon-button{width:25px}.mode-pill{font-size:11px;padding:3px 6px}.auth-screen:not(.auth-admin) .auth-wordmark strong{font-size:22px!important}.admin-head{padding:16px;align-items:flex-start;flex-direction:column}.admin-main{padding:0 14px}.admin-card{padding:18px}.rule-list{gap:12px;font-size:13px}}@media(min-width:850px){.live-grid{grid-template-columns:1fr 1fr;align-items:start}.app-shell{max-width:1120px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Mobile backtest workspace */
.bt-heading{display:flex;position:relative;align-items:center;justify-content:space-between;padding:36px 2px 22px;gap:12px}.bt-back{position:absolute;top:0;left:0;background:none;border:0;padding:0;color:#8da6b8;font-size:13px}.bt-heading h1{font-size:25px;letter-spacing:-.04em;margin:6px 0}.bt-heading p{color:#7998aa;font-size:12px;margin:0}.bt-eyebrow{font-size:10px;letter-spacing:.16em;color:#5cd6c1}.bt-badge{color:#9cc8c2;background:#16352e;border:1px solid #285c50;padding:7px 11px;border-radius:20px;font-size:11px;white-space:nowrap}.bt-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.bt-periods button{background:#0c1a27;color:#9db1bf;border:1px solid #263b4d;border-radius:8px;padding:11px 0;font-size:14px}.bt-periods button.active{border-color:#5fcfb9;background:#14372f;color:#8ee9d4}.bt-config{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:13px;color:#94aabb}.bt-config b{color:#e4f5f3;font-size:20px;font-variant-numeric:tabular-nums}.bt-config small{font-size:11px;font-weight:400;color:#88a5ac}.bt-start{width:100%}.bt-cancel{display:block;background:none;border:0;color:#9aafbb;padding:14px;margin:auto;font-size:13px}.bt-cancel[hidden]{display:none}.bt-stage{overflow:hidden}.bt-progress{height:4px;border-radius:10px;background:#213443;overflow:hidden}.bt-progress i{display:block;height:100%;width:0;background:#6be0c5;transition:width .2s}.bt-stage .live-title{margin-bottom:12px}.bt-stage .live-title span{font:12px ui-monospace,monospace;color:#79c7b6}.bt-stage #bt-message{font-size:12px;min-height:36px}.bt-error{border:1px solid #834455;background:#361b27;padding:12px;border-radius:8px;color:#f9a8b9;font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}.bt-quote{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.bt-quote strong{font-size:26px;font-variant-numeric:tabular-nums}.bt-quote span{font-size:10px;color:#829db0}#bt-chart{display:block;width:100%;height:300px;margin-top:6px}.bt-legend{display:flex;gap:14px;font-size:10px;color:#84a0ae;flex-wrap:wrap}.bt-dot{display:inline-block;width:6px;height:6px;background:#7de8d1;border-radius:50%;margin-right:5px}.bt-dot.close{background:#ffc783}.bt-controls{display:flex;gap:8px;align-items:stretch;margin-top:20px}.bt-controls button{font-size:12px;padding:10px;flex:1}.bt-controls label{display:flex;flex-direction:column;gap:3px;color:#819bac;font-size:10px}.bt-controls select{font-size:12px;background:#102737;color:#c9e4e8;border:1px solid #2b4558;border-radius:5px;padding:4px;max-width:112px}.bt-metrics{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:12px;padding:20px 0;margin-top:10px;border-bottom:1px solid #233b48}.bt-metrics span{display:block;font-size:11px;color:#7a99aa;margin-bottom:7px}.bt-metrics strong{font-size:17px;font-variant-numeric:tabular-nums}.bt-tape{min-height:75px}.bt-event{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #1b303d}.bt-event-icon{display:grid;place-items:center;background:#173d35;color:#8dedce;border-radius:8px;width:30px;height:30px;flex-shrink:0}.bt-event-icon.exit{background:#3b3022;color:#ffc783}.bt-event b{font-size:12px;font-weight:500}.bt-event small{display:block;font-size:10px;color:#7894a5;margin-top:5px}.bt-event-value{margin-left:auto;text-align:right;white-space:nowrap}.bt-result h2{margin-top:8px}.bt-return{border-top:1px solid #23404a;padding:24px 0}.bt-return small{display:block;color:#7f9baa;font-size:12px}.bt-return strong{display:block;font-size:36px;margin-top:8px}.bt-return em{font-size:17px;font-style:normal;color:#9eb6bb}.bt-result .metric-grid{margin-bottom:28px}.bt-result .metric-grid strong{font-size:20px}.bt-result .metric-grid p{margin:4px 0;font-size:11px}.bt-result details{color:#92aeb9;font-size:13px;margin:20px 0}.bt-result summary{cursor:pointer}.bt-result .live-button{width:100%}@media(min-width:850px){.bt-settings{max-width:640px}.bt-stage{max-width:900px}.bt-stage #bt-chart{height:300px}.bt-heading{max-width:900px}}@media(prefers-reduced-motion:reduce){.bt-progress i{transition:none}}
.bt-interval{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#94aabb;margin-top:18px}.bt-interval select{background:#102737;border:1px solid #2b4558;border-radius:7px;padding:8px 12px;color:#c9e4e8;font-size:14px}.bt-source-note{font-size:11px;line-height:1.7}
/* Restore the original strategy plaza; operational tools live in detail views. */
.strategy-overview .running-stat strong{max-width:100%;font-size:clamp(13px,3.9vw,17px)}.strategy-overview .running-stat strong .positive,.strategy-overview .running-stat strong .negative{font-size:inherit;display:inline;font-weight:inherit;color:inherit}.strategy-overview .running-stat strong:has(.positive){color:#67e0cb}.strategy-overview .running-stat strong:has(.negative){color:#ff889d}.strategy-row-arrow{font-size:23px;color:#6d879a;margin-left:4px}.strategy-market-row:focus-visible,.strategy-filters button:focus-visible,.strategy-back:focus-visible{outline:2px solid #6ce0c6;outline-offset:3px}.strategy-market-row:hover{background:#ffffff03}.strategy-row-metric{text-align:right}.strategy-row-metric b:not(.positive){color:#8399aa}.strategy-detail-head{padding:0 0 22px}.strategy-back{background:none;border:0;padding:0;color:#8da6b8;font-size:13px;min-height:32px;margin-bottom:14px}.strategy-detail-title{display:flex;align-items:center;gap:12px}.strategy-detail-title .strategy-type-icon{width:42px;height:42px;font-size:23px;border-radius:12px}.strategy-detail-title .eyebrow{margin:0 0 5px;font-size:11px;color:#89a6b7}.strategy-detail-title h1{font-size:23px;margin:0;letter-spacing:-.03em}.strategy-detail-title .demo-label{margin-left:auto}.strategy-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.strategy-detail-actions button{background:#102333;border:1px solid #264153;border-radius:13px;padding:17px 12px;display:grid;gap:7px;text-align:left;color:#dbecf5;min-width:0}.strategy-detail-actions button>span{font-size:23px;color:#6fdfcc}.strategy-detail-actions b{font-size:14px}.strategy-detail-actions small{font-size:10px;color:#89a3b4;line-height:1.6}@media(max-width:360px){.strategy-overview .running-stat{padding:0 4px}.strategy-detail-actions{gap:8px}.strategy-detail-actions button{padding:14px 10px}.strategy-row-name b{font-size:12px}}@media(min-width:850px){.strategy-detail-actions{max-width:640px}}

.strategy-type-icon.martin{background:#a6baff url('/static/martin.svg') center/23px 23px no-repeat;flex-shrink:0}.strategy-detail-title .strategy-type-icon.martin{background-size:29px 29px}

.strategy-type-icon.scalp_btc{background:#b4def2;color:#155273;font-size:25px}.strategy-type-icon.scalp_gold{background:#e9d6a4;color:#6e501a;font-size:18px;font-weight:800}

/* Adaptive strategy keeps the existing market-list visual hierarchy. */
.strategy-type-icon.adaptive{background:#a5dfd1;color:#145449;font-size:22px;flex-shrink:0}.adaptive-research{margin-top:20px;padding-top:16px;border-top:1px solid #ffffff10}.adaptive-research summary{cursor:pointer;color:#b6cfdb;font-size:13px}.adaptive-research .live-copy{font-size:12px}.strategy-detail-title>div{min-width:0}.strategy-detail-title h1{overflow-wrap:anywhere}.strategy-detail-title .demo-label{flex-shrink:0}.bt-result .metric-grid>div{min-width:0}.bt-result .metric-grid strong{overflow-wrap:anywhere}@media(max-width:420px){.strategy-detail-title h1{font-size:20px}.strategy-detail-title{gap:9px}.rule-list{grid-template-columns:minmax(64px,auto) minmax(0,1fr)}.rule-list dd{overflow-wrap:anywhere}}

/* Detail pages use a back link above the title; override the old compact running-card grid. */
header.strategy-detail-head{display:block}header.strategy-detail-head>.strategy-detail-title{display:flex;gap:12px}
.plaza-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin:20px 0 4px;background:#07141f;border:1px solid #203444;border-radius:14px}.plaza-tabs button{display:grid;gap:5px;min-height:65px;border:1px solid transparent;border-radius:10px;background:transparent;color:#8da5b5;font:inherit}.plaza-tabs b{font-size:15px}.plaza-tabs small{font-size:10px;font-weight:400;letter-spacing:.06em}.plaza-tabs button.active{background:linear-gradient(120deg,#1b383e,#172d3a);border-color:#35565d;color:#8aeee0;box-shadow:0 3px 12px #0002}.plaza-tabs button:focus-visible,.copy-card button:focus-visible{outline:2px solid #75dfd1;outline-offset:3px}.copy-intro{padding:12px 3px 10px}.copy-kicker{font-size:10px;letter-spacing:.18em;color:#76c9c2}.copy-intro h3{font-size:21px;letter-spacing:-.03em;margin:10px 0}.copy-intro p{font-size:12px;color:#8ea6b5;line-height:1.8;margin:0}.copy-path{display:flex;align-items:center;gap:10px;font-size:10px;margin-top:0;color:#b1cbd7}.copy-path>span:not(:nth-child(2)){border:1px solid #2b454f;border-radius:6px;padding:8px;background:#142a3433}.copy-demo-note{display:flex;align-items:baseline;gap:7px;color:#8dabb5;font-size:11px;line-height:1.8;margin:8px 0 0}.copy-demo-note i{width:5px;height:5px;flex-shrink:0;background:#cbb982;border-radius:50%}.copy-list{display:grid;gap:13px}.copy-card{--copy-accent:#76dfca;border:1px solid #253c4b;border-radius:16px;padding:18px;background:linear-gradient(140deg,#142a36,#0c1c29 65%);min-width:0}.copy-card.blue{--copy-accent:#80baff}.copy-card.violet{--copy-accent:#b6a6ec}.copy-card header{display:flex;align-items:center;gap:10px}.copy-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:13px;border:1px solid #ffffff20;background:#ffffff07;color:var(--copy-accent);font-size:22px;font-weight:600;font-family:Georgia,serif}.copy-identity{min-width:0}.copy-identity h3{font-size:14px;margin:0 0 5px}.copy-identity>span{font-size:10px;color:#8ea4b3}.copy-exchange{margin-left:auto;color:#b8c9d5;border:1px solid #ffffff13;background:#ffffff05;border-radius:5px;font-size:9px;padding:5px 7px}.copy-performance{display:flex;align-items:center;gap:10px;margin:23px 0 19px}.copy-performance>div{flex:1;min-width:0}.copy-performance small,.copy-metrics small{display:block;color:#8ea6b5;font-size:10px}.copy-performance strong{display:block;color:var(--copy-accent);font-size:30px;font-weight:600;letter-spacing:-.04em;margin-top:7px;font-variant-numeric:tabular-nums}.copy-performance em{font-size:16px;font-style:normal;margin-left:3px}.copy-performance svg{width:42%;max-width:180px;height:65px;color:var(--copy-accent)}.copy-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.copy-metrics b{display:block;margin-top:7px;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.copy-metrics em{font-style:normal;font-size:10px;color:#8ea6b5}.copy-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #ffffff0c;padding-top:14px;margin-top:19px}.copy-tags{display:flex;gap:5px;flex-wrap:wrap}.copy-tags span{font-size:9px;color:#91a9b9;background:#ffffff04;padding:5px;border-radius:4px}.copy-card footer button{border:1px solid #38595e;background:#1b3b404d;border-radius:8px;color:#9be5d9;font-size:11px;padding:10px 12px;white-space:nowrap}.copy-card footer button span{margin-left:7px}.copy-footnote{font-size:11px;color:#7994a6;line-height:1.8;margin:16px 0 0}.copy-route{display:flex;align-items:center;justify-content:space-between;background:#081824;border:1px solid #2a424d;border-radius:12px;padding:16px;margin:20px 0}.copy-route small{display:block;color:#819aab;font-size:11px;margin-bottom:8px}.copy-route b{font-size:13px}.copy-route>span{color:#76dfca}.copy-detail h3{font-size:15px;margin:22px 0 16px}.copy-preview-rules{display:grid;gap:12px}.copy-preview-rules span{display:flex;justify-content:space-between;gap:10px;color:#839dad;font-size:11px}.copy-preview-rules b{font-weight:400;color:#c6d9e3}.copy-preview-result{background:#19393160;border:1px solid #355c53;border-radius:10px;padding:16px;margin-top:20px}.copy-preview-result b{font-size:14px;color:#8ae0cc}.copy-preview-result p,.copy-preview-result small{font-size:12px;color:#b5c9d2;line-height:1.9}@media(min-width:850px){.copy-list{grid-template-columns:repeat(3,minmax(0,1fr))}.plaza-tabs{max-width:440px}.copy-intro h3{font-size:26px}.copy-card{padding:16px}}@media(max-width:360px){.copy-card{padding:13px}.copy-exchange{padding:4px;font-size:8px}.copy-path{gap:6px;font-size:9px}.copy-performance strong{font-size:27px}.copy-card footer button{padding:9px}}
/* Finished mobile portal */
.topbar .icon-button svg{width:20px;height:20px;display:block}.topbar .icon-button{flex-shrink:0}.home-assets{padding:22px!important}.home-assets .portfolio-head p{font-size:14px}.home-assets select{font:inherit;font-size:12px;color:#91e8db;border:1px solid #3b6267;background:#143139;border-radius:8px;padding:7px;max-width:150px}.home-assets .balance-row{margin:16px 0 11px;gap:8px}.home-assets .balance-row strong{font-size:clamp(28px,8vw,40px);overflow-wrap:anywhere}.home-assets .balance-row>span{font-size:12px;color:#88a3b4;align-self:end;margin-bottom:5px}.asset-context{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#87a5b2;font-size:11px}.asset-context select{background:transparent;border-color:#ffffff17;font-size:10px;padding:5px}.home-assets .period-buttons{padding-top:13px;margin-top:14px;border-top:1px solid #ffffff10;gap:8px}.home-assets .period-buttons button{border:0;padding:6px 10px;font-size:11px}.home-assets .period-buttons select{font-size:11px;padding:4px;border:0;background:transparent;color:#8aa5b6;width:70px}.home-assets .chart{height:94px;margin-top:8px}.home-assets #curve>.empty{padding:20px 0 10px;font-size:12px}.home-assets #curve>.live-copy{display:block;font-size:9px;margin-top:5px}.asset-conversion{display:block;font-size:9px;color:#809eaf;margin-top:7px;line-height:1.6}.text-action{background:transparent;border:0;color:#8fcabd;font:inherit;font-size:12px;padding:5px}.recommend-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.recommend-card{min-width:0;text-align:left;border:1px solid #28414d;border-radius:12px;padding:13px 10px;background:linear-gradient(145deg,#17303a,#0b1b27);color:#e0edf5;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.recommend-card .strategy-type-icon{width:32px;height:32px;font-size:19px;border-radius:10px}.recommend-card>b{font-size:12px;line-height:1.6}.recommend-card>small{font-size:10px;color:#839cac;line-height:1.8;flex:1}.recommend-link{font-size:10px;color:#91d8ca}.home-running{display:flex;gap:12px;align-items:center}.home-running b{font-size:15px}.home-running small{display:block;font-size:11px;color:#829cad;margin-top:7px}.home-run-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:23px 0 15px}.home-run-metrics small{display:block;font-size:10px;color:#86a2b3;margin-bottom:8px}.home-run-metrics b{font-size:15px;font-variant-numeric:tabular-nums}.full-width{width:100%}.compact{font-size:11px;margin:12px 0}.polished-profile{padding:22px 4px;background:none;border:0;gap:15px}.polished-profile .profile-info{min-width:0}.polished-profile .profile-info b{overflow-wrap:anywhere;font-size:16px}.polished-profile .profile-info small{font-size:10px;color:#8198a9;margin-top:8px}.funding-card{background:linear-gradient(125deg,#142c39,#0b1b27)}.muted{color:#86a0b1;font-size:11px}.funding-total{display:block;font-size:34px;letter-spacing:-.03em;margin:12px 0 6px}.exchange-balance{display:flex;align-items:center;gap:10px;padding:20px 0 15px;border-top:1px solid #ffffff10;margin-top:18px}.exchange-logo{display:grid;place-items:center;background:#2c5dab22;border:1px solid #537db14d;color:#8ab6ff;border-radius:10px;width:36px;height:36px;font-weight:600}.exchange-balance b{font-size:13px}.exchange-balance small{display:block;color:#829cad;font-size:10px;margin-top:6px}.exchange-amount{margin-left:auto;text-align:right}.balance-details{display:flex;justify-content:space-between;gap:12px;padding-top:5px;color:#8fa7b6;font-size:10px}.balance-details b{font-size:11px;font-weight:500;margin-left:5px}.profile-menu{padding:0 18px}.profile-menu>button,.profile-menu>a{border:0;border-bottom:1px solid #ffffff0a;text-decoration:none;display:flex;justify-content:space-between;align-items:center;width:100%;padding:20px 0;background:transparent;color:#dfedf5;text-align:left;font-size:14px}.profile-menu>:last-child{border-bottom:0}.profile-menu small{display:block;font-size:10px;color:#839eaf;margin-top:7px}.profile-menu i{font-style:normal;color:#7490a2;font-size:22px}.news-tabs{display:flex;gap:23px;margin-bottom:17px;padding:0 4px}.news-tabs button{font-size:14px;color:#809bad;border:0;background:none;padding:6px 0 13px;position:relative}.news-tabs button.active{color:#e6f5fb;font-weight:600}.news-tabs button.active:after{position:absolute;content:'';height:3px;border-radius:3px;background:#76dfca;bottom:0;left:20%;right:20%}.news-panel{padding:18px 20px}.feed-status{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#a4bdcb}.feed-status i{display:inline-block;width:5px;height:5px;background:#73dbc8;border-radius:50%;margin-right:7px}.feed-time{font-size:10px;color:#7995a8;margin-top:4px;line-height:1.7}.news-entry{padding:19px 0;border-bottom:1px solid #ffffff0c}.news-entry:last-child{border:0}.news-entry a{color:#deecf4;text-decoration:none}.news-entry h3{font-size:14px;font-weight:500;line-height:1.85;margin:9px 0 10px}.news-entry p{font-size:13px;color:#9ab1bf;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.news-time,.news-entry>small{font-size:10px;color:#89a6b7}.news-time span{margin-left:12px;color:#b1c6d2}.news-entry a>small{font-size:10px;color:#75beae}.market-insights-grid{gap:12px}.market-insight-card{aspect-ratio:1;padding:17px 13px;min-width:0}.market-insight-card h2{font-size:13px;margin:0 0 17px}.fear-value{display:flex;align-items:baseline;gap:9px}.fear-value strong{font-size:32px;color:#80dbcb;font-weight:600}.fear-value span{font-size:11px;color:#adbecb}.sentiment-scale{height:6px;position:relative;border-radius:6px;background:linear-gradient(90deg,#df7784,#dcbf72,#66d8c0);margin:16px 4px 7px}.sentiment-scale i{position:absolute;top:-3px;width:3px;height:12px;border-radius:4px;background:white;transform:translateX(-50%);box-shadow:0 0 0 2px #102333}.scale-labels{display:flex;justify-content:space-between;font-size:9px;color:#7795a6}.insight-source{font-size:9px;color:#92b5c3;display:block;margin-top:13px;text-decoration:none}.insight-time{font-size:9px;color:#708e9f;display:block;line-height:1.6;margin-top:4px}.ratio-values{display:flex;justify-content:space-between;gap:5px;margin-top:26px}.ratio-values span{font-size:9px;color:#80d8c5}.ratio-values span:last-child{color:#ec9aa8}.ratio-values b{font-size:15px;font-weight:500;display:block;margin-top:6px}.ratio-scale{height:6px;border-radius:6px;overflow:hidden;background:#dd879b;margin-top:15px}.ratio-scale span{display:block;height:100%;background:#6ddbc2}.ratio-scope{display:block;color:#7999aa;font-size:8px;margin-top:10px;line-height:1.5}.insight-empty{font-size:30px;color:#91a5b5;margin:20px 0}.insight-empty small{display:block;font-size:10px;line-height:1.6;margin-top:10px}.help-item{border-bottom:1px solid #ffffff12;padding:16px 0}.help-item summary{font-size:14px;cursor:pointer}.help-item p{font-size:12px;line-height:1.9;color:#92adbc}.account-drawer{position:fixed;inset:0 auto 0 0;margin:0;height:100dvh;max-height:100dvh;width:min(84vw,350px);max-width:350px;border-radius:0 24px 24px 0;padding:65px 25px 28px;border:0;border-right:1px solid #294552;background:linear-gradient(150deg,#18303c,#091823 65%);animation:drawer-in .22s ease-out}.account-drawer .avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:18px;background:#66d5be;color:#082b2c;font-size:23px;font-weight:600}.account-drawer h2{font-size:17px;overflow-wrap:anywhere;margin-top:20px}.drawer-close{position:absolute;right:18px;top:20px;border:0;background:#ffffff07;color:#a9c2d2;border-radius:50%;width:32px;height:32px;font-size:22px}.drawer-links{margin-top:30px}.drawer-links button{display:flex;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #ffffff0b;background:transparent;color:#c3d8e4;padding:19px 0;text-align:left;font-size:14px}.drawer-links span{color:#7796a9}.drawer-brand{color:#6f91a4;font-size:13px;margin-top:45px}.drawer-brand small{font-size:9px;letter-spacing:.13em;line-height:3}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.account-drawer{animation:none}}@media(max-width:360px){.topbar{gap:6px}.topbar .brand{font-size:13px}.topbar .brand span{font-size:10px}.home-assets{padding:17px!important}.recommend-card{padding:11px 7px}.recommend-card>b{font-size:11px}.market-insight-card{padding:13px 10px}.market-insight-card h2{font-size:12px}.ratio-values b{font-size:13px}}@media(min-width:850px){.home-assets{max-width:none}.home-assets .chart{height:120px}.recommend-card{padding:20px}.recommend-card>b{font-size:15px}.market-insight-card{aspect-ratio:auto;min-height:235px;padding:24px}.ratio-values{max-width:300px}.ratio-values b{font-size:24px}.market-insight-card h2{font-size:16px}.fear-value strong{font-size:42px}}
.home-assets::after{pointer-events:none}.polished-profile{grid-template-columns:52px minmax(0,1fr)}@media(max-width:849px){.market-insight-card{padding:12px 10px}.market-insight-card h2{font-size:12px;margin:0 0 8px}.fear-value strong{font-size:28px}.fear-value span{font-size:10px}.sentiment-scale{margin:9px 4px 5px}.insight-source{margin-top:8px}.insight-time{font-size:8px;line-height:1.2;margin-top:3px}.ratio-values{margin-top:10px}.ratio-values b{font-size:14px;margin-top:4px}.ratio-scale{margin-top:12px}.ratio-scope{margin-top:7px;font-size:7.5px;line-height:1.2}.scale-labels{font-size:8px}}
/* Compact navigation, trader cards and pinned modal dismiss controls. */
dialog#modal{overflow:hidden;padding:24px 20px 20px}dialog#modal #modal-content{max-height:calc(85dvh - 68px);overflow:auto;padding:16px 2px 2px;overscroll-behavior:contain}dialog#modal #modal-content>h2:first-child,dialog#modal .copy-detail>h2{padding-right:36px}dialog#modal #modal-close{position:absolute;right:10px;top:10px;margin:0;width:36px;height:36px;padding:9px;display:grid;place-items:center;border:1px solid #ffffff12;border-radius:50%;background:#1a303e;color:#a8bdca;z-index:2;min-height:0}dialog#modal #modal-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}dialog#modal #modal-close:hover{color:#fff;background:#284353}dialog#modal #modal-close:focus-visible{outline:2px solid #75dfd1;outline-offset:2px}.admin-body dialog#modal #modal-close{background:#f1f4f7;color:#556579;border-color:#dfe5eb}.asset-conversion a{color:inherit;text-decoration:underline;text-underline-offset:2px}.market-insights-grid{margin-bottom:18px}.plaza-tabs{padding:4px;gap:4px;margin-top:15px;border-radius:11px;max-width:340px}.plaza-tabs button{min-height:38px;display:flex;align-items:center;justify-content:center;border-radius:8px;padding:8px 12px}.plaza-tabs b{font-size:13px;font-weight:600}.plaza-tabs small{display:none}.copy-list{gap:10px}.copy-card{padding:13px 14px;border-radius:13px}.copy-card header{gap:8px}.copy-avatar{width:32px;height:32px;border-radius:10px;font-size:18px}.copy-identity h3{font-size:13px;margin-bottom:3px}.copy-identity>span{font-size:9px}.copy-performance{margin:12px 0 10px}.copy-performance strong{font-size:25px;margin-top:4px}.copy-performance em{font-size:13px}.copy-performance svg{height:43px;width:37%}.copy-performance small,.copy-metrics small{font-size:9px}.copy-metrics b{margin-top:4px;font-size:12px}.copy-card footer{margin-top:12px;padding-top:9px}.copy-card footer button{padding:7px 10px;font-size:10px}.copy-tags span{font-size:8px;padding:4px}.copy-exchange{padding:4px 6px;font-size:8px}@media(max-width:360px){.copy-card{padding:12px}.copy-performance strong{font-size:23px}}@media(min-width:850px){.plaza-tabs{max-width:340px}.copy-card{padding:14px}}
.avatar img,.avatar-button img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.profile-avatar-button{padding:0;border:0;font:inherit;overflow:hidden}.avatar-editor{display:flex;align-items:center;gap:16px;padding:6px 0 12px}.avatar-editor>.avatar{width:64px;height:64px;border-radius:20px;flex-shrink:0}.avatar-editor>div:last-child{display:grid;gap:6px}.live-form .avatar-upload{display:inline-block;cursor:pointer;color:#8fdfce;font-size:13px}.avatar-editor .text-action{padding:3px 0;text-align:left;font-size:11px}.avatar-editor small{font-size:10px;color:#7997aa}.security-menu{margin-top:12px}.security-menu button{padding:17px 0}.asset-context{flex-wrap:wrap}.asset-context>span{font-variant-numeric:tabular-nums}
/* Align plaza navigation with both edges of the card content. */
.plaza-tabs{width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
/* Profile editor: compact identity, quiet fields and separate security actions. */
.profile-sheet{--profile-line:#243b48;--profile-field:#102430;--profile-ink:#e1edf4;--profile-muted:#8ba3b3;--profile-accent:#8addc9;color:var(--profile-ink);padding:0 3px 2px}.profile-sheet-heading{padding:0 40px 0 0}.profile-sheet-heading>span{font-size:10px;letter-spacing:.12em;color:var(--profile-muted)}.profile-sheet-heading h2{font-size:22px;letter-spacing:-.025em;margin:6px 0 0;font-weight:600}.profile-sheet .live-form{gap:0}.profile-portrait{display:flex;flex-direction:column;align-items:center;padding:22px 0 21px}.portrait-picker{position:relative;cursor:pointer;display:block!important;width:70px;height:70px;border-radius:23px}.profile-portrait .avatar{width:70px;height:70px;border-radius:23px;background:linear-gradient(145deg,#b1e8d9,#6dbfa9);color:#184b41;font-size:25px;font-weight:600;box-shadow:0 8px 24px #00000012}.portrait-camera{position:absolute;right:-5px;bottom:-3px;width:25px;height:25px;display:grid;place-items:center;border:3px solid #0f202d;border-radius:9px;background:#d2e9e2;color:#22594b}.portrait-camera svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.portrait-file{position:absolute;inset:0;width:100%!important;height:100%;opacity:0;cursor:pointer;padding:0!important}.portrait-picker:focus-within{outline:2px solid var(--profile-accent);outline-offset:5px}.profile-portrait>strong{font-size:16px;font-weight:600;margin-top:13px;max-width:100%;overflow-wrap:anywhere;text-align:center}.profile-uid{font-size:10px;color:var(--profile-muted);margin-top:5px;letter-spacing:.04em}.profile-portrait .portrait-reset{font-size:10px;padding:7px 10px;margin-top:5px;color:var(--profile-accent)}.profile-portrait>small{font-size:9px;color:var(--profile-muted);margin-top:3px;text-align:center}.profile-section-caption{font-size:10px;color:var(--profile-muted);letter-spacing:.08em;margin-bottom:14px}.profile-info-section{padding:18px 0 0;border-top:1px solid var(--profile-line)}.profile-sheet .profile-info-section>label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--profile-ink);margin-bottom:9px}.profile-field-limit{font-size:9px;color:var(--profile-muted)}.profile-sheet .profile-info-section>input{height:44px;padding:11px 13px;border-radius:10px;border:1px solid var(--profile-line);background:var(--profile-field);color:var(--profile-ink);font-size:16px}.profile-email-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 0 19px;font-size:11px}.profile-email-row>span{flex-shrink:0;color:var(--profile-muted);padding-top:1px}.profile-email-row>div{text-align:right;min-width:0}.profile-email-row b{display:block;font-size:11px;font-weight:400;overflow-wrap:anywhere;color:var(--profile-ink)}.profile-email-row small{display:block;font-size:9px;color:var(--profile-muted);margin-top:5px}.profile-security-section{border-top:1px solid var(--profile-line);padding-top:18px}.profile-security-section .profile-section-caption{margin-bottom:5px}.profile-security-row{display:flex;align-items:center;gap:10px;width:100%;padding:13px 0;text-align:left;border:0;background:transparent;color:var(--profile-ink)}.profile-security-row+.profile-security-row{border-top:1px solid var(--profile-line)}.profile-security-icon{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border-radius:10px;background:var(--profile-field);color:var(--profile-muted)}.profile-security-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.profile-security-label{min-width:0;flex:1}.profile-security-label b{display:block;font-size:12px;font-weight:500}.profile-security-label small{display:block;margin-top:5px;font-size:9px;color:var(--profile-muted)}.profile-security-status{font-size:10px;color:var(--profile-muted);white-space:nowrap}.profile-security-status.unset{color:var(--profile-accent)}.profile-security-row>i{font-style:normal;font-size:20px;color:var(--profile-muted)}.profile-sheet-footer{padding-top:13px}.profile-sheet-footer #profile-edit-message{margin:0 0 10px;font-size:11px}.profile-sheet-footer #profile-edit-message:empty{display:none}.profile-sheet-footer .live-button{width:100%;min-height:44px;border-radius:11px;font-size:14px;font-weight:500}.profile-sheet-back{border:0;background:none;color:var(--profile-muted);font-size:12px;padding:0 0 16px;text-align:left}.security-sheet>h2{font-size:22px;font-weight:600;padding-right:24px;margin:3px 0 10px}.security-sheet>.live-copy{font-size:12px;line-height:1.8;margin-bottom:22px}.security-sheet .live-form{gap:17px}.security-sheet .live-form label{font-size:12px}.security-sheet .live-form input{border-radius:10px;background:var(--profile-field);border-color:var(--profile-line);color:var(--profile-ink)}.security-sheet #security-edit-message:empty{display:none}.security-sheet .live-button{margin-top:2px}.profile-security-row:focus-visible,.profile-sheet-back:focus-visible{outline:2px solid var(--profile-accent);outline-offset:3px}
.profile-portrait .portrait-picker{padding:0;border:0;background:transparent;color:inherit;flex-shrink:0;overflow:visible}.profile-portrait #avatar-file[hidden]{display:none!important}.profile-portrait #avatar-upload-status{font-size:11px;line-height:1.7;color:var(--profile-accent);text-align:center;margin:9px 0 0;max-width:100%;overflow-wrap:anywhere}.profile-portrait #avatar-upload-status:empty{display:none}.profile-portrait #avatar-upload-status[data-error="true"]{color:var(--danger,#ff889d)}
/* Exchange accounts: quiet balance summary and consistent brand-led rows. */
.wallet-card,.exchange-sheet{--wallet-ink:#e0edf3;--wallet-muted:#8ba1af;--wallet-line:#253b48;--wallet-soft:#142934;--wallet-accent:#8adbc6;color:var(--wallet-ink)}.wallet-card{padding:21px 19px;background:linear-gradient(140deg,#142a36,#0e202c 70%);border-color:#29424e;box-shadow:none}.wallet-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.wallet-heading h2{font-size:14px;font-weight:500;margin:0}.wallet-heading .text-action{font-size:10px;padding:4px 0;color:var(--wallet-muted)}.wallet-heading .text-action span{margin-left:4px}.wallet-total{padding:25px 0 23px}.wallet-total>span{font-size:11px;color:var(--wallet-muted)}.wallet-total>span small{font-size:9px;padding-left:8px;letter-spacing:.05em}.wallet-total>strong{display:block;font-size:35px;letter-spacing:-.04em;font-weight:550;font-variant-numeric:tabular-nums;margin-top:10px;overflow-wrap:anywhere}.wallet-total>small{display:block;font-size:10px;color:var(--wallet-muted);margin-top:9px}.wallet-exchanges{border-top:1px solid var(--wallet-line)}.wallet-exchange{width:100%;display:flex;align-items:center;gap:11px;padding:16px 0;border:0;border-bottom:1px solid var(--wallet-line);color:var(--wallet-ink);background:none;text-align:left}.exchange-brand-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;border:1px solid #ffffff0c;background:#fff;overflow:hidden}.exchange-brand-icon img{width:25px;height:25px;object-fit:contain;display:block}.exchange-brand-icon.weex{background:#111;border-color:#ffffff15}.exchange-brand-icon.weex img{width:45px;height:32px;max-width:none}.exchange-brand-icon.bitget{background:#fff}.wallet-exchange-name{min-width:0;flex:1}.wallet-exchange-name b{display:block;font-size:13px;font-weight:550}.wallet-exchange-name small{display:block;font-size:9px;color:var(--wallet-muted);margin-top:5px}.wallet-exchange-value{text-align:right}.wallet-exchange-value>b{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.wallet-exchange-value>small{display:block;font-size:9px;color:var(--wallet-muted);margin-top:4px}.wallet-chevron{font-size:20px;color:var(--wallet-muted);font-weight:300}.exchange-state{font-size:10px;white-space:nowrap;color:var(--wallet-muted)}.exchange-state.available{color:var(--wallet-accent)}.wallet-submetrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:17px}.wallet-submetrics small{display:block;font-size:10px;color:var(--wallet-muted)}.wallet-submetrics b{display:block;font-size:13px;font-weight:500;margin-top:7px}.wallet-submetrics>div+div{text-align:right}.wallet-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:13px;min-height:20px}.wallet-footer>span{font-size:9px;color:var(--wallet-muted);line-height:1.6}.wallet-footer .text-action{font-size:10px;color:var(--wallet-accent);padding:4px 0}.exchange-sheet{padding:0 3px 4px}.exchange-sheet-heading{padding-right:32px}.exchange-sheet-heading>span{font-size:10px;color:var(--wallet-muted);letter-spacing:.08em}.exchange-sheet-heading h2{font-size:22px;font-weight:600;letter-spacing:-.02em;margin:7px 0 10px}.exchange-sheet-heading p{font-size:12px;color:var(--wallet-muted);margin:0 0 24px;line-height:1.7}.exchange-connection-list{border-top:1px solid var(--wallet-line)}.exchange-connection-row{display:flex;gap:12px;align-items:center;width:100%;padding:20px 0;border:0;border-bottom:1px solid var(--wallet-line);background:none;color:var(--wallet-ink);text-align:left}.exchange-connection-row>.exchange-brand-icon{width:40px;height:40px;flex-basis:40px}.exchange-connection-row>span:nth-child(2){flex:1;min-width:0}.exchange-connection-row b{display:block;font-size:14px;font-weight:550}.exchange-connection-row small{display:block;font-size:10px;color:var(--wallet-muted);margin-top:6px;overflow-wrap:anywhere}.exchange-connection-row i{font-size:20px;font-style:normal;color:var(--wallet-muted)}.exchange-info-note{display:flex;gap:10px;background:var(--wallet-soft);border-radius:11px;padding:13px;margin-top:22px}.exchange-info-note svg{flex-shrink:0;width:17px;height:17px;fill:none;stroke:var(--wallet-accent);stroke-width:1.5;margin-top:3px}.exchange-info-note p{font-size:10px;line-height:1.9;color:var(--wallet-muted);margin:0}.exchange-setup-title{display:flex;align-items:center;gap:12px;margin:5px 0 26px}.exchange-setup-title h2{margin:0 0 6px;font-size:23px;font-weight:600}.exchange-setup-title>div{flex:1}.exchange-setup-title>div>span{font-size:10px;color:var(--wallet-muted)}.exchange-access-tag{border:1px solid var(--wallet-line);border-radius:5px;font-size:9px;color:var(--wallet-accent);padding:4px 6px}.exchange-setup-form{gap:16px}.exchange-setup-form label{font-size:12px}.exchange-setup-form input{border-radius:10px}.exchange-setup-help{border-top:1px solid var(--wallet-line);padding-top:16px;color:var(--wallet-muted);font-size:11px;line-height:1.8}.exchange-setup-help summary{cursor:pointer}.exchange-setup-help p{font-size:11px;margin-bottom:0}.exchange-setup-form #gate-message{font-size:11px;margin:0;color:var(--danger)}.exchange-setup-form #gate-message:empty{display:none}.exchange-remove{display:block;margin:15px auto 0;padding:8px 12px;background:none;border:0;color:var(--wallet-muted);font-size:11px}.wallet-exchange:focus-visible,.exchange-connection-row:focus-visible{outline:2px solid var(--wallet-accent);outline-offset:3px;border-radius:6px}

.exchange-brand-icon.gate{position:relative}.exchange-brand-icon.gate img{position:absolute;width:112px;height:112px;max-width:none;left:calc(50% - 17px);top:calc(50% - 55px);object-fit:contain}

/* Consistent optical logo alignment; Gate uses an explicit SVG viewport. */
.exchange-brand-icon,.exchange-connection-row>.exchange-brand-icon{width:38px;height:38px;flex:0 0 38px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:11px;background:linear-gradient(145deg,#fff,#e9eff4);border:1px solid #fff9;box-shadow:inset 0 1px 0 #fff,0 2px 0 #192e3e66,0 4px 9px #0002}
.exchange-brand-icon.gate svg{display:block;width:25px;height:26px;flex:none;overflow:hidden}
.exchange-brand-icon.bitget img{position:static;display:block;width:26px;height:26px;max-width:none;object-fit:contain;border-radius:7px}
.exchange-brand-icon.weex{background:linear-gradient(145deg,#292c30,#111316);border-color:#ffffff20;box-shadow:inset 0 1px 0 #ffffff24,0 2px 0 #0006,0 4px 9px #0002}
.exchange-brand-icon.weex img{position:static;display:block;width:28px;height:18px;max-width:none;object-fit:contain}

/* Separate account categories without shrinking mobile values. */
.wallet-equity-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:22px 0 24px}.wallet-equity-grid>div{display:flex;flex-direction:column;gap:8px;min-width:0}.wallet-equity-grid>div+div{border-left:1px solid var(--wallet-line);padding-left:16px}.wallet-equity-grid span{font-size:13px;color:var(--muted)}.wallet-equity-grid strong{font-size:clamp(19px,5.2vw,28px);line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wallet-equity-grid small,.wallet-footer small{font-size:10px;color:var(--muted);line-height:1.6}.wallet-footer>span{min-width:0}

.wallet-equity-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px;align-items:start}.wallet-equity-grid .wallet-contract-equity strong{font-size:clamp(23px,6vw,31px)}.wallet-equity-grid .wallet-spot-equity strong{font-size:clamp(18px,4.8vw,25px)}.wallet-equity-grid .wallet-spot-equity span{font-size:12px}.wallet-equity-grid strong{min-height:38px;display:flex;align-items:center}.wallet-equity-grid span{color:var(--wallet-muted)}

.wallet-heading-actions{display:flex;align-items:center;gap:12px}.wallet-heading-actions select{font:inherit;font-size:11px;color:var(--wallet-ink);background:var(--wallet-soft);border:1px solid var(--wallet-line);border-radius:9px;padding:5px 8px;min-height:30px;max-width:85px}.wallet-conversion{display:block;margin:12px 0 0;color:var(--wallet-muted);font-size:10px;line-height:1.6}.wallet-heading-actions select:focus-visible{outline:2px solid var(--wallet-accent);outline-offset:2px}

.strategy-overview button.running-stat{appearance:none;background:transparent;box-shadow:none;border:0;border-radius:0;color:inherit;text-align:left;font:inherit;min-width:0;cursor:pointer;transform:none}.strategy-overview button.running-stat+button{border-left:1px solid var(--border)}.strategy-overview button.running-stat:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:8px}.running-list-header{margin:0 0 20px}.running-list-header>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:16px}.running-list-header h1{font-size:21px;margin:0}.running-list-header span,.running-strategy-item header small{font-size:11px;color:var(--muted)}.running-strategy-item>header{display:flex;align-items:center;gap:12px}.running-strategy-item header>div{flex:1;min-width:0}.running-strategy-item h2{font-size:15px;margin:0 0 5px}.running-strategy-item .demo-label{font-size:10px;white-space:nowrap}.running-list-metrics{display:grid;grid-template-columns:1.2fr 1.2fr .6fr;gap:12px;margin:25px 0 20px}.running-list-metrics>div{min-width:0}.running-list-metrics small{display:block;color:var(--muted);font-size:11px;margin-bottom:9px}.running-list-metrics em{font-size:9px;font-style:normal}.running-list-metrics strong{font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.running-list-budget{display:flex;justify-content:space-between;font-size:12px;padding:14px 0;border-top:1px solid var(--border);color:var(--muted)}.running-list-budget b{color:var(--text);font-weight:500}.running-list-note{font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0 18px}.running-list-empty{text-align:center;padding:30px 20px}
