@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{font-family:Inter,Arial,sans-serif;color:#f5f7fa;background:#192737;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#192737;--panel:#1e2e40;--panel2:#223448;--border:#34475a;--muted:#aeb9c5;--gold:#ffb900;--blue:#3887d7;--green:#19c768;--red:#fa4044}*{box-sizing:border-box}body{margin:0;min-height:100vh;padding:60px 0 78px;background:var(--bg)}button,input{font:inherit}.topbar{height:60px;position:fixed;z-index:5;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#152436;border:1px solid #293d51;box-shadow:0 5px 12px #07101b55}.brand{display:flex;align-items:center;color:white;text-decoration:none;gap:3px}.brand-mark{font-size:22px;line-height:1;font-weight:700;letter-spacing:-2px;color:#dce5ee;text-shadow:0 1px 3px #fff8}.brand-mark span{color:#36a3df}.brand-caption{font-size:5px;line-height:1.2;font-weight:700;color:#e1e6ec}.top-actions{display:flex;gap:8px}.outline-btn{height:36px;padding:0 13px;border:1px solid #735515;background:#172537;border-radius:13px;color:white;font-size:12px;display:flex;align-items:center;gap:8px;cursor:pointer}.outline-btn span{color:var(--gold);font-size:16px}.language{min-width:106px;justify-content:space-between}.language .globe{font-size:18px}.language .chevron{font-size:14px}.page{width:min(480px,calc(100% - 28px));margin:15px auto 20px}.balance-card{height:124px;padding:15px;display:flex;justify-content:space-between;align-items:flex-start;border:1px solid #3e4b56;border-radius:17px;background:linear-gradient(120deg,#1a293a,#223448);position:relative}.compact .brand-mark{font-size:21px}.compact .brand-caption{font-size:5px}.balance-card h1{font-size:17px;margin:19px 0 6px}.balance-card p{font-size:12px;color:var(--muted);margin:0}.balance-box{border:1px solid #65501e;border-radius:15px;padding:9px 12px;text-align:right;background:#1c2b3a;min-width:116px}.balance-box span{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.balance-box strong{font-size:16px;color:var(--gold)}.notice{height:62px;border:1px solid #65501e;border-radius:14px;margin:15px 0 16px;display:flex;align-items:center;padding:8px 11px;gap:11px;background:#172536}.notice-icon{width:42px;height:42px;border:1px solid #748291;border-radius:10px;display:grid;place-items:center;color:#d7e0e8;font-weight:800;font-size:12px;background:linear-gradient(135deg,#253e50,#101b29)}.notice strong{font-size:11px;color:var(--gold);display:block;margin-bottom:3px}.notice span{font-size:10px;color:var(--muted)}.live-pill{display:inline-flex;align-items:center;gap:5px;background:#07583d;color:#19dc83;border-radius:12px;padding:4px 10px;font-size:10px;margin:0 0 15px 4px}.live-pill i{width:7px;height:7px;background:#1ce28b;border-radius:50%;box-shadow:0 0 8px #1ce28b}.chart-card{height:414px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(120deg,#1c2b3c,#203246);overflow:hidden}.chart-heading{height:71px;padding:12px 16px;display:flex;justify-content:space-between;border-bottom:1px solid #354456}.chart-heading>div:first-child{display:grid;grid-template-columns:auto auto;align-content:start;align-items:center;column-gap:9px}.chart-heading>div:first-child strong{font-size:16px;color:var(--gold)}.chart-heading>div:first-child>span{font-size:11px;color:#c2ccd5}.chart-heading small{grid-column:1/3;font-size:10px;color:#8997a5;margin-top:6px;letter-spacing:.3px}.quote{text-align:right}.quote strong{display:block;color:var(--red);font-size:20px}.quote span{display:inline-block;background:#4b2b38;color:#ff5054;border-radius:12px;padding:3px 8px;font-size:11px;margin-top:2px}.periods{height:41px;padding:7px 11px;display:flex;gap:3px;border-bottom:1px solid #293a4b}.period{height:27px;min-width:39px;border:0;background:transparent;color:#b5c0cb;border-radius:10px;font-size:12px;cursor:pointer}.period.active{background:#50472c;color:var(--gold)}.chart-wrap{height:300px;position:relative;margin:0 65px 0 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 45px,#34435477 46px),repeating-linear-gradient(to right,transparent 0,transparent 91px,#34435455 92px);border-right:1px solid #344354;border-bottom:1px solid #344354}canvas{width:100%;height:100%;display:block}.y-labels{position:absolute;left:calc(100% + 9px);top:17px;bottom:25px;display:flex;flex-direction:column;justify-content:space-between;color:#aeb9c5;font-size:11px;white-space:nowrap}.price-line{position:absolute;left:0;right:-60px;top:48%;border-top:1px dashed #13dc83;pointer-events:none}.price-line span{position:absolute;right:0;top:-9px;background:#15c95f;color:white;padding:2px 6px;font-size:10px;font-weight:600}.x-labels{position:absolute;bottom:-22px;left:12%;right:5%;display:flex;justify-content:space-between;color:#b5c0cb;font-size:11px;font-weight:600}.assets{display:flex;overflow-x:auto;gap:8px;margin:16px 0 21px;scrollbar-width:none}.assets::-webkit-scrollbar{display:none}.asset-card{position:relative;text-align:left;flex:0 0 132px;height:72px;padding:9px 11px;border-radius:13px;border:1px solid #3a4d61;background:#24364a;color:#f5f7fa;cursor:pointer}.asset-card.active{border:1px solid var(--gold);background:#34362f}.asset-card strong{display:block;font-size:14px;margin-bottom:4px}.asset-card small{display:block;font-size:10px;color:#8291a0;margin-bottom:4px}.asset-card em{position:absolute;right:7px;top:9px;background:#524a29;color:#ffd000;border-radius:4px;padding:3px 5px;font-size:9px;font-style:normal}.asset-card em.crypto{background:#574234;color:#ff9a50}.asset-card .asset-price{font-size:12px;color:var(--gold)}.trade-form h2{margin:0 0 12px;font-size:14px;font-weight:600}.gold-icon{color:var(--gold);font-size:16px;margin-right:5px}.amount-options,.duration-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.amount-option{height:50px;border-radius:12px;border:1px solid #365d7e;color:white;background:#203448;font-weight:700;cursor:pointer}.amount-option span{font-size:14px;margin-right:5px}.amount-option.active{background:linear-gradient(110deg,#58a5e9,#3074bd);border-color:#58a5e9;box-shadow:0 3px 9px #0b1928}.amount-option.disabled{color:#667381;background:#1b2a3a;border-color:#293b4d;cursor:not-allowed}.custom-amount{width:100%;height:46px;margin-top:12px;padding:0 16px;background:#24364a;border:1px solid #3b4d60;border-radius:12px;color:#fff;outline:none}.custom-amount:focus{border-color:#4a96d8}.custom-amount::placeholder{color:#7f8d9d}.hint{font-size:12px;color:var(--muted);margin:12px 0 19px}.duration-title{margin-bottom:12px!important}.duration-card{height:101px;padding:12px;border:1px solid #2d4052;border-radius:13px;text-align:left;color:#8b98a5;background:#1b2a3a;cursor:pointer}.duration-card.enabled{background:#203448;color:#dce4ec;border-color:#365d7e}.duration-card.active{border-color:#4899dc;background:#243b52;box-shadow:0 3px 9px #0c1925}.duration-card strong{display:block;font-size:14px;margin-bottom:5px}.duration-card strong span{color:#55a9ef}.duration-card small{display:block;color:#97a4b0;font-size:12px;margin:4px 0}.duration-card .gain{display:block;color:#18d86b;font-size:10px}.duration-card .loss{display:block;color:#fa464b;font-size:10px}.summary{margin-top:17px;padding:15px 16px;border:1px solid #344454;border-radius:13px;background:#192737}.summary h2{margin:0 0 12px}.summary-row{min-height:28px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px}.summary-row strong{color:white;font-weight:500}.summary-row .gold-text{color:var(--gold)}.summary-extra{border-top:1px solid #344454;margin-top:7px;padding-top:5px}.summary-row .green-text{color:var(--green);font-weight:700}.summary-row .red-text{color:var(--red);font-weight:700}.total-row span,.total-row strong{color:white;font-weight:700}.small-row{font-size:12px;min-height:24px}.small-row strong{color:var(--muted)}.trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.trade-btn{height:48px;border:0;border-radius:9px;color:white;font-weight:700;font-size:15px;cursor:pointer;transition:filter .15s,transform .15s}.trade-btn:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.trade-btn:disabled{opacity:.52;cursor:not-allowed}.trade-btn.up{background:#19c768}.trade-btn.down{background:#f23c43}.toast{min-height:0;margin-top:0;color:#f4c65c;font-size:12px;text-align:center}.toast:not(:empty){margin-top:12px;padding:10px;border:1px solid #6b5420;background:#2e302c;border-radius:10px}.open-trades{margin:16px 0}.open-trades h2{font-size:14px}.trade-item{padding:12px;border:1px solid var(--border);border-radius:10px;margin-bottom:8px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}.bottom-nav{height:78px;position:fixed;z-index:5;inset:auto 0 0;background:#152436;border-top:1px solid #293d51;display:flex;align-items:center;justify-content:center;gap:72px}.bottom-nav a{min-width:60px;height:58px;text-decoration:none;color:#b2bdc8;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.bottom-nav a span{font-size:23px;line-height:25px}.bottom-nav a.selected{background:linear-gradient(135deg,#56a5eb,#2870bc);color:white;border-radius:13px;box-shadow:0 3px 10px #1679d866}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){body{padding-top:60px;padding-bottom:73px}.page{width:min(480px,calc(100% - 24px));margin-top:12px}.chart-card{height:385px}.chart-wrap{height:271px}.quote strong{font-size:18px}.bottom-nav{height:70px;gap:clamp(18px,9vw,50px)}.bottom-nav a{height:54px}.topbar{padding:0 10px}.outline-btn{padding:0 9px;font-size:11px}.balance-card{height:118px}.asset-card{flex-basis:128px}}
.chart-wrap{height:300px;margin:0;overflow:hidden;background:#1e2e40;touch-action:none;cursor:crosshair}.chart-wrap canvas{width:100%;height:100%;display:block;touch-action:none;outline:none}.chart-help{position:absolute;right:62px;bottom:28px;padding:4px 7px;border:1px solid #47586a;border-radius:5px;background:#172536dd;color:#aeb9c5;font-size:9px;opacity:0;pointer-events:none;transition:opacity .18s}.chart-wrap:hover .chart-help{opacity:.88}.quote strong.positive{color:#13d978}.quote strong.negative{color:#fa4044}.quote span.positive-pill{background:#07583d;color:#18df82}.quote span.negative-pill{background:#4b2b38;color:#ff5054}
@media(max-width:560px){.chart-wrap{height:271px}}
.asset-card em.forex{background:#2d4252;color:#75b7f0}.asset-card em.index{background:#484036;color:#e4bd72}
.outline-btn .ui-icon{width:15px;height:15px;flex:none;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.outline-btn .globe{width:17px;height:17px}.outline-btn .chevron{width:13px;height:13px}.notice strong{display:flex;align-items:center;gap:7px}.inline-icon{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.shield-icon{color:var(--gold)}.live-pill .inline-icon{width:12px;height:12px}.gold-icon{width:17px;height:17px;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.amount-option{display:inline-flex;align-items:center;justify-content:center;gap:7px}.control-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.duration-card strong{display:flex;align-items:center;gap:6px}.duration-card strong svg{width:15px;height:15px;fill:none;stroke:#55a9ef;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.trade-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-5px;margin-right:4px}.change-icon{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}.bottom-nav{gap:65px}.bottom-nav a{gap:3px}.bottom-nav .nav-icon{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.bottom-nav a.selected{width:66px;height:58px;min-width:66px}.bottom-nav a:not(.selected){min-width:60px}.bottom-nav a{font-size:10px}.chart-help{right:75px}
@media(max-width:560px){.bottom-nav{gap:clamp(18px,8.5vw,48px)}.bottom-nav a.selected{width:62px;min-width:62px}}
.page[hidden]{display:none!important}.history-header{min-height:124px;padding:16px;position:relative;border:1px solid #55481f;border-radius:17px;background:linear-gradient(120deg,#1a293a,#223448)}.history-header h1{font-size:17px;margin:18px 0 6px}.history-header p{margin:0;color:var(--muted);font-size:12px}.filter-apply{position:absolute;right:15px;top:16px;height:34px;padding:0 11px;display:flex;align-items:center;gap:6px;background:#213247;border:1px solid #3c5064;border-radius:12px;color:#b7c2ce;font-size:12px;cursor:pointer}.filter-apply svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.history-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.stat-card{height:62px;padding:10px 12px;display:flex;align-items:center;gap:9px;border:1px solid #394b5d;border-radius:13px;background:#223448}.stat-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px}.stat-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stat-blue{background:#263e53;color:#48aafa}.stat-green{background:#17463e;color:#18d876}.stat-red{background:#433541;color:#ff5359}.stat-gold{background:#49432f;color:#ffba16}.stat-card small{display:block;color:#aab5c1;font-size:9px;margin-bottom:3px}.stat-card strong{display:block;font-size:14px}.stat-blue-text{color:#4daeff}.stat-green-text{color:#17d779}.stat-red-text{color:#ff4d52}.stat-gold-text{color:#ffb900}.history-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:0 0 20px}.history-filters::-webkit-scrollbar{display:none}.history-filters button{height:31px;flex:none;padding:0 12px;border:1px solid #394b5d;border-radius:17px;background:#243448;color:#b6c1cd;font-size:11px;cursor:pointer}.history-filters button.active{border-color:#58a8ec;background:linear-gradient(110deg,#58a8ec,#347bc1);color:white}.history-filter-panel{display:flex;align-items:end;gap:8px;padding:12px;margin:-8px 0 14px;border:1px solid #36495c;border-radius:12px;background:#1c2b3b}.history-filter-panel[hidden]{display:none}.history-filter-panel label{flex:1;color:#aeb9c5;font-size:10px}.history-filter-panel input{display:block;width:100%;height:34px;margin-top:5px;padding:0 7px;border:1px solid #3a4d60;border-radius:8px;background:#233449;color:#fff;font-size:11px}.history-filter-panel>button{height:34px;padding:0 10px;border:0;border-radius:8px;background:#3887d7;color:white;font-size:11px;white-space:nowrap;cursor:pointer}.history-day>h2{margin:0 0 9px 3px;color:#ffb900;font-size:12px;text-transform:uppercase;letter-spacing:.3px}.history-card{margin:0 0 12px;padding:14px 16px 12px;position:relative;overflow:hidden;border:1px solid #365a51;border-left:4px solid #18ca75;border-radius:15px;background:linear-gradient(120deg,#174435,#203749);}.history-card.lost{border-color:#65414a;border-left-color:#fa454b;background:linear-gradient(120deg,#422e39,#203448)}.history-card.active,.history-card.pending{border-color:#4b5360;border-left-color:#ffb900;background:linear-gradient(120deg,#403a2b,#203448)}.history-card.cancelled{border-color:#414c59;border-left-color:#82909d;background:linear-gradient(120deg,#303c49,#203448)}.history-card-heading{display:flex;align-items:center;min-height:32px;gap:9px}.direction-icon{width:17px;height:17px;flex:none;fill:none;stroke:#19d77c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.history-card.lost .direction-icon{stroke:#fa555b}.history-asset strong{display:block;color:#f4f7fa;font-size:15px}.history-asset small{display:block;margin-top:3px;color:#b3bfca;font-size:10px}.status-badge{margin-left:auto;padding:4px 10px;border-radius:13px;background:#145b42;color:#1ce17b;font-size:11px}.lost .status-badge{background:#60363d;color:#ff7377}.active .status-badge,.pending .status-badge{background:#5b4c2a;color:#ffd05a}.cancelled .status-badge{background:#46515d;color:#c2ccd5}.history-details{display:grid;grid-template-columns:1fr 1fr;row-gap:16px;margin:17px 0 14px;padding:0 2px}.history-details small{display:block;margin-bottom:4px;color:#afbdc7;font-size:9px;letter-spacing:.2px}.history-details strong{font-size:14px;color:#fff}.history-details .entry-price{color:#ffb900}.history-details .return-rate{color:#18d876}.lost .history-details .return-rate{color:#f75b60}.history-pnl{height:40px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;border-radius:11px;background:#142b31aa;color:#b8c5cf;font-size:11px}.history-pnl strong{color:#17d779;font-size:16px}.lost .history-pnl strong{color:#fa5056}.active .history-pnl strong,.pending .history-pnl strong,.cancelled .history-pnl strong{color:#c2ccd5}.history-time{display:flex;align-items:center;gap:5px;margin-top:11px;color:#bac6cf;font-size:9px}.history-time svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.history-empty{min-height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #3a4c5f;border-radius:14px;color:#aeb9c5;text-align:center}.history-empty[hidden]{display:none}.history-empty svg{width:38px;height:38px;margin-bottom:3px;fill:none;stroke:#697b8d;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.history-empty strong{color:#e4eaf0;font-size:14px}.history-empty span{font-size:12px}
@media(max-width:560px){.history-header{min-height:118px}.history-filter-panel{flex-wrap:wrap}.history-filter-panel label{min-width:42%}.history-filter-panel>button{flex:1}.history-card{padding:13px 13px 11px}}
html{width:100%;overflow-x:hidden!important;overflow-y:auto;scrollbar-gutter:stable}body{position:relative;width:100%;max-width:100%;min-width:0;overflow-x:clip!important;overscroll-behavior-x:none}.topbar,.bottom-nav{max-width:100%}.topbar{left:0;right:0;width:auto}.top-actions{min-width:0;max-width:calc(100% - 125px)}.outline-btn{white-space:nowrap}
html.history-no-scroll{overflow-y:hidden!important}body.history-no-scroll{overflow-y:hidden!important}
.brand-caption{display:flex;flex-direction:column;gap:1px;font-size:4px;line-height:1.05;white-space:nowrap}.brand-caption span{display:block}.brand-caption span:first-child{font-family:Arial,sans-serif;font-size:4px;line-height:1.1}.brand-caption span:last-child{font-size:4px;line-height:1.1}.compact .brand-caption span{font-size:4px}
.profile-page{padding-bottom:18px}.profile-heading,.profile-card{border:1px solid #394d60;border-radius:16px;background:linear-gradient(120deg,#1c2c3e,#22364a);padding:16px;margin-bottom:14px}.profile-heading{border-color:#59491f;min-height:112px}.profile-heading h1{font-size:18px;margin:17px 0 5px}.profile-heading p{font-size:12px;color:var(--muted);margin:0}.profile-card[hidden]{display:none}.profile-tabs{display:flex;gap:8px;margin-bottom:14px}.profile-tabs button{flex:1;height:36px;border:1px solid #3c5064;border-radius:9px;background:#1a2a3c;color:#aeb9c5}.profile-tabs button.active{background:#367fc3;color:white;border-color:#56a8eb}.profile-card form{display:grid;gap:12px}.profile-card label,.deposit-label{display:grid;gap:6px;color:#b8c4cf;font-size:11px}.profile-card input:not([type=file]){height:42px;padding:0 12px;border:1px solid #3a5065;border-radius:9px;background:#162638;color:#fff;outline:0}.profile-card input:focus{border-color:#4d9fe0}.primary-action,.deposit-launch{height:42px;border:0;border-radius:9px;background:#ffb900;color:#162332;font-weight:700;cursor:pointer}.primary-action:disabled{opacity:.55;cursor:wait}.account-message{min-height:0;margin:8px 0 0;color:#36d58c;font-size:11px}.account-message:empty{display:none}.account-message.error{color:#ff7278}.account-identity{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid #394d60}.profile-avatar{width:54px;height:54px;border:2px solid #ffba19;border-radius:50%;display:grid;place-items:center;color:#ffba19;font-size:22px;font-weight:700}.account-identity>div:nth-child(2){min-width:0;display:grid;gap:5px}.account-identity strong{font-size:16px}.account-identity span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.account-identity .text-action{margin-left:auto;border:0;background:transparent;color:#aebccc;font-size:11px;cursor:pointer}.wallet-balance{padding:15px 0;display:grid;grid-template-columns:1fr auto;gap:4px}.wallet-balance span{color:#aeb9c5;font-size:11px}.wallet-balance strong{grid-row:2;color:#ffb900;font-size:28px}.wallet-balance small{grid-column:2;grid-row:2;align-self:center;color:#aeb9c5}.deposit-launch{width:100%;font-size:14px}.deposit-panel{padding:0;overflow:hidden}.deposit-title{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:0;background:#253a50;color:white;text-align:left;cursor:pointer}.deposit-title span:first-child{display:grid;gap:4px}.deposit-title small{font-size:10px;color:#aeb9c5}.deposit-panel>#depositBody{padding:14px}.deposit-panel>#depositBody[hidden]{display:none}.deposit-steps{display:flex;align-items:center;justify-content:space-between;margin:0 5px 16px;color:#99a8b7;font-size:12px}.deposit-steps>span{display:grid;justify-items:center;gap:4px;width:38px;height:38px;place-content:center;border-radius:50%;background:#26394d}.deposit-steps>span.current{background:#398bd2;color:white}.deposit-steps small{font-size:8px}.deposit-steps i{height:1px;flex:1;background:#40566b}.test-alert{padding:10px;margin-bottom:12px;border:1px solid #715c24;border-radius:9px;background:#332f23;display:grid;gap:4px}.test-alert strong{color:#ffc22b;font-size:10px}.test-alert span{color:#ead9a6;font-size:10px;line-height:1.4}.deposit-label{margin:12px 0}.qr-box{padding:14px;display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #3b4d60;border-radius:11px;background:#192a3c}.qr-box #depositQr{width:154px;height:154px;padding:5px;background:white;border-radius:6px;display:grid;place-items:center}.qr-box #depositQr canvas,.qr-box #depositQr img{max-width:144px;max-height:144px}.qr-box>span{color:#aeb9c5;font-size:9px;text-align:center}.test-reference{margin-top:10px;padding:9px;border-radius:8px;background:#14283a;color:#ffca47;font-size:11px;overflow-wrap:anywhere}.test-reference[hidden]{display:none}.receipt-label input{font-size:10px;color:#aeb9c5}.deposit-history h2{font-size:14px;margin:0 0 12px}.muted-copy{color:#9eacbb;font-size:11px}.request-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #34495c}.request-row>div{display:grid;gap:5px;min-width:0}.request-row strong{font-size:11px;color:#f3f6fa}.request-row small{font-size:9px;color:#aeb9c5;overflow-wrap:anywhere}.request-status{flex:none;padding:5px 8px;border-radius:12px;background:#574824;color:#ffcf56;font-size:9px}.request-status.approved{background:#15533f;color:#32df91}.request-status.rejected{background:#5b3239;color:#ff8b90}
@media(max-width:560px){.profile-page{margin-top:12px}.profile-heading,.profile-card{padding:13px}.deposit-panel{padding:0}.deposit-panel>#depositBody{padding:12px}}
.deposit-steps>span.current{box-shadow:0 0 0 3px #398bd233}.deposit-steps>i.complete{background:#18ce7b}.deposit-step-pane[hidden]{display:none}.step-instruction{margin:5px 0 14px;color:#b7c4d0;font-size:12px}.address-box{min-height:42px;padding:8px 9px;display:flex;align-items:center;gap:8px;border:1px solid #32485d;border-radius:8px;background:#111f2e}.address-box code{flex:1;min-width:0;color:#ffbd24;font-size:10px;overflow-wrap:anywhere}.address-box button{width:30px;height:28px;border:0;background:transparent;color:#bdc8d2;cursor:pointer}.receipt-drop{min-height:138px;padding:18px;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:8px;border:2px dashed #455a6d;border-radius:10px;background:#162536;text-align:center;cursor:pointer}.receipt-drop .upload-symbol{font-size:27px;color:#aebdcc}.receipt-drop strong{max-width:100%;overflow-wrap:anywhere;color:#dfe6ed;font-size:11px}.receipt-drop small{color:#8f9dad;font-size:10px}.receipt-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.step-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.step-buttons .primary-action,.step-buttons .secondary-action{height:42px;border-radius:8px;font-weight:700;cursor:pointer}.step-buttons .primary-action:disabled{background:#66572f;color:#a9a092;opacity:1;cursor:not-allowed}.secondary-action{border:0;background:transparent;color:#aeb9c5}.deposit-confirm-summary{padding:3px 11px;border:1px solid #3c5063;border-radius:9px;background:#192a3b}.deposit-confirm-summary>div{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #304357}.deposit-confirm-summary>div:last-child{border:0}.deposit-confirm-summary span{color:#9fadb9;font-size:10px}.deposit-confirm-summary strong{max-width:65%;color:#f3f6fa;font-size:10px;text-align:right;overflow-wrap:anywhere}.compact-alert{margin:12px 0 0;padding:9px;font-size:10px}
.history-card.draw{border-color:#427aab}.history-card.draw .status-badge{background:#234565;color:#88c9ff}.history-card.draw .history-pnl strong{color:#88c9ff}

/* Trading-page-only price disclosure, directly below the fixed site header. */
.demo-banner{min-height:42px;width:100%;margin:0;padding:8px 14px;display:flex;align-items:center;justify-content:center;gap:8px;background:#342d1d;border-block:1px solid #745a1d;color:#ffd66b;font-size:12px;font-weight:600;text-align:center}
.demo-banner svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Chart inspection controls and OHLC hover/touch readout. */
.chart-tooltip{position:absolute;z-index:2;left:10px;top:9px;max-width:calc(100% - 20px);padding:7px 9px;border:1px solid #405267;border-radius:7px;background:#142233ed;color:#c2cdd8;font-size:10px;line-height:1.6;pointer-events:none;box-shadow:0 4px 12px #07101b55}.chart-tooltip strong{color:#fff;font-size:11px}.chart-tooltip .up{color:#19d879}.chart-tooltip .down{color:#ff5359}.chart-live{position:absolute;z-index:2;right:8px;top:8px;padding:6px 9px;border:1px solid #4b8fc5;border-radius:8px;background:#18324a;color:#cce8ff;font-size:10px;cursor:pointer}.chart-live:hover{background:#245277}

.quote span.neutral-pill{background:#2b3e50;color:#b5c2ce}

#changePill[hidden] { display: none; }
.chart-card:has(.chart-interval-info:not([hidden])){height:auto}
.chart-interval-info{margin:0;padding:7px 12px;font-size:10px;color:#aeb9c5;border-top:1px solid #344455}
.chart-interval-info[hidden]{display:none}

.history-close{margin:0 2px 14px;padding-top:12px;border-top:1px solid #ffffff14}.history-close>small{display:block;margin-bottom:5px;color:#afbdc7;font-size:9px;letter-spacing:.2px}.history-close>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px}.history-close strong{font-size:14px;color:#f4f7fa}.history-price-difference{font-size:11px;color:#c4d0da}.history-close p{margin:7px 0 0;font-size:11px;line-height:1.5;color:#c4d0da}

.history-details .entry-price{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.history-entry-direction{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:14px}.history-entry-direction.up{color:#18d876;background:#18d8761a}.history-entry-direction.down{color:#ff5359;background:#ff53591a}.history-entry-direction svg{width:22px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Deposit flow layout */
.deposit-title{min-height:72px;padding:14px 16px;background:linear-gradient(110deg,#4c9ce2,#347fc4)}
.deposit-title small{font-size:12px;color:#e3effa}
.deposit-steps{max-width:430px;margin:0 auto 18px;gap:10px}
.deposit-steps>span{flex:0 0 38px;width:38px;height:38px}
.deposit-steps>span.complete{background:#18c879;color:#fff}
.deposit-steps>i{height:2px}
.deposit-step-pane .step-instruction{margin:0 0 16px;font-size:13px}
.deposit-step-pane .deposit-label{margin:10px 0}
.qr-box{min-height:220px;padding:16px;gap:9px}
.qr-box #depositQr{width:196px;height:196px;padding:6px;border-radius:8px}
.qr-box #depositQr canvas,.qr-box #depositQr img{width:184px;height:184px;max-width:184px;max-height:184px}
.qr-box>span{font-size:10px}
.address-label{margin-top:14px!important}
.deposit-step-pane>.primary-action{width:100%;height:44px;margin-top:2px;font-size:14px}
.receipt-drop{position:relative;min-height:138px;overflow:hidden}
.receipt-drop.has-file{min-height:210px;padding:10px;border-style:solid;border-color:#347fc4;background:#111f2e}
.receipt-drop #receiptPreview{display:block;width:100%;height:185px;object-fit:contain;border-radius:6px;background:#111f2e}
.receipt-drop #receiptPreview[hidden]{display:none}
.receipt-drop.has-file .upload-symbol{display:none}
.receipt-drop.has-file strong{position:absolute;left:16px;right:16px;bottom:28px;padding:7px 10px;border-radius:7px;background:#101c2acc;color:#fff}
.receipt-drop.has-file small{position:absolute;bottom:9px;padding:2px 7px;border-radius:6px;background:#101c2acc;color:#d1deeb}
.step-buttons{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.step-buttons button{min-width:0;width:100%;padding:0 10px}
@media(max-width:560px){.deposit-panel>#depositBody{padding:13px}.qr-box{min-height:220px;padding:13px}.qr-box #depositQr{width:190px;height:190px}.qr-box #depositQr canvas,.qr-box #depositQr img{width:178px;height:178px;max-width:178px;max-height:178px}}
.deposit-title b{display:flex;align-items:center;gap:8px}.deposit-title b .fa-solid,.deposit-title>#depositChevron{font-size:15px}
.qr-box #depositQr{box-sizing:border-box;background:#172536;border:2px solid #f7f9fc;border-radius:12px;padding:7px;overflow:hidden}
.qr-box #depositQr canvas,.qr-box #depositQr img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.address-box button{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #31465a;border-radius:8px;background:#203348;color:#bdc8d2;font-size:15px;transition:color .15s,border-color .15s,background .15s}
.address-box button:hover:not(:disabled){border-color:#ffb900;background:#273d53;color:#ffbf24}
.address-box button:disabled{opacity:.45;cursor:not-allowed}
.receipt-drop .upload-symbol{font-size:26px}
@media(max-width:560px){.qr-box #depositQr{width:190px;height:190px}.qr-box #depositQr canvas,.qr-box #depositQr img{width:100%;height:100%;max-width:100%;max-height:100%}}

#resendConfirmation { padding:8px 0; background:transparent; border:0; color:#ffb900; font:inherit; text-align:left; cursor:pointer; }
#resendConfirmation:disabled { color:#aab8c5; cursor:wait; }
