/* =====================================================================
   7M Trades — interface skin (blue)
   Loaded last on every page. Only changes look and placement; every id,
   class and script hook from the original pages is left untouched.
   ===================================================================== */
:root {
  --b-bg: #030327;        /* app background / chart */
  --b-panel: #030330;     /* side panels */
  --b-card: #050537;      /* inputs, cards */
  --b-card-2: #060640;    /* hover */
  --b-line: #090943;      /* dividers */
  --b-text: #ffffff;
  --b-dim: #b4c6e6;
  --b-mute: #8199c4;
  --b-yellow: #1e88ff;      /* primary blue accent */
  --b-grad: linear-gradient(135deg, #1fa2ff 0%, #1e6dff 50%, #030343 100%);
  --b-yellow-h: #3d9bff;
  --b-up: #20c37a;
  --b-up-h: #26d487;
  --b-down: #ff5c62;
  --b-down-h: #ff7378;
  --b-font: 'Figtree', 'Segoe UI', Roboto, Arial, sans-serif;
}

html { background-color: var(--b-bg) !important; background-image: radial-gradient(1200px 700px at 70% -10%, #040454 0%, transparent 60%), linear-gradient(160deg, #030337 0%, #020228 55%, #01011e 100%) !important; background-attachment: fixed !important; }
body { background-color: transparent !important; }  /* lets the chosen wallpaper (.app-bg-layer) show through */
body, button, input, select, textarea { font-family: var(--b-font) !important; }
body { color: var(--b-text); }
::selection { background: var(--b-yellow); color: #ffffff; }
* { scrollbar-width: thin; scrollbar-color: #0d0d46 transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: #0d0d46; border-radius: 6px; }
*::-webkit-scrollbar-track { background: transparent; }

/* default wallpaper = plain chart background (photos stay selectable) */
.app-bg-layer[style*="background.webp"] { background-image: radial-gradient(1200px 700px at 70% -10%, #040454 0%, transparent 60%), linear-gradient(160deg, #030337 0%, #020228 55%, #01011e 100%) !important; background-color: var(--b-bg) !important; }
.chart-bg { background: rgba(1, 1, 28, .12) !important; }

/* Photo wallpapers: clearly visible, only softly blurred and dimmed with a light
   navy tint so the glowing chart line still stands out on top. */
.app-bg-layer {
  filter: blur(1.5px) brightness(.8) saturate(.85) !important;
  -webkit-filter: blur(1.5px) brightness(.8) saturate(.85) !important;
  transform: scale(1.01) translateZ(0) !important;
  -webkit-transform: scale(1.01) translateZ(0) !important;
}
.app-bg-layer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(4, 4, 43, .28) 0%, rgba(2, 2, 33, .38) 100%);
}
/* the plain blue default needs no blur */
.app-bg-layer[style*="background.webp"] { filter: none !important; -webkit-filter: none !important; transform: none !important; -webkit-transform: none !important; }
.app-bg-layer[style*="background.webp"]::after { display: none; }
.chart-bg:after { background: transparent !important; }

/* ---------------- preloader: 7M logo + yellow progress line ---------------- */
.loading-container { background: var(--b-bg) !important; }
.m7-loader-wrapper { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.m7-loader-wrapper .candlestick-row, .m7-loader-wrapper .m7-text { display: none !important; }
.m7-loader-wrapper::before {
  content: ""; width: 112px; height: 112px;
  background: url('logo.webp') center / contain no-repeat;
  animation: m7breath 1.6s ease-in-out infinite;
}
.m7-loader-wrapper::after {
  content: ""; width: 140px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--b-yellow) 0 40%, #090941 40% 100%);
  background-size: 250% 100%; animation: m7bar 1.1s linear infinite;
}
@keyframes m7breath { 0%,100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1); opacity: 1; } }
@keyframes m7bar { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ---------------- header ---------------- */
.site-header {
  background: var(--b-bg) !important; border-bottom: 1px solid var(--b-line) !important;
  backdrop-filter: none !important; height: 58px !important; min-height: 58px !important;
}
.site-header__logo .logo-mark { width: 40px !important; height: 40px !important; }
.site-header .logo-word { font-weight: 800 !important; font-size: 22px !important; letter-spacing: -.01em !important; color: #fff !important; }
.site-header .fav-star { border: 1px solid var(--b-line); border-radius: 8px !important; color: var(--b-dim) !important; }
.site-header .h-btn { background: var(--b-card) !important; border: 0 !important; border-radius: 8px !important; }
.site-header .h-btn:hover { background: var(--b-card-2) !important; }
.site-header .h-btn__close { border-color: var(--b-bg) !important; }
.site-header .balance-info-block__balance { font-weight: 700 !important; }
.site-header .h-btn--deposit {
  background: var(--b-yellow) !important; color: #ffffff !important; font-weight: 700;
  border-radius: 8px !important; box-shadow: none !important;
}
.site-header .h-btn--deposit:hover { background: var(--b-yellow-h) !important; }
.site-header .h-btn--deposit span { color: #ffffff !important; font-weight: 700 !important; }
.site-header .h-btn--deposit svg, .site-header .h-btn--deposit svg * { fill: #ffffff !important; color: #ffffff !important; }

/* ---------------- side bars & panels: flat, divided by hairlines ---------------- */
.left-sidebar, .right-rail { background: var(--b-bg) !important; backdrop-filter: none !important; }
.left-sidebar { border-right: 1px solid var(--b-line) !important; }
.right-rail { border-left: 1px solid var(--b-line) !important; }
.ls-item, .rr-item { color: var(--b-mute) !important; font-weight: 500; }
.ls-item:hover, .rr-item:hover { color: #fff !important; }
.ls-item.active { color: #fff !important; }
.ls-item.active::before { background: var(--b-yellow) !important; }
.ls-item.active svg { color: var(--b-yellow) !important; }
.trade-panel, .right-col { background: var(--b-panel) !important; backdrop-filter: none !important; }
.trade-panel { border-left: 1px solid var(--b-line) !important; border-right: 0 !important; }
.right-col { border-left: 1px solid var(--b-line) !important; }
.site-content { border-right: 0 !important; }

@media (min-width: 821px) {
  /* trade panel sits at the far right of the chart, like a classic binary terminal */
  .wrapper__bottom > .left-sidebar { order: 0 !important; }
  .wrapper__bottom > .site-content { order: 1 !important; }
  .wrapper__bottom > .right-col { order: 2 !important; }
  .wrapper__bottom > .trade-panel { order: 3 !important; width: 190px !important; min-width: 190px !important; padding: 14px 12px !important; }
  .wrapper__bottom > .right-rail { order: 4 !important; }
}

/* trade controls */
.tp-field label { color: var(--b-dim) !important; font-size: 11px !important; }
.tp-input { background: var(--b-card) !important; border: 1px solid transparent !important; border-radius: 8px !important; }
.tp-input:hover { border-color: #101049 !important; }
.trade-btn { border-radius: 8px !important; font-weight: 700 !important; box-shadow: none !important; letter-spacing: .02em; }
.trade-btn.buy { background: var(--b-up) !important; color: #fff !important; }
.trade-btn.buy:hover { background: var(--b-up-h) !important; }
.trade-btn.sell { background: var(--b-down) !important; color: #fff !important; }
.trade-btn.sell:hover { background: var(--b-down-h) !important; }
.trade-btn.ai { background: var(--b-card) !important; color: #fff !important; border: 1px solid #101049 !important; }
.trade-btn.ai * { color: #fff !important; }

/* tabs / pills */
.tabs .tab.active { color: #fff !important; }

/* ---------------- chart ---------------- */
.chart-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px) !important;
  background-size: 120px 90px !important;
}
.price-axis { color: var(--b-mute) !important; font-size: 10.5px !important; }
.price-tag.current { background: #3a68b2 !important; color: #fff !important; border-radius: 6px !important; padding: 3px 8px !important; }
.crosshair-h { background: rgba(255,255,255,.55) !important; }
.crosshair-dot { background: #7ba7ff !important; border: 2px solid #fff; box-shadow: 0 0 0 5px rgba(123,167,255,.22) !important; width: 11px !important; height: 11px !important; }
.time-axis { color: var(--b-mute) !important; border-top: 1px solid var(--b-line) !important; }
.time-axis .now { background: transparent !important; color: #fff !important; }
.tf-pill, .asset-select, .chart-toolbar button { background: var(--b-card) !important; border-color: transparent !important; border-radius: 8px !important; }
.exp-line { border-left: 1px solid rgba(255,92,98,.75) !important; box-shadow: none !important; }

/* ---------------- dropdowns & modals ---------------- */
.profile-dropdown, .acct-dropdown, .bg-modal, .welcome-modal, .gl-modal, .sb-flyout, .trn-panel, .asset-dropdown, .tf-dropdown {
  background: var(--b-panel) !important; border: 1px solid var(--b-line) !important;
  border-radius: 12px !important; box-shadow: 0 20px 50px rgba(0,0,0,.5) !important;
}
.welcome-continue-btn, .gl-btn--green { background: var(--b-yellow) !important; color: #ffffff !important; border-radius: 8px !important; }
.welcome-head span { color: var(--b-yellow) !important; }

/* finance pages */
.banner { border-radius: 12px !important; }

/* ---------------- mobile ---------------- */
@media (max-width: 820px) {
  .mobile-topbar, .mobile-bottomnav { background: var(--b-bg) !important; }
  .mobile-bottomnav { border-top: 1px solid var(--b-line) !important; }
  .mobile-bottomnav .mb-item.active, .mobile-bottomnav .mbnav-item.active,
  .mobile-bottomnav .mbnav-item.active span { color: var(--b-yellow) !important; }
  .ms-btn { border-radius: 8px !important; }
  .ms-btn.buy { background: var(--b-up) !important; }
  .ms-btn.sell { background: var(--b-down) !important; }
  .ms-btn.buy *, .ms-btn.sell *, .ms-btn-pct { color: #fff !important; }
  .ms-btn .circ svg { stroke: #fff !important; }
  .ms-btn.ai { background: var(--b-card) !important; }
  .ms-btn.ai, .ms-btn.ai * { color: #fff !important; }
}

/* ---------------- info / legal pages (body.m7-doc) ---------------- */
body.m7-doc { background: #01011e !important; }
body.m7-doc > header:first-of-type { background: #01011e !important; border-bottom: 1px solid var(--b-line) !important; }
body.m7-doc > header:first-of-type > div > a:first-child { display: flex; align-items: center; gap: 8px; }
body.m7-doc > header:first-of-type > div > a:first-child::after { content: "7M Trades"; font-weight: 800; font-size: 20px; color: #fff; }
body.m7-doc h1 { font-weight: 800 !important; letter-spacing: -.02em; }
body.m7-doc h2, body.m7-doc h3 { font-weight: 800 !important; }
body.m7-doc .grad-text { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
body.m7-doc a.text-brand-teal, body.m7-doc .text-brand-teal { color: var(--b-yellow) !important; }
body.m7-doc main a:not([class]) { color: #4c8dff; text-decoration: underline; }
.banner-icon.box, .banner-icon.gift { background: rgba(30, 136, 255, .14) !important; color: var(--b-yellow) !important; }
.fr-promo-banner, .fr-promo-banner * { color: #ffffff !important; }
.fr-promo-banner button, .fr-promo-banner a { color: #020228 !important; }
.fr-promo-banner { background: var(--b-grad) !important; }
.lot-bs-btn.active, .lot-bs-btn.active * { color: #fff !important; }
.ai-orb, .ai-orb-sm { color: #ffffff !important; }
.btn-orange { color: #020228 !important; }
@media (max-width: 820px) {
  .time-axis { font-size: 9.5px !important; }
  .time-axis > span:nth-child(even):not(.now), .time-axis > div:nth-child(even):not(.now) { visibility: hidden; }
}

/* =====================================================================
   FINANCE PAGES (deposit / withdrawal / history / transfer)
   Re-arranged as one centred cashier panel: title + segmented tabs on
   top, balance & benefits column on the left, payment methods on the right.
   ===================================================================== */
body.m7-fin .site-content { overflow-y: auto; }
body.m7-fin .page-scroll {
  max-width: 1100px !important; margin: 26px auto !important; padding: 24px 26px 28px !important;
  background: var(--b-panel); border: 1px solid var(--b-line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center;
}
body.m7-fin .page-scroll > * { grid-column: 1 / -1; min-width: 0; }
body.m7-fin .page-scroll > .page-title { grid-column: 1; margin: 0 !important; font-size: 22px !important; font-weight: 800 !important; }
body.m7-fin .page-scroll > .ptabs {
  grid-column: 2; justify-self: end; padding: 4px !important; gap: 4px !important;
  background: var(--b-card); border-radius: 10px;
}
body.m7-fin .ptab {
  background: transparent !important; border: 0 !important; color: var(--b-dim) !important;
  text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important;
  padding: 9px 20px !important; border-radius: 8px !important;
}
body.m7-fin .ptab.active { background: #fff !important; color: #020228 !important; }
body.m7-fin .ptab:hover:not(.active) { color: #fff !important; }

/* thin step tracker */
body.m7-fin .steps { margin: 22px 0 22px !important; padding: 14px 16px !important; background: var(--b-bg); border-radius: 10px; }
body.m7-fin .steps .step .num { border-color: #101049 !important; }
body.m7-fin .steps .step.active .num { background: var(--b-yellow) !important; border-color: var(--b-yellow) !important; color: #ffffff !important; }

/* method chooser: benefits column LEFT, methods RIGHT */
body.m7-fin .layout { grid-template-columns: 270px 1fr !important; gap: 26px !important; }
body.m7-fin .layout > .sidebar {
  order: -1; position: sticky; top: 0; padding: 18px; background: var(--b-bg); border-radius: 12px;
}
body.m7-fin .m7-bal { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--b-line); }
body.m7-fin .m7-bal span { display: block; font-size: 13px; color: var(--b-dim); font-weight: 600; }
body.m7-fin .m7-bal b { display: block; font-size: 24px; font-weight: 800; color: #fff; margin-top: 2px; }
body.m7-fin .sidebar-item { font-size: 13px !important; color: var(--b-dim); margin-bottom: 12px !important; }
body.m7-fin .sidebar-icon { border: 0 !important; background: var(--b-card) !important; color: var(--b-yellow) !important; border-radius: 50% !important; }
body.m7-fin .sidebar-help { font-size: 13px !important; padding-top: 16px; border-top: 1px solid var(--b-line); }
body.m7-fin .sidebar-help a { color: var(--b-yellow) !important; font-weight: 600; }

/* promo banners: two compact cards side by side above the methods */
body.m7-fin .layout > div:not(.sidebar) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-content: start; }
body.m7-fin .layout > div:not(.sidebar) > * { grid-column: 1 / -1; }
body.m7-fin .layout > div:not(.sidebar) > .banner { grid-column: auto; }
body.m7-fin .banner {
  padding: 14px !important; gap: 12px !important; margin-bottom: 18px !important;
  background: linear-gradient(135deg, #06063a, #03032d) !important; border: 1px solid var(--b-line);
}
body.m7-fin .banner-icon { width: 44px !important; height: 44px !important; border-radius: 50% !important; }
body.m7-fin .banner-icon svg { width: 22px !important; height: 22px !important; }
body.m7-fin .banner h3 { font-size: 14px !important; font-weight: 700; }
body.m7-fin .banner p { font-size: 12px !important; }
body.m7-fin .popular-label { color: var(--b-yellow) !important; font-size: 18px !important; font-weight: 800 !important; }
body.m7-fin select#countrySelect, body.m7-fin .search-box { border-radius: 8px !important; background: var(--b-card) !important; border-color: transparent !important; }

/* payment method tiles: one row each, icon + name + "instant • min" */
body.m7-fin .method-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
body.m7-fin .method-card {
  background: var(--b-card) !important; border: 1px solid transparent !important; border-radius: 10px !important;
  display: grid !important; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center;
  padding: 12px 14px !important;
}
body.m7-fin .method-card:hover { background: var(--b-card-2) !important; }
body.m7-fin .method-card.selected { background: #fff !important; box-shadow: none !important; }
body.m7-fin .method-card.selected .method-name { color: #020228 !important; }
body.m7-fin .method-top { display: contents !important; }
body.m7-fin .method-icon { grid-column: 1; grid-row: 1 / span 2; width: 44px !important; height: 44px !important; border-radius: 50% !important; padding: 6px; }
body.m7-fin .method-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 15px !important; font-weight: 700 !important; }
body.m7-fin .method-bottom { grid-column: 2; grid-row: 2; align-self: start; border-top: 0 !important; display: flex; flex-wrap: wrap; margin-top: 3px; }
body.m7-fin .method-bottom span { flex: none !important; text-align: left !important; padding: 0 !important; border: 0 !important; font-size: 12px !important; color: var(--b-mute) !important; }
body.m7-fin .method-bottom span:first-child::before { content: "\26A1 "; color: var(--b-yellow); }
body.m7-fin .method-bottom span:first-child::after { content: "\00a0\2022\00a0"; color: var(--b-mute); }

/* amount / details step */
body.m7-fin .details-layout { grid-template-columns: 1fr 300px !important; gap: 22px !important; }
body.m7-fin .card-panel, body.m7-fin .receive-box { background: var(--b-bg) !important; border: 0 !important; border-radius: 12px !important; }
body.m7-fin .quick-amount { border-radius: 8px !important; background: var(--b-card) !important; border-color: transparent !important; }
body.m7-fin .quick-amount.selected { background: #fff !important; color: #020228 !important; }
body.m7-fin .continue-btn { border-radius: 8px !important; background: var(--b-yellow) !important; color: #ffffff !important; font-weight: 700 !important; }
body.m7-fin .continue-btn.accent { background: var(--b-yellow) !important; color: #ffffff !important; }

/* history + transfer */
body.m7-fin .toolbar, body.m7-fin .table-scroll { background: transparent; }
body.m7-fin .filter-btn { border-radius: 8px !important; }
body.m7-fin .filter-btn.active { background: #fff !important; color: #020228 !important; border-color: #fff !important; }
body.m7-fin .apply-btn { background: var(--b-yellow) !important; color: #ffffff !important; border-radius: 8px !important; }
body.m7-tr .page-scroll { grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: start; }
body.m7-tr .page-scroll > .page-title { grid-column: 1 / -1; margin-bottom: 18px !important; }
body.m7-tr .page-scroll > .transfer-card { grid-column: 1; margin: 0 !important; }
body.m7-tr .page-scroll > .history-card { grid-column: 2; margin: 0 !important; }
body.m7-tr .transfer-card, body.m7-tr .history-card { background: var(--b-bg) !important; border: 0 !important; border-radius: 12px !important; }
body.m7-tr .transfer-btn { background: var(--b-yellow) !important; color: #ffffff !important; border-radius: 8px !important; }

@media (max-width: 980px) {
  body.m7-fin .layout { grid-template-columns: 1fr !important; }
  body.m7-fin .layout > .sidebar { order: 0; position: static; }
  body.m7-tr .page-scroll { grid-template-columns: 1fr; }
  body.m7-tr .page-scroll > .history-card { grid-column: 1; margin-top: 16px !important; }
}
@media (max-width: 820px) {
  body.m7-fin .page-scroll { margin: 0 !important; border-radius: 0; border: 0; padding: 16px 14px 90px !important; grid-template-columns: 1fr; }
  body.m7-fin .page-scroll > .ptabs { grid-column: 1; justify-self: stretch; margin-top: 12px; display: flex; }
  body.m7-fin .ptab { flex: 1 1 0 !important; text-align: center; padding: 9px 6px !important; }
  body.m7-fin .layout > div:not(.sidebar) { grid-template-columns: 1fr; }
  body.m7-fin .method-grid { grid-template-columns: 1fr !important; }
  body.m7-fin .details-layout { grid-template-columns: 1fr !important; }
}

/* =====================================================================
   ACCOUNT PAGES (profile / referrals): grid layout
   - the section menu is a grid of tiles across the top
   - profile details are a grid of field cards, not a list
   ===================================================================== */
body.m7-acct .page-scroll { max-width: 1180px !important; margin: 0 auto !important; display: block; }
body.m7-acct .page-scroll > .tabs-bar {
  display: grid !important; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px !important;
  margin: 0 0 20px !important; position: static; border: 0 !important; background: transparent !important;
}
body.m7-acct .tabbtn {
  display: flex !important; align-items: center; justify-content: center !important; text-align: center !important; min-height: 56px;
  background: var(--b-panel) !important; border: 1px solid var(--b-line) !important; border-radius: 12px !important;
  padding: 12px 10px !important; font-size: 13.5px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: var(--b-dim) !important; text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}
body.m7-acct .tabbtn:hover { color: #fff !important; background: var(--b-card) !important; transform: translateY(-1px); }
body.m7-acct .tabbtn.active { background: var(--b-grad) !important; border-color: transparent !important; color: #ffffff !important; }
body.m7-acct .panel, body.m7-acct .st-card { border-radius: 14px !important; border-color: var(--b-line) !important; }

/* profile tab: panels arranged in a 2-column grid */
body.m7-acct #tab-profile > form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
body.m7-acct #tab-profile > form > input[type=hidden] { display: none; }
body.m7-acct #tab-profile > form > .panel:first-of-type { grid-column: 1 / -1; }
body.m7-acct #tab-profile .panel + .panel, body.m7-acct #tab-security .panel + .panel { margin-top: 0 !important; }

/* field rows become cards in a grid */
body.m7-acct #tab-profile > form > .panel:first-of-type {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
body.m7-acct #tab-profile > form > .panel:first-of-type > .panel-title,
body.m7-acct #tab-profile > form > .panel:first-of-type > .req-note { grid-column: 1 / -1; margin: 0; }
body.m7-acct #tab-profile .field-row, body.m7-acct #tab-security .field-row {
  flex-direction: column !important; align-items: stretch !important; justify-content: flex-start; gap: 8px;
  padding: 12px 14px !important; background: var(--b-card); border: 1px solid var(--b-line) !important; border-radius: 12px;
}
body.m7-acct #tab-profile .field-label, body.m7-acct #tab-security .field-label { font-size: 11.5px; font-weight: 600; color: var(--b-dim); text-transform: uppercase; letter-spacing: .5px; }
body.m7-acct #tab-profile .field-value, body.m7-acct #tab-security .field-value { width: 100%; gap: 8px; flex-wrap: wrap; }
body.m7-acct #tab-profile .profile-input, body.m7-acct #tab-security .profile-input {
  width: 100% !important; max-width: none !important; min-width: 0; text-align: left !important;
  background: var(--b-bg) !important; border: 1px solid var(--b-line) !important; border-radius: 9px !important; padding: 10px 12px !important; color: #fff !important;
}
body.m7-acct #tab-profile .field-row:has(.toggle) { flex-direction: row !important; align-items: center !important; justify-content: space-between; }
body.m7-acct #tab-security .sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.m7-acct #tab-security form { display: grid; grid-template-columns: 1fr; gap: 10px; }
body.m7-acct #tab-profile .avatar-upload-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }

@media (max-width: 820px) {
  body.m7-acct .page-scroll > .tabs-bar { grid-template-columns: repeat(3, 1fr); gap: 8px !important; }
  body.m7-acct .tabbtn { min-height: 46px; font-size: 12.5px !important; padding: 8px 6px !important; }
  body.m7-acct #tab-profile > form, body.m7-acct #tab-security .sec-grid { grid-template-columns: 1fr; }
  body.m7-acct #tab-profile > form > .panel:first-of-type { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 480px) {
  body.m7-acct #tab-profile > form > .panel:first-of-type { grid-template-columns: 1fr; }
}

/* =====================================================================
   OTHER CONTENT PAGES (kyc / trading history / tutorials): framed panel
   ===================================================================== */
body.m7-panel .page-scroll {
  max-width: 1100px !important; margin: 26px auto !important; padding: 24px 26px !important;
  background: var(--b-panel); border: 1px solid var(--b-line); border-radius: 16px;
}
body.m7-panel .page-title { font-weight: 800 !important; }
body.m7-panel .tab-btn.active, body.m7-panel .kyc-subtab.active { background: #fff !important; color: #020228 !important; }
body.m7-panel .btn-apply { background: var(--b-yellow) !important; color: #ffffff !important; }
@media (max-width: 820px) {
  body.m7-panel .page-scroll { margin: 0 !important; border-radius: 0; border: 0; padding: 16px 14px 90px !important; }
}

/* =====================================================================
   BLUE GRADIENT ACCENTS (primary actions)
   ===================================================================== */
.site-header .h-btn--deposit,
body.m7-fin .continue-btn, body.m7-fin .continue-btn.accent, body.m7-fin .apply-btn,
body.m7-tr .transfer-btn, body.m7-acct .tabbtn.active, body.m7-panel .btn-apply,
.welcome-continue-btn, .gl-btn--green {
  background: var(--b-grad) !important; border-color: transparent !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(30, 109, 255, .28) !important;
}
.site-header .h-btn--deposit:hover, body.m7-fin .continue-btn:hover { filter: brightness(1.08); }
.m7-loader-wrapper::after { background: linear-gradient(90deg, #1e88ff 0 40%, #090941 40% 100%) !important; background-size: 250% 100% !important; }
body.m7-fin .steps .step.active .num { color: #fff !important; }

/* indicator menu: readable items, blue icons, clear active state */
.ind-dropdown { background: #030330 !important; border: 1px solid #090943 !important; border-radius: 12px !important; }
.ind-item { color: #e6e7ea !important; border-radius: 8px; }
.ind-item .ind-ic { color: #5aa2ff !important; }
.ind-item:hover { background: rgba(30, 136, 255, .12) !important; color: #fff !important; }
.ind-item.active { color: #fff !important; background: rgba(30, 136, 255, .22) !important; }
.ind-item.active .ind-ic { color: #fff !important; }
.ind-item.locked, .ind-item.locked:hover { color: #a7badd !important; background: none !important; }
.ind-item.locked .ind-ic { color: #8aa2cc !important; }

/* ---------------- chart zoom: one button (− | +) in the chart toolbar ---------------- */
.chart-zoom {
  position: static; display: inline-flex; align-items: stretch; flex: 0 0 auto;
  height: 34px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 8px; overflow: hidden;
}
.chart-zoom button {
  width: 32px; height: 100%; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: #c9cede; border: 0; transition: background .15s, color .15s;
}
.chart-zoom button + button { border-left: 1px solid var(--b-line); }
.chart-zoom button svg { width: 15px; height: 15px; fill: none; }
.chart-zoom button:hover { background: var(--b-yellow); color: #fff; }
.chart-zoom button:active svg { transform: scale(.88); }
@media (max-width: 900px) { .chart-zoom { height: 40px; } .chart-zoom button { width: 36px; } }


/* Default "next expiry" marker removed from the chart. Expiry lines for
   open trades (#tradeExpLines) are separate elements and still show. */
#expLine, #expFlag, #expLabel { display: none !important; }

/* ---------------- OTC Demo: pencil button + edit-balance dialog ---------------- */
.h-btn.demo-edit-btn {
  width: 40px; height: 40px; padding: 0 !important; display: grid; place-items: center; border-radius: 9px;
  background: var(--b-card) !important; border: 1px solid var(--b-line) !important; color: #fff; cursor: pointer;
}
.h-btn.demo-edit-btn svg { width: 19px; height: 19px; fill: none !important; }
.h-btn.demo-edit-btn:hover { background: var(--b-yellow) !important; border-color: var(--b-yellow) !important; }
.demo-edit-wrap { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(1, 1, 22, .62); }
.demo-edit-wrap.open { display: flex; }
.demo-edit-card { position: relative; width: 100%; max-width: 380px; background: var(--b-panel); border: 1px solid var(--b-line); border-radius: 14px; padding: 22px; color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.demo-edit-card h3 { margin: 0 0 6px; font-size: 18px; }
.demo-edit-card p { margin: 0 0 16px; color: var(--b-dim); font-size: 13px; line-height: 1.45; }
.demo-edit-card label { display: block; font-size: 12px; color: var(--b-dim); margin-bottom: 6px; }
.demo-edit-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--b-dim); cursor: pointer; font-size: 14px; }
.demo-edit-x:hover { background: var(--b-card); color: #fff; }
.demo-edit-field { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 10px; }
.demo-edit-field:focus-within { border-color: var(--b-yellow); }
.demo-edit-field span { color: var(--b-dim); font-weight: 700; }
.demo-edit-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 700 18px var(--b-font); }
.demo-edit-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 16px; }
.demo-edit-quick button { height: 32px; border: 1px solid var(--b-line); border-radius: 8px; background: transparent; color: var(--b-dim); font: 600 12px var(--b-font); cursor: pointer; }
.demo-edit-quick button:hover { color: #fff; border-color: var(--b-yellow); }
.demo-edit-save { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--b-grad); color: #fff; font: 700 14px var(--b-font); cursor: pointer; }

/* ---------------- Pending trade ("Order") toggle in the trade panel ---------------- */
.m7-order { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 10px; padding: 10px 12px; margin: 2px 0 10px; }
.m7-order-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #fff; }
.m7-switch { position: relative; width: 38px; height: 22px; flex: 0 0 auto; cursor: pointer; }
.m7-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.m7-switch span { position: absolute; inset: 0; border-radius: 22px; background: #1e1e51; transition: background .18s; }
.m7-switch span:before { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s; }
.m7-switch input:checked + span { background: var(--b-up); }
.m7-switch input:checked + span:before { transform: translateX(16px); }
.m7-switch input:focus-visible + span { outline: 2px solid var(--b-yellow); outline-offset: 2px; }
.m7-order-body { margin-top: 10px; }
.m7-order-body.hidden, .m7-order-field.hidden, .m7-order-note.hidden { display: none !important; }
.m7-seg { display: flex; gap: 3px; padding: 3px; background: var(--b-bg); border: 1px solid var(--b-line); border-radius: 8px; margin-bottom: 8px; }
.m7-seg button { flex: 1; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--b-dim); font: 600 12px var(--b-font); cursor: pointer; }
.m7-seg button.active { background: var(--b-card-2); color: #fff; }
.m7-order-field { position: relative; background: var(--b-bg); border: 1px solid var(--b-line); border-radius: 8px; padding: 6px 30px 6px 10px; }
.m7-order-field:focus-within { border-color: var(--b-yellow); }
.m7-order-field label { display: block; font-size: 10.5px; color: var(--b-mute); margin-bottom: 1px; }
.m7-order-field input { width: 100%; background: transparent; border: 0; outline: 0; color: #fff; font: 700 14px var(--b-font); color-scheme: dark; padding: 0; }
.m7-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 6px; background: transparent; color: var(--b-dim); font-size: 16px; cursor: pointer; }
.m7-clear:hover { background: var(--b-card); color: #fff; }
.m7-order-cur { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--b-dim); margin: 7px 2px 8px; }
.m7-order-cur b { color: #fff; font-weight: 700; }
.m7-order-list-head { font-size: 11px; font-weight: 700; color: var(--b-dim); text-transform: uppercase; letter-spacing: .5px; margin: 2px 2px 5px; }
.m7-order-list-head span { display: inline-grid; place-items: center; min-width: 18px; height: 16px; padding: 0 4px; margin-left: 4px; border-radius: 8px; background: var(--b-yellow); color: #fff; font-size: 10px; }
.m7-order-list { max-height: 150px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
.m7-order-empty { font-size: 11.5px; color: var(--b-mute); padding: 4px 2px; }
.m7-order-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 6px; background: var(--b-bg); border: 1px solid var(--b-line); border-radius: 7px; padding: 6px 8px; font-size: 11.5px; }
.m7-order-row > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.m7-order-row b { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m7-order-row .up { color: var(--b-up); font-weight: 700; white-space: nowrap; }
.m7-order-row .down { color: var(--b-down); font-weight: 700; white-space: nowrap; }
.m7-order-meta { grid-column: 1 / span 2; color: var(--b-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m7-order-row button { grid-column: 2; grid-row: 1; align-self: start; width: 20px; height: 20px; padding: 0; border: 1px solid var(--b-line); border-radius: 5px; background: transparent; color: var(--b-dim); font: 700 14px/1 var(--b-font); cursor: pointer; }
.m7-order-row button:hover { color: #fff; border-color: var(--b-down); }
.m7-order-note { text-align: center; font-size: 11.5px; color: var(--b-dim); margin: 6px 0 2px; }
.trade-panel.order-mode #classicAiBtn, .trade-panel.order-mode #classicAiStatus { display: none !important; }
.trade-panel.order-mode .trade-btn.buy, .trade-panel.order-mode .trade-btn.sell { font-size: 14px; text-transform: none; }

/* ---------------- menu icons (your images, tinted with the text colour) ---------------- */
.m7-ic {
  display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.rr-item .m7-ic, .mb-item .m7-ic { width: 20px; height: 20px; }
.mbnav-item .m7-ic { width: 22px; height: 22px; }
.m7-ic--sm { width: 16px; height: 16px; opacity: .85; }
.ls-item .m7-ic { width: 23px; height: 23px; }

/* ---------------- Trading bots window ---------------- */
.m7-bots-wrap { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(1, 1, 22, .65); }
.m7-bots-wrap.open { display: flex; }
.m7-bots { width: 100%; max-width: 640px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--b-panel); border: 1px solid var(--b-line); border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.55); overflow: hidden; color: #fff; }
.m7-bots-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--b-line); }
.m7-bots-head h3 { margin: 0 0 4px; font-size: 19px; }
.m7-bots-head p { margin: 0; font-size: 12.5px; color: var(--b-dim); line-height: 1.45; }
.m7-bots-x { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--b-dim); cursor: pointer; font-size: 15px; }
.m7-bots-x:hover { background: var(--b-card); color: #fff; }
.m7-bots-list { overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.m7-bots-msg { padding: 30px; text-align: center; color: var(--b-dim); font-size: 13px; }
.m7-bot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; }
.m7-bot.owned { border-color: rgba(30,136,255,.45); }
.m7-bot-ic { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--b-grad); color: #fff; }
.m7-bot-ic .m7-ic { width: 24px; height: 24px; }
.m7-bot-main { flex: 1; min-width: 0; }
.m7-bot-name { font-weight: 700; font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.m7-bot-tag, .m7-bot-own { font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--b-bg); color: var(--b-dim); }
.m7-bot-own { background: rgba(32,195,122,.15); color: var(--b-up); }
.m7-bot-desc { font-size: 12px; color: var(--b-dim); margin-top: 3px; }
.m7-bot-desc b { color: #fff; }
.m7-bot-act { flex: 0 0 auto; }
.m7-bot-btn { height: 36px; padding: 0 14px; border: 0; border-radius: 9px; font: 700 12.5px var(--b-font); cursor: pointer; white-space: nowrap; color: #fff; }
.m7-bot-btn.primary { background: var(--b-grad); }
.m7-bot-btn.run { background: var(--b-up); }
.m7-bot-btn.stop { background: var(--b-down); }
.m7-bot-btn.ghost { background: transparent; border: 1px solid var(--b-line); color: var(--b-dim); }
.m7-bot-btn:disabled { opacity: .45; cursor: not-allowed; }
.m7-bot-confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; max-width: 230px; }
.m7-bot-confirm span { width: 100%; text-align: right; font-size: 11.5px; color: var(--b-dim); }
.m7-bots-foot { padding: 12px 22px 16px; border-top: 1px solid var(--b-line); font-size: 11.5px; color: var(--b-mute); }
@media (max-width: 560px) {
  .m7-bot { flex-wrap: wrap; } .m7-bot-act { width: 100%; } .m7-bot-btn { width: 100%; }
  .m7-bot-confirm { max-width: none; } .m7-bot-confirm span { text-align: left; } .m7-bot-confirm .m7-bot-btn { width: auto; flex: 1; }
}
.m-more-item .m7-ic { width: 22px; height: 22px; }

/* ---------------- Trading bots inside the right-hand panel ---------------- */
#botsPanel { display: flex; flex-direction: column; min-height: 0; height: 100%; }
#botsPanel.hidden { display: none !important; }
.m7-bots-intro { padding: 0 14px 10px; font-size: 12px; line-height: 1.45; color: var(--b-dim); }
.m7-bots-list--panel { flex: 1; min-height: 0; overflow-y: auto; padding: 0 10px 10px; }
.m7-bots-list--panel .m7-bot { flex-wrap: wrap; padding: 10px; gap: 10px; }
.m7-bots-list--panel .m7-bot-ic { width: 36px; height: 36px; }
.m7-bots-list--panel .m7-bot-main { flex: 1 1 140px; }
.m7-bots-list--panel .m7-bot-act { width: 100%; }
.m7-bots-list--panel .m7-bot-btn { width: 100%; }
.m7-bots-list--panel .m7-bot-confirm { max-width: none; justify-content: stretch; }
.m7-bots-list--panel .m7-bot-confirm span { text-align: left; }
.m7-bots-list--panel .m7-bot-confirm .m7-bot-btn { flex: 1; width: auto; }
#botsPanel .m7-bots-foot { padding: 10px 14px 12px; }
a.rr-item { text-decoration: none; color: inherit; }

/* ---------------- timeframe (M2) in the toolbar, next to the crosshair ---------------- */
.chart-toolbar .tf-pill {
  position: relative !important; left: auto !important; bottom: auto !important; top: auto !important;
  height: 34px; padding: 0 10px; font-size: 12px; font-weight: 700; color: #e6e9f5; flex: 0 0 auto;
  background: var(--b-card) !important; border: 1px solid var(--b-line) !important; border-radius: 8px;
}
.chart-toolbar .tf-pill > svg { transform: rotate(180deg); }
.tf-dropdown { z-index: 3000; }
@media (max-width: 900px) { .chart-toolbar .tf-pill { height: 40px; } }

/* Upload Strategy removed */
#stratUploadField, #stratRunRow, #stratRunStatus { display: none !important; }
.m7-order.hidden { display: none !important; }

/* ---------------- "+50% bonus" header card (redesigned) ---------------- */
.h-btn.h-btn--bonus {
  position: relative; display: flex !important; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px !important;
  border-radius: 12px !important; text-decoration: none; overflow: visible;
  background: linear-gradient(110deg, rgba(31,162,255,.22), rgba(30,109,255,.10) 55%, rgba(32,195,122,.16)) !important;
  border: 1px solid rgba(58,160,255,.45) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}
.h-btn.h-btn--bonus:hover { transform: translateY(-1px); box-shadow: 0 0 18px rgba(31,162,255,.35); }
.m7-bonus-ic { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--b-grad); color: #fff; }
.m7-bonus-ic svg { width: 19px; height: 19px; }
.m7-bonus-txt { display: flex; flex-direction: column; line-height: 1.15; }
.m7-bonus-txt b { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .2px; }
.m7-bonus-txt span { font-size: 10.5px; color: #9fc6ff; }
.h-btn.h-btn--bonus .h-btn__close { position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--b-card); border: 1px solid var(--b-line); z-index: 2; }
.h-btn.h-btn--bonus .h-btn__close svg { width: 8px; height: 8px; fill: #c9d2ef; }

/* OTC Demo row in the balance menu: amount + pencil */
.acct-row--demo { position: relative; padding-right: 52px !important; }
.acct-demo-edit {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; cursor: pointer;
  background: var(--b-card); border: 1px solid var(--b-line); color: #fff;
}
.acct-demo-edit svg { width: 16px; height: 16px; }
.acct-demo-edit:hover { background: var(--b-yellow); border-color: var(--b-yellow); }
.rr-mode-item .ic .m7-ic { width: 17px; height: 17px; color: #fff; }

/* ---------------- account section tiles (Trading History, KYC) ---------------- */
.m7-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 20px; }
.m7-tile {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px;
  background: var(--b-panel); border: 1px solid var(--b-line); border-radius: 12px; padding: 12px 10px;
  font-size: 13.5px; font-weight: 700; color: var(--b-dim); text-decoration: none; transition: background .15s, color .15s, transform .15s;
}
.m7-tile:hover { color: #fff; background: var(--b-card); transform: translateY(-1px); }
.m7-tile.active { background: var(--b-grad); border-color: transparent; color: #fff; }
@media (max-width: 820px) { .m7-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; } .m7-tile { min-height: 46px; font-size: 12.5px; padding: 8px 6px; } }
.sec-google-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; }
.sec-google-note b { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.sec-google-note span { color: var(--b-dim); font-size: 12.5px; line-height: 1.5; }

/* ---------------- Time / Amount fields: value and icon always fit ---------------- */
.trade-panel .tp-input { gap: 8px; padding: 0 10px 0 12px !important; overflow: hidden; }
.trade-panel .tp-input input { flex: 1 1 auto; min-width: 0; width: auto !important; font-size: 17px !important; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
.trade-panel .tp-input .clock, .trade-panel .tp-input .suffix { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; color: #9aa3c7; }
.trade-panel .tp-input .clock svg, .trade-panel .tp-input .suffix svg { width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor; }
.trade-panel .tp-input .clock svg *, .trade-panel .tp-input .suffix svg * { fill: none !important; stroke: currentColor !important; }

/* ---------------- Settings → Copy trading ---------------- */
.m7-copy-card { margin-bottom: 16px; }
.m7-copy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; }
.m7-copy-row b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 4px; }
.m7-copy-row span { color: var(--b-dim); font-size: 12.5px; line-height: 1.5; }
.m7-switch-btn { position: relative; flex: 0 0 auto; width: 46px; height: 26px; border: 0; border-radius: 26px; background: #2a3570; cursor: pointer; transition: background .18s; padding: 0; }
.m7-switch-btn span { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .18s; }
.m7-switch-btn.on { background: var(--b-up); }
.m7-switch-btn.on span { transform: translateX(20px); }
.m7-switch-btn:focus-visible { outline: 2px solid var(--b-yellow); outline-offset: 2px; }
a.st-menu-item.st-menu-link { text-decoration: none; color: inherit; display: flex; }

/* ---------------- Light mode switch in the profile menu ---------------- */
.pd-theme { cursor: pointer; }
.pd-theme .pd-theme-sw { margin-left: auto; position: relative; width: 32px; height: 18px; border-radius: 18px; background: #2a3570; flex: 0 0 auto; transition: background .18s; }
.pd-theme .pd-theme-sw:before { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .18s; }
.pd-theme.on .pd-theme-sw { background: #1e88ff; }
.pd-theme.on .pd-theme-sw:before { transform: translateX(14px); }
.pd-theme span:not(.pd-theme-sw) { white-space: nowrap; }
.trade-panel .tp-input .suffix-usd { font-size: 17px; font-weight: 700; line-height: 1; color: #9aa3c7; }

/* ---------------- Speed: no blur anywhere ----------------
   Blurred layers are re-drawn every time the chart moves, which is very
   slow on phones. Wallpapers are shown sharp with a light tint instead. */
.app-bg-layer { filter: brightness(.8) saturate(.9) !important; -webkit-filter: brightness(.8) saturate(.9) !important; transform: none !important; -webkit-transform: none !important; will-change: auto !important; }
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
