
:root{
  --bg:#071225;
  --bg2:#0a172b;
  --panel:#13243a;
  --panel2:#172a43;
  --panel3:#1b2f49;
  --line:#243954;
  --text:#f3f7fb;
  --muted:#9eacbf;
  --cyan:#2ce0d0;
  --cyan2:#11c8bd;
  --blue:#4a9cff;
  --green:#11c88d;
  --red:#ff4d57;
  --gold:#f6b73c;
  --shadow:0 12px 35px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Arial,sans-serif;background:#e8edf4;color:var(--text)}
button,input,select{font:inherit}
button{cursor:pointer}
body{display:flex;justify-content:center}
#app{width:100%;max-width:430px;min-height:100vh;background:var(--bg);box-shadow:0 0 0 1px #d6dde7,0 18px 60px rgba(0,0,0,.2);overflow:hidden}
.app-shell{min-height:100vh;display:flex;flex-direction:column;background:
 radial-gradient(circle at 10% 15%,rgba(19,102,156,.14),transparent 28%),
 radial-gradient(circle at 85% 30%,rgba(0,220,200,.07),transparent 22%),
 var(--bg)}
.topbar{height:64px;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;background:#0d1b30;border-bottom:1px solid #1b2c43;position:sticky;top:0;z-index:20}
.brand{font-size:18px;font-weight:800;letter-spacing:.5px}
.user-chip{display:flex;align-items:center;gap:10px;min-width:0}
.avatar{width:34px;height:34px;border-radius:50%;background:#c0a0ee;color:white;display:grid;place-items:center;font-weight:800}
.user-email{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
.icon-btn{border:0;background:transparent;color:#fff;font-size:23px;padding:5px 7px}
.page{padding:10px 14px 94px;flex:1}
.hidden{display:none!important}
.hero{border-radius:10px;overflow:hidden;min-height:160px;position:relative;background:
 linear-gradient(120deg,#06436a,#0d2e5a 50%,#11264d);
 border:1px solid #1f4666;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center}
.hero:before{content:"";position:absolute;inset:0;background:
 linear-gradient(90deg,rgba(22,213,221,.09) 1px,transparent 1px),
 linear-gradient(rgba(22,213,221,.06) 1px,transparent 1px);background-size:22px 22px;opacity:.7}
.hero-copy{position:relative;text-align:center;padding:10px 8px 8px;border:0;background:transparent;box-shadow:none}
.hero-copy h1{margin:0;font-size:18px;color:#ffc95b;text-shadow:0 2px 8px #000}
.hero-copy p{margin:0;color:#fff;font-weight:600}
.notice{margin:12px 0;padding:12px 14px;border:1px solid #315070;background:#11243a;border-radius:10px;color:#d9e3ee;font-size:12px;line-height:1.55}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.quick-card{border:1px solid #203b59;background:rgba(16,34,57,.72);border-radius:12px;padding:13px;display:flex;align-items:center;justify-content:space-between}
.quick-card strong{display:block;font-size:14px}.quick-card span{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.quick-icon{width:38px;height:38px;border-radius:10px;background:#34d6cf;color:#06222b;display:grid;place-items:center;font-size:22px;font-weight:800}
.section-title{display:flex;align-items:center;gap:12px;color:var(--cyan);font-weight:800;font-size:16px;margin:18px 0 12px}
.section-title:before,.section-title:after{content:"";height:1px;background:#248d8d;flex:1}
.coin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.coin-card{background:#142941;border:1px solid #1b3855;border-radius:11px;padding:11px;min-width:0}
.coin-head{display:flex;gap:8px;align-items:center;font-weight:800}
.coin-logo{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f7931a;color:#fff;font-size:14px;font-weight:900;flex:none}
.coin-logo.eth{background:#2f3340}.coin-logo.green{background:#13caa0}.coin-logo.blue{background:#3568dc}.coin-logo.yellow{background:#eab41f}.coin-logo.gray{background:#e5e9ef;color:#334}.coin-logo.purple{background:#8b6cf1}
.coin-sub{font-size:10px;color:var(--muted);margin-top:5px}
.price{font-size:13px;font-weight:800;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.change{font-size:11px;margin-top:3px}.up{color:#18d9a0}.down{color:#ff5862}
.list{display:flex;flex-direction:column;gap:8px}
.asset-row{background:#151f33;border:1px solid #1f3047;border-radius:10px;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.asset-left{display:flex;align-items:center;gap:10px;min-width:0}.asset-name{font-weight:800}.asset-unit{font-size:10px;color:var(--muted);margin-top:2px}
.asset-price{font-size:12px;font-weight:800;white-space:nowrap}
.change-pill{min-width:62px;text-align:center;border-radius:6px;padding:6px 7px;background:var(--red);color:#fff;font-size:11px;font-weight:800}
.searchbar{display:flex;gap:8px;margin:8px 0 14px}.searchbar input,.searchbar select,.field input,.field select{flex:1;min-width:0;background:#111e31;border:1px solid #42526a;color:#fff;border-radius:9px;padding:11px 12px;outline:none}.searchbar button,.primary-btn{border:0;border-radius:9px;background:var(--cyan);color:#06252a;font-weight:800;padding:0 15px}
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.tab-btn{border:1px solid #28415c;background:#14243a;color:#cbd6e4;padding:10px;border-radius:9px}.tab-btn.active{background:#153d45;color:#41eee0;border-color:#26bdb4}
.record{background:#13243a;border:1px solid #223b56;border-radius:11px;padding:12px}.record strong{font-size:13px}.record small{display:block;color:var(--muted);margin-top:4px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;height:78px;background:#081426;border-top:1px solid #1f3045;display:grid;grid-template-columns:repeat(5,1fr);z-index:30;padding-bottom:env(safe-area-inset-bottom)}
.nav-btn{border:0;background:transparent;color:#7f8ea2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px}.nav-btn .nav-icon{font-size:19px;line-height:1}.nav-btn.active{color:var(--cyan)}
.page-head{height:48px;display:flex;align-items:center;gap:8px;margin:0 -14px 8px;padding:0 14px;background:#0d1b30;border-bottom:1px solid #1b2c43}.page-head h2{font-size:17px;margin:0;flex:1;text-align:center}.back-btn{border:0;background:transparent;color:#fff;font-size:23px}.head-spacer{width:28px}
.trade-list{display:flex;flex-direction:column;gap:8px}.trade-row{background:#161f32;border:1px solid #202f45;border-radius:10px;padding:11px;display:flex;align-items:center;justify-content:space-between}.trade-row .mid{font-weight:800;font-size:12px}.trade-row .right{background:var(--red);border-radius:6px;padding:6px 8px;font-size:11px;font-weight:800;min-width:64px;text-align:center}.trade-row:hover{border-color:#2b9caa}
.trade-detail .quote{background:#16263b;border:1px solid #263e59;border-radius:11px;padding:13px}.quote-top{display:flex;justify-content:space-between;align-items:center;font-weight:800}.quote-pair{font-size:17px}.live-dot{display:inline-block;width:7px;height:7px;background:#20d3a1;border-radius:50%;margin-right:6px;box-shadow:0 0 8px #20d3a1}.quote-change{margin-top:8px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;color:var(--muted);font-size:11px}.stats b{display:block;color:#dbe6f1;margin-top:3px}
.chart-card{margin-top:10px;background:#0e1929;border:1px solid #1c3048;border-radius:11px;padding:10px}.intervals{display:flex;justify-content:space-around;margin-bottom:5px}.intervals button{background:none;border:0;color:#9aa8ba;padding:7px 10px}.intervals button.active{color:#29dce0;border-bottom:2px solid #29dce0}
canvas{width:100%;height:300px;display:block;background:#0c1727;border-radius:6px}
.order-panel{margin-top:10px;background:#16263b;border-radius:11px;padding:12px}.order-panel h3{margin:0 0 10px;font-size:14px}.side-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.buy-btn,.sell-btn{border:0;border-radius:9px;color:#fff;font-weight:900;padding:12px}.buy-btn{background:#10be8c}.sell-btn{background:#f0444e}.order-result{margin-top:10px;color:#a9b7c8;font-size:11px;line-height:1.6}
.asset-summary{background:#14263b;border:1px solid #203c58;border-radius:11px;padding:16px;margin-bottom:16px}.summary-label{color:#b8c5d4;font-size:12px}.total{font-size:28px;font-weight:900;color:#2bd8ce;margin:7px 0 15px}.available{background:#182d45;border-radius:10px;padding:13px}.available b{display:block;color:#28ddd2;font-size:16px;margin-top:5px}
.account-title{border-left:4px solid var(--cyan);padding-left:10px;margin:18px 0 11px;font-size:16px}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.account-card{border:1px solid #223b57;background:#162941;border-radius:11px;padding:14px 7px;text-align:center;min-height:108px}.account-card .aicon{width:40px;height:40px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#194d82;color:#5eb4ff;font-size:18px}.account-card span{font-size:11px}
.settings{background:#16273c;border:1px solid #213b56;border-radius:12px;overflow:hidden}.setting-row{border:0;border-bottom:1px solid #263b53;background:transparent;color:#f2f6fa;width:100%;padding:14px;display:flex;align-items:center;gap:11px;text-align:left}.setting-row:last-child{border-bottom:0}.setting-icon{width:24px;text-align:center}.setting-row .label{flex:1}.setting-row .value{color:#9aa8ba;font-size:12px}.setting-row .arrow{color:var(--cyan);font-size:22px}.setting-row.danger{color:#ff535d}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:60;display:flex;align-items:flex-end;justify-content:center}.modal{width:100%;max-width:430px;max-height:92vh;overflow:auto;background:#0d1a2c;border:1px solid #27405b;border-radius:18px 18px 0 0;padding:16px;box-shadow:0 -15px 60px rgba(0,0,0,.45)}.modal-head{display:flex;align-items:center;gap:10px}.modal-head h3{margin:0;flex:1;font-size:16px}.close-btn{border:0;background:#1a2b42;color:#fff;border-radius:8px;width:34px;height:34px}.deposit-note{background:#3a2023;border:1px solid #7b343a;color:#ffd6d8;border-radius:9px;padding:11px;font-size:11px;line-height:1.55;margin:12px 0}.method-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.method{background:#162940;border:1px solid #29435e;border-radius:10px;padding:14px 10px;color:#fff;text-align:left}.method strong{display:block}.method small{color:#9eacbf}.method.active{border-color:#28d9ce;background:#14333b}.address{margin-top:12px;background:#111f32;border:1px solid #2b4059;border-radius:10px;padding:12px}.address code{display:block;word-break:break-all;color:#dfe8f1;font-size:11px;line-height:1.55}.copy-btn{margin-top:9px;border:0;border-radius:8px;background:#2a4560;color:#fff;padding:8px 10px}.qr-wrap{display:grid;place-items:center;padding:15px}.form-card{background:#13253a;border:1px solid #213c57;border-radius:11px;padding:13px}.field{margin:10px 0}.field label{display:block;color:#b5c1cf;font-size:11px;margin-bottom:6px}.field-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.fee-line,.arrival-line{display:flex;justify-content:space-between;color:#aeb9c8;font-size:11px;margin:8px 0}.fee-line b,.arrival-line b{color:#fff}.withdraw-balance{color:#28d7cc;font-size:12px}.all-btn{border:0;background:transparent;color:#28d7cc;padding:0}.warning-list{margin-top:14px;background:#111f31;border-radius:10px;padding:12px;color:#aeb9c8;font-size:11px;line-height:1.8}.toast{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:92px;background:#132a3d;border:1px solid #2b6670;color:#fff;padding:10px 14px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;max-width:90%;text-align:center}
.lang-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.lang-btn{border:1px solid #29415b;background:#152940;color:#fff;border-radius:9px;padding:11px;text-align:left}.lang-btn.active{border-color:var(--cyan);color:var(--cyan)}
.kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.kpi{background:#152940;border:1px solid #223b56;border-radius:10px;padding:12px}.kpi small{color:#9eacbf}.kpi b{display:block;margin-top:5px}
.support-card{background:#152940;border:1px solid #243d59;border-radius:11px;padding:14px;line-height:1.7;color:#c7d2df;font-size:12px}
.empty{padding:30px 10px;text-align:center;color:#718096}
@media (min-width:700px){#app{max-width:430px;margin:20px 0;min-height:calc(100vh - 40px);border-radius:16px}.bottom-nav{bottom:20px;border-radius:0 0 16px 16px}}


/* Screenshot-like trade order panel */
.trade-bottom-bar{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(430px,100%);display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 8px calc(10px + env(safe-area-inset-bottom));background:#090b10;z-index:40}
.trade-bottom-bar button{border:0;border-radius:7px;height:43px;color:#fff;font-weight:800;font-size:15px}.trade-bottom-buy{background:#08bd82}.trade-bottom-sell{background:#f33f47}
.order-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.order-modal-head b{font-size:18px;margin-right:8px}
.buy-tag{display:inline-flex;padding:3px 8px;border-radius:5px;background:#ef3036;color:#fff;font-size:11px;font-weight:800}
.period-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.period-grid button,.quick-amounts button{border:0;border-radius:8px;background:#344157;color:#fff;height:42px;font-weight:700}.period-grid button.active{border:1px solid #22d3c5;background:#26394e}
.order-modal-row{display:flex;justify-content:space-between;color:#b8c1ce;font-size:12px;margin:25px 0 10px}.amount-control{display:grid;grid-template-columns:52px 1fr 52px;gap:8px}.amount-control button,.amount-control input{border:0;border-radius:7px;background:#253249;color:#fff;height:42px;text-align:center}.amount-control input{font-weight:800;outline:none}
.quick-amounts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.quick-amounts button{height:38px}.order-price-line{display:flex;justify-content:space-between;color:#aeb8c8;font-size:12px;padding:16px 0}.confirm-order{width:100%;height:43px;border:0;border-radius:7px;background:#ef3036;color:#fff;font-weight:800;font-size:15px}.demo-order-note{text-align:center;color:#7e899a;font-size:10px;margin-top:10px}
.order-list-card{background:#111923;border-radius:12px;padding:12px;margin-top:12px}.order-list-card h3{margin:0 0 10px;font-size:15px}.order-preview{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;background:#1d2939;border-radius:9px;padding:10px;margin-top:7px}.order-preview small,.order-preview b{display:block}.order-preview small{color:#8995a7;font-size:10px}.order-preview b{font-size:11px;margin-top:4px}.order-preview>div:last-child{text-align:right}

/* KYC uploader */
.kyc-notice,.kyc-security{background:#16253a;border:1px solid #263b55;border-radius:9px;padding:10px;color:#aeb9c8;font-size:11px;line-height:1.6}.kyc-form{margin-top:12px}.kyc-form>label,.kyc-file>label:first-child{display:block;color:#c3ccda;font-size:12px;margin:10px 0}.kyc-form em{color:#ff4d57;font-style:normal}.kyc-form input,.kyc-form select{width:100%;margin-top:6px;height:42px;border:1px solid #30445d;background:#101b2b;color:#fff;border-radius:7px;padding:0 11px;outline:none}.kyc-file{margin-top:12px}.file-picker{display:grid!important;grid-template-columns:auto 1fr;gap:8px;align-items:center;background:#101b2b;border:1px dashed #3b526d;border-radius:8px;padding:10px;color:#d7dfeb}.file-picker input{display:none}.file-name{grid-column:1/-1;color:#6ed9cf;font-size:10px;overflow:hidden;text-overflow:ellipsis}.kyc-submit{width:100%;height:43px;margin:14px 0}
@media(max-width:430px){.trade-bottom-bar{width:100%}}


/* v2 responsive interaction improvements */
button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.auth-area{display:flex;align-items:center;gap:9px;min-width:0}.auth-buttons{display:flex;align-items:center;gap:5px;color:#77869b;font-size:12px}.auth-btn{border:0;background:transparent;color:#fff;padding:5px 2px;font-size:12px;font-weight:700}.auth-btn:hover,.auth-btn:active{color:var(--cyan)}
.auth-buttons span{color:#58667a}
.account-editor{margin-top:12px;background:#101d2f;border-radius:10px;padding:12px}.account-editor label{display:block;color:#b9c5d4;font-size:11px}.account-editor input,.security-card input,.auth-form input{width:100%;height:42px;margin-top:6px;margin-bottom:9px;background:#0d1929;color:#fff;border:1px solid #30445e;border-radius:8px;padding:0 10px;outline:none}.account-editor .primary-btn{width:100%;height:40px}
.bound-list{margin-top:12px}.bound-row{display:grid;grid-template-columns:85px 1fr 28px;gap:8px;align-items:center;background:#16273b;border:1px solid #263d56;border-radius:8px;padding:9px;margin-top:7px;font-size:11px}.bound-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fadc0}.bound-row button{border:0;background:#2a1c24;color:#ff6470;border-radius:6px;height:28px}
.records-list{margin-top:12px}.record-card{display:flex;justify-content:space-between;align-items:center;background:#16273b;border:1px solid #263d56;border-radius:9px;padding:11px;margin-top:8px}.record-card small{display:block;color:#8795a8;font-size:10px;margin-top:4px}.record-right{text-align:right}.record-right b{color:#38d9c9;font-size:11px}
.deposit-proof{margin-top:10px;background:#111f31;border-radius:10px;padding:12px}.deposit-proof>label:first-child{display:block;color:#b8c4d2;font-size:11px;margin-bottom:8px}.square-upload{width:110px;height:110px;border:1px dashed #3b5a77;border-radius:8px;display:grid;place-items:center;background:#0d1929;color:#50d9ce;font-size:28px;cursor:pointer}.square-upload input{display:none}.deposit-proof .file-name{margin-top:7px}
.secondary-btn{width:100%;height:40px;border:1px solid #35506d;border-radius:8px;background:#1b3048;color:#d8e2ec;margin:8px 0}
.security-card{background:#16273b;border:1px solid #263d56;border-radius:10px;padding:12px;margin-top:10px}.security-card h4{margin:0 0 7px;font-size:13px}.security-card .primary-btn{width:100%;height:40px}
.auth-form{margin-top:12px}.auth-form .primary-btn{width:100%;height:42px}
.loan-note{background:#16273b;border:1px solid #263d56;border-radius:9px;padding:10px;color:#aeb9c8;font-size:11px;line-height:1.6;margin-top:10px}.loan-products{margin-top:10px}.loan-product{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;background:#16273b;border:1px solid #263d56;border-radius:10px;padding:10px;margin-top:8px}.loan-badge{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#194d82;color:#63b9ff;font-weight:800}.loan-main b{display:block;font-size:12px}.loan-main small{display:block;color:#94a2b4;font-size:9px;line-height:1.5;margin-top:4px}.loan-product button{border:0;background:#10b989;color:#fff;border-radius:7px;padding:7px 8px;font-size:10px;font-weight:800}
.modal{will-change:transform}.modal-backdrop{backdrop-filter:blur(2px)}

.qr-fallback{width:170px;height:170px;background:#fff;color:#071225;display:grid;place-items:center;font-size:28px;font-weight:900;border-radius:4px;text-align:center}.qr-fallback small{font-size:9px;font-weight:600}

.loss-negative{color:#ff5964!important}
.order-rule-note{color:#d9e2ee}


/* V8 - screenshot-style order / position history */
.position-page{padding-top:0}
.position-search-row{display:grid;grid-template-columns:1fr 1.05fr auto;gap:8px;align-items:center;margin:0 -2px 10px}
.position-search-box,.position-date-box{height:40px;background:#111d30;border:1px solid #22344c;border-radius:7px;display:flex;align-items:center;min-width:0}
.position-search-box .search-icon,.position-date-box span{color:#c8d3df;padding:0 6px;font-size:15px}
.position-search-box input,.position-date-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f2f6fb;font-size:12px}
.position-date-box input::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.7}
.position-search-btn{height:40px;border:0;border-radius:7px;background:#42cfc7;color:#082b31;font-weight:800;padding:0 12px}
.position-tabs{display:grid;grid-template-columns:1fr 1fr;margin:0 -14px 12px;background:#0a1628;border-top:1px solid #13263d;border-bottom:1px solid #13263d}
.position-tab{height:50px;border:0;background:transparent;color:#9aa8ba;font-size:13px;position:relative}
.position-tab.active{color:#25ddd1;font-weight:800}
.position-tab.active:after{content:"";position:absolute;left:30%;right:30%;bottom:7px;height:2px;background:#25ddd1;border-radius:3px}
.position-records{display:flex;flex-direction:column;gap:10px}
.position-card{background:#18263a;border:1px solid #1d324b;border-radius:11px;padding:13px 14px 12px;box-shadow:0 5px 18px rgba(0,0,0,.12)}
.position-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.position-coin{display:flex;align-items:center;gap:9px}
.position-coin .coin-logo{width:34px;height:34px;font-size:16px}
.position-coin b{display:block;font-size:15px}.position-coin span{display:block;color:#c2ccd8;font-size:10px;margin-top:2px}
.position-live,.position-flat{display:flex;align-items:center;gap:6px;border-radius:18px;padding:6px 8px;font-size:10px}
.position-live{background:#7a5a12;color:#ffc44b}.position-live span{font-variant-numeric:tabular-nums}.position-live b{font-weight:700}
.position-flat{background:#0f654f;color:#27d5af}
.position-order-id{color:#a9b5c4;font-size:11px;margin:7px 0 10px}
.position-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:11px}
.position-grid small{display:block;color:#a7b3c1;font-size:10px;margin-bottom:3px}
.position-grid strong{display:block;color:#f4f7fb;font-size:11px;word-break:break-word}
.side-buy{color:#ff4c59!important}.side-sell{color:#26d7bf!important}
.position-profit-row{display:flex;justify-content:space-between;align-items:flex-end;border-top:1px solid #26384e;margin-top:12px;padding-top:9px}
.position-profit-row>span{color:#b7c1ce;font-size:11px}
.position-countdown{display:flex;align-items:center;gap:8px}.position-countdown span{color:#f4f7fb;font-size:11px;font-variant-numeric:tabular-nums}.position-countdown b{background:#f3a000;color:#fff;border-radius:18px;padding:6px 9px;font-size:10px}
.history-profit,.history-loss{display:flex;align-items:center;gap:7px}
.history-profit span{color:#25d6c5;font-size:14px;font-weight:800}.history-profit b{background:#48cfc5;color:#fff;border-radius:16px;padding:6px 9px;font-size:10px}
.history-loss span{color:#ff5661;font-size:14px;font-weight:800}.history-loss b{background:#e84650;color:#fff;border-radius:16px;padding:6px 9px;font-size:10px}
.position-empty{padding:36px 10px;text-align:center;color:#738198;background:#121f32;border-radius:10px}

/* V8 detail order cards */
.detail-order-card{background:#1c2839;border:1px solid #647084;border-radius:10px;padding:12px 10px;margin-top:9px}
.detail-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.detail-order-head small,.detail-order-grid small{display:block;color:#9ba8b8;font-size:10px;margin-bottom:4px}
.detail-order-head b{display:block;color:#d8e0e9;font-size:11px;letter-spacing:.2px}
.detail-holding,.detail-flat{display:flex;align-items:center;gap:5px;border-radius:18px;padding:5px 8px;font-size:9px}
.detail-holding{color:#f6b52f;background:#654d12}.detail-holding span{font-variant-numeric:tabular-nums}.detail-flat{color:#1ed5ad;background:#0c5d4c}
.detail-order-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-top:11px}
.detail-order-grid strong{font-size:11px;color:#f4f7fb}
.detail-profit-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #334154;margin-top:11px;padding-top:8px}
.detail-profit-row>span:first-child{color:#aeb9c7;font-size:11px}
.detail-pending{color:#8c99a9!important}.detail-profit-win{color:#25d5c1!important;font-weight:800}.detail-profit-loss{color:#ff5661!important;font-weight:800}
.order-list-card{background:#121a25;border-radius:10px;padding:10px;margin-top:10px}.order-list-card h3{color:#f4f7fb;font-size:14px;margin:2px 2px 9px}
@media(max-width:380px){
  .position-search-row{grid-template-columns:1fr 1fr auto}
  .position-search-btn{padding:0 9px}
}

/* V11 authentication pages */
.auth-page{min-height:100vh;background:#071426;color:#eef4fb;padding:0 18px 28px;box-sizing:border-box}
.auth-top{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b2d43}
.auth-back,.auth-language{border:1px solid #29425f;background:#13243a;color:#eef4fb;border-radius:10px;height:40px;padding:0 14px;font-weight:700}
.auth-back{font-size:24px;padding:0 12px}
.auth-language{font-size:12px;color:#35d9cc}
.auth-logo{display:flex;align-items:center;gap:10px;justify-content:center;padding:28px 0 20px;font-size:20px}
.auth-logo .avatar{width:48px;height:48px;font-size:20px}
.auth-panel{max-width:430px;margin:0 auto;background:#13243a;border:1px solid #25415d;border-radius:16px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.28)}
.auth-panel h1{text-align:center;margin:0 0 24px;font-size:22px}
.auth-panel form{display:flex;flex-direction:column;gap:9px}
.auth-panel label{color:#c4d0de;font-size:13px;margin-top:5px}
.auth-panel input{width:100%;height:48px;box-sizing:border-box;border:1px solid #35506d;background:#0d1b2d;color:#fff;border-radius:9px;padding:0 14px;outline:none;font-size:14px}
.auth-panel input:focus{border-color:#2bd6ca;box-shadow:0 0 0 2px rgba(43,214,202,.12)}
.auth-primary{height:48px;border:0;border-radius:9px;background:#2bd6ca;color:#062126;font-size:16px;font-weight:900;margin-top:12px;cursor:pointer}
.auth-bottom{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.auth-bottom button{height:44px;border:1px solid #31506d;background:#172b43;color:#dbe5ef;border-radius:9px;cursor:pointer;font-weight:700}
.auth-bottom button:hover,.auth-primary:hover,.auth-language:hover,.auth-back:hover{filter:brightness(1.08)}
.auth-hint{text-align:center;color:#8191a5;font-size:11px;line-height:1.6;margin:18px 0 0}
@media(max-width:420px){.auth-page{padding-left:14px;padding-right:14px}.auth-panel{padding:20px}.auth-bottom{grid-template-columns:1fr}}

/* =========================================================
   全屏 + 手机/电脑自适应优化
   ========================================================= */

/* 基础重置 */
html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* 所有元素统一盒模型 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 图片、视频不要撑破屏幕 */
img,
video,
canvas,
svg {
    max-width: 100%;
}

/* 主程序区域 */
#app {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

/* 页面常见容器不要固定死宽度 */
.auth-page,
.account-page,
.position-page,
.detail-page,
.order-page,
.history-page {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

/* =========================================================
   手机端
   ========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    #app {
        width: 100%;
        min-width: 0;
    }

    /* 顶部区域 */
    .auth-top {
        width: 100%;
        height: auto;
        min-height: 56px;
        padding: 8px 12px;
    }

    /* 页面左右间距 */
    .auth-page {
        width: 100%;
        min-height: 100dvh;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* 登录/注册卡片 */
    .auth-panel {
        width: 100%;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    /* 输入框 */
    .auth-panel input,
    .account-editor input,
    .security-card input,
    .auth-form input {
        width: 100%;
        max-width: 100%;
    }

    /* 两列自动变成一列 */
    .auth-bottom {
        grid-template-columns: 1fr;
    }

    /* 两列数据区域 */
    .position-grid,
    .detail-order-grid {
        grid-template-columns: 1fr;
    }

    /* 搜索/日期区域 */
    .position-search-box,
    .position-date-box {
        width: 100%;
        min-width: 0;
    }

    /* 卡片 */
    .position-card,
    .detail-order-card,
    .security-card,
    .loan-note,
    .order-list-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* 长数字/订单号自动换行 */
    .position-grid strong,
    .detail-order-grid strong,
    .detail-order-head,
    .position-order-id {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* 底部按钮 */
    .auth-bottom button,
    .secondary-btn,
    .auth-primary {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   小手机
   ========================================================= */

@media (max-width: 480px) {

    .auth-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .auth-panel {
        padding: 16px;
        border-radius: 12px;
    }

    .auth-panel h1 {
        font-size: 20px;
    }

    .auth-panel input {
        height: 46px;
        font-size: 14px;
    }

    .auth-primary {
        height: 46px;
        font-size: 15px;
    }

    .auth-bottom {
        gap: 8px;
    }

    .position-grid,
    .detail-order-grid {
        gap: 10px;
    }
}

/* =========================================================
   超小屏手机
   ========================================================= */

@media (max-width: 380px) {

    .auth-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .auth-panel {
        padding: 14px;
    }

    .auth-panel input {
        height: 44px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .auth-primary {
        height: 44px;
    }
}

/* =========================================================
   iPhone / 安卓浏览器底部安全区域
   ========================================================= */

@supports (padding: env(safe-area-inset-bottom)) {

    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .auth-page {
        padding-bottom: max(
            18px,
            env(safe-area-inset-bottom)
        );
    }
}

/* =========================================================
   防止横向溢出
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

#app {
    overflow-x: hidden;
}

/* 表格/超长内容允许横向滚动，而不是撑破整个页面 */
table {
    max-width: 100%;
}

pre {
    max-width: 100%;
    overflow-x: auto;
}

/* 按钮和输入框在手机上不要因为内容撑大 */
button,
input,
select,
textarea {
    max-width: 100%;
    font-family: inherit;
}

/* =========================================================
   手机竖屏时，隐藏不必要的横向排列
   ========================================================= */

@media (max-width: 600px) {

    .detail-order-head {
        flex-wrap: wrap;
    }

    .detail-profit-row,
    .position-profit-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .position-countdown {
        flex-wrap: wrap;
    }

    .loan-products {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   手机端白边修复
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
}

body {
    box-sizing: border-box;
    position: relative;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

#app {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden !important;
}

@media screen and (max-width: 600px) {

    html,
    body,
    #app {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        position: relative;
    }

    /* 防止 100vw 比手机实际内容区宽，产生横向白边 */
    [style*="100vw"] {
        max-width: 100% !important;
    }

    /* 页面主要容器禁止固定最小宽度 */
    .app,
    .page,
    .container,
    .main,
    .content,
    .page-content {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* 图片、视频等不得撑破手机屏幕 */
    img,
    video,
    canvas,
    iframe {
        max-width: 100% !important;
    }

    /* 表格允许自己横向滚动，不撑破整个页面 */
    table {
        max-width: 100% !important;
    }
}

/* =========================================================
   iPhone / iOS 输入框防自动放大修复
   所有页面、所有输入框统一处理
   ========================================================= */

input,
textarea,
select,
button {
    -webkit-text-size-adjust: 100%;
}

/* iOS Safari：输入控件字体必须 >= 16px，否则点击会自动放大页面 */
input,
textarea,
select {
    font-size: 16px !important;
    line-height: 1.4;
}

/* 金额、数字、钱包地址、密码等输入框 */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

/* 防止动态生成的输入框被旧样式覆盖 */
input:focus,
textarea:focus,
select:focus {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

/* 手机端所有表单控件保持正常尺寸，不因获得焦点改变页面比例 */
@media screen and (max-width: 768px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
        max-width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
    }

    input[type="number"] {
        font-size: 16px !important;
    }
}

/* iOS Safari */
@supports (-webkit-touch-callout: none) {
    input,
    textarea,
    select {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }
}

/* ===== 手机端输入框防止点击后 Safari 自动放大 ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

input,
textarea,
select,
button {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 金额输入框 */
.deposit-amount,
.deposit-amount input,
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
  font-size: 16px !important;
  line-height: 1.4;
}

/* iPhone / 手机屏幕 */
@media screen and (max-width: 600px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .deposit-amount input {
    font-size: 16px !important;
    min-height: 44px;
  }
}

/* ===== 充值凭证图片预览 ===== */
.deposit-preview {
  width: 100%;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0c1727;
  border: 1px solid rgba(255,255,255,.10);
}

.deposit-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}


/* ===== 充值金额输入框 ===== */
.deposit-amount{
  margin-top:12px;
  width:100%;
}

.deposit-amount label{
  display:block;
  margin-bottom:7px;
  font-size:14px;
}

.deposit-amount input{
  display:block;
  width:100%;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  background:#20242c;
  color:#fff;
  outline:none;
  font-size:16px !important;
  line-height:22px;
  -webkit-text-size-adjust:100%;
  -webkit-appearance:none;
}

.deposit-amount input:focus{
  border-color:#2bd9cb;
}

/* ===== 充值凭证预览 ===== */
.deposit-proof{
  margin-top:14px;
}

.deposit-preview{
  width:100%;
  margin-top:12px;
  border-radius:12px;
  overflow:hidden;
  background:#0c1727;
  border:1px solid rgba(255,255,255,.10);
  box-sizing:border-box;
}

.deposit-preview img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
}

/* 上传成功后仍然保留上传区域 */
.square-upload.has-file{
  border-color:#2bd9cb;
}

/* ===== iPhone / Safari：禁止输入框导致页面自动放大 ===== */
input,
textarea,
select{
  font-size:16px !important;
  -webkit-text-size-adjust:100%;
}

@media screen and (max-width:600px){
  input,
  textarea,
  select{
    font-size:16px !important;
    -webkit-text-size-adjust:100%;
  }

  .deposit-amount input{
    font-size:16px !important;
  }
}

/* ===== 二维码移动端尺寸修复 ===== */
#qrcode{
  width:170px !important;
  height:170px !important;
  max-width:170px !important;
  max-height:170px !important;
  margin:14px auto 0 !important;
  overflow:hidden !important;
  display:block !important;
  box-sizing:border-box !important;
}

#qrcode img,
#qrcode canvas{
  display:block !important;
  width:170px !important;
  height:170px !important;
  max-width:170px !important;
  max-height:170px !important;
  margin:0 auto !important;
  object-fit:contain !important;
}

@media screen and (max-width:600px){
  #qrcode{
    width:170px !important;
    height:170px !important;
    max-width:170px !important;
    max-height:170px !important;
  }

  #qrcode img,
  #qrcode canvas{
    width:170px !important;
    height:170px !important;
    max-width:170px !important;
    max-height:170px !important;
  }
}


/* account profile / UID / credit / referral */
.profile-card{display:flex;align-items:center;gap:12px;margin:12px 14px 10px;padding:14px;border:1px solid #2a4564;border-radius:14px;background:#152b45;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.profile-avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#a98be6;color:#fff;font-weight:800;font-size:20px;flex:none}
.profile-main{min-width:0;flex:1}.profile-email{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-meta{display:flex;gap:12px;margin-top:5px;font-size:12px;color:#b9c9db}.profile-invite{text-align:right;min-width:78px}.profile-invite small{display:block;color:#9eb2c9;font-size:10px;margin-bottom:3px}.profile-invite strong{font-size:15px;letter-spacing:1px;color:#27d5d2}


.home-banner{position:relative;width:100%;max-width:760px;aspect-ratio:2/1;margin:14px 0;border-radius:18px;overflow:hidden;background:#0b172a;box-shadow:0 10px 30px rgba(0,0,0,.12);contain:layout paint;isolation:isolate}
.home-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.home-banner-track{position:absolute;inset:0}
.home-banner .banner-track{position:absolute;inset:0;width:100%;height:100%;transform:none!important}
.home-banner .banner-slide{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity .35s ease;will-change:opacity;backface-visibility:hidden}
.home-banner .banner-slide.active{opacity:1;visibility:visible;z-index:1}
.home-banner-overlay{position:absolute;left:18px;right:18px;bottom:18px;color:#fff;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.home-banner-dots{position:absolute;right:16px;bottom:16px;display:flex;gap:6px;z-index:3}
.home-banner-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55)}
.home-banner-dots i.active{background:#fff}
.home-banner-empty{width:100%;height:100%;min-height:0}
.home-banner:not(.is-ready){background:#0b172a}
.home-banner.is-ready{min-height:0}
@media(max-width:700px){.home-banner{max-width:none;width:100%;aspect-ratio:2/1}.home-banner img{height:100%}.home-banner-overlay{left:12px;right:12px;bottom:12px;font-size:14px}}
.loan-apply-row{display:flex;gap:8px;align-items:center;margin-top:10px}
.loan-apply-row input{flex:1;min-width:0}
.loan-history{margin-top:18px}
.loan-history-list,.repayment-history{display:grid;gap:8px;margin-top:8px}
.loan-history-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.5fr auto;gap:8px;align-items:center;padding:10px;border:1px solid rgba(127,146,170,.18);border-radius:10px}
@media(max-width:700px){.home-banner img{height:150px}.loan-history-row{grid-template-columns:1fr 1fr}.loan-history-row .mini{justify-self:start}}
.security-modal-body{padding:18px}.security-status{display:flex;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid #233a54;border-radius:10px;background:#0d1b2e;color:#d7e2ef;margin-bottom:14px}.security-status b{font-size:12px;padding:6px 9px;border-radius:999px;background:#142a43}.security-section{padding:14px;border:1px solid #20344c;border-radius:10px;margin-bottom:12px}.security-section h4{margin:0 0 12px}.security-section label{display:block;margin:10px 0;color:#aebbd0;font-size:12px}.security-section input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #29435f;border-radius:7px;background:#0a1525;color:#fff}.security-hint{font-size:12px;color:#91a4bb;margin-bottom:8px}.language-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px}.language-option{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid #d9e1ea;border-radius:8px;background:#fff;cursor:pointer}.language-option.active{border-color:#16c79a;background:#eefcf8;color:#087e65;font-weight:700}
.home-banner{position:relative;overflow:hidden}.home-banner>img{display:block;width:100%;height:100%;object-fit:cover}.home-banner-overlay{position:absolute;left:18px;bottom:14px;color:#fff;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.55)}.home-banner-dots{position:absolute;right:18px;bottom:14px;display:flex;gap:5px}.home-banner-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.45)}.home-banner-dots i.active{background:#fff}

.banner-track{display:flex;width:100%;height:100%;transition:transform .55s ease;will-change:transform}.banner-slide{position:relative;flex:0 0 100%;height:100%;overflow:hidden}.banner-slide img{display:block;width:100%;height:100%;object-fit:cover}.home-banner-dots{z-index:2;cursor:pointer}.home-banner-dots i{cursor:pointer}


/* v22 banner stabilization: fixed 760x380 (2:1), preload + opacity crossfade; no DOM-wide flashing */
.home-banner{width:100%;max-width:760px;aspect-ratio:2/1;min-height:0;height:auto!important;overflow:hidden}
.home-banner .banner-track{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;transform:none!important;transition:none!important}
.home-banner .banner-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;flex:none!important;opacity:0!important;visibility:hidden!important;transition:opacity .35s ease!important;transform:none!important}
.home-banner .banner-slide.active{opacity:1!important;visibility:visible!important}
.home-banner .banner-slide img{width:100%!important;height:100%!important;object-fit:cover!important}
.home-banner .home-banner-dots{z-index:5}
@media(max-width:700px){.home-banner{max-width:none;aspect-ratio:2/1}.home-banner .banner-slide img{height:100%!important}}


/* v22 home hero layout: 760x380 banner, title below without a border */
.hero{display:block;max-width:760px;margin:0 auto;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;overflow:visible!important}
.hero:before{display:none!important}
.hero .hero-copy{padding:8px 0 6px!important;text-align:center;border:0!important;background:transparent!important;box-shadow:none!important}
.hero .hero-copy h1{font-size:18px!important;line-height:1.35!important;margin:0!important}
@media(max-width:700px){.hero{max-width:100%}.hero .hero-copy{padding-top:7px!important}.hero .hero-copy h1{font-size:17px!important}}
\n/* v25: auth form is mounted outside #app so background page renders cannot replace it. */\n#authRoot:empty{display:none}\n#authRoot{min-height:100vh}\nbody[data-auth-page="login"] #app,\nbody[data-auth-page="register"] #app{display:none}\nbody[data-auth-page="login"] #authRoot,\nbody[data-auth-page="register"] #authRoot{display:block}\n

/* v27: authentication stays on the current page as a centered modal overlay.
   The home page remains mounted underneath; no separate/split registration page. */
#authRoot:empty{display:none}
body.auth-locked #app{display:block!important}
body.auth-locked #authRoot{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  padding:0!important;
  overflow:auto!important;
  background:rgba(3,10,22,.70)!important;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
body.auth-locked #authRoot .auth-page{
  min-height:100%!important;
  min-height:100dvh!important;
  width:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  background:transparent!important;
  padding:14px 14px 28px!important;
}
body.auth-locked #authRoot .auth-top{
  width:min(760px,100%);
  flex:0 0 auto;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
body.auth-locked #authRoot .auth-logo{
  width:100%;
  max-width:520px;
  padding:18px 0 14px!important;
  flex:0 0 auto;
}
body.auth-locked #authRoot .auth-panel{
  width:min(430px,100%);
  max-width:430px;
  margin:0 auto!important;
  box-sizing:border-box;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}
@media(max-width:700px){
  body.auth-locked #authRoot{background:rgba(3,10,22,.84)!important}
  body.auth-locked #authRoot .auth-page{padding:10px 10px 20px!important}
  body.auth-locked #authRoot .auth-panel{margin-top:0!important}
  body.auth-locked #authRoot .auth-logo{padding:14px 0 10px!important}
}


/* V29 standalone feature pages: all non-trading functions open as full pages. */
.standalone-feature-page{position:fixed;inset:0;z-index:1000;background:#071522;overflow:auto;padding-bottom:30px}.standalone-feature-inner{max-width:1100px;margin:0 auto;min-height:100%;padding:18px 16px 40px;color:#fff}.standalone-feature-page .modal-head{position:sticky;top:0;z-index:3;background:#071522;padding:14px 0;border-bottom:1px solid #17334b;margin-bottom:16px}.standalone-feature-page .modal-head h3{margin:0;font-size:20px}.standalone-feature-page .modal-head .close-btn{background:#12283a;color:#fff;border:0;border-radius:8px;width:38px;height:38px;font-size:24px;cursor:pointer}.standalone-feature-page .modal-body,.standalone-feature-page .security-modal-body,.standalone-feature-page .kyc-form{background:#0b1d2c;border:1px solid #17334b;border-radius:14px;padding:18px}.standalone-feature-page .modal-foot{padding:16px 0;display:flex;gap:10px;justify-content:flex-end}.inbox-btn{position:relative}.unread-dot{position:absolute;right:5px;top:5px;width:9px;height:9px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 2px #071522}.notification-list{display:grid;gap:10px}.notification-item{display:block;width:100%;text-align:left;background:#0b1d2c;color:#fff;border:1px solid #17334b;border-radius:12px;padding:14px}.notification-item.unread{border-color:#ff4d5a}.notification-item b{display:block;font-size:15px}.notification-item span{display:block;font-size:12px;opacity:.65;margin:4px 0 8px}.notification-item div{line-height:1.6}@media(max-width:700px){.standalone-feature-inner{padding:10px 12px 28px}.standalone-feature-page .modal-body,.standalone-feature-page .security-modal-body,.standalone-feature-page .kyc-form{padding:14px}}

/* ===== V29 KYC IMAGE PREVIEW ===== */

.kyc-image-preview{
  margin-top:12px;
  width:100%;
  min-height:150px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:10px;
  background:rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.kyc-image-preview img{
  display:block;
  width:100%;
  max-height:280px;
  object-fit:contain;
  border-radius:10px;
}

.kyc-preview-empty{
  padding:35px 15px;
  color:#8295aa;
  font-size:13px;
  text-align:center;
}

.kyc-image-preview.has-image{
  border-style:solid;
  padding:6px;
}

.kyc-file{
  margin-bottom:18px;
}

.kyc-file .file-name{
  margin-left:8px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* ===== V29 Notification List + Detail ===== */

.notification-item{
  width:100%;
  text-align:left;
  padding:15px 16px;
}

.notification-item-head{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:7px;
}

.notification-item-head b{
  flex:1;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.notification-excerpt{
  font-size:13px;
  line-height:1.55;
  opacity:.72;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  margin-bottom:7px;
}

.notification-time{
  font-size:12px;
  opacity:.55;
}

.notification-unread-badge{
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
  flex:0 0 8px;
}

.notification-item.unread b{
  font-weight:700;
}

.notification-detail{
  padding:22px 18px 35px;
}

.notification-detail-time{
  font-size:12px;
  opacity:.6;
  margin-bottom:20px;
}

.notification-detail-content{
  font-size:15px;
  line-height:1.8;
  word-break:break-word;
}

.notification-detail-content img{
  max-width:100%;
  height:auto;
}

.notification-back-btn{
  border:0;
  background:transparent;
  font-size:22px;
  cursor:pointer;
  padding:4px 8px;
}


/* =========================================================
   V30 Loan Center / Repayment Center
   ========================================================= */

.loan-center-tabs{
  display:flex;
  gap:10px;
  margin:14px 0 20px;
}

.loan-center-tabs button{
  flex:1;
  min-height:42px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  color:inherit;
  cursor:pointer;
}

.loan-center-tabs button.active{
  background:rgba(255,255,255,.12);
  font-weight:700;
}

.loan-section-title{
  font-size:16px;
  font-weight:700;
  margin:20px 0 12px;
}

.loan-product-v30{
  padding:16px;
}

.loan-product-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:10px 0;
}

.loan-product-meta span,
.loan-description{
  font-size:13px;
  opacity:.82;
}

.loan-order-card,
.repayment-loan-block{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:16px;
  margin-bottom:14px;
  background:rgba(255,255,255,.025);
}

.loan-order-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.loan-order-card-head > div{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.loan-order-card-head code{
  opacity:.65;
  font-size:12px;
  word-break:break-all;
}

.loan-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  white-space:nowrap;
  background:rgba(255,255,255,.08);
}

.loan-status.pending{background:rgba(255,193,7,.14)}
.loan-status.approved{background:rgba(46,204,113,.14)}
.loan-status.rejected{background:rgba(231,76,60,.14)}
.loan-status.repaid{background:rgba(52,152,219,.14)}
.loan-status.overdue{background:rgba(230,126,34,.14)}

.loan-waiting-box,
.loan-rejected-box{
  padding:14px;
  border-radius:10px;
  background:rgba(255,255,255,.045);
  text-align:center;
  margin-bottom:12px;
}

.loan-metrics-grid,
.loan-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.loan-metrics-grid > div,
.loan-detail-grid > div{
  padding:11px;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.loan-metrics-grid span,
.loan-detail-grid span{
  font-size:12px;
  opacity:.68;
}

.loan-card-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:14px;
}

.repayment-records-title{
  font-weight:700;
  margin:18px 0 10px;
}

.repayment-record-row{
  display:grid;
  grid-template-columns:1.5fr 1fr .8fr 1.2fr;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
  font-size:13px;
}

.loan-detail-page,
.repayment-form-page{
  padding:8px 0 20px;
}

.loan-detail-order{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.repayment-detail-item{
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:13px;
  margin-bottom:10px;
}

.repayment-proof-thumb{
  display:block;
  max-width:220px;
  max-height:180px;
  object-fit:contain;
  border-radius:10px;
  margin-top:10px;
}

.loan-detail-repay{
  width:100%;
  margin-top:16px;
}

.repayment-loan-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:18px;
}

.repayment-loan-summary > div{
  padding:13px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  display:flex;
  flex-direction:column;
  gap:5px;
}

.repayment-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}

.repayment-field input,
.repayment-field textarea{
  width:100%;
  box-sizing:border-box;
}

.repayment-file-button{
  display:inline-flex;
  width:max-content;
  min-height:38px;
  align-items:center;
  padding:0 14px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.14);
  cursor:pointer;
  background:rgba(255,255,255,.05);
}

.repayment-proof-preview{
  min-height:120px;
  border:1px dashed rgba(255,255,255,.16);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  opacity:.8;
}

.repayment-proof-preview img{
  max-width:100%;
  max-height:280px;
  object-fit:contain;
}

.repayment-proof-preview.has-image{
  border-style:solid;
  opacity:1;
}

.repayment-submit-btn{
  width:100%;
  min-height:44px;
}

@media(max-width:720px){
  .loan-product-meta,
  .loan-metrics-grid,
  .loan-detail-grid,
  .repayment-loan-summary{
    grid-template-columns:1fr;
  }

  .repayment-record-row{
    grid-template-columns:1fr;
  }
}


/* Loan application success notice */
.loan-success-notice{
  position:fixed;
  left:50%;
  top:90px;
  transform:translate(-50%,-12px);
  z-index:999999;
  min-width:220px;
  max-width:calc(100vw - 40px);
  padding:14px 24px;
  border-radius:10px;
  background:#17c3a2;
  color:#fff;
  font-size:16px;
  font-weight:700;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}

.loan-success-notice.show{
  opacity:1;
  transform:translate(-50%,0);
}

/* =========================================================
   V30 Deposit / Withdrawal Records
   ========================================================= */

.finance-record-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  margin-bottom:14px;
  border:1px solid #17334b;
  border-radius:12px;
  background:#0b1d2c;
}

.finance-record-summary span{
  color:#9fb0c2;
  font-size:13px;
}

.finance-record-summary strong{
  min-width:34px;
  text-align:center;
  padding:5px 10px;
  border-radius:999px;
  background:#132b40;
}

.finance-record-list{
  display:grid;
  gap:14px;
}

.finance-record-card{
  border:1px solid #17334b;
  border-radius:14px;
  padding:16px;
  background:#0b1d2c;
}

.finance-record-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  padding-bottom:13px;
  margin-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.finance-record-order{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.finance-record-order span,
.finance-record-grid span,
.finance-record-address span,
.finance-record-reject span,
.finance-detail-head span,
.finance-detail-grid span,
.finance-address-box span,
.finance-reject-box span{
  font-size:12px;
  color:#8fa2b7;
}

.finance-record-order b{
  font-size:15px;
  word-break:break-all;
}

.finance-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.finance-status.pending{
  background:rgba(244,180,0,.16);
  color:#ffc94a;
}

.finance-status.approved{
  background:rgba(30,200,150,.14);
  color:#35d6a9;
}

.finance-status.rejected{
  background:rgba(255,80,90,.14);
  color:#ff6971;
}

.finance-record-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.finance-record-grid > div,
.finance-detail-grid > div{
  min-width:0;
  padding:12px;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.finance-record-grid strong,
.finance-detail-grid strong{
  font-size:14px;
  word-break:break-word;
}

.finance-record-address,
.finance-address-box{
  margin-top:12px;
  padding:12px;
  border-radius:10px;
  background:rgba(255,255,255,.028);
  display:flex;
  flex-direction:column;
  gap:7px;
}

.finance-record-address code,
.finance-address-box code{
  color:#dce8f5;
  font-size:13px;
  line-height:1.55;
  word-break:break-all;
  white-space:normal;
}

.finance-record-reject,
.finance-reject-box{
  margin-top:12px;
  padding:12px;
  border:1px solid rgba(255,80,90,.18);
  border-radius:10px;
  background:rgba(255,80,90,.06);
}

.finance-record-reject p,
.finance-reject-box p{
  margin:6px 0 0;
  color:#f1c5c8;
  line-height:1.55;
}

.finance-record-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:14px;
}

.finance-detail-btn{
  min-height:36px;
  padding:0 15px;
  border:1px solid #29435f;
  border-radius:8px;
  background:#13283a;
  color:#fff;
  cursor:pointer;
}

.finance-detail-btn:hover{
  background:#18344b;
}

.finance-record-detail{
  border:1px solid #17334b;
  border-radius:14px;
  background:#0b1d2c;
  padding:18px;
}

.finance-detail-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  padding-bottom:15px;
  margin-bottom:15px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.finance-detail-head > div{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.finance-detail-head b{
  font-size:16px;
  word-break:break-all;
}

.finance-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

@media(max-width:800px){
  .finance-record-grid,
  .finance-detail-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .finance-record-card,
  .finance-record-detail{
    padding:13px;
  }

  .finance-record-grid,
  .finance-detail-grid{
    grid-template-columns:1fr;
  }

  .finance-record-head,
  .finance-detail-head{
    gap:10px;
  }

  .finance-record-order b{
    font-size:13px;
  }

  .finance-status{
    font-size:11px;
    padding:5px 8px;
  }

  .finance-detail-btn{
    width:100%;
  }
}


.loan-repayment-completed{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(30,200,150,.14);
  color:#35d6a9;
  font-weight:700;
}

.loan-detail-repaid{
  width:100%;
  margin-top:16px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(30,200,150,.14);
  color:#35d6a9;
  font-weight:700;
}

/* Homepage title two-line layout */
.home-hero-title-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  text-align:center;
}

.home-hero-title-block h1{
  margin:0;
}

.home-hero-support-title{
  margin-top:2px;
  font-size:.72em;
  font-weight:700;
  line-height:1.3;
  color:inherit;
}

@media(max-width:720px){
  .home-hero-title-block{
    gap:4px;
  }

  .home-hero-support-title{
    font-size:.68em;
  }
}


/* =========================================================
   V31 Loan Application
   ========================================================= */

.loan-product-apply-only{
  display:flex;
  justify-content:flex-end;
  margin-top:14px;
}

.loan-product-apply-only .primary-btn{
  min-width:140px;
}

.loan-application-page{
  max-width:980px;
  margin:0 auto;
  padding-bottom:30px;
}

.loan-application-product{
  padding:18px;
  border:1px solid #17344b;
  border-radius:14px;
  background:#0b1d2c;
  margin-bottom:16px;
}

.loan-application-product > div:first-child{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:15px;
}

.loan-application-product span,
.loan-application-form label > span,
.loan-application-photo > span{
  color:#8fa2b7;
  font-size:12px;
}

.loan-application-product > div:first-child b{
  font-size:20px;
}

.loan-application-product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.loan-application-product-grid > div{
  padding:12px;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.loan-application-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:18px;
  border:1px solid #17344b;
  border-radius:14px;
  background:#0b1d2c;
}

.loan-application-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.loan-application-form input,
.loan-application-form select,
.loan-application-form textarea{
  width:100%;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid #29445e;
  border-radius:9px;
  background:#071725;
  color:#fff;
  outline:none;
}

.loan-application-form textarea{
  min-height:90px;
  resize:vertical;
}

.loan-application-full{
  grid-column:1/-1;
}

.loan-application-photo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.loan-application-photo{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.loan-application-upload{
  position:relative;
  min-height:180px;
  border:1px dashed #36536d;
  border-radius:12px;
  background:#081a29;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:pointer;
}

.loan-application-upload img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}

.loan-application-upload img.show{
  display:block;
}

.loan-application-upload b{
  position:relative;
  z-index:2;
  padding:8px 12px;
  border-radius:8px;
  background:rgba(5,18,29,.82);
}

.loan-agreement-row{
  margin:18px 0;
  display:flex;
  align-items:flex-start;
  gap:9px;
  line-height:1.5;
}

.loan-agreement-row input{
  margin-top:4px;
}

.loan-application-submit{
  width:100%;
  min-height:48px;
  font-weight:700;
}

.loan-application-submit:disabled{
  opacity:.55;
  cursor:not-allowed;
}

@media(max-width:720px){
  .loan-application-product-grid,
  .loan-application-photo-grid,
  .loan-application-form{
    grid-template-columns:1fr;
  }

  .loan-application-full{
    grid-column:auto;
  }

  .loan-application-upload{
    min-height:210px;
  }

  .loan-product-apply-only .primary-btn{
    width:100%;
  }
}


/* Loan agreement */
.loan-agreement-link{
  border:0;
  padding:0;
  margin-left:4px;
  background:none;
  color:#35d8cf;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  text-decoration:underline;
}

.loan-agreement-link:hover{
  opacity:.8;
}

.loan-agreement-page{
  max-width:900px;
  margin:0 auto;
  padding-bottom:30px;
}

.loan-agreement-document{
  padding:24px;
  border:1px solid #17344b;
  border-radius:14px;
  background:#0b1d2c;
}

.loan-agreement-document h2{
  margin:0 0 24px;
  text-align:center;
}

.loan-agreement-document-content{
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.9;
  font-size:15px;
}

.loan-agreement-read{
  width:100%;
  min-height:46px;
  margin-top:18px;
}

@media(max-width:720px){
  .loan-agreement-document{
    padding:16px;
  }

  .loan-agreement-document-content{
    font-size:14px;
  }
}


/* =========================================================
   FINAL HOME BANNER STABLE CAROUSEL
   单一淡入淡出机制，禁止旧 translate 轮播干扰
   ========================================================= */

.home-banner{
  position:relative!important;
  width:100%!important;
  max-width:760px!important;
  aspect-ratio:2/1!important;
  height:auto!important;
  min-height:0!important;
  margin:14px auto!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#0b172a!important;
}

.home-banner .banner-track{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  transform:none!important;
  transition:none!important;
}

.home-banner .banner-slide{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:none!important;
  transition:opacity .55s ease!important;
  z-index:1!important;
}

.home-banner .banner-slide.active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  z-index:2!important;
}

.home-banner .banner-slide img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

.home-banner .home-banner-dots{
  position:absolute!important;
  right:16px!important;
  bottom:16px!important;
  display:flex!important;
  gap:7px!important;
  z-index:10!important;
}

.home-banner .home-banner-dots i{
  display:block!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.45)!important;
  cursor:pointer!important;
}

.home-banner .home-banner-dots i.active{
  background:#fff!important;
}

@media(max-width:700px){
  .home-banner{
    max-width:100%!important;
    aspect-ratio:2/1!important;
  }
}


/* =========================================================
   HOME BANNER FINAL STABLE FIX
   ========================================================= */

#homeBanner.home-banner{
    position:relative!important;
    display:block!important;

    width:min(760px,calc(100% - 32px))!important;
    max-width:760px!important;

    aspect-ratio:2 / 1!important;
    height:auto!important;
    min-height:0!important;

    margin:28px auto 18px!important;

    overflow:hidden!important;
    border-radius:18px!important;

    background:#0b172a!important;
    contain:layout paint!important;
}

#homeBanner .banner-track{
    position:absolute!important;
    inset:0!important;

    display:block!important;

    width:100%!important;
    height:100%!important;

    transform:none!important;
    transition:none!important;
}

#homeBanner .banner-slide{
    position:absolute!important;
    inset:0!important;

    display:block!important;

    width:100%!important;
    height:100%!important;

    flex:none!important;

    opacity:0!important;
    visibility:hidden!important;

    transform:none!important;

    transition:
        opacity .65s ease,
        visibility 0s linear .65s!important;

    z-index:1!important;
}

#homeBanner .banner-slide.active{
    opacity:1!important;
    visibility:visible!important;

    transition:
        opacity .65s ease,
        visibility 0s linear 0s!important;

    z-index:2!important;
}

#homeBanner .banner-slide img{
    position:absolute!important;
    inset:0!important;

    display:block!important;

    width:100%!important;
    height:100%!important;

    max-width:none!important;

    object-fit:cover!important;
    object-position:center center!important;

    border:0!important;
    border-radius:0!important;

    transform:none!important;
}

#homeBanner .home-banner-dots{
    position:absolute!important;

    right:16px!important;
    bottom:14px!important;

    display:flex!important;
    align-items:center!important;
    gap:7px!important;

    z-index:20!important;
}

#homeBanner .home-banner-dots i{
    display:block!important;

    width:8px!important;
    height:8px!important;

    padding:0!important;
    margin:0!important;

    border-radius:50%!important;

    background:rgba(255,255,255,.45)!important;

    cursor:pointer!important;
}

#homeBanner .home-banner-dots i.active{
    background:#fff!important;
}

@media(max-width:700px){

    #homeBanner.home-banner{
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin:18px auto 14px!important;
        aspect-ratio:2 / 1!important;
    }

}


/* =========================================================
   HOME BANNER WIDE 1774x441
   桌面端铺满页面，仅保留少量左右边距
   ========================================================= */

#homeBanner.home-banner{
    width:calc(100% - 60px)!important;
    max-width:1774px!important;

    aspect-ratio:1774 / 441!important;
    height:auto!important;

    margin:28px auto 18px!important;

    overflow:hidden!important;
    border-radius:18px!important;
}

#homeBanner .banner-track,
#homeBanner .banner-slide{
    width:100%!important;
    height:100%!important;
}

#homeBanner .banner-slide img{
    width:100%!important;
    height:100%!important;

    object-fit:cover!important;
    object-position:center center!important;
}

/* 手机 */
@media(max-width:700px){

    #homeBanner.home-banner{
        width:calc(100% - 24px)!important;
        max-width:none!important;

        aspect-ratio:1774 / 441!important;

        margin:18px auto 14px!important;
        border-radius:12px!important;
    }

}


/* =========================================================
   HOME BANNER VIEWPORT FULL WIDTH
   1774 × 441
   ========================================================= */

#homeBanner.home-banner{
    /*
     * 不再受外层 hero / main 最大宽度限制
     */
    width:calc(100vw - 24px)!important;
    max-width:none!important;

    /*
     * 保持 1774×441 原始比例
     */
    aspect-ratio:1774 / 441!important;
    height:auto!important;
    min-height:0!important;

    /*
     * 从父容器中心向左右突破
     */
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;

    margin:24px 0 18px!important;

    overflow:hidden!important;
    border-radius:16px!important;
}

#homeBanner .banner-track,
#homeBanner .banner-slide{
    position:absolute!important;
    inset:0!important;

    width:100%!important;
    height:100%!important;

    max-width:none!important;
}

#homeBanner .banner-slide img{
    position:absolute!important;
    inset:0!important;

    width:100%!important;
    height:100%!important;
    max-width:none!important;

    /*
     * 图片和容器都是1774:441，
     * 所以这里不会明显裁掉左右内容
     */
    object-fit:cover!important;
    object-position:center center!important;

    display:block!important;
}

/* 手机端几乎铺满屏幕 */
@media(max-width:700px){

    #homeBanner.home-banner{
        width:calc(100vw - 12px)!important;
        max-width:none!important;

        aspect-ratio:1774 / 441!important;

        left:50%!important;
        transform:translateX(-50%)!important;

        margin:12px 0 12px!important;

        border-radius:10px!important;
    }

}


/* =========================================================
   MOBILE HOME BANNER HEIGHT FIX
   手机端加高，并向上贴近顶部
   ========================================================= */

@media(max-width:700px){

    #homeBanner.home-banner{
        width:calc(100vw - 8px)!important;
        max-width:none!important;

        /*
         * 手机端不再强制4:1
         * 改成更适合手机观看的高度
         */
        aspect-ratio:auto!important;
        height:130px!important;
        min-height:130px!important;

        left:50%!important;
        transform:translateX(-50%)!important;

        /*
         * 向上贴一点
         */
        margin-top:4px!important;
        margin-bottom:14px!important;

        border-radius:8px!important;
    }

    #homeBanner .banner-track,
    #homeBanner .banner-slide{
        width:100%!important;
        height:100%!important;
    }

    #homeBanner .banner-slide img{
        width:100%!important;
        height:100%!important;

        /*
         * 让图片铺满更高的手机轮播框
         */
        object-fit:cover!important;
        object-position:center center!important;
    }

}

/* =========================================================
   AUTH LOGIN / REGISTER — DYNAMIC CRYPTO BACKGROUND
   仅优化登录/注册页面背景与视觉层次，不修改表单结构/按钮/字段
   ========================================================= */

body.auth-locked{
    background:#020b17!important;
}

.auth-page{
    position:relative!important;
    isolation:isolate!important;
    overflow-x:hidden!important;
    background:
        radial-gradient(circle at 50% 115%,rgba(0,196,255,.28) 0,rgba(0,196,255,.08) 24%,transparent 48%),
        radial-gradient(circle at 12% 30%,rgba(32,119,255,.24) 0,transparent 35%),
        radial-gradient(circle at 88% 44%,rgba(0,232,220,.18) 0,transparent 34%),
        linear-gradient(135deg,#010817 0%,#06172b 48%,#020c19 100%)!important;
    background-size:140% 140%,125% 125%,125% 125%,100% 100%!important;
    animation:authNebulaDrift 14s ease-in-out infinite alternate!important;
}

/* 流动科技网格 + 地平线光带 */
.auth-page::before{
    content:"";
    position:fixed;
    z-index:-2;
    inset:-28vh -18vw -22vh;
    pointer-events:none;
    opacity:.62;
    background:
        linear-gradient(rgba(0,198,255,.11) 1px,transparent 1px),
        linear-gradient(90deg,rgba(0,198,255,.09) 1px,transparent 1px),
        radial-gradient(ellipse at 50% 98%,rgba(0,216,255,.24) 0 1%,rgba(0,216,255,.08) 17%,transparent 49%);
    background-size:58px 58px,58px 58px,100% 100%;
    transform:perspective(700px) rotateX(61deg) translateY(30%) translateZ(-80px) scale(1.45);
    transform-origin:center bottom;
    animation:authGridFlow 9s linear infinite;
    will-change:transform,background-position;
}

/* 漂浮的加密货币光影，不是登录选项，仅作背景装饰 */
.auth-page::after{
    content:"₿       ◈       ₿";
    position:fixed;
    z-index:-1;
    left:-12vw;
    right:-12vw;
    top:12vh;
    height:70vh;
    display:flex;
    align-items:center;
    justify-content:space-around;
    white-space:pre;
    pointer-events:none;
    color:rgba(77,198,255,.075);
    font-size:clamp(95px,18vw,280px);
    font-weight:900;
    letter-spacing:4vw;
    text-shadow:
        0 0 16px rgba(0,199,255,.22),
        0 0 52px rgba(0,108,255,.20);
    filter:drop-shadow(0 0 18px rgba(0,174,255,.16));
    animation:authCoinFloat 12s ease-in-out infinite alternate;
    will-change:transform,opacity;
}

/* 顶部与表单始终位于动态背景之上 */
.auth-page > *{
    position:relative;
    z-index:2;
}

/* 保持原布局，只加强第一张截图那种玻璃/霓虹质感 */
.auth-panel{
    background:linear-gradient(160deg,rgba(18,39,64,.94),rgba(7,24,43,.91))!important;
    border-color:rgba(74,159,218,.46)!important;
    box-shadow:
        0 24px 70px rgba(0,0,0,.48),
        0 0 0 1px rgba(38,192,255,.06),
        0 0 42px rgba(0,120,255,.10)!important;
    backdrop-filter:blur(12px) saturate(118%);
    -webkit-backdrop-filter:blur(12px) saturate(118%);
}

.auth-panel input{
    background:rgba(5,21,38,.78)!important;
    box-shadow:inset 0 0 22px rgba(0,0,0,.08);
}

.auth-top{
    background:linear-gradient(180deg,rgba(3,15,29,.72),rgba(3,15,29,.22));
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}

.auth-primary{
    box-shadow:0 0 24px rgba(43,214,202,.17);
}

@keyframes authNebulaDrift{
    0%{background-position:0% 0%,0% 0%,100% 0%,0 0}
    50%{background-position:48% 32%,22% 28%,76% 42%,0 0}
    100%{background-position:100% 70%,46% 58%,52% 72%,0 0}
}

@keyframes authGridFlow{
    0%{
        background-position:0 0,0 0,center bottom;
        transform:perspective(700px) rotateX(61deg) translateY(30%) translateZ(-80px) scale(1.45);
    }
    100%{
        background-position:0 116px,116px 0,center bottom;
        transform:perspective(700px) rotateX(61deg) translateY(25%) translateZ(-80px) scale(1.48);
    }
}

@keyframes authCoinFloat{
    0%{transform:translate3d(-2.5vw,-12px,0) rotate(-3deg) scale(.98);opacity:.70}
    45%{transform:translate3d(2vw,18px,0) rotate(2deg) scale(1.03);opacity:1}
    100%{transform:translate3d(-1vw,-2px,0) rotate(-1deg) scale(1);opacity:.82}
}

/* 手机保持原有登录/注册格式，仅降低背景负担并维持流动效果 */
@media(max-width:700px){
    .auth-page::before{
        inset:-18vh -55vw -28vh;
        opacity:.48;
        background-size:44px 44px,44px 44px,100% 100%;
    }

    .auth-page::after{
        left:-35vw;
        right:-35vw;
        top:16vh;
        font-size:clamp(82px,31vw,150px);
        letter-spacing:7vw;
        opacity:.58;
    }

    .auth-panel{
        backdrop-filter:blur(8px) saturate(112%);
        -webkit-backdrop-filter:blur(8px) saturate(112%);
    }
}

/* 尊重系统“减少动态效果”设置 */
@media(prefers-reduced-motion:reduce){
    .auth-page,
    .auth-page::before,
    .auth-page::after{
        animation:none!important;
    }
}

/* =========================================================
   GLOBAL INTERACTIVE HIGHLIGHT — all clickable UI controls
   ========================================================= */
:root{--click-cyan:#42efff;--click-glow:rgba(52,224,255,.58)}
button,a,[role="button"],[data-nav],[data-action],.clickable,.nav-btn,.auth-btn,.quick-card,.quick-icon,.coin-row,.loan-product{transition:color .16s ease,border-color .16s ease,box-shadow .16s ease,text-shadow .16s ease,filter .16s ease,transform .12s ease}

/* transparent / navigation / textual controls become visually obvious */
.nav-btn,.auth-btn,.back-btn,.icon-btn,.page-head button,.intervals button,.period-grid button,.quick-amounts button,.secondary-btn,.loan-center-tabs button,[data-close],a{color:var(--click-cyan)!important;text-shadow:0 0 9px rgba(66,239,255,.30)}
.nav-btn .nav-icon{color:inherit;filter:drop-shadow(0 0 5px rgba(64,225,255,.35))}

/* selected state like the supplied Home example */
.nav-btn.active,.intervals button.active,.period-grid button.active,.loan-center-tabs button.active,[aria-selected="true"]{color:#67fbff!important;border-color:rgba(88,244,255,.72)!important;text-shadow:0 0 7px #16dbe8,0 0 16px rgba(44,220,255,.78)!important;box-shadow:inset 0 0 14px rgba(35,217,255,.10),0 0 14px rgba(33,221,255,.18)}

/* hover/focus light bloom */
button:hover,a:hover,[role="button"]:hover,[data-nav]:hover,.quick-card:hover,.coin-row:hover,.loan-product:hover,
button:focus-visible,a:focus-visible,[role="button"]:focus-visible,[data-nav]:focus-visible{filter:brightness(1.13);box-shadow:0 0 0 1px rgba(80,236,255,.25),0 0 18px rgba(44,220,255,.30);outline:none}

/* clicking produces a stronger flash */
button:active,a:active,[role="button"]:active,[data-nav]:active,.quick-card:active,.coin-row:active,.loan-product:active{transform:scale(.985);filter:brightness(1.22);box-shadow:0 0 0 1px rgba(111,249,255,.76),0 0 27px var(--click-glow),inset 0 0 14px rgba(80,235,255,.12)!important;text-shadow:0 0 10px rgba(105,248,255,.9)!important}

/* preserve readable text on filled semantic action buttons while adding glow */
.primary-btn,.auth-primary,.buy-btn,.sell-btn,.confirm-order,.trade-bottom-buy,.trade-bottom-sell,.loan-product button{font-weight:800}
.primary-btn:active,.auth-primary:active,.buy-btn:active,.sell-btn:active,.confirm-order:active,.trade-bottom-buy:active,.trade-bottom-sell:active,.loan-product button:active{box-shadow:0 0 26px rgba(73,231,255,.52)!important}


/* =========================================================
   HOME QUICK ACTION TITLE EMPHASIS
   Only changes text color/brightness; no card/layout changes.
   ========================================================= */
.quick-card[data-action="deposit"] strong{
    color:#ffd166!important;
    text-shadow:0 0 7px rgba(255,209,102,.42),0 0 15px rgba(255,170,45,.20)!important;
}
.quick-card[data-action="withdraw"] strong{
    color:#ff8bd8!important;
    text-shadow:0 0 7px rgba(255,139,216,.42),0 0 15px rgba(214,86,255,.20)!important;
}
.quick-card span{
    color:#8fe8ff!important;
}
.quick-card:hover strong,.quick-card:focus-visible strong{
    filter:brightness(1.16)!important;
}


/* =========================================================
   FRONT INTERACTION RESPONSE V6
   ========================================================= */
button,[role="button"],[data-nav],[data-action],[data-pair],[data-open-order],a{touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
.instant-tap-active{transform:scale(.975)!important;filter:brightness(1.18)!important;box-shadow:0 0 0 1px rgba(80,245,255,.45),0 0 22px rgba(27,219,255,.42)!important;transition:none!important;}
.feature-fast-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#7defff;font-weight:700;}
.feature-fast-loading i{display:block;width:38px;height:38px;border-radius:50%;border:3px solid rgba(61,218,255,.22);border-top-color:#35e8ff;box-shadow:0 0 20px rgba(38,219,255,.28);animation:fastLoadSpinV6 .7s linear infinite;}
@keyframes fastLoadSpinV6{to{transform:rotate(360deg)}}
#homeBanner .banner-slide img{content-visibility:auto;}


/* ===== V7 COPY SUCCESS TOAST — always above standalone pages ===== */
.toast-root{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  pointer-events:none!important;
}
.toast-root .toast{
  position:fixed!important;
  left:50%!important;
  bottom:max(110px,calc(78px + env(safe-area-inset-bottom)))!important;
  transform:translateX(-50%) translateY(0)!important;
  z-index:2147483001!important;
  min-width:160px!important;
  max-width:calc(100vw - 32px)!important;
  padding:12px 18px!important;
  border-radius:12px!important;
  border:1px solid rgba(45,235,214,.72)!important;
  background:rgba(5,29,44,.96)!important;
  color:#efffff!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:0 0 0 1px rgba(38,224,217,.12),0 0 30px rgba(26,218,208,.38),0 18px 48px rgba(0,0,0,.46)!important;
  backdrop-filter:blur(12px)!important;
  animation:v7ToastIn .16s ease-out both!important;
}
@keyframes v7ToastIn{from{opacity:0;transform:translateX(-50%) translateY(12px) scale(.96)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
@media(max-width:700px){.toast-root .toast{bottom:max(92px,calc(64px + env(safe-area-inset-bottom)))!important;font-size:14px!important;}}


/* V12 account restriction message: always centered above every page/modal */
.toast-root.account-abnormal{position:fixed!important;inset:0!important;z-index:2147483647!important;pointer-events:none!important;display:grid!important;place-items:center!important;}
.toast-root.account-abnormal .toast{position:static!important;transform:none!important;bottom:auto!important;left:auto!important;max-width:min(88vw,420px)!important;padding:16px 22px!important;font-size:16px!important;font-weight:800!important;border-radius:12px!important;background:rgba(10,28,48,.96)!important;border:1px solid rgba(52,224,216,.7)!important;box-shadow:0 18px 60px rgba(0,0,0,.55),0 0 28px rgba(41,218,209,.22)!important;}


/* =========================================================
   V16 LOAN AGREEMENT CHECKBOX
   ========================================================= */
.loan-agreement-row input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  margin:2px 0 0!important;
  border:2px solid #27d8cf!important;
  border-radius:3px!important;
  background:rgba(3,19,31,.72)!important;
  display:grid!important;
  place-content:center!important;
  cursor:pointer!important;
  box-shadow:0 0 0 1px rgba(39,216,207,.08),0 0 12px rgba(39,216,207,.16)!important;
}
.loan-agreement-row input[type="checkbox"]::before{
  content:"✓";
  font-size:15px;
  line-height:1;
  font-weight:900;
  color:#04151d;
  transform:scale(0);
  transition:transform .12s ease;
}
.loan-agreement-row input[type="checkbox"]:checked{
  background:#27d8cf!important;
  border-color:#27d8cf!important;
}
.loan-agreement-row input[type="checkbox"]:checked::before{
  transform:scale(1);
}

/* V19 security placeholders + withdrawal quick bind */
.security-section input::placeholder{color:#7f8ea4;opacity:1}
.withdraw-quick-bind{margin:-2px 0 12px;padding:11px;border:1px dashed #2d5776;border-radius:10px;background:rgba(10,25,41,.55)}
.withdraw-quick-bind>input{width:100%;box-sizing:border-box;height:42px;padding:0 11px;border:1px solid #30445e;border-radius:8px;background:#0d1929;color:#fff;outline:none}
.withdraw-quick-bind>input::placeholder{color:#7f8ea4;opacity:1}
.withdraw-quick-bind-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.withdraw-quick-bind-actions .primary-btn,.withdraw-quick-bind-actions .secondary-btn{height:40px;margin:0}
@media(max-width:520px){.withdraw-quick-bind-actions{grid-template-columns:1fr}}

/* V20 required field markers */
.loan-application-form em,
.loan-application-photo > span em,
.loan-application-photo span em {
  color:#ff5b6b;
  font-style:normal;
  font-weight:800;
  margin-left:3px;
}

/* V21 modern customer support */
.support-modern{max-width:920px;margin:22px auto;padding:34px;border:1px solid rgba(52,213,203,.28);border-radius:24px;background:linear-gradient(145deg,rgba(20,48,78,.78),rgba(5,22,39,.88));box-shadow:0 20px 60px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.04);position:relative;overflow:hidden}.support-modern:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:rgba(34,213,195,.12);filter:blur(55px);right:-70px;top:-90px}.support-modern-orb{width:88px;height:88px;border-radius:28px;display:grid;place-items:center;margin:0 auto 18px;background:radial-gradient(circle at 35% 25%,#7ff9ed,#18b8d3 48%,#087391 72%,#07304c);box-shadow:0 0 32px rgba(39,230,218,.42),0 16px 30px rgba(0,0,0,.28);font-size:35px;position:relative}.support-modern-orb i{position:absolute;inset:-9px;border:1px solid rgba(66,240,225,.42);border-radius:34px;animation:supportPulse 2.1s ease-in-out infinite}.support-modern-copy{text-align:center;position:relative}.support-modern-copy small{color:#45e8dc;font-weight:800;letter-spacing:.08em}.support-modern-copy h1{font-size:clamp(21px,3vw,34px);margin:8px 0 13px}.support-online{display:inline-flex;gap:7px;align-items:center;color:#a8c4d8;font-size:13px}.support-online i{width:8px;height:8px;border-radius:50%;background:#19d6a5;box-shadow:0 0 11px #19d6a5}.support-modern-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0 20px;position:relative}.support-modern-grid>div{padding:18px;border:1px solid rgba(91,154,193,.22);background:rgba(7,25,44,.58);border-radius:16px}.support-modern-grid b,.support-modern-grid span{display:block}.support-modern-grid span{color:#8eacc3;font-size:12px;margin-top:7px}.support-modern-cta{width:100%;height:54px;border:0;border-radius:14px;background:linear-gradient(90deg,#2fd4cb,#32d8ed);font-weight:900;font-size:17px;color:#031723;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 10px 28px rgba(38,218,211,.18);cursor:pointer}.support-modern-cta b{margin-left:auto;margin-right:18px}.support-modern-cta:disabled{opacity:.45;cursor:not-allowed}@keyframes supportPulse{50%{transform:scale(1.1);opacity:.45}}@media(max-width:640px){.support-modern{margin:12px 8px;padding:25px 16px;border-radius:20px}.support-modern-grid{grid-template-columns:1fr}.support-modern-orb{width:76px;height:76px;border-radius:24px}}

/* V22 support live-card redesign */
.support-live-card{padding:18px;border:1px solid rgba(48,226,218,.34);background:linear-gradient(135deg,rgba(12,44,67,.9),rgba(8,28,48,.72));border-radius:16px;color:#eafcff;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;text-align:left;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.12);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.support-live-card:hover,.support-live-card:active{transform:translateY(-1px);border-color:rgba(62,244,232,.72);box-shadow:0 0 0 1px rgba(57,225,216,.12),0 10px 28px rgba(23,214,200,.12)}
.support-live-card:disabled{opacity:.48;cursor:not-allowed;transform:none}
.support-live-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#30ded5,#108eae);box-shadow:0 0 20px rgba(46,226,214,.26);font-size:20px}
.support-live-text{min-width:0}.support-live-text b{display:block;font-size:15px}.support-live-text small{display:block;color:#90b5ca;font-size:12px;margin-top:5px}.support-live-card em{font-style:normal;font-size:19px;color:#4cf1e5}
.support-modern-grid>.support-live-card{min-height:86px}
@media(max-width:640px){.support-live-card{width:100%}}

/* V23 customer support — reference-matched page. Only support UI + support nav icon. */
.support-page-head{border-bottom:1px solid rgba(22,189,238,.14);background:linear-gradient(180deg,rgba(6,22,40,.82),rgba(6,22,40,.28))}
.support-v23{max-width:860px;margin:14px auto 24px;padding:26px 28px 30px;border:1px solid rgba(18,202,244,.38);border-radius:28px;background:
  radial-gradient(circle at 50% 15%,rgba(0,182,230,.14),transparent 35%),
  linear-gradient(155deg,rgba(6,32,54,.96),rgba(3,20,36,.98));
  box-shadow:0 22px 65px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.04);position:relative;overflow:hidden}
.support-v23:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(4,214,246,.03) 50%,transparent 78%)}
.support-v23-hero{text-align:center;position:relative;z-index:1}
.support-v23-orbit{width:190px;height:190px;margin:0 auto 7px;border-radius:50%;display:grid;place-items:center;position:relative;background:radial-gradient(circle,rgba(0,211,243,.12),transparent 61%)}
.support-v23-orbit>i{position:absolute;border-radius:50%;border:1px solid rgba(18,227,239,.47)}
.support-v23-orbit>i:nth-of-type(1){inset:14px;animation:supportOrbitSpin 8s linear infinite}.support-v23-orbit>i:nth-of-type(1):after{content:"";position:absolute;top:11px;right:23px;width:9px;height:9px;border-radius:50%;background:#18ece0;box-shadow:0 0 15px #18ece0}
.support-v23-orbit>i:nth-of-type(2){inset:32px;border-color:rgba(18,174,225,.22);animation:supportOrbitSpin 13s linear infinite reverse}.support-v23-orbit>b{position:absolute;inset:48px;border-radius:50%;background:linear-gradient(145deg,rgba(0,212,238,.32),rgba(0,80,133,.26));box-shadow:0 0 42px rgba(0,211,238,.24),inset 0 0 24px rgba(5,225,242,.13)}
.support-v23-headset{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;position:relative;z-index:2;background:radial-gradient(circle at 35% 25%,#34e9f0 0,#0ab5da 38%,#056d9d 72%,#043b66 100%);box-shadow:0 0 32px rgba(21,220,239,.4),0 12px 35px rgba(0,0,0,.32);border:7px solid rgba(0,45,76,.7)}
.support-v23-headset svg{width:62px;height:62px;fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.support-v23-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:-7px;padding:6px 20px;border-radius:999px;color:#1cf2f0;font-size:15px;font-weight:800;background:linear-gradient(90deg,rgba(0,96,137,.65),rgba(0,117,146,.48));box-shadow:0 0 24px rgba(14,218,235,.11)}
.support-v23-hero h1{font-size:clamp(24px,3.5vw,38px);margin:22px 0 18px;color:#f4f8fc;letter-spacing:.02em;text-shadow:0 3px 12px rgba(0,0,0,.35)}
.support-v23-ready{display:inline-flex;align-items:center;gap:10px;color:#a9bbce;font-size:16px}.support-v23-ready i,.support-v23-channel i{width:10px;height:10px;border-radius:50%;background:#14e2ce;box-shadow:0 0 14px rgba(20,226,206,.85);flex:none}.support-v23-ready.is-offline i{background:#738397;box-shadow:none}
.support-v23-agent{margin:31px 0 22px;padding:25px 30px;border:1px solid rgba(35,176,229,.27);border-radius:23px;background:linear-gradient(145deg,rgba(8,42,67,.82),rgba(4,24,42,.7));display:grid;grid-template-columns:250px 1fr;align-items:center;gap:26px;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.support-v23-agent-art{height:190px;position:relative;display:grid;place-items:center;overflow:hidden}
.support-v23-agent-headset{width:126px;height:126px;border-radius:50%;display:grid;place-items:center;position:relative;z-index:3;background:linear-gradient(145deg,#64e5ff,#087cb3 58%,#035483);box-shadow:0 0 34px rgba(17,198,244,.28),inset 13px 9px 23px rgba(255,255,255,.17)}
.support-v23-agent-headset svg{width:84px;height:84px;fill:none;stroke:#ecfbff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 6px rgba(0,0,0,.25))}
.support-v23-agent-art .ring{position:absolute;left:50%;top:50%;border:1px solid rgba(22,203,242,.55);border-radius:50%;transform:translate(-50%,-50%) rotateX(72deg);box-shadow:0 0 12px rgba(18,203,242,.18)}.ring-a{width:210px;height:86px;animation:supportRingPulse 2.5s ease-in-out infinite}.ring-b{width:170px;height:60px;animation:supportRingPulse 2.5s .55s ease-in-out infinite}.ring-c{width:130px;height:42px;animation:supportRingPulse 2.5s 1.1s ease-in-out infinite}
.support-v23-agent-art:after{content:"";position:absolute;bottom:13px;width:146px;height:25px;border-radius:50%;background:rgba(0,192,241,.19);filter:blur(8px);box-shadow:0 0 30px rgba(0,196,240,.5)}
.support-v23-agent-art .chat-dot{position:absolute;z-index:4;right:28px;top:25px;padding:3px 9px 7px;border-radius:8px;background:linear-gradient(145deg,#20dff5,#167ce3);font-weight:900;color:#fff;letter-spacing:2px;box-shadow:0 0 17px rgba(22,168,239,.4)}
.support-v23-agent-copy{text-align:left}.support-v23-agent-copy h3{margin:0 0 12px;font-size:clamp(21px,2.7vw,30px);color:#f4f7fb}.support-v23-agent-copy p{margin:0;color:#9fb1c6;font-size:16px;line-height:1.85;max-width:440px}.support-v23-channel{display:inline-flex;align-items:center;gap:9px;margin-top:20px;padding:8px 15px;border-radius:999px;background:rgba(0,122,147,.34);color:#20ebe7;font-weight:800;font-size:14px}
.support-v23-features{display:grid;gap:13px}.support-v23-feature{min-height:92px;padding:16px 21px;border:1px solid rgba(37,139,189,.22);border-radius:20px;background:linear-gradient(100deg,rgba(5,33,55,.93),rgba(3,22,39,.82));display:grid;grid-template-columns:62px 1fr;gap:18px;align-items:center;box-shadow:inset 0 1px rgba(255,255,255,.02)}
.support-v23-feature .feature-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 35%,rgba(13,196,232,.26),rgba(0,63,102,.35));box-shadow:0 0 24px rgba(0,182,227,.08)}.support-v23-feature .feature-icon svg{width:39px;height:39px;fill:none;stroke:#11dbf2;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.support-v23-feature:nth-child(3) .feature-icon svg{fill:#0fd6f3;stroke:#0fd6f3}
.support-v23-feature span:nth-child(2){display:block}.support-v23-feature b{display:block;color:#f0f5fa;font-size:20px;margin-bottom:6px}.support-v23-feature small{display:block;color:#8fa3b9;font-size:14px}.support-v23-feature em{font-style:normal;color:#08c9ef;font-size:38px;font-weight:200;line-height:1}
.support-v23-cta{width:100%;min-height:74px;margin-top:20px;padding:0 22px;border:0;border-radius:19px;background:linear-gradient(100deg,#159fe7 0%,#19caed 55%,#18d5d5 100%);display:grid;grid-template-columns:54px 1fr 51px;align-items:center;gap:14px;color:#fff;cursor:pointer;box-shadow:0 14px 34px rgba(0,159,218,.2),inset 0 1px rgba(255,255,255,.22);transition:transform .15s ease,filter .15s ease}.support-v23-cta:hover,.support-v23-cta:active{transform:translateY(-1px);filter:brightness(1.05)}.support-v23-cta:disabled{opacity:.5;cursor:not-allowed;transform:none}.support-v23-cta .cta-headset{width:48px;height:48px;display:grid;place-items:center}.support-v23-cta .cta-headset svg{width:44px;height:44px;fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.support-v23-cta strong{text-align:left;font-size:clamp(18px,2.7vw,25px)}.support-v23-cta>b{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#043b63;color:#16e6f0;font-size:27px}
.nav-icon-support svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;margin:auto}.nav-btn.active .nav-icon-support{filter:drop-shadow(0 0 7px rgba(31,235,242,.72))}
@keyframes supportOrbitSpin{to{transform:rotate(360deg)}}@keyframes supportRingPulse{0%,100%{opacity:.28;transform:translate(-50%,-50%) rotateX(72deg) scale(.88)}50%{opacity:.85;transform:translate(-50%,-50%) rotateX(72deg) scale(1.06)}}
@media(max-width:680px){
  .support-v23{margin:10px 6px 18px;padding:18px 13px 20px;border-radius:20px}.support-v23-orbit{width:145px;height:145px}.support-v23-headset{width:78px;height:78px;border-width:5px}.support-v23-headset svg{width:49px;height:49px}.support-v23-badge{font-size:12px;padding:5px 14px}.support-v23-hero h1{font-size:22px;margin:15px 0 12px}.support-v23-ready{font-size:12px;gap:7px}.support-v23-ready i{width:7px;height:7px}
  .support-v23-agent{margin:22px 0 14px;padding:15px 14px;grid-template-columns:110px 1fr;gap:13px;border-radius:17px}.support-v23-agent-art{height:133px}.support-v23-agent-headset{width:82px;height:82px}.support-v23-agent-headset svg{width:56px;height:56px}.support-v23-agent-art .ring-a{width:125px;height:55px}.support-v23-agent-art .ring-b{width:100px;height:42px}.support-v23-agent-art .ring-c{width:76px;height:31px}.support-v23-agent-art .chat-dot{right:3px;top:13px;font-size:9px;padding:2px 5px 4px}.support-v23-agent-copy h3{font-size:17px;margin-bottom:6px}.support-v23-agent-copy p{font-size:12px;line-height:1.6}.support-v23-channel{font-size:11px;padding:5px 8px;margin-top:9px}
  .support-v23-features{gap:9px}.support-v23-feature{min-height:72px;padding:11px 13px;grid-template-columns:48px 1fr;gap:10px;border-radius:15px}.support-v23-feature .feature-icon{width:44px;height:44px}.support-v23-feature .feature-icon svg{width:30px;height:30px}.support-v23-feature b{font-size:15px;margin-bottom:3px}.support-v23-feature small{font-size:11px}.support-v23-feature em{font-size:28px}
  .support-v23-cta{min-height:61px;border-radius:15px;padding:0 12px;grid-template-columns:42px 1fr 39px;gap:8px}.support-v23-cta .cta-headset{width:38px;height:38px}.support-v23-cta .cta-headset svg{width:35px;height:35px}.support-v23-cta strong{font-size:16px}.support-v23-cta>b{width:36px;height:36px;font-size:21px}
}


/* ===== V24 support fixed-layout refinement ===== */
.page:has(.support-v23){
  height:calc(100dvh - 68px);
  min-height:0;
  overflow:hidden;
  padding-bottom:78px;
}
.page:has(.support-v23) .support-page-head{flex:0 0 48px}
.page:has(.support-v23) .support-v23{
  height:calc(100% - 58px);
  max-height:none;
  overflow:hidden;
  margin-bottom:0;
}
.support-v23-feature{grid-template-columns:62px 1fr}
.support-v23-feature em{display:none!important}

@media (max-width:699px){
  .page:has(.support-v23){padding-top:6px;padding-bottom:74px}
  .support-v23{margin:4px 4px 0;padding:10px 11px 11px;border-radius:18px;display:flex;flex-direction:column;justify-content:space-between;gap:7px}
  .support-v23-hero{flex:0 0 auto}
  .support-v23-orbit{width:92px;height:92px;margin:0 auto 2px}
  .support-v23-orbit>i:nth-of-type(1){inset:6px}
  .support-v23-orbit>i:nth-of-type(2){inset:17px}
  .support-v23-orbit>b{inset:28px}
  .support-v23-headset{width:54px;height:54px;border-width:4px}
  .support-v23-headset svg{width:34px;height:34px}
  .support-v23-badge{font-size:10px;padding:3px 11px;margin-top:-3px}
  .support-v23-hero h1{font-size:18px;margin:7px 0 6px;line-height:1.2}
  .support-v23-ready{font-size:10px;gap:5px}
  .support-v23-ready i{width:6px;height:6px}
  .support-v23-agent{margin:4px 0 2px;padding:9px 10px;grid-template-columns:92px 1fr;gap:9px;border-radius:15px;min-height:104px}
  .support-v23-agent-art{height:96px}
  .support-v23-agent-headset{width:64px;height:64px}
  .support-v23-agent-headset svg{width:43px;height:43px}
  .support-v23-agent-art .ring-a{width:98px;height:42px}.support-v23-agent-art .ring-b{width:79px;height:33px}.support-v23-agent-art .ring-c{width:60px;height:25px}
  .support-v23-agent-art .chat-dot{right:0;top:8px;font-size:8px;padding:1px 4px 3px}
  .support-v23-agent-copy h3{font-size:15px;margin-bottom:4px}
  .support-v23-agent-copy p{font-size:10px;line-height:1.45}
  .support-v23-channel{font-size:9px;padding:3px 6px;margin-top:5px;gap:5px}
  .support-v23-channel i{width:6px;height:6px}
  .support-v23-features{gap:6px}
  .support-v23-feature{min-height:52px;padding:6px 10px;grid-template-columns:38px 1fr;gap:8px;border-radius:13px}
  .support-v23-feature .feature-icon{width:36px;height:36px}
  .support-v23-feature .feature-icon svg{width:24px;height:24px}
  .support-v23-feature b{font-size:13px;margin-bottom:1px}
  .support-v23-feature small{font-size:9px;line-height:1.2}
  .support-v23-cta{min-height:48px;margin-top:2px;border-radius:13px;padding:0 10px;grid-template-columns:34px 1fr 32px;gap:6px}
  .support-v23-cta .cta-headset{width:31px;height:31px}.support-v23-cta .cta-headset svg{width:28px;height:28px}
  .support-v23-cta strong{font-size:14px}.support-v23-cta>b{width:30px;height:30px;font-size:18px}
}
