/* ATHARDAO signature design system: presentation only, no financial logic. */
html:root{--bg:#edf3f9;--panel:#ffffff;--panel2:#f3f7fb;--text:#14263e;--muted:#53667e;--line:#d5e0ed;--blue:#2454c5;--green:#087b58;--shadow:0 2px 0 #1a35590a,0 7px 22px #2344690b;--radius:18px}
html[data-theme=dark]{--bg:#0c1727;--panel:#17263b;--panel2:#203149;--text:#eff5ff;--muted:#b5c6da;--line:#344963;--blue:#a3c1ff;--green:#74e1b5;--shadow:0 3px 16px #0003}
html body .main{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;line-height:1.5!important}
html body .sidebar{background:linear-gradient(165deg,#12243c,#0d192c)!important}
html body .sidebar .side-nav.new-look-nav button{font-size:14px!important;min-height:48px!important;margin-block:2px!important}
html body .topbar.card{border-radius:18px!important;box-shadow:var(--shadow)!important}
html body .page-title{gap:12px!important;align-items:flex-start!important}
html body .page-title h2{font-weight:750!important;line-height:1.15!important;letter-spacing:-.035em!important}
html body .page-title p{font-size:14px!important;color:var(--muted)!important;max-width:78ch;line-height:1.55!important}
html body .page .section-card,html body .page .metric-card{border-radius:18px!important;padding:clamp(15px,2vw,24px)!important;box-shadow:var(--shadow)!important;min-width:0!important}
html body .page .card h3{font-size:clamp(17px,1.7vw,21px)!important;font-weight:700!important;line-height:1.3!important;letter-spacing:-.015em!important}
html body .page .card-head{gap:10px!important;flex-wrap:wrap!important;align-items:flex-start!important}
html body .page .panel-subtext{font-size:13px!important;color:var(--muted)!important}
html body .page :is(button,input,select){min-width:0;max-width:100%;box-sizing:border-box}
html body .page :is(button.primary,button.secondary,button.ghost){min-height:44px!important;border-radius:10px!important;font-size:13px!important;white-space:normal!important;line-height:1.3!important}
html body .page :is(input,select,textarea){font-size:16px!important;min-height:44px!important;border-radius:10px!important}
html body .page :is(b,strong){font-variant-numeric:tabular-nums}
html body .page .page-sync-note{font-size:11px!important;line-height:1.4!important;min-height:25px!important;box-sizing:border-box}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card{min-height:145px!important;border-radius:18px!important;box-shadow:var(--shadow)!important}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card:nth-child(odd)::after{background:#d7f1e6!important;color:#087b58!important}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card:nth-child(even)::after{background:#dce7ff!important;color:#2454c5!important}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card.total-withdraw{border-top:3px solid #5074b9!important}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card.total-withdraw>b{color:var(--blue)!important}
html body #page-dashboard .dashboard-primary-grid .r7-dash-card>small{min-height:2.8em;line-height:1.4!important}
html body #page-dashboard .simple-income-table{border:1px solid var(--line);border-radius:12px;overflow:hidden}
html body #page-dashboard .simple-income-row{padding:12px!important;font-size:13px!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:8px!important}
html body #page-dashboard .simple-income-row:last-child{border-bottom:0;background:var(--panel2);font-weight:700}
html body #page-dashboard .simple-income-row button{font-size:inherit!important;min-height:32px!important;text-align:left;overflow-wrap:normal}
html body .accounting-detail{margin-top:12px;font-size:12px;max-width:100%;overflow-wrap:anywhere}
html body .audit-detail-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--line)}
html body .accounting-detail p{font-size:12px;line-height:1.5;max-width:60ch}
html body .reward-value{min-height:72px!important}
html[data-theme=dark] body .reward-usdt{--rv-bg:#16392c;--rv-border:#398c70;--rv-fg:#b0efd0}
html[data-theme=dark] body .reward-thar{--rv-bg:#1b3155;--rv-border:#638bdd;--rv-fg:#c0d6ff}
html body .page article.paired-v5-card[data-card-state]{border-radius:16px!important;padding:clamp(13px,1.6vw,20px)!important;box-shadow:0 3px 0 #172b4010!important}
html body .page .paired-level-row{gap:12px!important}
html body .page .paired-price{font-size:clamp(22px,2vw,29px)!important}
html body .page :is(.mining-rate-row,.mining-cycle-row,.mining-money-row){font-size:12px!important;line-height:1.4!important;flex-wrap:wrap!important;gap:6px!important}
html body .page .paired-status{font-size:12px!important;line-height:1.5!important}
html body #page-mining .income-ledger-card{border-top:3px solid #5074b9!important}
html body #page-mining .withdraw-amount-card{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
html body #page-mining .withdraw-amount-card>b{font-size:30px!important;color:var(--blue)!important}
html body #page-mining .withdraw-amount-card input{width:100%!important}
html body #page-club .club-final-card{border-radius:20px!important;min-width:0!important}
html body #page-club .daily-color-card{border-top:4px solid #169b62!important}
html body #page-club .weekly-color-card{border-top:4px solid #4169d8!important}
html body #page-club .club-readable-stats>div{min-width:0!important;padding:12px 0!important}
html body #page-club .club-readable-stats>div>b{font-size:clamp(16px,1.7vw,22px)!important;line-height:1.4!important;overflow-wrap:anywhere!important}
html body #page-club .club-readable-stats>div>span{font-size:13px!important;line-height:1.4!important}
html body #page-club .club-readable-stats>div>small{font-size:11px!important;color:var(--muted)!important}
html body #page-club .club-flat-details{border-top:1px solid var(--line);padding-top:8px!important}
html body #page-club .club-process-state{min-height:76px!important;border-radius:12px!important;box-shadow:none!important}
html body #page-club .club-claim-inline{gap:12px!important}
html body #page-history .history-selection{border-radius:14px!important;padding:16px!important}
html body #page-history .history-card-list{gap:10px!important}
html body #page-history .history-row{border-radius:13px!important;box-shadow:none!important;line-height:1.45!important}
html body #page-history .income-category-tabs{margin:10px 0!important}
html body .page .premium-pager{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;align-items:center!important}
html body .page .premium-pager button{width:100%!important;max-width:none!important;white-space:normal!important;word-break:normal!important;min-width:0!important}
html body #page-team .member-card-list>*{border-radius:12px!important;min-width:0!important}
html body #page-root .section-card{border-top:3px solid #647da5!important}
html body .page :is(.home-layout,.metric-grid,.club-two-box-grid,.profile-grid)>*{min-width:0!important}
html body .page :is(button,.card,.metric-card,.r7-dash-card,.paired-v5-card){transition:none!important;animation:none!important}
@media(max-width:600px){html body .page .section-card,html body .page .metric-card{padding:14px!important;border-radius:14px!important}html body .page-title p{font-size:13px!important}html body #page-dashboard .dashboard-primary-grid .r7-dash-card{min-height:135px!important;padding:12px!important}html body #page-dashboard .simple-income-row{font-size:11px!important;padding:10px 6px!important;gap:5px!important}html body #page-dashboard .simple-income-row button{font-size:11px!important}html body #page-dashboard .profile-grid{grid-template-columns:1fr!important}html body #page-club .club-two-box-grid,html body #page-team .home-layout{grid-template-columns:minmax(0,1fr)!important}html body #page-club .club-readable-stats>div>b{font-size:18px!important}html body #page-history .history-row{flex-wrap:wrap!important}html body #page-history .history-row>strong{max-width:100%!important}html body .page .premium-pager button{font-size:11px!important;padding:8px 5px!important}html body .page .panel-subtext{font-size:12px!important}}
/* 8.6.42: final compact shared-hosting layout; retain DOM hooks. */
html body .quiet-hidden{display:none!important}
html body .data-state-banner{position:fixed!important;bottom:12px;right:16px;z-index:60;max-width:min(420px,calc(100vw - 32px));margin:0!important;padding:6px 10px!important;box-shadow:0 4px 16px #15263d22;font-size:11px!important}
html body .data-state-banner button{min-height:30px!important;padding:4px 10px!important}
html body #page-history .history-panel .card-head{margin-bottom:8px!important}
html body #page-history .history-selection{padding:10px 12px!important;margin:8px 0!important}
html body #page-history .history-selection-money{margin:6px 0!important;gap:8px!important}
html body #page-history .history-selection-money>div{padding:10px;border-radius:10px;background:#e7f8ef;color:#087b58}
html body #page-history .history-selection-money>div+div{background:#eaf0ff;color:#2454c5}
html body #page-history .history-filter-tabs{gap:5px!important;margin:6px 0!important;flex-wrap:wrap!important}
html body #page-history .history-filter-tabs button{padding:7px 9px!important;min-height:32px!important;font-size:11px!important}
html body #page-history #historySyncNote{font-size:11px!important;margin:3px 0!important}
html body #page-history #historyRefreshBtn{min-width:40px!important;font-size:21px!important}
html body #page-club .club-final-card,html body #page-income .income-ledger-card,html body #miningUserLedger{min-width:0!important;padding:clamp(14px,2vw,22px)!important}
html[data-theme="light"] body #page-club .daily-color-card,html[data-theme="light"] body #page-income .claim-usdt{background:#e7f8ef!important;border-color:#83c9aa!important}
html[data-theme="light"] body #page-club .weekly-color-card,html[data-theme="light"] body #page-income .claim-thar,html[data-theme="light"] body #miningUserLedger{background:#eaf0ff!important;border-color:#94aefa!important}
html[data-theme="dark"] body #page-club .daily-color-card,html[data-theme="dark"] body #page-income .claim-usdt{background:#12382e!important;border-color:#347b65!important}
html[data-theme="dark"] body #page-club .weekly-color-card,html[data-theme="dark"] body #page-income .claim-thar,html[data-theme="dark"] body #miningUserLedger{background:#172e55!important;border-color:#4c6fb0!important}
html body #page-club .club-readable-stats>div{padding:8px 0!important;min-height:0!important;gap:4px!important}
html body #page-club .club-readable-stats>div>b{overflow-wrap:anywhere!important;white-space:normal!important}
html body #page-club .club-readable-stats>div>small{line-height:1.4!important}
html body #page-club .club-process-state{min-height:0!important;padding:12px!important}
html body #page-club .club-final-card{align-self:start!important}
html body #page-team .r7-team-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #page-team .team-total-card{padding:16px!important}
html body #page-team .r7-team-summary .team{background:#e7f8ef!important;color:#087b58!important}
html body #page-team .r7-team-summary .downline{background:#eaf0ff!important;color:#2454c5!important}
html[data-theme="dark"] body #page-team .r7-team-summary .team{background:#12382e!important;color:#b0f2d5!important}
html[data-theme="dark"] body #page-team .r7-team-summary .downline{background:#172e55!important;color:#c1d5ff!important}
html body #page-income .withdraw-amount-card,html body #miningUserLedger .withdraw-amount-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body #page-income input,html body #miningUserLedger input{width:100%!important;min-width:0!important}
html body #page-mining .paired-v5-card,html body #page-matrix .paired-v5-card{min-width:0!important;max-width:100%!important}
html body .page :is(.paired-level-row,.paired-level-grid,.club-two-box-grid,.home-layout){min-width:0!important;max-width:100%!important}
@media(max-width:600px){html body #page-team .r7-team-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #page-team .team-total-card{grid-column:1/-1}html body #page-mining .paired-level-row,html body #page-matrix .paired-level-row{grid-template-columns:minmax(0,1fr)!important}html body #page-history .history-selection-money strong{font-size:15px!important}html body #page-club .club-readable-stats>div>b{font-size:16px!important}}
/* 8.6.43: compact club and plan-specific today cards */
html body .today-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 4px}
html body .today-plan{min-width:0;border:1px solid #83c9aa;border-radius:16px;padding:16px;display:grid;gap:6px;background:#e7f8ef;color:#087b58;align-content:start}
html body .today-plan h3{font-size:16px;margin:0 0 4px;color:inherit}html body .today-plan b{font-size:22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}html body .today-plan small{color:inherit}
html body .esc-today{background:#eaf0ff;color:#2454c5;border-color:#94aefa}html body .mining-today{background:#f0e9ff;color:#6542a6;border-color:#c4afe9}
html[data-theme="dark"] body .today-plan{background:#12382e;color:#b0f2d5}html[data-theme="dark"] body .esc-today{background:#172e55;color:#c1d5ff}html[data-theme="dark"] body .mining-today{background:#30234e;color:#dfceff}
html body #todayPlanStatus{display:block;margin-bottom:12px;font-size:11px}
html body #page-club .club-final-card{display:flex!important;flex-direction:column!important;align-self:stretch!important;gap:10px!important}
html body #page-club .club-claim-inline{display:flex!important;flex-direction:column!important;gap:9px!important;margin-top:auto!important}
html body #page-club .club-claim-inline > *{order:0!important}html body #page-club .club-claim-inline .club-inline-options{order:1!important}html body #page-club .club-claim-inline #processDailyNextBtn,html body #page-club .club-claim-inline #processWeeklyNextBtn{order:2!important}html body #page-club .club-claim-inline #claimMyDailyFastBtn,html body #page-club .club-claim-inline #settleMyWeeklyBtn{order:3!important}
html body #page-club .club-inline-options{padding:6px 0;min-width:0}html body #page-club .club-inline-options input{width:100%;min-width:0}html body #page-club .club-plan-toggle{min-width:0}html body #page-club .club-plan-tab{white-space:normal!important;min-width:0!important}
@media(max-width:650px){html body .today-plan-grid{grid-template-columns:minmax(0,1fr)}html body .today-plan{padding:14px}html body #page-club .club-two-box-grid{grid-template-columns:minmax(0,1fr)!important}}

/* V8.6.44 compact four club cards */
html body #page-club .club-four-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
html body #page-club .club4-card{--club-accent:#087a4b;--club-bg:#e6f7ed;display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;border:1px solid #9bcdb0;border-radius:16px;background:var(--club-bg);color:#172c26;box-shadow:0 4px 12px #0f172a12;font-size:12px;line-height:1.25}
html body #page-club .club4-plan-1{--club-accent:#2454c5;--club-bg:#eaf0ff;border-color:#a7b9eb}
#page-club .club4-card header{display:flex;justify-content:space-between;align-items:center;min-height:39px;gap:6px;color:var(--club-accent)}
#page-club .club4-card header small{font-size:10px;font-weight:800;letter-spacing:.05em}#page-club .club4-card h3{font-size:17px;line-height:20px;margin:0;color:var(--club-accent)}#page-club .club4-card header>span{font-size:11px;font-weight:700}
#page-club .club4-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:7px 0;border-block:1px solid #8295a33b}#page-club .club4-metrics>div{display:flex;flex-direction:column;gap:3px;min-width:0}#page-club .club4-metrics small{font-size:11px;color:#425465}#page-club .club4-metrics strong{font-size:20px;color:var(--club-accent);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#page-club .club4-line{display:flex;justify-content:space-between;gap:7px;min-height:17px;align-items:center}#page-club .club4-line b{font-size:12px;max-width:55%;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#page-club .club4-status{font-size:10px;color:#425465;min-height:25px;line-height:12px;margin-top:auto}#page-club .club4-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}html body #page-club .club4-actions button{min-height:34px;height:auto;padding:5px 4px;font-size:11px;line-height:13px;border-radius:8px;background:var(--club-accent);color:white;border:1px solid var(--club-accent);white-space:normal}html body #page-club .club4-actions button:disabled{background:#dce3e8;color:#596673;border-color:#c5ced6;opacity:1;cursor:default}#page-club .club4-older{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:12px}#page-club .club4-older h3{font-size:13px;width:100%;margin:0}#page-club .club4-older input{width:150px}#page-club .club4-older button{font-size:11px;padding:6px 9px}#page-club .club4-older small{flex-basis:100%}
@media(max-width:600px){html body #page-club .club-four-grid{grid-template-columns:minmax(0,1fr);gap:10px}html body #page-club .club4-card{padding:11px 12px}}

#page-club .club4-older{border:1px solid #8295a340;border-radius:10px;padding:8px;gap:5px;align-items:center}#page-club .club4-older h3{width:auto;flex-basis:100%;font-size:12px}html body #page-club .club4-older button{width:auto;min-height:30px;height:auto;padding:5px 8px;font-size:11px;flex:0 1 auto}#page-club .club4-older input{width:120px;min-height:30px;height:30px;font-size:12px}#page-club .club4-older b,#page-club .club4-older small{font-size:11px;font-weight:500}#page-club .club4-status{min-height:16px}#page-club .club4-metrics small{font-size:10px}

/* V8.6.49: inline status near header, no floating overlay on mobile. */
html body .data-state-banner{position:static!important;inset:auto!important;max-width:100%;margin:4px 0 8px!important;box-shadow:none!important;min-height:30px;overflow-wrap:anywhere;}
html body .data-state-banner[hidden]{display:none!important}html body .data-state-banner b{flex:1;min-width:0}html body .data-state-banner button{flex:0 0 auto}
#page-income .legacy-recovery{border:1px solid #8295a340;border-radius:10px;margin-top:10px;padding:8px 12px;font-size:12px}#page-income .legacy-recovery summary{cursor:pointer;font-weight:600}#page-income .legacy-recovery-body{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px}#page-income .legacy-recovery-body input{width:min(150px,100%);min-height:34px}#page-income .legacy-recovery-body button{width:auto;min-height:34px;font-size:12px;padding:5px 10px}#page-income .legacy-recovery-body small,#page-income .legacy-recovery-body b{flex-basis:100%;font-size:12px}#page-club .club4-line b{overflow-wrap:anywhere} 

/* V8.6.51: paired STAIR / ESCALATOR at every mobile level. Mining unchanged. */
@media(max-width:600px){
 html body #page-matrix .paired-level-section{padding:7px!important;min-width:0!important}
 html body #page-matrix .paired-level-row,html body #page-matrix .paired-level-head{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important}
 html body #page-matrix article.paired-v5-card{padding:8px!important;min-width:0!important;min-height:174px!important;gap:5px!important;max-width:100%!important;display:flex!important;flex-direction:column!important}
 html body #page-matrix .paired-level-top{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important}
 html body #page-matrix .level-top-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:3px!important;min-width:0!important}
 html body #page-matrix .level-chip{align-self:flex-start!important}
 html body #page-matrix .plan-chip{display:none!important}
 html body #page-matrix .matrix-state-pill{font-size:7px!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important;padding:3px 4px!important}
 html body #page-matrix .view-position-btn{min-height:30px!important;padding:4px 7px!important;font-size:10px!important}
 html body #page-matrix .matrix-value-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-height:44px!important;min-width:0!important}
 html body #page-matrix .paired-price{font-size:20px!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body #page-matrix .esc-live-amount{max-width:100%!important;text-align:left!important;overflow-wrap:anywhere!important;font-size:10px!important}
 html body #page-matrix .matrix-bottom-row{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin-top:auto!important;min-width:0!important}
 html body #page-matrix .slot-visual{justify-content:flex-start!important;gap:4px!important}
 html body #page-matrix .slot-dot{width:14px!important;height:14px!important;min-width:14px!important}
 html body #page-matrix .paired-buy-btn{white-space:normal!important;min-width:0!important;max-width:100%!important}
 html body #page-matrix .matrix-lock-reason{overflow-wrap:anywhere!important}
}

/* V8.6.53: compact matrix pairs; fixed square slots, no flex distortion. */
html body #page-matrix article.paired-v5-card .slot-visual-row>i.slot-dot{box-sizing:border-box!important;aspect-ratio:1!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important;border-radius:50%!important;align-self:center!important;transform:none!important;padding:0!important}
@media(max-width:600px){
html body #page-matrix .paired-level-grid{gap:6px!important}
html body #page-matrix .paired-level-row{gap:6px!important;margin-bottom:0!important;content-visibility:visible!important;contain-intrinsic-size:none!important}
html body #page-matrix article.paired-v5-card{min-height:136px!important;height:auto!important;padding:8px!important;gap:4px!important}
html body #page-matrix .matrix-value-row{min-height:36px!important}
html body #page-matrix .matrix-bottom-row{gap:4px!important}
html body #page-matrix article.paired-v5-card .slot-visual-row>i.slot-dot{flex-basis:17px!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;min-height:17px!important;max-height:17px!important;border-width:2px!important}
}
