/* =========================================================
   BTFX V2 — clean dark market-network UI
   Visual direction based on the supplied second.talos.my reference.
   This file intentionally replaces the former black/gold + web3 layers.
   ========================================================= */
:root{
  --btfx-bg:#040914;
  --btfx-bg-2:#071225;
  --btfx-panel:#0a1728;
  --btfx-panel-2:#0b1a2d;
  --btfx-line:#1c3551;
  --btfx-line-soft:rgba(76,126,184,.18);
  --btfx-text:#eef6ff;
  --btfx-muted:#8ea7c4;
  --btfx-accent:#67e0c1;
  --btfx-accent-2:#35bfa6;
  --btfx-green:#42d395;
  --btfx-red:#df5764;
  --btfx-warn:#f1c65a;
  --btfx-radius:17px;
  --btfx-mono:'IBM Plex Mono',monospace;
  --btfx-sans:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{background:var(--btfx-bg)}
body.btfx-v2-body{margin:0;background:
  radial-gradient(circle at 50% -10%,rgba(38,90,158,.22),transparent 36%),
  repeating-linear-gradient(135deg,rgba(255,255,255,.009) 0 1px,transparent 1px 6px),
  var(--btfx-bg)!important;color:var(--btfx-text);font-family:var(--btfx-sans);min-height:100vh;padding-bottom:102px}
a{color:inherit}
.container,.btfx-shell{width:min(1136px,calc(100% - 34px));margin-left:auto;margin-right:auto}
.btfx-v2-main{min-height:calc(100vh - 70px);padding:0!important;margin:0!important;background:transparent!important}

/* top network bar */
.navbar,.bottom-nav,.footer{display:none!important}
.btfx-v2-header{height:64px;border-bottom:1px solid rgba(72,118,177,.20);background:rgba(3,9,20,.94);backdrop-filter:blur(18px);position:sticky;top:0;z-index:700}
.btfx-v2-header-inner{width:min(1136px,calc(100% - 34px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}
.btfx-v2-brand{display:inline-flex;gap:10px;align-items:center;text-decoration:none}
.btfx-v2-brand-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--btfx-accent);box-shadow:0 0 26px rgba(103,224,193,.18);overflow:hidden}
.btfx-v2-brand-icon img{width:31px;height:31px;object-fit:cover;border-radius:9px;filter:saturate(.8)}
.btfx-v2-brand-copy{display:flex;flex-direction:column;line-height:1.05}
.btfx-v2-brand-copy small{font:600 8px/1.2 var(--btfx-mono);letter-spacing:.16em;color:#83979e;text-transform:uppercase}
.btfx-v2-brand-copy strong{font:800 14px/1.2 var(--btfx-sans);letter-spacing:.03em;color:var(--btfx-text)}
.btfx-v2-header-actions{display:flex;align-items:center;gap:10px}
.btfx-network-live{font:600 8px/1 var(--btfx-mono);letter-spacing:.16em;text-transform:uppercase;color:#7e9299;display:flex;align-items:center;gap:7px}
.btfx-network-live i{width:6px;height:6px;border-radius:50%;background:var(--btfx-accent);box-shadow:0 0 10px var(--btfx-accent)}
.btfx-icon-action{width:32px;height:32px;border:1px solid rgba(103,224,193,.22);border-radius:9px;display:grid;place-items:center;text-decoration:none;color:var(--btfx-accent);background:rgba(103,224,193,.025);font-size:13px}
.btfx-icon-action:hover{background:rgba(103,224,193,.09);border-color:rgba(103,224,193,.42)}

/* fixed dock */
.btfx-v2-dock{position:fixed;left:50%;bottom:15px;transform:translateX(-50%);z-index:850;width:min(640px,calc(100% - 28px));height:65px;padding:7px 10px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(6,16,31,.96);border:1px solid #1b3655;border-radius:19px;box-shadow:0 22px 70px rgba(0,0,0,.42);backdrop-filter:blur(20px)}
.btfx-dock-item{height:50px;border-radius:13px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#718a92;font:600 8px/1 var(--btfx-mono);text-transform:uppercase;letter-spacing:.05em;transition:.18s ease}
.btfx-dock-item i{font-size:16px}
.btfx-dock-item:hover,.btfx-dock-item.active{color:var(--btfx-accent)}
.btfx-dock-main{background:var(--btfx-accent);color:#051018!important;box-shadow:0 6px 0 rgba(18,85,76,.65),0 0 24px rgba(103,224,193,.14)}
.btfx-dock-main i{font-size:18px}

/* home */
.btfx-second-home{padding:30px 0 70px}
.btfx-welcome-panel{min-height:137px;border:1px solid #1b3652;border-radius:var(--btfx-radius);background:linear-gradient(100deg,#091727 0%,#0a192c 63%,#0d2238 100%);padding:22px 24px;display:grid;grid-template-columns:1fr 295px;gap:34px;align-items:center}
.btfx-kicker{font:600 8px/1.2 var(--btfx-mono);letter-spacing:.14em;text-transform:uppercase;color:#78919a}
.btfx-welcome-copy h1{font-family:'Archivo Black',var(--btfx-sans);font-size:37px;letter-spacing:-.055em;margin:10px 0 8px;color:#f2fbfa;text-transform:uppercase}
.btfx-welcome-copy p{margin:0 0 13px;color:#81969e;font-size:12px}
.btfx-inline-links{display:flex;align-items:center;gap:9px;font:600 9px/1 var(--btfx-mono);text-transform:uppercase;letter-spacing:.04em;color:var(--btfx-accent)}
.btfx-inline-links a{text-underline-offset:3px}
.btfx-activity-card{height:91px;border-radius:12px;background:rgba(4,16,32,.66);padding:12px 13px;border:1px solid rgba(103,224,193,.05)}
.btfx-activity-head,.btfx-activity-foot{display:flex;align-items:center;justify-content:space-between;color:#70858d;font:600 7px/1 var(--btfx-mono);text-transform:uppercase}
.btfx-activity-head b{color:var(--btfx-accent);font-weight:600}.btfx-activity-head b i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--btfx-accent);margin-right:5px;box-shadow:0 0 8px var(--btfx-accent)}
.btfx-activity-bars{height:49px;display:flex;align-items:flex-end;gap:8px;padding:9px 0 5px}
.btfx-activity-bars i{flex:1;height:var(--h);min-height:8px;border-radius:2px 2px 0 0;background:linear-gradient(180deg,#4c9e90,var(--btfx-accent-2));box-shadow:0 0 13px rgba(103,224,193,.12)}

.btfx-section{margin-top:49px}
.btfx-section-title{display:flex;align-items:center;gap:15px;margin-bottom:13px}
.btfx-section-title h2{font-size:20px;letter-spacing:-.03em;margin:0;font-weight:800;color:#edf5f3;white-space:nowrap}
.btfx-section-title>span{height:1px;background:#1c3858;flex:1}
.btfx-market-title{justify-content:space-between;border-bottom:1px solid #1a3451;padding-bottom:10px}
.btfx-market-title h2{margin-right:auto}
.btfx-view-all,.btfx-terminal-btn{border:0;background:var(--btfx-accent);color:#051018;font:700 9px/1 var(--btfx-mono);text-transform:uppercase;letter-spacing:.05em;border-radius:7px;padding:11px 17px;cursor:pointer;text-decoration:none}

/* responsive heat map */
.btfx-heatmap{height:390px;border-radius:14px;border:1px solid #1d3b5d;overflow:hidden;display:grid;grid-template-columns:2.15fr .65fr .5fr;grid-template-rows:1.15fr .82fr .62fr;background:#0a151b;gap:2px;padding:2px}
.btfx-heat-loading{grid-column:1/-1;grid-row:1/-1;display:grid;place-items:center;color:#7f959c;font:600 10px var(--btfx-mono)}
.btfx-heat-tile{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid rgba(4,11,14,.75);overflow:hidden;padding:9px;color:#f7fbfa;background:#18272b}
.btfx-heat-tile.pos{background:linear-gradient(145deg,rgba(31,89,66,var(--heat-alpha)),#173329)}
.btfx-heat-tile.neg{background:linear-gradient(145deg,rgba(139,31,45,var(--heat-alpha)),#5f1722)}
.btfx-heat-tile.flat{background:#3d4446}
.btfx-heat-tile.big{grid-row:1/4;grid-column:1}
.btfx-heat-tile.medium-a{grid-row:1/3;grid-column:2}
.btfx-heat-tile.medium-b{grid-row:3;grid-column:2}
.btfx-heat-tile .heat-avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#122029;font:800 10px var(--btfx-sans);margin-bottom:8px;box-shadow:0 6px 18px rgba(0,0,0,.14)}
.btfx-heat-tile.big .heat-avatar{width:54px;height:54px;font-size:12px}
.btfx-heat-tile strong{font-size:14px;line-height:1.1;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.btfx-heat-tile.big strong{font-size:20px}.btfx-heat-tile em{font-style:normal;font-weight:700;font-size:12px;margin-top:5px}.btfx-heat-tile.big em{font-size:16px}
.btfx-heat-small-grid{grid-column:3;grid-row:1/4;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:2px;min-width:0}
.btfx-heat-small-grid .btfx-heat-tile strong{font-size:9px}.btfx-heat-small-grid .btfx-heat-tile em{font-size:8px}.btfx-heat-small-grid .heat-avatar{width:25px;height:25px;font-size:7px;margin-bottom:5px}
.btfx-heat-legend{height:15px;margin-top:-14px;position:relative;z-index:4;width:330px;display:flex;align-items:center;gap:0;padding:0 7px;color:#778a91;font:600 7px var(--btfx-mono)}
.btfx-heat-legend i{height:7px;flex:1}.btfx-heat-legend .neg3{background:#8a1726}.btfx-heat-legend .neg2{background:#b42133}.btfx-heat-legend .neg1{background:#c9404e}.btfx-heat-legend .flat{background:#3d4548}.btfx-heat-legend .pos1{background:#2d7658}.btfx-heat-legend .pos2{background:#319d73}.btfx-heat-legend .pos3{background:#38c98e}

/* list */
.btfx-market-tools{display:flex;gap:10px;margin:14px 0}
.btfx-search-box{height:38px;min-width:240px;display:flex;align-items:center;gap:9px;padding:0 12px;background:#081529;border:1px solid #1b3858;border-radius:9px;color:#6b8189}
.btfx-search-box input{width:100%;background:transparent!important;border:0!important;outline:0!important;color:#d9e8e5!important;font:500 11px var(--btfx-sans)!important;padding:0!important;box-shadow:none!important}
.btfx-market-sort{height:38px;background:#081529!important;border:1px solid #1b3858!important;border-radius:9px!important;color:#91a3a8!important;padding:0 34px 0 12px!important;font:500 10px var(--btfx-sans)!important;margin-left:auto}
.btfx-market-board{min-height:132px}
#marketRows.market-rows{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}
#marketRows .market-row.binance-market-row{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto auto!important;gap:4px 8px!important;min-height:115px!important;padding:15px!important;background:#0a1728!important;border:1px solid #1d3a5a!important;border-radius:12px!important;cursor:pointer;position:relative;overflow:hidden;color:var(--btfx-text)!important}
#marketRows .market-row.binance-market-row:hover{border-color:#47736f!important;transform:translateY(-1px)}
#marketRows .market-left{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:10px!important}
#marketRows .coin-avatar{width:36px!important;height:36px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#eff8f5!important;color:#11232a!important;font:800 9px var(--btfx-sans)!important;border:0!important;box-shadow:none!important}
#marketRows .coin-meta .symbol{font:800 12px var(--btfx-sans)!important;color:#eef7f5!important}#marketRows .coin-meta .name{font:500 9px var(--btfx-sans)!important;color:#71858d!important;margin-top:2px}
#marketRows .price-col{grid-column:1!important;font:600 10px var(--btfx-mono)!important;color:#dce8e5!important;align-self:end}
#marketRows .change-col{grid-column:2!important;font:700 9px var(--btfx-mono)!important;align-self:end;text-align:right}.change-col.pos{color:var(--btfx-accent)!important}.change-col.neg{color:var(--btfx-red)!important}
#marketRows .volume-col,#marketRows .trend-col,#marketRows .trade-shortcut{display:none!important}
#marketRows .market-row.empty{grid-column:1/-1;padding:35px;text-align:center;color:#71858d;background:#0a1728;border:1px solid #1d3a5a;border-radius:12px}
.btfx-pagination{display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;margin:17px 0 0!important}.btfx-pagination button{width:31px;height:31px;border-radius:8px;border:1px solid #2b4048;background:#0a1728;color:#8da3aa}.btfx-pagination span{font:600 9px var(--btfx-mono);color:#758a91}
.btfx-quick-panel{margin-top:48px;border:1px solid #293f48;border-radius:16px;background:#0a1728;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.btfx-quick-panel h2{margin:7px 0 0;font-size:20px}.btfx-terminal-btn{display:inline-flex;align-items:center;gap:12px;padding:14px 18px}

/* generic user pages — unify visual language without touching backend logic */
.auth-container,.finance-container,.profile-container,.news-container,.trade-page{position:relative;z-index:1}
.auth-card,.profile-card,.history-card-item,.asset-card,.bind-section,.withdraw-form-section,.news-card,.trade-form-panel,.order-book-panel,.chart-section-top,.symbol-info-bar,.positions-content,.position-tabs-container{background:#0a1728!important;border-color:#1b3959!important;box-shadow:none!important}
.auth-card,.profile-card,.history-card-item,.asset-card,.bind-section,.withdraw-form-section,.news-card{border-radius:14px!important}
.form-control,.binance-input,.amount-input,.search-input-wrapper,.precision-select{background:#061226!important;border-color:#284049!important;color:#e7f3f0!important;box-shadow:none!important}
.btn-primary,.action-btn-full,.trade-action-btn.buy-btn{background:var(--btfx-accent)!important;color:#061116!important;border-color:var(--btfx-accent)!important;box-shadow:none!important}
.btn-outline,.btn-secondary{background:#08162a!important;color:#c7d7d4!important;border-color:#1d3b5c!important}
.main-content{background:transparent!important}.web3-page-bg{display:none!important}
.finance-header h1,.profile-header h1,.news-header h1{color:#eff8f6!important}.text-muted,.history-label,.profile-card p,.finance-header p,.news-header p{color:#81959c!important}

/* trade */
.trade-page{padding:18px 16px 94px!important;gap:10px!important;background:transparent!important}.symbol-info-bar{border-radius:14px!important;margin:0!important}.chart-section-top{border-radius:14px!important;overflow:hidden}.trade-main-layout{gap:10px!important;background:transparent!important}.order-book-panel,.trade-form-panel{border-radius:14px!important;overflow:hidden}.funding-rate-bar{background:#071326!important;border-color:#1b3654!important;color:#82979e!important}.timeframe-btn,.indicator-btn,.duration-card{background:#0b1a2d!important;color:#81959c!important;border-color:#1d3b5c!important}.timeframe-btn.active,.indicator-btn.active,.duration-card.active{background:rgba(103,224,193,.12)!important;color:var(--btfx-accent)!important;border-color:rgba(103,224,193,.45)!important;box-shadow:none!important}

/* auth */
.auth-container{min-height:calc(100vh - 160px)!important;padding:48px 16px 110px!important;display:grid!important;place-items:center!important}.auth-card{width:min(460px,100%)!important;padding:30px!important}.auth-kicker{color:var(--btfx-accent)!important;font:600 9px var(--btfx-mono)!important;text-transform:uppercase;letter-spacing:.1em}.auth-card h1{color:#eff8f6!important}.auth-links a{color:var(--btfx-accent)!important}

@media(max-width:780px){
  body.btfx-v2-body{padding-bottom:94px}.btfx-v2-header{height:58px}.btfx-v2-brand-copy small{display:none}.btfx-network-live{display:none}.btfx-second-home{padding-top:18px}.btfx-welcome-panel{grid-template-columns:1fr;padding:20px;gap:20px}.btfx-welcome-copy h1{font-size:32px}.btfx-activity-card{height:92px}.btfx-section{margin-top:34px}.btfx-section-title h2{font-size:18px}.btfx-heatmap{height:360px;grid-template-columns:1.45fr .75fr;grid-template-rows:1.1fr .75fr .7fr}.btfx-heat-tile.big{grid-row:1/4;grid-column:1}.btfx-heat-tile.medium-a{grid-row:1;grid-column:2}.btfx-heat-tile.medium-b{grid-row:2;grid-column:2}.btfx-heat-small-grid{grid-row:3;grid-column:2;grid-template-columns:repeat(3,1fr)}.btfx-heat-small-grid .btfx-heat-tile:nth-child(n+4){display:none}.btfx-market-tools{display:grid;grid-template-columns:1fr}.btfx-search-box{min-width:0;width:100%}.btfx-market-sort{width:100%;margin:0}.btfx-market-title{align-items:center}.btfx-view-all{padding:10px 13px}#marketRows.market-rows{grid-template-columns:repeat(2,minmax(0,1fr))}.btfx-quick-panel{align-items:flex-start;flex-direction:column}.btfx-v2-dock{height:63px;bottom:10px}.btfx-dock-item{height:48px}.btfx-dock-item span{font-size:7px}
}
@media(max-width:430px){
 .container,.btfx-shell,.btfx-v2-header-inner{width:min(100% - 22px,1136px)}.btfx-welcome-copy p{font-size:11px;line-height:1.55}.btfx-heatmap{height:330px}.btfx-heat-tile .heat-avatar{width:31px;height:31px}.btfx-heat-tile strong{font-size:11px}.btfx-heat-tile.big strong{font-size:16px}.btfx-heat-small-grid{grid-template-columns:repeat(2,1fr)}.btfx-heat-small-grid .btfx-heat-tile:nth-child(n+3){display:none}#marketRows.market-rows{grid-template-columns:1fr 1fr;gap:8px!important}#marketRows .market-row.binance-market-row{padding:12px!important;min-height:106px!important}.btfx-v2-dock{width:calc(100% - 18px);grid-template-columns:repeat(5,1fr);padding:6px}.btfx-dock-item i{font-size:14px}.btfx-icon-action{width:30px;height:30px}.btfx-quick-panel h2{font-size:17px}
}


/* TradingView-only Market Heatmap */
.btfx-tv-heatmap{
    height:500px;
    border:1px solid #1d3b5d;
    border-radius:14px;
    overflow:hidden;
    background:#050d1b;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)
}
.btfx-tv-heatmap .tradingview-widget-container{
    height:100%!important;
    width:100%!important
}
.btfx-tv-heatmap .tradingview-widget-container__widget{
    width:100%!important
}
.btfx-tv-heatmap .tradingview-widget-copyright{
    height:30px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 12px;
    background:#050d1b;
    color:#61777e;
    font:600 8px/1 var(--btfx-mono)
}
.btfx-tv-heatmap .tradingview-widget-copyright a{
    color:#6fe0c1;
    text-decoration:none
}
@media(max-width:992px){
    .btfx-tv-heatmap{height:440px}
}
@media(max-width:540px){
    .btfx-tv-heatmap{height:370px}
}


/* V5 — TradingView real market list with symbol logos */
.btfx-market-title .btfx-view-all{
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.btfx-tv-market-list{
    height:670px;
    margin-top:14px;
    border:1px solid #1d3b5d;
    border-radius:14px;
    overflow:hidden;
    background:#050d1b;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);
}
.btfx-tv-market-list .tradingview-widget-container{
    width:100%!important;
    height:100%!important;
}
.btfx-tv-market-list .tradingview-widget-container__widget{
    width:100%!important;
}
.btfx-tv-market-list .tradingview-widget-copyright{
    height:30px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 12px;
    background:#050d1b;
    color:#61777e;
    font:600 8px/1 var(--btfx-mono);
}
.btfx-tv-market-list .tradingview-widget-copyright a{
    color:#6fe0c1;
    text-decoration:none;
}
@media(max-width:780px){
    .btfx-tv-market-list{height:640px}
}
@media(max-width:540px){
    .btfx-tv-market-list{height:600px}
}


/* =========================================================
   BTFX V6 — global blue-black foundation
   ========================================================= */
body.btfx-v2-body{
  background:
    radial-gradient(circle at 50% -14%,rgba(40,92,160,.24),transparent 35%),
    radial-gradient(circle at 100% 25%,rgba(18,58,112,.13),transparent 28%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.008) 0 1px,transparent 1px 7px),
    #040914!important;
}
.btfx-v2-header{background:rgba(3,9,20,.95)!important;border-bottom-color:rgba(72,118,177,.20)!important}
.btfx-v2-dock{background:rgba(5,15,30,.97)!important;border-color:#1b3655!important}
.btfx-welcome-panel,
.auth-card,.profile-card,.history-card-item,.asset-card,.bind-section,.withdraw-form-section,.news-card,
.trade-form-panel,.order-book-panel,.chart-section-top,.symbol-info-bar,.positions-content,.position-tabs-container,
.btfx-quick-panel{
  background:linear-gradient(180deg,rgba(14,30,52,.96),rgba(7,19,36,.98))!important;
  border-color:#1c3858!important;
}
.form-control,.binance-input,.amount-input,.search-input-wrapper,.precision-select{
  background:#061226!important;border-color:#1b3859!important;color:#eef6ff!important;
}
.finance-container,.profile-container,.news-container,.trade-page,.auth-container,.error-page{background:transparent!important}
.news-category-btn,.custom-tab,.duration-card,.timeframe-btn,.indicator-btn{
  border-color:#1b3859!important;
}
.btfx-tv-heatmap,.btfx-tv-market-list{background:#050d1b!important;border-color:#1d3b5d!important}


/* =========================================================
   BTFX V7 — uniform blue-black cards + EN/ZH switch
   ========================================================= */
:root{
  --btfx-card:#091827;
  --btfx-card-raised:#0b1b2e;
  --btfx-card-deep:#061226;
  --btfx-card-border:#1c3858;
  --btfx-blue:#2f7cf6;
  --btfx-blue-light:#8fc2ff;
}

/* Same surface language as Home across all user-facing screens */
.btfx-welcome-panel,
.btfx-activity-card,
.btfx-quick-panel,
.news-card,
.auth-card,
.profile-card,
.history-card-item,
.asset-card,
.bind-section,
.withdraw-form-section,
.symbol-info-bar,
.chart-section-top,
.order-book-panel,
.trade-form-panel,
.position-tabs-container,
.positions-content,
.announcement-modal-content,
.credit-modal-box{
  background:var(--btfx-card)!important;
  border:1px solid var(--btfx-card-border)!important;
  box-shadow:none!important;
}

.form-control,.binance-input,.amount-input,.search-input-wrapper,.precision-select,
.country-selector-btn,.country-dropdown,.symbol-dropdown{
  background:var(--btfx-card-deep)!important;
  border-color:#1b3859!important;
  color:#eef6ff!important;
}
.funding-rate-bar,.order-book-header-row,.order-book-current-price,.precision-selector{
  background:var(--btfx-card-deep)!important;
  border-color:var(--btfx-card-border)!important;
}
.auth-card-login::before{display:none!important}
.auth-card,.auth-card-login{background:var(--btfx-card)!important;border-color:var(--btfx-card-border)!important}

/* NEWS: equal cards + blue-black fallback artwork */
.news-container{
  width:min(1136px,calc(100% - 34px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:28px 0 118px!important;
}
.news-header{margin-bottom:22px!important}
.news-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.news-card{
  display:grid!important;
  grid-template-columns:156px minmax(0,1fr)!important;
  min-width:0!important;
  min-height:176px!important;
  height:100%!important;
  overflow:hidden!important;
  border-radius:14px!important;
}
.news-card-image{
  width:156px!important;
  height:100%!important;
  min-height:176px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#061226,#0a2544)!important;
  border-right:1px solid var(--btfx-card-border)!important;
}
.news-card-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:176px!important;
  object-fit:cover!important;
  object-position:center!important;
}
.news-card-image.placeholder{display:grid!important;place-items:center!important;color:var(--btfx-blue-light)!important}
.news-card-content{min-width:0!important;padding:16px 17px!important;background:transparent!important}
.news-card-source{color:var(--btfx-blue-light)!important}
.news-card-title{color:#f2f7ff!important}
.news-card-excerpt,.news-card-meta{color:#89a3c0!important}
.news-card-meta div span{background:#0c2746!important;color:#8fc1ff!important}
.news-card:hover{transform:translateY(-2px)!important;border-color:#2b5f94!important;box-shadow:0 12px 34px rgba(0,0,0,.22)!important}
.news-category-btn{background:#07182b!important;border-color:#1d3d60!important;color:#8ea8c6!important}
.news-category-btn:hover{border-color:#2f7cf6!important;color:#9fc8ff!important}
.news-category-btn.active{background:#1d64c8!important;border-color:#3987ef!important;color:#fff!important;box-shadow:none!important}

/* Visible language control */
.btfx-lang-action{
  min-width:54px;height:34px;padding:0 10px;border:1px solid #1e4166;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#9fc8ff;background:#07182a;
  text-decoration:none;font:700 9px/1 var(--btfx-mono);letter-spacing:.04em;transition:.18s ease;
}
.btfx-lang-action:hover{border-color:#397fca;background:#0b213b;color:#d8ebff}
.btfx-lang-action i{font-size:12px}

@media(max-width:850px){.news-grid{grid-template-columns:1fr!important}}
@media(max-width:560px){
  .news-container{width:calc(100% - 22px)!important;padding-top:20px!important}
  .news-card{grid-template-columns:112px minmax(0,1fr)!important;min-height:145px!important}
  .news-card-image{width:112px!important;min-height:145px!important}
  .news-card-image img{min-height:145px!important}
  .news-card-content{padding:13px!important}
  .btfx-lang-action{min-width:48px;padding:0 8px}
}
@media(max-width:390px){
  .news-card{grid-template-columns:1fr!important}
  .news-card-image{width:100%!important;height:150px!important;min-height:150px!important;border-right:0!important;border-bottom:1px solid var(--btfx-card-border)!important}
  .news-card-image img{height:150px!important;min-height:150px!important}
}


/* =========================================================
   BTFX V8 — mint actions + clean news artwork/detail view
   ========================================================= */

/* News category pills: BTFX mint/green instead of legacy blue */
.news-category-btn{
  background:#071b24!important;
  border:1px solid rgba(103,224,193,.38)!important;
  color:#7edfc7!important;
  box-shadow:none!important;
}
.news-category-btn:hover{
  background:rgba(103,224,193,.10)!important;
  border-color:rgba(103,224,193,.72)!important;
  color:#b6f6e5!important;
}
.news-category-btn.active{
  background:var(--btfx-accent)!important;
  border-color:var(--btfx-accent)!important;
  color:#041115!important;
  box-shadow:0 0 0 1px rgba(103,224,193,.08),0 8px 22px rgba(103,224,193,.12)!important;
}

/* News card accents/tags are mint, while the card itself stays blue-black. */
.news-card{cursor:pointer!important;outline:none!important}
.news-card:focus-visible{border-color:var(--btfx-accent)!important;box-shadow:0 0 0 2px rgba(103,224,193,.15)!important}
.news-card-source{color:var(--btfx-accent)!important}
.news-card-meta div span,.news-tag{
  display:inline-flex!important;
  align-items:center!important;
  background:rgba(103,224,193,.10)!important;
  border:1px solid rgba(103,224,193,.16)!important;
  color:#86e8cf!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  font-size:.7rem!important;
  line-height:1.1!important;
}
.news-card-image{
  background:linear-gradient(145deg,#04101f,#082443)!important;
}

/* Login/Register primary action buttons must use the BTFX mint accent. */
.page-login .auth-card .btn-primary,
.page-register .auth-card .btn-primary,
#loginForm .btn-primary,
#registerForm .btn-primary,
.auth-card .btn.btn-primary.btn-block{
  background:var(--btfx-accent)!important;
  border-color:var(--btfx-accent)!important;
  color:#041115!important;
  box-shadow:0 8px 24px rgba(103,224,193,.10)!important;
}
.page-login .auth-card .btn-primary:hover,
.page-register .auth-card .btn-primary:hover,
#loginForm .btn-primary:hover,
#registerForm .btn-primary:hover,
.auth-card .btn.btn-primary.btn-block:hover{
  background:#7ce8cd!important;
  border-color:#7ce8cd!important;
  color:#031014!important;
}

/* News detail modal: every card now has a readable destination, including offline/mock news. */
body.news-modal-open{overflow:hidden!important}
.news-detail-modal{
  position:fixed;inset:0;z-index:2500;display:none;align-items:center;justify-content:center;
  padding:22px;background:rgba(1,6,14,.78);backdrop-filter:blur(14px);
}
.news-detail-modal.open{display:flex}
.news-detail-card{
  position:relative;width:min(900px,100%);max-height:min(84vh,820px);overflow:auto;
  display:grid;grid-template-columns:minmax(260px,36%) minmax(0,1fr);
  background:#091827;border:1px solid rgba(103,224,193,.30);border-radius:18px;
  box-shadow:0 30px 100px rgba(0,0,0,.55);
}
.news-detail-close{
  position:absolute;right:13px;top:13px;z-index:3;width:36px;height:36px;border-radius:10px;
  border:1px solid rgba(103,224,193,.28);background:rgba(3,14,23,.84);color:#bdf8e9;
  font-size:22px;line-height:1;cursor:pointer;
}
.news-detail-image{min-height:380px;background:#061226;border-right:1px solid #1c3858;overflow:hidden}
.news-detail-image img{width:100%;height:100%;min-height:380px;object-fit:cover;display:block}
.news-detail-body{padding:34px 34px 30px;min-width:0}
.news-detail-eyebrow{font:700 10px/1 var(--btfx-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--btfx-accent);margin-bottom:12px}
.news-detail-body h2{margin:0 42px 12px 0;color:#f4f8ff;font-size:clamp(22px,3vw,32px);line-height:1.18;letter-spacing:-.03em}
.news-detail-time{color:#7f9bb8;font-size:12px;margin-bottom:20px}
.news-detail-body p{margin:0;color:#a8bfd8;font-size:15px;line-height:1.8;white-space:pre-wrap}
.news-detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.news-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.news-source-btn,.news-close-btn{
  min-height:42px;padding:0 16px;border-radius:10px;font:700 10px/1 var(--btfx-mono);letter-spacing:.04em;text-transform:uppercase;cursor:pointer;
}
.news-source-btn{background:var(--btfx-accent);border:1px solid var(--btfx-accent);color:#041115}
.news-close-btn{background:#07182b;border:1px solid rgba(103,224,193,.28);color:#8fe8d2}
@media(max-width:700px){
  .news-detail-modal{padding:12px;align-items:flex-end}
  .news-detail-card{grid-template-columns:1fr;max-height:90vh;border-radius:18px 18px 10px 10px}
  .news-detail-image{height:210px;min-height:210px;border-right:0;border-bottom:1px solid #1c3858}
  .news-detail-image img{height:210px;min-height:210px}
  .news-detail-body{padding:22px 18px 20px}
  .news-detail-body h2{margin-right:32px;font-size:21px}
}

/* =========================================================
   BTFX V9 — Financial News Board (no legacy image artwork)
   ========================================================= */
.page-news .news-container{
  width:min(1180px,calc(100% - 40px))!important;
  padding-top:30px!important;
}
.page-news .news-header{margin-bottom:22px!important}
.page-news .news-categories{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-bottom:22px!important}
.page-news .news-category-btn{
  min-height:38px!important;padding:0 16px!important;border-radius:10px!important;
  background:#07182b!important;border:1px solid rgba(103,224,193,.36)!important;
  color:#8fe8d2!important;font-weight:700!important;box-shadow:none!important;
}
.page-news .news-category-btn:hover{background:rgba(103,224,193,.08)!important;border-color:rgba(103,224,193,.72)!important;color:#c6fff1!important}
.page-news .news-category-btn.active{background:var(--btfx-accent)!important;border-color:var(--btfx-accent)!important;color:#041115!important}

.page-news .news-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;align-items:stretch!important;
}
.page-news .news-card.news-finance-card{
  display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;
  min-height:202px!important;height:auto!important;overflow:hidden!important;
  background:linear-gradient(145deg,#091827,#081625)!important;
  border:1px solid #1c3858!important;border-radius:14px!important;
  box-shadow:none!important;cursor:pointer!important;transition:.18s ease!important;
}
.page-news .news-card.news-finance-card:hover{
  transform:translateY(-2px)!important;border-color:rgba(103,224,193,.46)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.22)!important;
}
.page-news .news-market-visual{
  position:relative;min-width:0;overflow:hidden;padding:16px 13px 14px;
  border-right:1px solid #1c3858;
  background:
    radial-gradient(circle at 78% 18%,rgba(63,135,255,.16),transparent 30%),
    linear-gradient(145deg,#061226 0%,#0a2340 100%);
}
.page-news .news-market-visual::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;
  background-image:linear-gradient(rgba(88,154,220,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(88,154,220,.18) 1px,transparent 1px);
  background-size:26px 26px;
}
.page-news .news-visual-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#89a9c8;font:700 8px/1 var(--btfx-mono);letter-spacing:.05em}
.page-news .news-visual-top i{color:var(--btfx-accent);font-size:15px}
.page-news .news-visual-code{position:relative;z-index:1;margin-top:25px;color:#f5f9ff;font:900 32px/1 var(--btfx-display);letter-spacing:-.04em}
.page-news .news-mini-chart{position:absolute;left:10px;right:10px;bottom:35px;width:calc(100% - 20px);height:54px}
.page-news .news-mini-grid{fill:none;stroke:#28517b;stroke-width:.7;opacity:.28}
.page-news .news-mini-line{fill:none;stroke:#55a6ff;stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 5px rgba(85,166,255,.18))}
.page-news .news-visual-live{position:absolute;left:13px;bottom:12px;z-index:1;color:#7391ad;font:700 7px/1 var(--btfx-mono);letter-spacing:.06em}
.page-news .news-visual-live i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--btfx-accent);box-shadow:0 0 8px rgba(103,224,193,.6);margin-right:5px}
.page-news .tone-metal .news-mini-line{stroke:#7fc5ff}.page-news .tone-bank .news-mini-line{stroke:#77e6cd}.page-news .tone-index .news-mini-line{stroke:#6ea6ff}.page-news .tone-oil .news-mini-line{stroke:#56c9e8}

.page-news .news-card-content{
  min-width:0!important;padding:18px 18px 16px!important;display:flex!important;flex-direction:column!important;
  background:transparent!important;overflow:visible!important;
}
.page-news .news-card-source{color:var(--btfx-accent)!important;font:800 10px/1.2 var(--btfx-mono)!important;letter-spacing:.02em;text-transform:uppercase;margin-bottom:8px!important}
.page-news .news-card-title{
  margin:0 0 10px!important;color:#f4f8ff!important;font-size:16px!important;font-weight:800!important;line-height:1.35!important;
  display:block!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
}
.page-news .news-card-excerpt{
  margin:0 0 14px!important;color:#8faac4!important;font-size:13px!important;line-height:1.55!important;
  display:block!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
}
.page-news .news-card-meta{margin-top:auto!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important;color:#6f8daa!important;font-size:11px!important;min-width:0!important}
.page-news .news-card-tags{display:flex!important;gap:5px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.page-news .news-tag{background:rgba(103,224,193,.08)!important;border:1px solid rgba(103,224,193,.17)!important;color:#85e8d0!important;border-radius:999px!important;padding:3px 7px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}

/* The V9 cards never render legacy images. Hide image containers defensively. */
.page-news .news-card-image{display:none!important}

/* Financial modal visual */
.news-detail-market-panel{
  position:relative;min-height:390px;padding:30px;overflow:hidden;border-right:1px solid #1c3858;
  background:linear-gradient(145deg,#061226,#0a2340);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
}
.news-detail-market-panel::before{content:"";position:absolute;inset:0;opacity:.18;background-image:linear-gradient(rgba(88,154,220,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(88,154,220,.15) 1px,transparent 1px);background-size:36px 36px}
.news-detail-market-panel>*{position:relative;z-index:1}
.news-detail-market-label{color:var(--btfx-accent);font:800 10px var(--btfx-mono);letter-spacing:.08em;text-transform:uppercase}
.news-detail-market-panel strong{margin-top:18px;color:#f5f9ff;font:900 58px/1 var(--btfx-display);letter-spacing:-.05em}
.news-detail-market-panel>i{margin-top:18px;color:#79b7f7;font-size:28px}
.news-detail-market-panel svg{position:absolute;left:22px;right:22px;bottom:34px;width:calc(100% - 44px);height:90px}
.news-detail-market-panel svg path{fill:none;stroke:#55a6ff;stroke-width:4;stroke-linecap:round}
.news-detail-image{display:none!important}

@media(max-width:900px){.page-news .news-grid{grid-template-columns:1fr!important}}
@media(max-width:600px){
  .page-news .news-container{width:calc(100% - 22px)!important;padding-top:20px!important}
  .page-news .news-card.news-finance-card{grid-template-columns:92px minmax(0,1fr)!important;min-height:184px!important}
  .page-news .news-market-visual{padding:13px 9px}.page-news .news-visual-top span{display:none}.page-news .news-visual-code{font-size:24px;margin-top:32px}.page-news .news-mini-chart{height:45px}
  .page-news .news-card-content{padding:14px!important}.page-news .news-card-title{font-size:15px!important}.page-news .news-card-excerpt{font-size:12.5px!important}
  .page-news .news-card-meta{align-items:flex-start!important;flex-direction:column!important}.page-news .news-card-tags{justify-content:flex-start!important}
  .news-detail-card{grid-template-columns:1fr!important}.news-detail-market-panel{min-height:190px;border-right:0;border-bottom:1px solid #1c3858;padding:20px}.news-detail-market-panel strong{font-size:42px}.news-detail-market-panel svg{height:60px;bottom:18px}
}

/* =========================================================
   NEXORA V19 — Pixel Market Activity
   Replaces the old bar-chart decoration only.
   ========================================================= */
.btfx-activity-card{
  height:104px!important;
  padding:10px 12px!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:4px!important;
  overflow:hidden!important;
  position:relative!important;
}
.btfx-activity-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 34% 52%,rgba(103,224,193,.07),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 36%);
}
.btfx-activity-head,
.btfx-activity-foot{
  position:relative;
  z-index:3;
}
.btfx-activity-pixel{
  position:relative;
  min-height:0;
  overflow:hidden;
  border-radius:7px;
  background:
    linear-gradient(rgba(103,224,193,.052) 1px,transparent 1px),
    linear-gradient(90deg,rgba(103,224,193,.052) 1px,transparent 1px),
    linear-gradient(180deg,rgba(4,15,29,.18),rgba(3,13,25,.52));
  background-size:6px 6px,6px 6px,100% 100%;
  box-shadow:inset 0 0 16px rgba(2,10,20,.35);
}
.btfx-activity-pixel::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(9,24,39,.36),transparent 13%,transparent 86%,rgba(9,24,39,.34));
}
.btfx-pixel-wave{
  display:block;
  width:100%;
  height:100%;
  min-height:56px;
  overflow:visible;
  color:var(--btfx-accent);
}
.btfx-pixel-glow{
  fill:none;
  stroke:var(--btfx-accent);
  stroke-width:7;
  stroke-linecap:square;
  stroke-linejoin:miter;
  opacity:.09;
  filter:blur(2.2px);
}
.btfx-pixel-blocks rect{
  fill:var(--btfx-accent);
  opacity:.92;
  filter:drop-shadow(0 0 2.2px rgba(103,224,193,.72));
}
.btfx-pixel-blocks rect:nth-child(3n){
  fill:#7aead0;
}
.btfx-pixel-pulse{
  fill:#d8fff5;
  stroke:var(--btfx-accent);
  stroke-width:1.2;
  filter:drop-shadow(0 0 4px rgba(103,224,193,.9));
  animation:nexoraActivityPulse 1.8s ease-in-out infinite;
}
@keyframes nexoraActivityPulse{
  0%,100%{opacity:.55}
  50%{opacity:1}
}
@media(max-width:780px){
  .btfx-activity-card{height:104px!important}
  .btfx-activity-pixel{min-height:56px}
}
@media(max-width:430px){
  .btfx-activity-card{height:100px!important;padding:9px 10px!important}
  .btfx-pixel-wave{min-height:53px}
}
@media(prefers-reduced-motion:reduce){
  .btfx-pixel-pulse{animation:none}
}


/* =========================================================
   NEXORA V20 — Home Market Intelligence
   ========================================================= */
.nex-home-market-intel{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;margin-top:12px;margin-bottom:22px}
.nex-home-tape-panel,.nex-home-sessions{border:1px solid rgba(45,84,118,.72);border-radius:14px;background:linear-gradient(180deg,rgba(7,23,40,.96),rgba(5,18,33,.96));overflow:hidden}
.nex-home-intel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(47,79,109,.5)}
.nex-home-intel-kicker{display:block;color:#647f8c;font:600 6.7px/1 'IBM Plex Mono',monospace;letter-spacing:.12em}.nex-home-intel-head strong{display:block;margin-top:4px;color:#eff8f6;font-size:12px}
.nex-home-feed-state{display:flex;align-items:center;gap:6px;color:#71949a;font:600 6.5px/1 'IBM Plex Mono',monospace;letter-spacing:.08em}.nex-home-feed-state i{width:5px;height:5px;border-radius:50%;background:#67e0c1;box-shadow:0 0 8px rgba(103,224,193,.72)}.nex-home-feed-state b{color:#526f7b;font-weight:600}.nex-home-feed-state.stale i{background:#7c8d95;box-shadow:none}.nex-home-feed-state.stale span{color:#7c8d95}
.nex-home-tape{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:70px}
.nex-home-tape-item{min-width:0;padding:12px 11px;text-decoration:none;border-right:1px solid rgba(44,76,104,.42);transition:background .18s ease}.nex-home-tape-item:last-child{border-right:0}.nex-home-tape-item:hover{background:rgba(103,224,193,.035)}
.nex-home-tape-symbol{display:block;color:#8ca5ad;font:700 7px/1 'IBM Plex Mono',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nex-home-tape-item strong{display:block;margin-top:8px;color:#eff9f6;font:800 13px/1 'Inter',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nex-home-tape-item em{display:inline-block;margin-top:7px;font:700 7px/1 'IBM Plex Mono',monospace;font-style:normal}.nex-home-tape-item em.pos{color:#67e0c1}.nex-home-tape-item em.neg{color:#ff7182}.nex-home-tape-item small{float:right;margin-top:7px;color:#4f6f7a;font:600 5.5px/1 'IBM Plex Mono',monospace}
.nex-home-tape-skeleton{height:70px;border-right:1px solid rgba(44,76,104,.42);background:linear-gradient(90deg,transparent,rgba(103,224,193,.035),transparent);background-size:220% 100%;animation:nexTapeSkeleton 1.3s linear infinite}@keyframes nexTapeSkeleton{to{background-position:-220% 0}}
.nex-home-sessions{padding:12px 13px}.nex-home-session-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid rgba(47,79,109,.46)}.nex-home-session-title span{color:#dcece8;font:700 7px/1 'IBM Plex Mono',monospace;letter-spacing:.1em}.nex-home-session-title small{color:#526e78;font:600 5.5px/1 'IBM Plex Mono',monospace}
.nex-home-session-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.nex-session-card{position:relative;min-width:0;padding:9px 8px;border:1px solid rgba(55,86,112,.45);border-radius:9px;background:#071627}.nex-session-card i{position:absolute;right:7px;top:7px;width:5px;height:5px;border-radius:50%;background:#61757e}.nex-session-card strong{display:block;color:#93a9ae;font:700 6.3px/1 'IBM Plex Mono',monospace;white-space:nowrap}.nex-session-card span{display:block;margin-top:7px;color:#e8f3f0;font:700 9px/1 'IBM Plex Mono',monospace}.nex-session-card b{display:block;margin-top:6px;color:#6d8088;font:700 5.7px/1 'IBM Plex Mono',monospace}.nex-session-card.open{border-color:rgba(103,224,193,.24);background:rgba(103,224,193,.035)}.nex-session-card.open i{background:#67e0c1;box-shadow:0 0 8px rgba(103,224,193,.7)}.nex-session-card.open b{color:#67e0c1}
@media(max-width:900px){.nex-home-market-intel{grid-template-columns:1fr}.nex-home-tape{overflow-x:auto;grid-template-columns:repeat(5,minmax(120px,1fr))}}
@media(max-width:600px){.nex-home-market-intel{width:calc(100% - 14px)!important;margin:8px auto 16px}.nex-home-intel-head{padding:9px 10px}.nex-home-tape{grid-template-columns:repeat(5,minmax(102px,1fr));min-height:61px}.nex-home-tape-item{padding:10px 9px}.nex-home-tape-item strong{font-size:11px}.nex-home-sessions{padding:10px}.nex-home-session-title small{display:none}.nex-session-card{padding:8px 6px}.nex-session-card span{font-size:8px}}

/* =========================================================
   NEXORA V20 — News Intelligence
   ========================================================= */
.news-card-intel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.news-card-source{display:flex!important;align-items:center;gap:6px;min-width:0}.news-card-source small{color:#536f79;font:600 6px/1 'IBM Plex Mono',monospace;letter-spacing:.08em}.news-impact{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid rgba(94,126,142,.24);border-radius:99px;padding:5px 7px;font:700 6.5px/1 'IBM Plex Mono',monospace;letter-spacing:.04em}.news-impact.impact-low{color:#779199;background:rgba(93,118,128,.05)}.news-impact.impact-medium{color:#67e0c1;border-color:rgba(103,224,193,.22);background:rgba(103,224,193,.055)}.news-impact.impact-high{color:#ff8391;border-color:rgba(255,113,130,.22);background:rgba(255,113,130,.05)}
.news-related-row{margin-top:10px;padding-top:9px;border-top:1px solid rgba(46,75,103,.42)}.news-related-market{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;border:0;background:transparent;padding:0;color:#6b8a94;cursor:pointer}.news-related-market span{font:600 5.8px/1 'IBM Plex Mono',monospace;letter-spacing:.08em}.news-related-market strong{color:#77e5c8;font:700 7.5px/1 'IBM Plex Mono',monospace}.news-related-market i{font-size:7px;color:#5ea993;transition:transform .18s ease}.news-related-market:hover i{transform:translateX(2px)}
.news-detail-intel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.news-detail-intel>span:first-child{display:flex;align-items:center;gap:7px;color:#77e5c8;font:700 8px/1 'IBM Plex Mono',monospace}.news-detail-intel small{color:#5b7480;font-size:6px;letter-spacing:.08em}
.news-market-btn{border:1px solid rgba(103,224,193,.23);background:rgba(103,224,193,.065);color:#72e4c7;border-radius:8px;padding:9px 11px;font:700 8px/1 'IBM Plex Mono',monospace;cursor:pointer}.news-market-btn:hover{background:rgba(103,224,193,.11)}
@media(max-width:600px){.news-card-intel-top{gap:5px}.news-impact{padding:4px 5px;font-size:5.5px}.news-related-row{margin-top:7px;padding-top:6px}.news-related-market strong{font-size:6.5px}.news-detail-intel{align-items:flex-start;flex-direction:column}}


/* =========================================================
   NEXORA V20.1 — Global editable copyright
   ========================================================= */
.nex-global-copyright{
  position:relative;
  z-index:2;
  width:100%;
  margin-top:30px;
  padding:18px 16px 94px;
}
.nex-global-copyright-inner{
  width:min(1080px,calc(100% - 18px));
  margin:0 auto;
  padding-top:16px;
  border-top:1px solid rgba(66,102,129,.28);
  text-align:center;
}
.nex-global-copyright p{
  margin:0;
  color:#526f7b;
  font:600 7px/1.6 'IBM Plex Mono',monospace;
  letter-spacing:.055em;
}
@media(max-width:600px){
  .nex-global-copyright{
    margin-top:18px;
    padding:12px 8px calc(84px + env(safe-area-inset-bottom));
  }
  .nex-global-copyright-inner{
    width:calc(100% - 12px);
    padding-top:12px;
  }
  .nex-global-copyright p{
    font-size:6px;
    letter-spacing:.035em;
  }
}


/* =========================================================
   NEXORA V20.3 — Crypto News + Chinese readability
   ========================================================= */
.page-news .tone-crypto .news-mini-line{stroke:#67e0c1}
.page-news .tone-crypto .news-visual-top i{color:#67e0c1}
.page-news .tone-crypto .news-market-visual{
  background:
    radial-gradient(circle at 76% 18%,rgba(103,224,193,.14),transparent 31%),
    linear-gradient(145deg,#061526 0%,#092a35 100%);
}
.news-detail-market-panel.tone-crypto{
  background:
    radial-gradient(circle at 76% 20%,rgba(103,224,193,.13),transparent 32%),
    linear-gradient(145deg,#061526,#092a35);
}
.news-detail-market-panel.tone-crypto svg path{stroke:#67e0c1}

/* CJK text needs slightly more optical size than the Latin/mono defaults.
   Numeric price values and compact LIVE/source status labels are intentionally left unchanged. */
html[lang="zh"] body.btfx-v2-body,
html[lang="zh"] input,
html[lang="zh"] button,
html[lang="zh"] select,
html[lang="zh"] textarea{
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",var(--btfx-sans)!important;
}
html[lang="zh"] .btfx-dock-item{font-size:9px;letter-spacing:.025em}
html[lang="zh"] .btfx-v2-brand-copy strong{font-size:15px}
html[lang="zh"] .btfx-welcome-copy p{font-size:13px;line-height:1.65}
html[lang="zh"] .btfx-inline-links{font-size:10px;line-height:1.25}
html[lang="zh"] .btfx-section-title h2{font-size:21px}
html[lang="zh"] .btfx-view-all,
html[lang="zh"] .btfx-terminal-btn{font-size:10px}
html[lang="zh"] .btfx-search-box input,
html[lang="zh"] .btfx-market-sort{font-size:12px!important}
html[lang="zh"] .btfx-quick-panel p,
html[lang="zh"] .text-muted,
html[lang="zh"] .finance-header p,
html[lang="zh"] .profile-card p{font-size:13px;line-height:1.65}

html[lang="zh"] .page-news .news-header h1{font-size:28px}
html[lang="zh"] .page-news .news-header p{font-size:14px!important;line-height:1.65}
html[lang="zh"] .page-news .news-category-btn{font-size:13px!important}
html[lang="zh"] .page-news .news-card-title{font-size:17px!important;line-height:1.48!important}
html[lang="zh"] .page-news .news-card-excerpt{font-size:14px!important;line-height:1.65!important}
html[lang="zh"] .page-news .news-card-meta{font-size:12px!important}
html[lang="zh"] .page-news .news-tag{font-size:11px!important}
html[lang="zh"] .news-related-market span{font-size:7px}
html[lang="zh"] .news-related-market strong{font-size:9px}
html[lang="zh"] .news-detail-body h2{line-height:1.48}
html[lang="zh"] .news-detail-body p{font-size:14px;line-height:1.75}
html[lang="zh"] .news-market-btn,
html[lang="zh"] .news-source-btn,
html[lang="zh"] .news-close-btn{font-size:12px}

html[lang="zh"] .auth-card label,
html[lang="zh"] .form-label{font-size:13px!important}
html[lang="zh"] .auth-card .form-control{font-size:14px!important}
html[lang="zh"] .auth-card .btn{font-size:14px!important}
html[lang="zh"] .auth-links,
html[lang="zh"] .auth-links a{font-size:13px!important}

@media(max-width:780px){
  html[lang="zh"] .btfx-dock-item span{font-size:8px!important}
}
@media(max-width:600px){
  html[lang="zh"] .page-news .news-header h1{font-size:24px}
  html[lang="zh"] .page-news .news-header p{font-size:12.5px!important}
  html[lang="zh"] .page-news .news-category-btn{font-size:12px!important;padding-left:13px!important;padding-right:13px!important}
  html[lang="zh"] .page-news .news-card-title{font-size:16px!important}
  html[lang="zh"] .page-news .news-card-excerpt{font-size:13.5px!important}
}
