/* VeltraStake v62: non-destructive visual consistency layer.
   Shared semantic tokens for light/dark. App-specific templates keep their own layout. */
:root {
  --vel-bg:var(--vx-bg,#f3f5f9);--vel-surface:var(--vx-surface,#fff);--vel-surface-raised:#f7f9fc;
  --vel-text:var(--vx-ink,#17273b);--vel-muted:var(--vx-muted,#52657c);--vel-line:var(--vx-line,#c9d5e2);
  --vel-primary:var(--vx-accent,#315fb9);--vel-primary-contrast:#fff;
}
html[data-theme="dark"] {
  --vel-bg:var(--vx-bg,#101823);--vel-surface:var(--vx-surface,#1c2939);--vel-surface-raised:#203044;
  --vel-text:var(--vx-ink,#eff5fc);--vel-muted:var(--vx-muted,#c0cfde);--vel-line:var(--vx-line,#50657e);
  --vel-primary:var(--vx-accent,#8ab4ff);--vel-primary-contrast:#10233d;
}
html,body {min-width:0;max-width:100%;}
body :where(main,section,article,aside,.card,.panel,.modal,.sheet,.at9-wallet-layout,.at-grid,.wd-layout,.at-lead-grid) {min-width:0;}
body :where(.at-hero-amount,.at-balance,.profile-balance-v61 strong,.wd-amount,.market-overview strong,.at-route-val,.at-kpi strong) {
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
body :where(input,textarea,select) {min-width:0;max-width:100%;}
body :where(button,a,input,select,textarea,[role="button"]):focus-visible {
  outline:2px solid var(--vel-primary);outline-offset:3px;
}
body :where(.at-hero,.at-move,.at-performance,.wd-panel,.at-entry,.cm-box,.at9-support-channels,.at9-support-intro) {
  min-width:0;
}
body .wallet-v57 .at-kpi {min-width:0;}
html[data-theme="dark"] body :where(.at-rupiah,.wd-fiat,.at-hero-sub,.at-foot,.at9-heading p,.cm-box p,.profile-balance-v61 p,.wallet-config,.at-kpi-top,.info-lbl) {
  color:var(--vel-muted)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
}
html[data-theme="dark"] body :where(.at-balance,.at-kpi strong,.at-hero-amount,.profile-balance-v61 strong,.wd-amount) {
  color:var(--vel-text)!important;-webkit-text-fill-color:currentColor!important;
}
html[data-theme="dark"] body :where(.wallet-config,.at-kpi,.profile-balance-v61,.at9-wallet-layout .wallet-card) {
  background:var(--vel-surface)!important;border-color:var(--vel-line)!important;
}
/* The admin panel's native styling predates shared user theme support. */
html[data-theme="dark"] body.va-panel {background:var(--vel-bg)!important;color:var(--vel-text)!important;
  --ink:#eff5fc;--muted:#c0cfde;--line:#50657e;--blue:#8ab4ff;}
html[data-theme="dark"] body.va-panel :is(.card,.item,.tx-card,.modal-content,.table-box,.user-box,.menu>a,.popup-box) {
  background:var(--vel-surface)!important;color:var(--vel-text)!important;border-color:var(--vel-line)!important;
}
html[data-theme="dark"] body.va-panel :is(.method-box,.upline-box,.modal-header,.modal-footer,th,td) {
  background:var(--vel-surface-raised)!important;color:var(--vel-text)!important;border-color:var(--vel-line)!important;
}
html[data-theme="dark"] body.va-panel :is(input:not([type=hidden]),textarea,select,.filter-btn,.filter a) {
  background:#293b50!important;color:#f3f8fe!important;border-color:#60758c!important;
}
html[data-theme="dark"] body.va-panel :is(.username,.saldo,.amount,.card-value,.card-value2,.modal-title,.title) {
  color:var(--vel-text)!important;-webkit-text-fill-color:currentColor!important;
}
html[data-theme="dark"] body.va-panel :is(.subtitle,.meta,.detail,.method,.phone,.table-header,.stat-label,.va-account,.va-foot) {
  color:var(--vel-muted)!important;-webkit-text-fill-color:currentColor!important;
}
html[data-theme="dark"] body.va-panel :is(.va-exit,.va-brand,.va-nav a) {color:var(--vel-text)!important;}
/* Admin login respects the saved theme rather than staying dark regardless of mode. */
html[data-theme="light"] body.vel-admin-login {background:#f3f5f9!important;color:#17273b!important;}
html[data-theme="light"] body.vel-admin-login .card {background:#fff!important;border-color:#d4dce6!important;
  box-shadow:0 14px 36px rgba(21,39,64,.10)!important;}
html[data-theme="light"] body.vel-admin-login :is(.title,.subtitle) {color:#263b53!important;}
html[data-theme="light"] body.vel-admin-login .input-group input {background:#f7f9fc!important;color:#162739!important;border-color:#b9c7d8!important;}
html[data-theme="light"] body.vel-admin-login .input-group input::placeholder {color:#677a90!important;}
html[data-theme="dark"] body.vel-admin-login .card {background:#1c2939!important;border-color:#485d74!important;}
@media(max-width:700px) {
  body :where(.at-grid,.wd-layout,.at9-wallet-layout,.at-lead-grid) {grid-template-columns:minmax(0,1fr)!important;}
  body :where(.at-workspace,.wd-workspace,.at9-workspace,.wallet-v57 .atelier) {max-width:100%;}
  body :where(.at-hero,.at-move,.at-entry,.wd-panel,.wd-hero,.cm-box,.profile-balance-v61) {min-width:0;}
  body :where(input,textarea,select) {font-size:max(16px,1rem);}
  body :where(.sheet,.modal-content,.popup-card,.process-box) {max-width:min(100%,calc(100vw - 24px));}
  body .wallet-v57 .at-kpis {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  body .wallet-v57 .at-kpi {padding:clamp(12px,3vw,18px);}
  body .wallet-v57 .at-kpi strong {font-size:clamp(.98rem,4vw,1.2rem);}
  body .wallet-v57 .at-balance {font-size:clamp(1.85rem,8vw,3.1rem);}
}
@media(max-width:380px) {
  body .wallet-v57 .at-kpis {gap:8px;}
  body .wallet-v57 .at-kpi {padding:12px 10px;}
}
@media(prefers-reduced-motion:reduce) {
  html:not(.allow-motion) :where(.card,.item,.sheet,.at-hero,.at-kpi) {scroll-behavior:auto;animation-duration:.01ms!important;transition-duration:.01ms!important;}
}
/* ==============================================================
   VeltraStake V66 — Dark-mode surface & contrast corrections.
   Dark theme only. Does not touch transactions or light mode.
   Layer matches display-options.css's existing veltra-dark layer.
   ============================================================== */
@layer veltra-dark {
  html[data-theme="dark"] body {
    --v66-bg:#101823;
    --v66-surface:#1b2838;
    --v66-raised:#26394f;
    --v66-border:#445970;
    --v66-text:#edf4fc;
    --v66-muted:#b9cbe0;
    --v66-link:#afd0ff;
  }

  /* Account/Profile — source of the reported dark rectangle and unreadable label.
     Statistic rows should sit within ONE panel, not nested tinted boxes. */
  html[data-theme="dark"] body.ss-profile-atelier .profile-metrics {
    background:var(--v66-surface)!important;
    color:var(--v66-text)!important;
    border:1px solid var(--v66-border)!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-eyebrow,
  html[data-theme="dark"] body.ss-profile-atelier .stats-header {
    color:var(--v66-text)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-eyebrow::before {
    background:#91b6e9!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card:not(.wide) {
    background:transparent!important;background-image:none!important;
    border:0!important;border-bottom:1px solid #3b5067!important;
    box-shadow:none!important;transform:none!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card.wide {
    background:#273c54!important;background-image:none!important;
    border:1px solid #465f7c!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card .s-label,
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card .s-idr {
    color:var(--v66-muted)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card .s-usd,
  html[data-theme="dark"] body.ss-profile-atelier .stats-grid .stat-card.wide .s-usd {
    color:var(--v66-text)!important;
    -webkit-text-fill-color:var(--v66-text)!important;
    background:transparent!important;background-image:none!important;
    -webkit-background-clip:border-box!important;background-clip:border-box!important;
    text-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .total-badge {
    color:#b6cdf1!important;-webkit-text-fill-color:currentColor!important;
  }
  /* Legacy Profile section still sets white panels with high-specificity !important. */
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .panel,
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .panel-head,
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .info-row,
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .menu-item {
    background:var(--v66-surface)!important;color:var(--v66-text)!important;
    border-color:var(--v66-border)!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier :is(.panel-head-text,.i-value,.menu-item strong,.stats-live),
  html[data-theme="dark"] body.ss-profile-atelier :is(.stats-eyebrow,.at-heading h1) {
    color:var(--v66-text)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier :is(.i-label,.menu-item small,.meta-line,.at-heading p),
  html[data-theme="dark"] body.ss-profile-atelier .ref-label {
    color:var(--v66-muted)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier :is(.not-set-link,.at-head-link) {
    color:var(--v66-link)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .at-head-link {
    background:var(--v66-raised)!important;border-color:var(--v66-border)!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .panel-head-icon {
    background:#304b6b!important;color:#d0e4ff!important;
  }

  /* Exchange deposit: white preset buttons and very light selected payment tile. */
  html[data-theme="dark"] body.ss-deposit-atelier :is(.method-tab,.method-tab.active,.method-tab.disabled,.quick-btn,.quick-btn.max,.dp-payment,.dp-guide,.dp-amount-input) {
    background:var(--v66-raised)!important;background-image:none!important;
    border-color:var(--v66-border)!important;color:var(--v66-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier .method-tab.active {
    background:#304e70!important;border-color:#82a9df!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier .method-tab.disabled {
    background:#243144!important;color:#b9c7d8!important;opacity:1!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.method-tab-name,.quick-btn,.dp-method-copy strong,.dp-method-copy small) {
    color:#eaf2fe!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-method-icon,.dp-step-number,.dp-step-num) {
    background:#354e70!important;color:#e8f2ff!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Transfer: dollar symbol formerly light text on a white input. */
  html[data-theme="dark"] body.ss-transfer-atelier .at-input-field {
    background:#223247!important;background-image:none!important;
    border-color:#627891!important;color:var(--v66-text)!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-dollar,.at-route-val,.at-route-copy strong,.at-break-row strong,.at-entry-heading h3,.at-break-heading strong,.at-label label) {
    color:var(--v66-text)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-entry-symbol,.at-to,.at-route-divider span,.at-blue,.at-purple,.at-orange) {
    background:#304867!important;color:#d6e7ff!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-note,.at-from) {
    background:#233e48!important;color:#c3f0e4!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier .at-rule {
    background:#40556b!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier .at-route-divider::before {
    border-color:#5b7390!important;
  }

  /* Withdraw: title icon and MAX were still light-theme components. */
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-panel-symbol,.max-btn,.wd-panel-icon) {
    background:#304b6a!important;color:#dbeaff!important;
    border-color:#547395!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-stat strong,.wd-panel-title h3,.wd-balance strong,.wd-panel-heading) {
    color:var(--v66-text)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-stat small,.wd-summary-note) {
    color:var(--v66-muted)!important;-webkit-text-fill-color:currentColor!important;
  }

  /* Staking: chip, dialog title, and instructional numbers retained light values. */
  html[data-theme="dark"] body.ss-staking-atelier :is(.sa-section-chip,.sa-guide-index,.sa-step-index) {
    background:#2c4361!important;color:#d8e9ff!important;
    border-color:#547496!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.success-title,.success-desc,.loading-text) {
    color:var(--v66-text)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.success-box,.sa-modal,.modal-card,.loading-box) {
    background:var(--v66-surface)!important;border-color:var(--v66-border)!important;
  }

  /* Notifications: action button and positive amount contrast. */
  html[data-theme="dark"] body.v25-notifikasi .read-all-btn,
  html[data-theme="dark"] body.ss-activity-atelier .read-all-btn {
    color:#e7f1ff!important;background:#304c70!important;
    border-color:#5a789e!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body :is(.na-receive,.na-plus) {
    color:#88e1b8!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body :is(.empty-sub,.notifi-desc,.activity-empty-desc) {
    color:#b8cadf!important;-webkit-text-fill-color:currentColor!important;
  }

  /* Authentication: low-contrast blue links and light alerts. */
  html[data-theme="dark"] body.v25-login :is(.forgot,.card-foot a,.device-account-card a),
  html[data-theme="dark"] body.v25-register :is(.login-link,.back,.terms-link) {
    color:#afceff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-login :is(.card-foot,.device-first-note,.device-account-card),
  html[data-theme="dark"] body.v25-register :is(.alert,.error-box) {
    background:#23354c!important;border-color:#495e78!important;
    color:#e2edfb!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-login .card-foot {
    background:transparent!important;border-color:#45576b!important;
  }
  html[data-theme="dark"] body.v25-login .card-foot:not(a),
  html[data-theme="dark"] body.v25-login .device-first-note {
    color:#b9cbe0!important;-webkit-text-fill-color:currentColor!important;
  }

  /* Marketing: outlined links and app preview mini tiles should not turn white. */
  html[data-theme="dark"] body.vel-home :is(.button-outline,.button-white) {
    background:#29405c!important;border-color:#6b85a6!important;
    color:#f1f6ff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.vel-home .hero-art :is(.preview-shortcuts>div,.mini-links>div,.preview-quick>div,.preview-actions>div),
  html[data-theme="dark"] body.vel-home .hero-art :is(.quick-links>div,.activity-shortcuts>div) {
    background:#2a4059!important;border-color:#536f90!important;
    color:#e6effe!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.vel-home .hero-art :is(small,span,strong) {
    color:inherit!important;-webkit-text-fill-color:currentColor!important;
  }
}

/* V66.1 follow-up: residual light strips, step counters and homepage mock UI. */
@layer veltra-dark {
  html[data-theme="dark"] body.ss-profile-atelier .panel-sep {
    background:#34485e!important;background-image:none!important;
    height:1px!important;border:0!important;
    margin:0 16px!important;
  }
  html[data-theme="dark"] body.ss-profile-atelier .at-profile-grid .panel {
    background-color:#1b2838!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-pending-icon,.dp-guide-steps li>b) {
    background:#334a67!important;color:#ecf5ff!important;
    border-color:#546e8f!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier .dp-guide-steps li {
    border-color:#3d5167!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier .dp-pending strong,
  html[data-theme="dark"] body.ss-deposit-atelier .dp-guide-steps li strong {
    color:#eaf2fd!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier .dp-pending small,
  html[data-theme="dark"] body.ss-deposit-atelier .dp-guide-steps li small {
    color:#b6c9dd!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-guide-row>span {
    background:#304a69!important;color:#e5f0ff!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-guide-row b {
    color:#edf4fc!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-guide-row p {
    color:#c0cee0!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-guide-row {
    border-color:#3d536b!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-notice :is(.wd-notice-icon,.wd-notice-glyph),
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-pending-icon {
    background:#514529!important;color:#ffe3a6!important;
  }
  html[data-theme="dark"] body.vel-home .phone-grid>div {
    background:#29425f!important;color:#eaf2ff!important;
    border-color:#536f90!important;
  }
  html[data-theme="dark"] body.vel-home .phone-grid>div :is(span,small) {
    color:#eaf2ff!important;-webkit-text-fill-color:currentColor!important;
  }
}

/* V66.2: remaining accessible color & alert parity. */
@layer veltra-dark {
  html[data-theme="dark"] body :is(.dp-kicker,.sa-kicker,.wd-kicker) {
    color:#91b9ff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-kicker,.at-heading h2 em),
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-heading h2 em,.wd-sectionhead>a),
  html[data-theme="dark"] body.ss-deposit-atelier .dp-heading h2 em,
  html[data-theme="dark"] body.ss-staking-atelier .sa-heading h2 em {
    color:#91b9ff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-register .brand b,
  html[data-theme="dark"] body.v25-register .mobile-brand b {
    color:#91b9ff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-dashboard .market-change:not(.chg-up):not(.chg-dn) {
    color:#bdcbe0!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-login .error-box {
    background:#442a36!important;border-color:#87505f!important;
    color:#ffd8dc!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.vel-home .skip-link:focus-visible {
    background:#324b70!important;color:#fff!important;
  }
}
@layer veltra-dark {
  html[data-theme="dark"] body.ss-staking-atelier .sa-intro h2 em {
    color:#91b9ff!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.vel-home .skip-link {
    color:#fff!important;-webkit-text-fill-color:currentColor!important;
  }
}


/* ==============================================================
   VeltraStake V69 — dark-mode perfection pass.
   Goal: eliminate residual white surfaces, unify card/input surfaces,
   and improve text contrast across app modules. Dark theme only.
   ============================================================== */
@layer veltra-dark {
  html[data-theme="dark"] {
    color-scheme:dark;
  }
  html[data-theme="dark"] body {
    --v69-bg:#0f1722;
    --v69-surface:#182535;
    --v69-surface-2:#223347;
    --v69-surface-3:#2b425b;
    --v69-line:#41566d;
    --v69-line-soft:#34485e;
    --v69-text:#edf4fc;
    --v69-text-soft:#cfdbeb;
    --v69-muted:#b6c6da;
    --v69-link:#bfd6ff;
    --v69-input:#213247;
    --v69-input-line:#60768f;
    --v69-success-bg:#1c3f36;
    --v69-success-line:#2e6d5c;
    --v69-success-text:#bceddd;
    --v69-warning-bg:#493c1d;
    --v69-warning-line:#887342;
    --v69-warning-text:#ffe6a8;
    --v69-danger-bg:#432a34;
    --v69-danger-line:#8c5665;
    --v69-danger-text:#ffd3da;
  }

  /* Broad surface safety net for residual white cards/panels. */
  html[data-theme="dark"] body :is(
    .card,.panel,.box,.item,.sheet,.modal,.modal-box,.modal-content,.modal-footer,
    .popup,.popup-box,.popup-card,.process-box,.proc-box,.process-sheet,.proof-sheet,
    .success-box,.success-sheet,.detail-box,.detail-panel,.info-card,.info-panel,
    .main-panel,.form-card,.form-panel,.history-card,.notif-card,.summary-card,
    .wallet-card,.method-box,.upline-box,.table-box,.help-content,.help-footer,
    .mobile-panel,.content,.section,.f-box,.warn-box,.warning-box,.receive-box,
    .trade-box,.invest-card,.running-card,.qris-card,.qr-card,.terms-card,
    .brand-panel,.device-account-card,.empty,.toast-box,.tx-card,.payment-box,
    .wd-panel,.dp-guide,.sa-guide,.cm-box,.v67-recovery-card,.v68-card
  ) {
    background:var(--v69-surface)!important;
    color:var(--v69-text)!important;
    border-color:var(--v69-line)!important;
  }

  /* Rows / list items / tiles within cards. */
  html[data-theme="dark"] body :is(
    .row,.detail-row,.info-row,.menu-item,.wallet-row,.process-row,.ref-row,.sec-row,
    .name-row,.top-row,.title-row,.price-row,.modal-row,.wd-summary-row,.wd-source-row,
    .wd-wallet-row,.at-summary-row,.at-break-row,.at-route-item,.sa-guide-row,
    .run-name-row,.run-timer-row,.conf-row,.terms-row,.vel-terms-row,.v68-row,
    .dp-guide-steps li,.wd-guide-row,.table tr,.table tbody tr
  ) {
    border-color:var(--v69-line-soft)!important;
  }

  /* Inputs, selects, textareas, and any field wrapper that stays pale. */
  html[data-theme="dark"] body :is(
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),
    textarea,select,.f-input,.password-field,.otp-input,.pin-sr-input,.vel-pin-field,
    .at-input-field,.dp-amount-input,.phone-box,.password-label-row,.v67-field input
  ) {
    background:var(--v69-input)!important;
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
    border-color:var(--v69-input-line)!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body :is(input,textarea,select)::placeholder {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:var(--v69-muted)!important;
    opacity:1!important;
  }

  /* Generic primary text. */
  html[data-theme="dark"] body :is(
    h1,h2,h3,h4,h5,h6,strong,b,label,th,td,.title,.subtitle,.modal-title,
    .card-title,.card-value,.card-value2,.amount,.amount-hero,.hero-card strong,
    .content strong,.section strong,.wallet-card strong,.tx-card strong,.table strong,
    .v25-footer strong,.empty strong,.help-content strong,.help-footer strong,
    .v67-brand strong,.v68-row-body strong,.v68-section-head h3,.v68-session-head h3
  ) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Generic secondary/muted text. */
  html[data-theme="dark"] body :is(
    p,small,em,figcaption,.meta,.detail,.method,.phone,.table-header,.stat-label,
    .va-account,.va-foot,.card-foot,.brand-foot,.brand-footer,.wallet-config,
    .info-lbl,.empty-sub,.help-footer,.help-content p,.v25-footer,.title-row small,
    .detail-row small,.info-row small,.wallet-row small,.menu-item small,.modal-footer,
    .notice,.hint,.note,.guide,.caption,.table td small,.v67-brand small,.v67-intro,
    .v67-security-note,.v68-row-body small,.v68-ref-header span,.v68-referred span,
    .v68-footnote,.v68-intro p,.v68-session-head p
  ) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Links and inline actions. */
  html[data-theme="dark"] body :is(a,.link,.back,.forgot,.terms-link,.login-link,.read-all-btn,.v67-back-link) {
    color:var(--v69-link)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Footer and navigation shells should not turn white. */
  html[data-theme="dark"] body :is(footer,.footer,.site-footer,.v25-footer,.brand-footer,.help-footer) {
    background:transparent!important;
    border-color:var(--v69-line-soft)!important;
    color:var(--v69-muted)!important;
  }

  /* Tables and separators. */
  html[data-theme="dark"] body :is(table,th,td,.conf-table,.info-table) {
    border-color:var(--v69-line-soft)!important;
  }
  html[data-theme="dark"] body :is(hr,.panel-sep,.divider,.sep,.separator) {
    background:var(--v69-line-soft)!important;
    border-color:var(--v69-line-soft)!important;
    color:transparent!important;
  }

  /* Alerts / notices / empty states. */
  html[data-theme="dark"] body :is(.alert,.warning-box,.warn-box,.wd-alert) {
    background:var(--v69-warning-bg)!important;
    border-color:var(--v69-warning-line)!important;
    color:var(--v69-warning-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body :is(.error-box,.settings-error,.v67-form-alert) {
    background:var(--v69-danger-bg)!important;
    border-color:var(--v69-danger-line)!important;
    color:var(--v69-danger-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body :is(.success-box,.success-sheet,.toast-box.success,.status-success,.notice-success) {
    background:var(--v69-success-bg)!important;
    border-color:var(--v69-success-line)!important;
    color:var(--v69-success-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Badge/chip/pill safety net. */
  html[data-theme="dark"] body :is(.badge,.pill,.tag,.status-pill,.wallet-type-badge,.level-tag,.run-badge,.nav-pill,.balance-pill,.total-badge) {
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body :is(.badge,.pill,.tag,.status-pill,.wallet-type-badge,.level-tag,.run-badge) {
    background:var(--v69-surface-2)!important;
    color:var(--v69-text-soft)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Keep specific brand/hero components readable without becoming white. */
  html[data-theme="dark"] body :is(.hero,.hero-content,.hero-foot,.hero-card,.at-hero,.wd-hero,.sa-hero,.page-hero,.unread-hero,.amount-hero) {
    color:var(--v69-text)!important;
  }

  /* Dashboard move-funds / performance tiles safety net. */
  html[data-theme="dark"] body.v25-dashboard :is(.feature-item,.art-card,.art-foot,.portfolio-card,.summary-tile,.mobile-section .card) {
    background:var(--v69-surface)!important;
    border-color:var(--v69-line)!important;
    color:var(--v69-text)!important;
  }

  /* Wallet detail blocks. */
  html[data-theme="dark"] body.vi-assets_wallet :is(.wallet-row,.wallet-card,.at9-wallet-content,.wallet-config,.total-card,.net-item) {
    background:var(--v69-surface)!important;
    border-color:var(--v69-line)!important;
    color:var(--v69-text)!important;
  }

  /* Modal backdrops and cards. */
  html[data-theme="dark"] body :is(.modal-content,.popup-card,.sheet,.process-sheet,.proof-sheet,.modal-box) {
    box-shadow:0 18px 48px rgba(0,0,0,.34)!important;
  }
}


/* ==============================================================
   VeltraStake V70 — targeted dark-mode completion pass.
   Fixes remaining white surfaces reported in staking, bank, deposit,
   withdraw, and transfer modules.
   ============================================================== */
@layer veltra-dark {
  /* Core shells / wrappers that still inherited white backgrounds. */
  html[data-theme="dark"] body :is(
    .transaction-entry,.dp-payment,.dp-overview,.at-entry,.at-break-section,.at-summary,.at-input-wrap,
    .wd-input-wrap,.wd-summary,.wd-sources,.wd-guide,.at9-wallet-content,.at9-wallet-aside,
    .field-wrap,.at-route-item,.preview,.run-stat,.empty-state,.wallet-actions
  ) {
    background:var(--v69-surface)!important;
    color:var(--v69-text)!important;
    border-color:var(--v69-line)!important;
  }

  /* Tab bars / tabs in dark mode should never fall back to light chips. */
  html[data-theme="dark"] body :is(.tab-bar,.method-tabs,.auth-switch) {
    background:#1f2d3e!important;
    border:1px solid var(--v69-line)!important;
  }
  html[data-theme="dark"] body :is(.tab-btn,.method-tab,.auth-tab,.filter-chip,.nav-pill,.wallet-action-btn,.at-max,.wd-edit) {
    background:#233347!important;
    color:var(--v69-text-soft)!important;
    border-color:var(--v69-line)!important;
    -webkit-text-fill-color:currentColor!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body :is(.tab-btn.active,.method-tab.active,.auth-tab.active,.filter-chip.active,.wallet-action-btn.primary) {
    background:#2f4663!important;
    color:var(--v69-text)!important;
    border-color:#7da0cf!important;
    -webkit-text-fill-color:currentColor!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body :is(.method-tab.disabled) {
    background:#202d3e!important;
    color:#aebfd2!important;
    border-color:#465c72!important;
    opacity:1!important;
  }

  /* Bank page specific. */
  html[data-theme="dark"] body.at-bank :is(.at9-heading h1,.hero-title,.section-label,.wallet-addr,.wallet-addr-label,.field-label,.at9-aside-title) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-bank :is(.at9-heading p,.hero-sub,.at9-wallet-aside p) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-bank :is(.at9-heading-symbol,.badge-icon,.field-icon,.hero-icon-wrap,.at9-aside-rule i) {
    background:#2d425d!important;
    color:#deebff!important;
    border-color:#5e7c9e!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-bank :is(.wallet-type-badge,.crypto-pill,.at9-aside-rule) {
    background:#223347!important;
    color:var(--v69-text-soft)!important;
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body.at-bank :is(.field-wrap select,.field-wrap input) {
    background:transparent!important;
  }

  /* Staking page specific. */
  html[data-theme="dark"] body.ss-staking-atelier :is(.transaction-entry,.preview,.run-stat,.empty-state,.tab-panel,.sa-main) {
    background:var(--v69-surface)!important;
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.sa-section-intro h3,.invest-name,.preview-title,.run-plan-name,.empty-title,.f-lbl,.run-stat-val,.run-badge,.stake-btn,.claim-btn) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.sa-section-intro,.balance-pill,.preview-row,.run-stat,.run-progress-track,.terms-row,.empty-cta) {
    border-color:var(--v69-line-soft)!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.v64-currency-prefix,.v64-currency-code,.run-stat-lbl,.empty-desc,.stake-terms-link,.auto-credit,.f-err) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Deposit page specific. */
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-payment-head,.dp-estimate,.dp-disclaimer,.dp-presets,.dp-pending,.dp-balance-bottom>div) {
    background:transparent!important;
    color:var(--v69-text)!important;
    border-color:var(--v69-line-soft)!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-payment-head h3,.dp-input-heading label,.dp-estimate strong,.dp-disclaimer,.dp-presets-label) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-payment-head p,.dp-input-heading span,.dp-rate,.dp-disclaimer i,.method-tab-sub,.maint-badge,.dp-method-status,.dp-method-copy small) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-deposit-atelier :is(.dp-method-icon,.dp-pending-icon) {
    background:#314863!important;
    color:#e7f1ff!important;
    border-color:#58779a!important;
  }

  /* Withdraw page specific. */
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-wallet-row,.wd-summary,.wd-input-wrap) {
    background:var(--v69-surface)!important;
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-wallet-copy strong,.wd-summary-title,.wd-amount-heading label,.wd-summary-row strong,.amount-status,.wd-footnote,.wd-panel-title h3) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-wallet-copy small,.wd-field-label,.wd-amount-heading span,.wd-footnote i,.wd-balance-label,.wd-fiat,.wd-guide-row p) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-wallet-icon,.wd-source-icon,.wd-panel-symbol,.wd-notice-icon) {
    background:#304a68!important;
    color:#e1ecff!important;
    border-color:#58779b!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier .wd-wallet-warning {
    background:#4a3a21!important;
    color:#ffe6aa!important;
    border-color:#836b38!important;
  }
  html[data-theme="dark"] body.ss-withdraw-atelier :is(.wd-currency,.wd-usd) {
    color:var(--v69-text-soft)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Transfer page specific. */
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-break-section,.at-note,.at-summary,.at-input-wrap,.at-route-item) {
    background:var(--v69-surface)!important;
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-break-heading strong,.at-entry-heading h3,.at-label label,.at-summary strong,.at-route-copy strong,.at-note strong) {
    color:var(--v69-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-break-heading small,.at-route-copy small,.at-route-copy span,.at-foot,.at-error,.at-note p,.at-label span) {
    color:var(--v69-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier :is(.at-entry-symbol,.at-icon,.at-route-mark,.at-route-divider span) {
    background:#304a67!important;
    color:#deebff!important;
    border-color:#567494!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier .at-quick button {
    background:#233347!important;
    color:var(--v69-text-soft)!important;
    border-color:var(--v69-line)!important;
  }
  html[data-theme="dark"] body.ss-transfer-atelier .at-submit {
    color:var(--v69-text)!important;
  }

  /* Bottom navigation icons / generic icon badges shouldn't end up on white chips. */
  html[data-theme="dark"] body :is(.at-tool-ico,.wv65-row-icon,.wv65-action-icon,.v64-service-icon,.v64-wallet-icon) {
    background:#263a51!important;
    color:#deebff!important;
    border-color:#5b7798!important;
    -webkit-text-fill-color:currentColor!important;
  }
}


/* V62.4 — residual dark-mode cleanup: remove pale shadows, restore icon visibility,
   and tighten contrast on remaining mobile screens. No logic changes. */
@layer veltra-dark {
  /* Global mobile header / footer / navigation contrast. */
  html[data-theme="dark"] body.v25-app :is(.v25-bottom-nav,.v25-footer,.ss-footer-minimal,.v25-page-head) {
    background:#162231!important;
    border-color:#314457!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.v25-app .v25-bottom-nav a {
    color:#c6d3e4!important;
    -webkit-text-fill-color:currentColor!important;
    background:transparent!important;
  }
  html[data-theme="dark"] body.v25-app .v25-bottom-nav a[aria-current="page"] {
    background:#304d76!important;
    color:#ffffff!important;
    border:1px solid #82aee3!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.v25-app .v25-bottom-nav a[aria-current="page"] :is(small,span,svg,path) {
    color:inherit!important;
    stroke:currentColor!important;
    fill:none!important;
    opacity:1!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.v25-app .v25-bottom-nav .v63-nav-icon,
  html[data-theme="dark"] body.v25-app .v25-bottom-nav .v63-nav-icon svg {
    color:inherit!important;
    stroke:currentColor!important;
    opacity:1!important;
  }
  html[data-theme="dark"] body.v25-app .ss-footer-minimal :is(strong,nav a,.ss-footer-copy) {
    color:#d6e2f3!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Page action icon buttons. */
  html[data-theme="dark"] body.v25-app .v25-page-head .page-actions :is(.history-link,.v25-notifications) {
    background:#233347!important;
    color:#eef5ff!important;
    border-color:#5d7896!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.v25-app .v25-page-head .page-actions :is(.history-link,.v25-notifications) :is(svg,i,small) {
    color:inherit!important;
    stroke:currentColor!important;
    -webkit-text-fill-color:currentColor!important;
    opacity:1!important;
  }
  html[data-theme="dark"] body.v25-app .v25-page-head .page-actions :is(.history-link,.v25-notifications):is(:hover,:focus-visible) {
    background:#304d76!important;
    color:#fff!important;
    border-color:#89b3e8!important;
  }

  /* Rewards page. */
  html[data-theme="dark"] body.at-hadiah .community :is(.cm-box,input,button,.cm-actions a) {
    background:#1b2a3b!important;
    color:#eef4fc!important;
    border-color:#4f647b!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.at-hadiah .community input {background:#24364b!important;}
  html[data-theme="dark"] body.at-hadiah .community button:first-of-type,
  html[data-theme="dark"] body.at-hadiah .community [aria-current=page] {
    background:#315173!important;
    color:#fff!important;
    border-color:#89b3e6!important;
  }
  html[data-theme="dark"] body.at-hadiah .community :is(h2,.cm-number,dd,label) {
    color:#eef4fc!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-hadiah .community :is(p,small,dt,#feedback) {
    color:#b9c9dc!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Staking page: remove faint title shadow and restore checkbox / labels. */
  html[data-theme="dark"] body.ss-staking-atelier :is(.transaction-entry .invest-card,.transaction-entry .running-card,.tab-bar,.preview,.run-stat,.f-box) {
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier .tab-bar .tab-btn {
    background:transparent!important;
    color:#c3d2e4!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier .tab-bar .tab-btn.active {
    background:#33557f!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.invest-head .invest-name,.preview-title,.preview-row strong,.preview-row,.f-lbl,.terms-row, .terms-row span) {
    color:#eef4fc!important;
    text-shadow:none!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier .preview-title small,
  html[data-theme="dark"] body.ss-staking-atelier .terms-row a {
    color:#b9c9dc!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier .terms-row .chk-box {
    background:#203246!important;
    border-color:#728aa4!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier .terms-row input:checked + .chk-box {
    background:#315cff!important;
    border-color:#8db5ff!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.ss-staking-atelier :is(.sa-invest-symbol,.run-logo,.sa-help-icon,.sa-guide-index) {
    background:#304967!important;
    color:#e2edff!important;
    border-color:#5a7898!important;
  }

  /* Support / contact support page: remove pale decorative glow and restore icons/text. */
  html[data-theme="dark"] body.at-cs,
  html[data-theme="dark"] body.at-cs::after {background:#101823!important;}
  html[data-theme="dark"] body.at-cs::after {content:none!important;display:none!important;}
  html[data-theme="dark"] body.at-cs :is(.hero,.info-card,.ccard,.modal-box,.status-banner) {
    background:#1b2a3b!important;
    border-color:#4a6078!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.at-cs :is(.hero::before,.info-card::before,.modal-box::before,.ccard::before) {
    background:rgba(255,255,255,.08)!important;
  }
  html[data-theme="dark"] body.at-cs :is(.hero-orb-a,.hero-orb-b) {
    background:rgba(49,92,255,.22)!important;
    filter:blur(44px)!important;
  }
  html[data-theme="dark"] body.at-cs :is(.hero-title,.ccard-name,.info-num,.sec-title,.modal-title) {
    color:#eef4fc!important;
    -webkit-text-fill-color:currentColor!important;
    text-shadow:none!important;
  }
  html[data-theme="dark"] body.at-cs :is(.hero-sub,.ccard-desc,.info-lbl,.status-text span,.modal-sub,.foot-note,.foot-note i) {
    color:#b9c9dc!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-cs .status-text {color:#9fe5c5!important;}
  html[data-theme="dark"] body.at-cs :is(.hero-icon-wrap,.modal-icon,.ccard-icon,.ccard-arrow) {
    background:#243b57!important;
    color:#e3eeff!important;
    border-color:#5f7d9c!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.at-cs :is(.hero-icon-wrap,.modal-icon,.ccard-icon,.ccard-arrow) :is(i,svg) {
    color:inherit!important;
    stroke:currentColor!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html[data-theme="dark"] body.at-cs .foot-note {
    display:flex!important;
    padding:9px 12px!important;
    background:#223246!important;
    border:1px solid #42576e!important;
    border-radius:999px!important;
    width:max-content!important;
    max-width:100%!important;
    margin:8px auto 0!important;
    text-align:center!important;
  }

  /* History profit screen. */
  html[data-theme="dark"] body.v25-riwayat_profit,
  html[data-theme="dark"] body.v25-riwayat_profit::before {
    background:#101823!important;
  }
  html[data-theme="dark"] body.v25-riwayat_profit .header-bar {
    background:#162231!important;
    border-bottom-color:#33475c!important;
    backdrop-filter:none!important;
  }
  html[data-theme="dark"] body.v25-riwayat_profit :is(.header-title,.arrow,.summary-title,.summary-value,.summary-value small,.summary-sub,.plan,.profit,.modal-row,.modal-row span:last-child,.info-row,.empty) {
    color:#eef4fc!important;
    -webkit-text-fill-color:currentColor!important;
    text-shadow:none!important;
  }
  html[data-theme="dark"] body.v25-riwayat_profit :is(.summary-title,.summary-value small,.summary-sub,.modal-row,.info-row,.empty) {
    color:#b9c9dc!important;
  }
  html[data-theme="dark"] body.v25-riwayat_profit .summary-card {
    background:#1b2a3b!important;
    border-color:#495f77!important;
    box-shadow:none!important;
  }
  html[data-theme="dark"] body.v25-riwayat_profit .summary-card::before,
  html[data-theme="dark"] body.v25-riwayat_profit .history-card::after {background:rgba(255,255,255,.06)!important;}
  html[data-theme="dark"] body.v25-riwayat_profit .history-card {
    background:#1b2a3b!important;
    border-color:#495f77!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
}

/* Atelier V23 — minimal footer, with fixed mobile tabs accommodated. */
body.v25-app > footer.v25-footer.ss-footer-minimal,
body.v25-guest > footer.v25-footer.ss-footer-minimal {
  box-sizing:border-box!important;
  width:100%!important; max-width:1440px!important;
  min-height:0!important;height:auto!important;
  display:flex!important; flex-direction:row!important;
  justify-content:space-between!important; align-items:center!important;
  gap:12px!important; position:relative!important;
  margin:0 auto!important;
  padding:12px clamp(16px,3vw,28px) 14px!important;
  border-top:1px solid #e1e7f0!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:#718096!important;font-size:12px!important;line-height:1.4!important;
}
.v25-footer.ss-footer-minimal .ss-footer-brand{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.v25-footer.ss-footer-minimal strong{margin:0!important;font-size:12px!important;font-weight:750!important;color:#142442!important}
.v25-footer.ss-footer-minimal .ss-footer-copy{color:#7b8798!important}
.v25-footer.ss-footer-minimal nav{display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:16px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;width:auto!important}
.v25-footer.ss-footer-minimal nav a{font-size:12px!important;text-decoration:none!important;color:#637387!important}
.v25-footer.ss-footer-minimal nav a:hover,.v25-footer.ss-footer-minimal nav a:focus-visible{color:#315cff!important;text-decoration:underline!important}
@media(max-width:767px){
 body.v25-app > footer.v25-footer.ss-footer-minimal{
    padding:12px 16px calc(76px + env(safe-area-inset-bottom))!important;
 }
 body.v25-guest > footer.v25-footer.ss-footer-minimal{padding:12px 16px 14px!important}
 .v25-footer.ss-footer-minimal nav{gap:14px!important}
}
