:root{
  color-scheme:dark;
  --bg:#05080f;--panel:#0b111c;--panel-2:#101a29;--line:#1c2a3e;
  --text:#f3f7ff;--muted:#8592a8;--brand:#33e6b0;--brand-2:#5c7cff;
  --up:#20d59b;--down:#ff5d72;--warning:#f5c451;--shadow:0 22px 70px #0008;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,"SF Pro Display","Segoe UI","Microsoft YaHei",sans-serif;font-size:16px}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}
.market-background{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.72}
.market-background-shade{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 80% 5%,#315bf329,transparent 34%),radial-gradient(circle at 10% 50%,#19d7a317,transparent 36%),linear-gradient(180deg,#05080fc7,#05080ff5)}
.mobile-shell{position:relative;z-index:1;width:min(100%,520px);min-height:100vh;margin:auto;background:linear-gradient(180deg,#07101ccc,#05080ff0 40%);border-inline:1px solid #ffffff08;box-shadow:0 0 90px #0009;padding-bottom:92px;overflow:hidden}
.app-header{height:68px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;background:#070c14d9;backdrop-filter:blur(18px);border-bottom:1px solid #ffffff09}
.brand{display:flex;align-items:center;gap:10px;font-weight:850;letter-spacing:.16em}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#06110e;box-shadow:0 0 25px #33e6b04d}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.13em;margin-top:1px}
.header-actions{display:flex;align-items:center;gap:8px}.icon-button,.lang-pill{height:36px;border:1px solid #ffffff12;background:#ffffff08;color:var(--text);border-radius:11px;padding:0 11px}.lang-pill{font-size:12px}
.content{padding:16px}.hero-card{position:relative;overflow:hidden;padding:21px;border:1px solid #ffffff15;border-radius:24px;background:linear-gradient(130deg,#14243ee8,#0c1526d9 58%,#0d2b27cc);box-shadow:var(--shadow)}
.hero-card:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-70px;top:-85px;border:34px solid #34e5af14;box-shadow:0 0 0 18px #6380ff0d}.eyebrow{color:var(--brand);font-size:12px;letter-spacing:.12em;text-transform:uppercase}.hero-card h1{font-size:23px;line-height:1.2;margin:12px 0 7px}.hero-card p{color:#adbad0;font-size:14px;margin:0;line-height:1.55}.live-badge{display:inline-flex;align-items:center;gap:7px;margin-top:17px;color:#b9c5d8;font-size:12px}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--up);box-shadow:0 0 0 5px #20d59b18;animation:pulse 1.8s infinite}
.balance-card{margin-top:14px;padding:18px;border-radius:20px;background:linear-gradient(145deg,#101a29e8,#0a111cd9);border:1px solid var(--line)}.balance-label{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.balance-value{margin-top:7px;font-size:28px;font-weight:780;letter-spacing:-.03em}.balance-meta{color:var(--muted);font-size:12px;margin-top:5px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:17px 0}.quick-item{display:grid;place-items:center;gap:8px;min-height:82px;padding:10px 4px;border:1px solid #ffffff0b;border-radius:16px;background:#0c1421b8;color:#c5d0e3;font-size:12px}.quick-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#162a3d,#10211f);color:var(--brand);font-size:18px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:23px 2px 12px}.section-head h2{font-size:17px;margin:0}.section-head a,.section-head span{color:var(--muted);font-size:12px}
.market-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#09111ce6}.market-head,.market-row{display:grid;grid-template-columns:minmax(110px,1.2fr) 1fr 80px;align-items:center}.market-head{padding:11px 14px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}.market-row{min-height:67px;padding:11px 14px;border-bottom:1px solid #162235;transition:.2s background}.market-row:last-child{border-bottom:0}.market-row:active{background:#121d2d}.pair{font-weight:720;font-size:14px}.pair small{display:block;color:var(--muted);font-size:11px;font-weight:450;margin-top:4px}.price{text-align:right;font:650 13px ui-monospace,SFMono-Regular,Consolas,monospace}.change{text-align:right;font:700 12px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--down)}.change.up{color:var(--up)}.market-status{display:inline-flex;gap:6px;align-items:center}.market-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--muted)}.market-status.live:before{background:var(--up)}
.segmented{display:grid;grid-template-columns:repeat(3,1fr);padding:4px;background:#0c1420;border:1px solid var(--line);border-radius:13px;margin-bottom:12px}.segmented button{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:9px 4px;font-size:12px}.segmented button.active{background:#1a2638;color:var(--text)}
.trade-title{display:flex;align-items:center;justify-content:space-between}.trade-title h1{font-size:21px;margin:0}.trade-price{font:750 25px ui-monospace,SFMono-Regular,Consolas,monospace;margin-top:14px}.trade-change{font-size:13px;color:var(--muted);margin-top:5px}.chart-card{height:260px;margin-top:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#0a1421,#080e17);overflow:hidden}.chart-card canvas{width:100%;height:100%}.trade-panel{padding:17px;margin-top:14px;border:1px solid var(--line);border-radius:20px;background:#0b131f}.form-label{display:block;color:var(--muted);font-size:12px;margin:14px 0 7px}.input-wrap{display:flex;align-items:center;border:1px solid var(--line);background:#080e17;border-radius:13px;padding:0 13px}.input-wrap input{width:100%;height:48px;background:transparent;border:0;outline:0;color:var(--text)}.input-wrap span{color:var(--muted);font-size:12px}.trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.primary,.secondary,.buy,.sell{height:48px;border:0;border-radius:13px;font-weight:750}.primary,.buy{background:linear-gradient(105deg,#1fcf9a,#42edb9);color:#05110d}.sell{background:linear-gradient(105deg,#ff526b,#ff7184);color:#fff}.secondary{background:#152034;color:var(--text);border:1px solid #26344a}.disabled-note{color:var(--warning);font-size:12px;line-height:1.5;margin-top:12px}
.profile-card{padding:20px;border-radius:22px;background:linear-gradient(135deg,#16243a,#0e1827);border:1px solid #ffffff12}.profile-row{display:flex;align-items:center;gap:13px}.avatar{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#06110e;font-weight:850}.profile-name{font-weight:750}.profile-id{color:var(--muted);font-size:12px;margin-top:4px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.profile-stat{padding:11px 8px;background:#070d166e;border-radius:12px}.profile-stat small{display:block;color:var(--muted);font-size:10px}.profile-stat b{display:block;font-size:13px;margin-top:6px}.menu-card{margin-top:14px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#09111c}.menu-row{display:flex;align-items:center;justify-content:space-between;min-height:55px;padding:0 15px;border-bottom:1px solid #162235;font-size:14px}.menu-row:last-child{border-bottom:0}.menu-row span:last-child{color:var(--muted)}
.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);height:76px;padding:8px 12px max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:#080e17ed;backdrop-filter:blur(20px);border-top:1px solid #ffffff10}.bottom-nav a{display:grid;place-items:center;align-content:center;gap:5px;color:#718097;font-size:11px}.bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.bottom-nav a.active{color:var(--brand)}
.auth-shell{position:relative;z-index:1;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:26px 16px}.auth-card{width:min(100%,420px);padding:25px;border:1px solid #ffffff16;border-radius:26px;background:#09111ce8;backdrop-filter:blur(20px);box-shadow:var(--shadow)}.auth-top{display:flex;justify-content:space-between;align-items:center}.auth-card h1{font-size:25px;margin:29px 0 7px}.auth-subtitle{color:var(--muted);font-size:14px;margin:0 0 22px}.field{margin-top:13px}.field label{display:block;color:#a8b5ca;font-size:12px;margin-bottom:7px}.field-box{display:flex;align-items:center;border:1px solid var(--line);background:#070d16;border-radius:13px;padding:0 13px}.field-box:focus-within{border-color:#33e6b080;box-shadow:0 0 0 3px #33e6b011}.field-box input{width:100%;height:49px;border:0;outline:0;background:transparent;color:var(--text)}.field-box button{border:0;background:transparent;color:var(--muted)}.agreement{display:flex;align-items:flex-start;gap:9px;color:var(--muted);font-size:12px;line-height:1.5;margin:15px 1px}.agreement input{accent-color:var(--brand);margin-top:3px}.auth-submit{width:100%;height:50px;border:0;border-radius:14px;background:linear-gradient(105deg,var(--brand),#57efc1);color:#06110e;font-weight:800;margin-top:6px}.form-message{min-height:22px;text-align:center;color:#ff8797;font-size:12px;margin-top:10px}.auth-switch{text-align:center;color:var(--muted);font-size:13px;margin-top:14px}.auth-switch a{color:var(--brand)}.auth-ticker{display:flex;gap:20px;overflow:hidden;white-space:nowrap;color:#9eadc5;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;margin-top:18px}.auth-ticker-track{display:flex;gap:20px;animation:ticker 18s linear infinite}
.skeleton{color:transparent!important;background:linear-gradient(90deg,#111a27,#1c293b,#111a27);background-size:200% 100%;border-radius:5px;animation:shimmer 1.4s infinite}.empty-state{padding:30px 16px;text-align:center;color:var(--muted);font-size:13px}.toast{position:fixed;z-index:50;left:50%;bottom:90px;transform:translate(-50%,12px);opacity:0;padding:11px 15px;border:1px solid #ffffff16;border-radius:12px;background:#182233;color:#fff;font-size:13px;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
.page-shell{position:relative;z-index:1;width:min(100%,520px);min-height:100vh;margin:auto;padding:18px 16px 40px;background:#050b13dd}.subpage-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.back-button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:#0c1421;color:var(--text)}.subpage-header .brand{font-size:14px}.page-title{font-size:24px;margin:0 0 8px}.page-subtitle{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 20px}.form-card{padding:18px;border:1px solid var(--line);border-radius:20px;background:#09111ce8}.form-card .primary{width:100%;margin-top:18px}.form-card .field:first-child{margin-top:0}.result-message{min-height:24px;margin:13px 0 0;color:var(--muted);font-size:13px}.result-message.error{color:var(--down)}.result-message.success{color:var(--up)}.record-list{display:grid;gap:10px}.record-card{padding:14px;border:1px solid var(--line);border-radius:15px;background:#0a121e}.record-top{display:flex;justify-content:space-between;gap:12px;font-size:13px}.record-meta{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.55}.status-pill{padding:4px 8px;border-radius:999px;background:#f5c45118;color:var(--warning);font-size:11px}.status-pill.approved{background:#20d59b18;color:var(--up)}.status-pill.rejected{background:#ff5d7218;color:var(--down)}.card-actions{display:flex;gap:8px;margin-top:10px}.card-actions button{height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#121d2d;color:var(--text);font-size:12px}.select-control{width:100%;height:49px;padding:0 13px;border:1px solid var(--line);border-radius:13px;background:#070d16;color:var(--text);outline:none}
.auth-shell{width:min(100%,520px);margin:auto;overflow:hidden;background:linear-gradient(180deg,#07101ccc,#05080ff4);border-inline:1px solid #ffffff08}.auth-card{position:relative;background:linear-gradient(155deg,#0d1726eb,#080f19f2)!important;border-color:#43f2bd24!important}.auth-market-stage{position:relative;height:170px;margin:18px -10px 6px;overflow:hidden;border-radius:22px;border:1px solid #ffffff12;background:radial-gradient(circle at 50% 55%,#1ed6a82b,transparent 35%),linear-gradient(160deg,#101d31,#07101b)}.auth-market-stage:before{content:"";position:absolute;inset:-55% -20%;background-image:linear-gradient(#5f7ba91a 1px,transparent 1px),linear-gradient(90deg,#5f7ba91a 1px,transparent 1px);background-size:34px 34px;transform:perspective(420px) rotateX(58deg) translateY(45px);animation:stageGrid 9s linear infinite}.market-ring{position:absolute;left:50%;top:51%;width:116px;height:116px;transform:translate(-50%,-50%);border:1px solid #52e8bb78;border-radius:50%;box-shadow:0 0 40px #28d6a429,inset 0 0 35px #315fca1d;animation:ringTurn 10s linear infinite}.market-ring:before,.market-ring:after{content:"";position:absolute;inset:15px;border:1px dashed #738eff65;border-radius:50%}.market-ring:after{inset:40px;background:radial-gradient(circle,#5ff0c9,#247e76 35%,#101c33 38%,transparent 65%);box-shadow:0 0 28px #40e6bc5c}.orbit-dot{position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;background:#7d96ff;box-shadow:0 0 16px #7d96ff;transform-origin:0 0;animation:orbit 4s linear infinite}.quote-chip{position:absolute;padding:7px 9px;border:1px solid #ffffff16;border-radius:10px;background:#08111ddd;backdrop-filter:blur(8px);font:10px ui-monospace,Consolas,monospace;color:#b9c8df;box-shadow:0 8px 20px #0005}.quote-chip b{display:block;color:var(--brand);font-size:11px;margin-top:3px}.quote-a{left:11px;top:18px;animation:floatChip 3s ease-in-out infinite}.quote-b{right:10px;top:42px;animation:floatChip 3.6s ease-in-out infinite reverse}.quote-c{left:20px;bottom:17px;animation:floatChip 4s ease-in-out infinite}.auth-status{position:absolute;right:13px;bottom:13px;display:flex;align-items:center;gap:6px;color:#8ea0b8;font-size:10px}.auth-card h1{margin-top:22px}.auth-submit{box-shadow:0 12px 30px #2ae0aa2b}.auth-card:after{content:"";position:absolute;inset:0;border-radius:26px;pointer-events:none;background:linear-gradient(120deg,#ffffff08,transparent 22%,transparent 72%,#35e8b509)}
@keyframes stageGrid{to{background-position:34px 34px}}@keyframes ringTurn{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes orbit{to{transform:rotate(360deg) translateX(58px)}}@keyframes floatChip{50%{transform:translateY(-7px)}}
@keyframes pulse{50%{opacity:.45;box-shadow:0 0 0 9px #20d59b08}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes ticker{to{transform:translateX(-50%)}}
@media(min-width:760px){body{background:#03060b}.mobile-shell{min-height:calc(100vh - 36px);margin:18px auto;border-radius:24px}.bottom-nav{bottom:18px;border:1px solid #ffffff10;border-radius:0 0 24px 24px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}.market-background{display:none}}

/* 2026 visual system */
:root{--bg:#07090e;--panel:#10141c;--panel-2:#151b26;--line:#242c3a;--text:#f5f7fb;--muted:#8e99aa;--brand:#6f7cff;--brand-2:#9b6cff;--up:#17c98a;--down:#f15b70;--shadow:0 22px 60px #0007}
html,body{background:#07090e}.market-background{opacity:.32}.market-background-shade{background:radial-gradient(circle at 50% -5%,#5367d62e,transparent 32%),linear-gradient(180deg,#07090eb8,#07090ef8)}
.mobile-shell{background:#090c12;border-inline:1px solid #202633;box-shadow:0 0 80px #000a;padding-bottom:104px}.app-header{height:72px;padding:14px 20px;background:#090c12ed;border-color:#202633}.brand-mark{border-radius:12px;background:linear-gradient(145deg,#8994ff,#695cf5);color:#fff;box-shadow:0 8px 24px #6f7cff38}.brand small{color:#747f91}.lang-pill{max-width:108px;height:38px;padding:0 12px;border-color:#2b3444;background:#131822;color:#eef2fa}.lang-pill option,.select-control option,.settings-row option{background:#10151e!important;color:#f5f7fb!important}
.content{padding:18px 18px 8px}.hero-card{padding:24px;border-radius:22px;border-color:#2b3547;background:radial-gradient(circle at 90% 15%,#7867ff35,transparent 32%),linear-gradient(145deg,#171e2c,#10151f);box-shadow:0 20px 45px #0005}.hero-card:after{width:130px;height:130px;right:-48px;top:-58px;border:24px solid #8290ff17;box-shadow:0 0 0 14px #8290ff0b}.eyebrow{color:#9ca7ff}.hero-card h1{font-size:25px;letter-spacing:-.02em}.hero-card p{color:#9da8ba}.balance-card{border-color:#252d3b;background:#10151e;box-shadow:none}.quick-grid{gap:10px}.quick-item{min-height:78px;border-color:#242c3a;border-radius:15px;background:#10151e;color:#d6dce7}.quick-icon{width:38px;height:38px;border-radius:13px;background:#1a2130;color:#8f9aff}.market-card{border-color:#252d3b;background:#0e1219}.market-head{border-color:#252d3b}.market-row{grid-template-columns:minmax(145px,1.35fr) 1fr 74px;min-height:66px;border-color:#1d2430}.pair{display:flex;align-items:center;gap:11px}.coin-logo{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#263149,#181f2d);color:#b4beff;font-size:13px}.coin-logo img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}.coin-logo i{font-style:normal;font-weight:800}.change.up{color:var(--up)}
.bottom-nav{bottom:12px;width:min(calc(100% - 24px),496px);height:72px;padding:7px 8px max(7px,env(safe-area-inset-bottom));border:1px solid #293140;border-radius:22px;background:#11161ff2;box-shadow:0 16px 38px #0009}.bottom-nav a{gap:3px;border-radius:15px;color:#7f8999}.bottom-nav svg{width:20px;height:20px}.bottom-nav a.active{background:#20263a;color:#9ca6ff}.bottom-nav a.active span{font-weight:700;color:#e9ecff}
.menu-card{border-color:#252d3b;background:#10151e}.menu-row{border-color:#202733}.logout-row{color:#ff7b8e}.profile-card{border-color:#2a3343;background:linear-gradient(145deg,#171e2c,#111720)}
.auth-shell{width:min(100%,520px);padding:20px 18px;background:#090c12;border-color:#202633}.auth-card{width:min(100%,430px);padding:24px;border-radius:24px;background:#0f141de8!important;border-color:#293242!important;box-shadow:0 28px 70px #0009!important}.auth-card:after{background:linear-gradient(120deg,#ffffff08,transparent 25%,transparent 76%,#756cff0c)}.auth-market-stage{height:210px;margin:22px 0 4px;border-radius:19px;border-color:#2b3445;background:linear-gradient(180deg,#171e2b,#0f141d)}.auth-market-stage:before{inset:0;background-image:linear-gradient(#76819d12 1px,transparent 1px),linear-gradient(90deg,#76819d12 1px,transparent 1px);background-size:40px 40px;transform:none;animation:stageGrid 12s linear infinite}.market-chart-head{position:absolute;z-index:3;left:17px;right:17px;top:14px;display:flex;justify-content:space-between;color:#a6b0bf;font:11px ui-monospace,Consolas,monospace}.market-chart-head b{color:#8f9aff;font-size:15px}.auth-chart{position:absolute;z-index:2;left:0;right:0;bottom:30px;width:100%;height:145px;overflow:visible}.chart-area{fill:url(#chartFill)}.chart-line{fill:none;stroke:#8994ff;stroke-width:2.3;stroke-linecap:round;filter:drop-shadow(0 0 7px #6f7cff);stroke-dasharray:520;animation:drawChartLine 3.4s ease-out both}.auth-candles{position:absolute;z-index:1;inset:55px 18px 40px;display:flex;justify-content:space-around;align-items:center;opacity:.45}.auth-candles i{width:4px;height:35px;border-radius:3px;background:#18c98a;box-shadow:0 -13px 0 -1px #18c98a,0 13px 0 -1px #18c98a;animation:candlePulse 2.6s ease-in-out infinite}.auth-candles i:nth-child(even){height:24px;background:#f15b70;box-shadow:0 -10px 0 -1px #f15b70,0 10px 0 -1px #f15b70;animation-delay:-1.1s}.quote-strip{position:absolute;z-index:4;left:13px;right:13px;bottom:10px;display:flex;justify-content:space-between;color:#8993a4;font:9px ui-monospace,Consolas,monospace}.quote-strip b{color:#d7dcff}.quote-strip em{display:inline-block;margin-right:5px}.auth-card h1{margin:25px 0 7px;font-size:27px}.field-box{background:#0a0e15;border-color:#293140}.field-box:focus-within{border-color:#7885ff;box-shadow:0 0 0 3px #6f7cff18}.auth-submit{background:linear-gradient(105deg,#7885ff,#8f68f5);color:#fff;box-shadow:0 14px 32px #765fff32}.auth-switch a{color:#9ba5ff}.auth-trust{justify-content:center;width:100%}
@keyframes drawChartLine{from{stroke-dashoffset:520}to{stroke-dashoffset:0}}@keyframes candlePulse{50%{transform:scaleY(.55);opacity:.55}}
@media(min-width:760px){.mobile-shell{min-height:calc(100vh - 32px);margin:16px auto;border-radius:28px}.bottom-nav{bottom:28px}.auth-shell{min-height:calc(100vh - 32px);margin:16px auto;border-radius:28px}}
.brand-mark{position:relative;overflow:hidden}.brand-mark b{font-size:15px;line-height:1}.brand-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#10151e}.login-video-background{position:fixed;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.has-login-video .market-background{display:none}.has-login-video .market-background-shade{background:linear-gradient(180deg,#05070c73,#05070cd9),radial-gradient(circle at 50% 15%,#5367d627,transparent 45%)}.has-login-video .auth-shell{background:transparent}.has-login-video .auth-card{background:#0d1119de!important;backdrop-filter:blur(18px) saturate(1.12)}
.brand-mark{display:flex;align-items:center;justify-content:center;width:auto;min-width:30px;height:40px;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff;overflow:visible}.brand-mark.has-logo b{display:none}.brand-mark img{position:static;width:auto;max-width:76px;height:40px;object-fit:contain;background:transparent;border:0;border-radius:0}.auth-shell-minimal{min-height:100svh!important;margin:0 auto!important;padding:0 22px!important;border:0!important;border-radius:0!important;background:transparent!important;align-items:stretch}.login-minimal{position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;min-height:100svh;padding:100px 0 42px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}.login-minimal:after{display:none}.minimal-brand-bar{position:absolute;top:max(28px,env(safe-area-inset-top));left:0;right:0;z-index:3}.minimal-brand-bar .brand{font-size:18px;text-shadow:0 2px 14px #000}.minimal-brand-bar .lang-pill{background:#080c13a6;border-color:#ffffff2b;backdrop-filter:blur(12px)}.auth-login-panel{width:100%;max-width:390px;margin:70px auto 0;padding:22px;border:1px solid #ffffff24;border-radius:22px;background:#070a1094;box-shadow:0 18px 48px #0006;backdrop-filter:blur(13px) saturate(1.08)}.auth-login-panel h1{margin:0 0 18px;font-size:22px;line-height:1.25;text-shadow:0 2px 18px #000}.auth-login-panel .field-box{background:#05080dbd;border-color:#ffffff26}.auth-login-panel .auth-submit{margin-top:18px}.has-login-video .market-background-shade{background:linear-gradient(180deg,#03050a4d,#03050a76 46%,#03050aa8)}.has-login-video .login-minimal{background:transparent!important}.has-login-video .auth-login-panel{background:#070a1085}.password-toggle{display:grid!important;place-items:center;flex:0 0 38px;width:38px;height:38px;margin-right:-8px;padding:0!important;cursor:pointer;color:#8995aa!important}.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-closed{display:none}.password-toggle.is-visible .eye-open{display:none}.password-toggle.is-visible .eye-closed{display:block}.password-toggle:hover{color:#aeb7ff!important}.remember-option{display:inline-flex;align-items:center;gap:9px;margin:14px 2px 0;color:#b3bdcc;font-size:12px;cursor:pointer}.remember-option input,.agreement input{width:16px;height:16px;accent-color:#7f7aff}.auth-register-panel{max-width:410px;margin-top:48px;padding:20px 22px}.auth-register-panel h1{font-size:22px;margin-bottom:13px}.auth-register-panel .field{margin-top:9px}.auth-register-panel .field-box input{height:44px}.auth-register-panel .agreement{margin:12px 1px 6px}.register-minimal{padding-top:84px!important;padding-bottom:24px!important}@media(max-height:720px){.register-minimal{justify-content:flex-start}.auth-register-panel{margin-top:30px}.auth-register-panel .field{margin-top:6px}.auth-register-panel .field-box input{height:41px}}
.promotion-page{padding-bottom:30px}.promotion-card{margin:42px 18px 0;padding:28px 20px;border:1px solid #2a3344;border-radius:24px;background:radial-gradient(circle at 85% 5%,#7169ff2c,transparent 32%),#10151ee8;box-shadow:0 24px 55px #0007;text-align:center}.promotion-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 17px;border-radius:18px;background:linear-gradient(145deg,#727fff,#9067f5);color:#fff;font-size:28px;box-shadow:0 12px 30px #7169ff46}.promotion-card h1{margin:0;font-size:23px}.promotion-card>p{margin:10px auto 22px;max-width:340px;color:var(--muted);font-size:13px;line-height:1.6}.promotion-id{display:flex;justify-content:space-between;align-items:end;padding:16px 17px;margin-bottom:18px;border:1px solid #2a3343;border-radius:16px;background:#090e16;text-align:left}.promotion-id small{color:var(--muted)}.promotion-id strong{font:700 24px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;color:#aeb5ff}.promotion-label{display:block;margin:0 2px 8px;text-align:left;color:#aab5c7;font-size:12px}.promotion-link{display:flex;gap:8px}.promotion-link input{min-width:0;flex:1;height:45px;padding:0 12px;border:1px solid #293344;border-radius:12px;background:#080d15;color:#aeb8ca;outline:0}.promotion-link button{flex:none;padding:0 16px;border:0;border-radius:12px;background:#242b40;color:#cdd2ff;font-weight:700}.share-button{margin-top:14px!important}
.form-message.success-message{color:#4de0ae}
.quick-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.subpage-header{display:grid;grid-template-columns:88px 1fr 88px;align-items:center;margin-bottom:20px}.subpage-header .back-button{width:38px;height:38px;border-radius:12px}.subpage-header .brand{justify-self:center;max-width:220px;font-size:14px}.subpage-header .brand span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subpage-lang{justify-self:end;width:88px;height:38px;padding:0 8px}.page-title{font-size:19px;margin:0 0 14px}.form-card-title{margin:0 0 14px;font-size:17px}.compact-balance{margin:0 0 14px}.promotion-card{margin:30px 12px 0;padding:24px 20px;border-radius:22px}.promotion-icon{width:50px;height:50px;margin-bottom:14px;border-radius:15px;font-size:23px}.promotion-card h1{margin:0 0 20px;font-size:19px;font-weight:750}.promotion-id{align-items:center;padding:14px 15px;margin-bottom:16px;border-radius:14px}.promotion-id small{font-size:12px}.promotion-id strong{font-size:20px;letter-spacing:.06em}.promotion-link input{height:43px;font-size:12px}.promotion-link button{padding:0 14px;font-size:12px}.share-button{height:46px!important;margin-top:13px!important;font-size:13px}
.back-button{background:#111824;border-color:#2b3443;color:#c9d0df;box-shadow:0 8px 22px #0004;transition:.18s ease}.back-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.back-button:hover{border-color:#717dff;color:#fff;transform:translateX(-1px)}.verification-status{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.verification-status:before,.status-text:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px currentColor}.status-unverified{color:#ff6578}.status-pending{color:#f2a94a}.status-approved{color:#6f8cff}.status-text{display:inline-flex;align-items:center;font-size:12px}.status-text:before{box-shadow:none}.avatar-button{padding:0;border:0;cursor:pointer;overflow:hidden}.avatar-button img{width:100%;height:100%;object-fit:cover}.avatar-button:after{content:"✎";position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:18px;height:18px;border:2px solid #111720;border-radius:50%;background:#7d78ff;color:#fff;font-size:9px}.avatar{position:relative}.avatar-modal[hidden]{display:none}.avatar-modal{position:fixed;z-index:50;inset:0;display:flex;align-items:flex-end;justify-content:center}.avatar-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:#02040ab8;backdrop-filter:blur(4px)}.avatar-picker{position:relative;z-index:1;width:min(100%,520px);padding:20px 18px max(24px,env(safe-area-inset-bottom));border:1px solid #30384a;border-radius:24px 24px 0 0;background:#10151f;box-shadow:0 -20px 60px #0009}.avatar-picker-head{display:flex;align-items:center;justify-content:space-between}.avatar-picker-head h2{margin:0;font-size:18px}.avatar-picker-head button{width:34px;height:34px;border:0;border-radius:10px;background:#202635;color:#cdd3df;font-size:22px}.avatar-options{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:18px}.avatar-options>button{aspect-ratio:1;padding:3px;border:2px solid transparent;border-radius:50%;background:#242b3b;overflow:hidden}.avatar-options img{width:100%;height:100%;border-radius:50%;object-fit:cover}.modal-open{overflow:hidden}.card-list{margin-bottom:16px}.bank-card-item{background:linear-gradient(145deg,#151c29,#0e141e);border-color:#2a3343}.form-cancel{width:100%;margin-top:9px}
.back-button{background:#111824;border-color:#2b3443;color:#c9d0df;box-shadow:0 8px 22px #0004;transition:.18s ease}.back-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.back-button:hover{border-color:#717dff;color:#fff;transform:translateX(-1px)}.verification-status{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.verification-status:before,.status-text:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px currentColor}.status-unverified{color:#ff6578}.status-pending{color:#f2a94a}.status-approved{color:#6f8cff}.status-text{display:inline-flex;align-items:center;font-size:12px}.status-text:before{box-shadow:none}.avatar-button{padding:0;border:0;cursor:pointer;overflow:hidden}.avatar-button img{width:100%;height:100%;object-fit:cover}.avatar-button:after{content:"✎";position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:18px;height:18px;border:2px solid #111720;border-radius:50%;background:#7d78ff;color:#fff;font-size:9px}.avatar{position:relative}.avatar-modal[hidden]{display:none}.avatar-modal{position:fixed;z-index:50;inset:0;display:flex;align-items:flex-end;justify-content:center}.avatar-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:#02040ab8;backdrop-filter:blur(4px)}.avatar-picker{position:relative;z-index:1;width:min(100%,520px);padding:20px 22px max(24px,env(safe-area-inset-bottom));border:1px solid #30384a;border-radius:24px 24px 0 0;background:#10151f;box-shadow:0 -20px 60px #0009}.avatar-picker-head{display:flex;align-items:center;justify-content:space-between}.avatar-picker-head h2{margin:0;font-size:18px}.avatar-picker-head button{width:34px;height:34px;border:0;border-radius:10px;background:#202635;color:#cdd3df;font-size:22px}.avatar-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px auto 0;max-width:360px}.avatar-options>button{aspect-ratio:1;padding:4px;border:2px solid transparent;border-radius:50%;background:#242b3b;overflow:hidden;cursor:pointer}.avatar-options>button:hover{border-color:#7d78ff}.avatar-options img{width:100%;height:100%;border-radius:50%;object-fit:cover}.modal-open{overflow:hidden}.card-list{margin-bottom:16px}.bank-card-item{background:linear-gradient(145deg,#151c29,#0e141e);border-color:#2a3343}.form-cancel{width:100%;margin-top:9px}
.promotion-id{height:56px;padding:0 15px}.promotion-id small{font-size:13px;font-weight:600}.promotion-id strong{font-size:18px;letter-spacing:.04em}.market-search{height:48px;padding:0 14px;gap:11px}.market-search svg{flex:0 0 23px;width:23px;height:23px;fill:none;stroke:#9ca7bd;stroke-width:1.8;stroke-linecap:round}.market-search input{height:46px;font-size:14px}.trade-market-button{width:40px;height:40px;padding:0;border-radius:12px}.trade-market-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.avatar-button:after{content:none}.avatar-image{display:grid;place-items:center;width:100%;height:100%;overflow:hidden}.avatar-image img{width:100%;height:100%;object-fit:cover}.avatar-edit-icon{position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:19px;height:19px;border:2px solid #111720;border-radius:50%;background:#7d78ff;color:#fff}.avatar-edit-icon svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.inline-action-link{display:inline-flex;align-items:center;color:#9da7ff;font-weight:700;text-decoration:none}.inline-action-link:after{content:"›";margin-left:6px;font-size:18px}
.promotion-id-row{height:auto!important;padding:0!important;margin:0 0 16px!important}.promotion-id-row input{color:#aeb5ff;font-size:14px;font-weight:750;letter-spacing:.05em}.avatar-button{overflow:visible!important}.avatar-image{border:1px solid #354158;border-radius:50%;background:#1b2433;box-shadow:0 8px 20px #0006}.avatar-edit-icon{right:0!important;bottom:0!important;width:20px!important;height:20px!important;border-color:#101620!important;box-shadow:0 3px 8px #0008}.default-card-badge{display:inline-flex;padding:4px 9px;border-radius:999px;background:#6e76ff20;color:#9299ff;font-size:11px;font-weight:750}.page-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.page-title-row .page-title{margin:0}.text-action{padding:7px 10px;border:1px solid #303a50;border-radius:10px;background:#151c29;color:#aeb5ff;font-size:12px;font-weight:700}.trade-balance{display:flex;justify-content:space-between;margin:12px 2px;color:#8f9aae;font-size:12px}.trade-balance b{color:#dfe5f2}.trade-form[hidden]{display:none}.trade-records{display:grid;gap:9px;margin-top:14px}.trade-record{padding:11px 12px;border:1px solid #263145;border-radius:12px;background:#0c121c;font-size:12px}.trade-record>div{display:flex;justify-content:space-between;gap:8px}.trade-record small{color:#8894a8}.trade-record .up,.trade-record .profit{color:var(--up)}.trade-record .down,.trade-record .loss{color:var(--down)}.trade-select{width:100%;height:46px;padding:0 12px;border:1px solid #293344;border-radius:12px;background:#080d15;color:#e0e6f1}.perpetual-close{margin-top:8px;padding:7px 11px;border:1px solid #344057;border-radius:9px;background:#182131;color:#d7dded;font-weight:700}
.withdraw-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;min-height:30px}.withdraw-form-footer a,.withdraw-form-footer button{border:0;background:transparent;color:#9ca7ba;font-size:12px;text-decoration:none}.withdraw-form-footer a{padding:6px 0}.withdraw-form-footer button{margin-left:auto;padding:6px 0;color:#9da7ff;font-weight:700}.kyc-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:18px}.kyc-upload{display:flex;min-width:0;flex-direction:column;gap:6px;padding:10px;border:1px solid #293447;border-radius:15px;background:#090f18;cursor:pointer}.kyc-upload-wide{grid-column:1/-1}.kyc-upload input{position:absolute;width:1px;height:1px;opacity:0}.kyc-upload-preview{display:grid;place-items:center;width:100%;aspect-ratio:1.58;border:1px dashed #3a465d;border-radius:11px;background:#111a27;overflow:hidden;color:#8390a6}.kyc-upload-wide .kyc-upload-preview{aspect-ratio:2.35}.kyc-upload-preview svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.kyc-upload-preview img{width:100%;height:100%;object-fit:cover}.kyc-upload b{font-size:12px}.kyc-upload small{color:#7f8a9d;font-size:10px;line-height:1.45}.kyc-upload.selected{border-color:#6876ff}.kyc-file-note{margin:12px 2px;color:#7f8a9d;font-size:11px}.order-record-card{padding:14px}.order-record-head,.order-number-row,.order-record-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-record-head b{font-size:14px}.order-number-row{margin-top:13px;padding:9px 10px;border:1px solid #263145;border-radius:10px;background:#09101a}.order-number-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#aab4c7;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.order-number-row button{flex:none;padding:5px 9px;border:0;border-radius:7px;background:#242c42;color:#bfc5ff;font-size:10px;font-weight:700}.order-record-foot{margin-top:11px}.order-record-foot b{font:700 14px ui-monospace,SFMono-Regular,Consolas,monospace}.order-record-foot time{color:#7f8b9f;font-size:11px}.order-reason{margin:10px 0 0;color:#ff8897;font-size:11px}
.profile-row{gap:15px}.profile-card .avatar-button{flex:0 0 56px;width:56px;height:56px;padding:0;border:0;border-radius:17px;background:none;box-shadow:none;overflow:visible}.profile-card .avatar-image{display:block;width:56px;height:56px;border:0;border-radius:17px;background:#111a28;overflow:hidden;box-shadow:0 4px 14px #0005}.profile-card .avatar-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.profile-card .avatar-edit-icon{right:-5px!important;bottom:-5px!important;width:21px!important;height:21px!important;border:2px solid #152033!important;box-shadow:0 2px 8px #0008}.avatar-modal{align-items:center;padding:16px}.avatar-picker{width:min(100%,350px);max-height:min(82vh,500px);padding:18px;border-radius:20px;overflow:auto}.avatar-picker-head h2{font-size:16px}.avatar-options{max-width:290px;gap:11px;margin-top:16px}.avatar-options>button{padding:2px;background:#1a2434}.avatar-options img{display:block;width:100%;height:100%;object-fit:cover}.trade-market-button{display:grid;place-items:center;flex:0 0 40px;padding:0!important;line-height:0}.trade-market-button svg{display:block;width:20px;height:20px;margin:0}.trade-record-button{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer}.trade-record-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.trade-record-line+.trade-record-line{margin-top:6px}.trade-actions button:disabled{opacity:.6;cursor:wait}.delivery-modal[hidden]{display:none}.delivery-modal{position:fixed;z-index:60;inset:0;display:grid;place-items:center;padding:18px}.delivery-modal-backdrop{position:absolute;inset:0;border:0;background:#02050bd0;backdrop-filter:blur(6px)}.delivery-modal-card{position:relative;width:min(100%,350px);padding:20px;border:1px solid #35415a;border-radius:22px;background:linear-gradient(160deg,#162039,#0b111c);box-shadow:0 25px 75px #000a;text-align:center}.delivery-modal-head{display:flex;align-items:center;justify-content:space-between;text-align:left}.delivery-modal-head h2{margin:0;font-size:17px}.delivery-modal-head button{width:30px;height:30px;border:0;border-radius:9px;background:#263047;color:#dbe2f1;font-size:20px}.delivery-countdown{margin:20px auto 4px;font:750 48px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em;color:#f2f5ff}.delivery-modal-status{min-height:20px;color:#9ca9c3;font-size:13px}.delivery-modal-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.delivery-modal-prices span{padding:12px 8px;border:1px solid #29374c;border-radius:12px;color:#8d9ab0;font-size:11px}.delivery-modal-prices b{display:block;margin-top:6px;color:#e5eaf6;font:700 13px ui-monospace,Consolas,monospace}.delivery-profit{min-height:34px;margin-top:18px;font-size:18px;font-weight:750}.delivery-profit.profit{color:var(--up)}.delivery-profit.loss{color:var(--down)}.delivery-modal-done{width:100%;height:40px;margin-top:13px;border:0;border-radius:11px;background:#686fff;color:#fff;font-weight:700}
.avatar-picker-head button,.delivery-modal-head button{display:grid;place-items:center;padding:0;line-height:0}.avatar-picker-head button svg,.delivery-modal-head button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.spot-sell-label{display:flex;align-items:center;justify-content:space-between}.spot-sell-label .form-label{margin:0}.spot-sell-label button{padding:4px 8px;border:0;border-radius:7px;background:#242d46;color:#bbc2ff;font-size:12px;font-weight:700;cursor:pointer}.spot-hint{margin:10px 2px 12px;color:#8490a4;font-size:11px;line-height:1.5}
.spot-sell-input{padding-right:7px}.spot-sell-input input{min-width:0}.spot-sell-input button{flex:none;min-width:42px;height:30px;margin-left:8px;padding:0 10px;border:0;border-radius:8px;background:#252e46;color:#c6cbff;font-size:12px;font-weight:700;cursor:pointer}.spot-sell-input button:active{background:#3a4567}
.order-page .subpage-header{grid-template-columns:42px minmax(0,1fr) 88px}.order-page .subpage-header .brand{min-width:0;max-width:100%;gap:7px;letter-spacing:.05em}.order-page .subpage-header .brand-mark{flex:none;max-width:48px}.order-page .subpage-header .brand-mark img{max-width:48px;height:34px}.order-page .subpage-header .brand span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.order-page .page-title{margin-bottom:16px}.frozen-summary{margin-bottom:16px;padding:15px;border:1px solid #34405a;border-radius:17px;background:linear-gradient(145deg,#161e31,#0d1421)}.frozen-summary-head{display:flex;align-items:center;justify-content:space-between;color:#b3bdd0;font-size:13px}.frozen-summary-head strong{color:#f1f4ff;font:750 22px ui-monospace,Consolas,monospace}.frozen-summary-label{margin-top:13px;padding-top:12px;border-top:1px solid #2b3549;color:#8995aa;font-size:11px}.frozen-source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.frozen-source-row>div{min-width:0}.frozen-source-row b,.frozen-source-row small{display:block}.frozen-source-row b{font-size:12px;font-weight:650}.frozen-source-row small{margin-top:4px;overflow:hidden;text-overflow:ellipsis;color:#8793a9;font:10px ui-monospace,Consolas,monospace}.frozen-source-row strong{flex:none;font:700 13px ui-monospace,Consolas,monospace}.frozen-source-warning{color:#ffad67;font-size:11px}.order-page .record-list{gap:12px}.order-page .order-record-card{padding:16px;border-color:#29354b;border-radius:17px;background:linear-gradient(145deg,#111a2a,#0b121e)}.order-page .order-record-head{align-items:flex-start}.order-head-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}.order-head-title .order-kind{color:#a7b3c7;font-size:11px}.order-head-title b{font-size:13px}.order-head-title em{font-size:11px;font-style:normal;color:#aab4ff}.order-page .status-pill{flex:none;white-space:nowrap}.order-primary{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:15px 0 12px}.order-primary small{color:#8794aa;font-size:11px}.order-primary strong{font:750 20px ui-monospace,Consolas,monospace}.order-details,.order-record-meta{padding:11px 0;border-top:1px solid #263248}.order-detail-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:6px 0;color:#8f9cb1;font-size:11px}.order-detail-row b{max-width:65%;overflow-wrap:anywhere;color:#cbd4e4;text-align:right;font:600 11px ui-monospace,Consolas,monospace}.order-detail-row b.positive{color:var(--up)}.order-detail-row b.negative{color:var(--down)}.order-page .order-number-row{margin-top:3px}.order-page .order-number-row span{font-size:10px}.order-page .order-number-row button{font-size:11px}
.order-page .status-pill.win,.order-page .status-pill.filled,.order-page .status-pill.closed{background:#20d59b18;color:var(--up)}.order-page .status-pill.loss,.order-page .status-pill.liquidated{background:#ff5d7218;color:var(--down)}.order-page .status-pill.draw{background:#8895ff1c;color:#aab5ff}
.spot-holdings{margin-top:22px;padding-top:17px;border-top:1px solid #273348}.spot-holdings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.spot-holdings-head h2{margin:0;font-size:14px;font-weight:750}.spot-holdings-head span{color:#8290a7;font-size:11px}.spot-holdings-list{display:grid;gap:8px}.spot-holding-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 11px;border:1px solid #293549;border-radius:12px;background:#0b1421}.spot-holding-asset{display:flex;align-items:center;gap:10px;min-width:0}.spot-holding-asset b{font-size:13px}.spot-holding-coin{position:relative;display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#263657;color:#b6c6ec;font-size:12px;font-weight:800;overflow:hidden}.spot-holding-coin img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.spot-holding-row strong{min-width:0;overflow-wrap:anywhere;text-align:right;color:#edf2fc;font:700 13px ui-monospace,Consolas,monospace}.spot-holdings-empty{padding:15px;border:1px dashed #303d51;border-radius:12px;color:#8794aa;text-align:center;font-size:12px}
.withdraw-form-footer #addCardLink{color:#aeb8ff;text-decoration:underline;text-underline-offset:3px}.withdraw-form-footer #addCardLink:hover{color:#d1d6ff}#add-card{scroll-margin-top:16px}
.agreement label{display:inline;cursor:pointer}.agreement-link{color:#aaa3ff;font-weight:700;text-decoration:underline;text-decoration-color:#aaa3ff80;text-underline-offset:3px}.agreement-link:hover,.agreement-link:focus-visible{color:#d4d0ff;text-decoration-color:currentColor}.agreement input:focus-visible,.agreement-link:focus-visible{outline:2px solid #aaa3ff;outline-offset:3px}
.lang-menu{position:relative;z-index:5;flex:none;color:#eef2fa;font-size:12px}.lang-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:96px;height:38px;padding:0 11px;border:1px solid #ffffff2b;border-radius:11px;background:#080c13d9;backdrop-filter:blur(12px);cursor:pointer;list-style:none}.lang-menu summary::-webkit-details-marker{display:none}.lang-menu summary:after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}.lang-menu[open] summary:after{transform:rotate(225deg) translate(-2px,-1px)}.lang-menu nav{position:absolute;top:44px;right:0;display:grid;min-width:120px;padding:5px;border:1px solid #344154;border-radius:11px;background:#111927;box-shadow:0 16px 32px #0009}.lang-menu nav a{display:block;padding:9px 10px;border-radius:7px;color:#e5ecf8;white-space:nowrap}.lang-menu nav a:hover,.lang-menu nav a:focus-visible,.lang-menu nav a[aria-current]{background:#5864aa45;color:white}.lang-menu summary:focus-visible{outline:2px solid #aaa3ff;outline-offset:2px}
.lang-menu nav{max-height:min(65vh,440px);overflow-y:auto}.subpage-header .lang-menu{justify-self:end}.subpage-header .lang-menu summary{min-width:88px}.app-header .lang-menu nav{right:0}
.lang-menu summary{width:108px;min-width:0;gap:8px}.lang-menu summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lang-menu summary:after{flex:none}.subpage-header .lang-menu summary{width:88px}.lang-menu nav{min-width:160px}

/* Arabic pages use RTL layout; identifiers, market data and form numbers keep LTR order. */
html[dir="rtl"] .lang-menu nav,
html[dir="rtl"] .app-header .lang-menu nav{right:auto;left:0}
html[dir="rtl"] .brand span:last-child{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .back-button svg,
html[dir="rtl"] .menu-row:not(.language-row) span:last-child{transform:scaleX(-1)}
html[dir="rtl"] .back-button:hover{transform:translateX(1px)}
html[dir="rtl"] .promotion-id,
html[dir="rtl"] .promotion-label,
html[dir="rtl"] .trade-record-button{text-align:right}
html[dir="rtl"] .market-head span:nth-child(n+2){text-align:left!important}
html[dir="rtl"] .market-row .price,
html[dir="rtl"] .market-row .change,
html[dir="rtl"] .order-detail-row b,
html[dir="rtl"] .spot-holding-row strong{text-align:left}
html[dir="rtl"] input[autocomplete="username"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[inputmode="numeric"],
html[dir="rtl"] input[inputmode="decimal"],
html[dir="rtl"] .promotion-link input,
html[dir="rtl"] .balance-value,
html[dir="rtl"] .balance-meta b,
html[dir="rtl"] .profile-id span,
html[dir="rtl"] .profile-stat b:not(.status-text),
html[dir="rtl"] .trade-price,
html[dir="rtl"] .trade-change,
html[dir="rtl"] .trade-balance b,
html[dir="rtl"] .market-row .pair,
html[dir="rtl"] .market-row .price,
html[dir="rtl"] .market-row .change,
html[dir="rtl"] .delivery-countdown,
html[dir="rtl"] .delivery-modal-prices b,
html[dir="rtl"] .order-number-row span,
html[dir="rtl"] .order-primary strong,
html[dir="rtl"] .order-detail-row b,
html[dir="rtl"] .spot-holding-row strong{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] input[autocomplete="username"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[inputmode="numeric"],
html[dir="rtl"] input[inputmode="decimal"],
html[dir="rtl"] .promotion-link input{text-align:left}
html[dir="rtl"] .market-row .pair{direction:rtl}
html[dir="rtl"] .market-row .pair>span:last-child{direction:ltr;unicode-bidi:isolate;text-align:left}
html[dir="rtl"] #tradePair,
html[dir="rtl"] #profileAccount,
html[dir="rtl"] #profileId,
html[dir="rtl"] .spot-holding-asset b{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .order-number-row{direction:rtl}
html[dir="rtl"] .order-detail-row b[dir="rtl"]{direction:rtl}
html[dir="rtl"] .order-head-title b,
html[dir="rtl"] .frozen-summary-head strong,
html[dir="rtl"] .frozen-source-row strong,
html[dir="rtl"] .frozen-source-row small{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .status-text:before{margin-right:0;margin-left:5px}
html[dir="rtl"] .password-toggle{margin-right:0;margin-left:-8px}
html[dir="rtl"] .inline-action-link:after{margin-left:0;margin-right:6px;transform:scaleX(-1)}
html[dir="rtl"] .legal-back svg{transform:scaleX(-1)}
html[dir="rtl"] .legal-header .brand{margin-right:0;margin-left:auto}
.lang-menu{direction:ltr}
.lang-menu nav a,
html[dir="rtl"] .lang-menu nav a{direction:ltr;text-align:left}
.lang-menu nav a bdi{display:inline-block}
.legal-page .market-background{opacity:.35}.legal-page .market-background-shade{background:linear-gradient(180deg,#05080fdb,#05080ff8 380px)}.legal-shell{position:relative;z-index:1;width:min(100%,760px);min-height:100svh;margin:auto;padding:22px 22px 64px}.legal-header{display:flex;align-items:center;gap:14px;min-height:52px}.legal-header .brand{display:flex;align-items:center;gap:8px;min-width:0;margin-right:auto;font-size:17px;font-weight:800;letter-spacing:.08em}.legal-header .brand span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legal-header .brand-mark img{max-width:52px;height:34px}.legal-header .lang-pill{max-width:112px}.legal-back{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #ffffff25;border-radius:11px;background:#121a28;color:#d8e2f1}.legal-back:hover,.legal-back:focus-visible{border-color:#aaa3ff;color:white}.legal-back svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.legal-heading{padding:42px 0 22px}.legal-eyebrow{margin:0 0 9px!important;color:#aaa3ff!important;font-size:12px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.legal-heading h1{margin:0 0 12px;font-size:clamp(26px,5vw,35px);line-height:1.25}.legal-heading p{max-width:680px;margin:0;color:#b7c1d1;font-size:14px;line-height:1.8}.legal-heading .legal-updated{margin-top:12px;color:#8290a5;font-size:12px}.legal-nav{position:sticky;top:0;z-index:2;display:flex;gap:8px;padding:12px 0;background:#05080fe8;backdrop-filter:blur(12px)}.legal-nav a{padding:9px 14px;border:1px solid #344154;border-radius:10px;color:#dfe7f6;font-size:13px;font-weight:700}.legal-nav a:hover,.legal-nav a:focus-visible{border-color:#aaa3ff;color:#c5c0ff}.legal-document{scroll-margin-top:74px;margin-top:18px;padding:26px 28px;border:1px solid #ffffff1c;border-radius:20px;background:#0d1420ed;box-shadow:0 12px 38px #0004}.legal-document h2{margin:0 0 20px;font-size:22px}.legal-section{padding:18px 0;border-top:1px solid #ffffff13}.legal-section h3{margin:0 0 10px;font-size:16px;color:#ecf1fb}.legal-section p{margin:0 0 10px;color:#acb9ca;font-size:14px;line-height:1.85}.legal-section p:last-child{margin-bottom:0}.legal-return{display:block;width:max-content;margin:26px auto 0;padding:12px 18px;border:1px solid #aaa3ff70;border-radius:12px;color:#c7c3ff;font-size:14px;font-weight:700}.legal-return:hover,.legal-return:focus-visible{background:#aaa3ff18}@media(max-width:520px){.legal-shell{padding:16px 15px 48px}.legal-header{gap:8px}.legal-header .brand{font-size:15px}.legal-header .brand-mark img{max-width:42px}.legal-heading{padding-top:30px}.legal-document{padding:20px 17px;border-radius:16px}.legal-nav a{flex:1;text-align:center;padding:9px 6px;font-size:12px}}
