:root {
      --bg: #070a12;
      --bg2: #0c1020;
      --card: rgba(255,255,255,.075);
      --card2: rgba(255,255,255,.105);
      --text: #f7f8ff;
      --muted: #a7adc3;
      --line: rgba(255,255,255,.12);
      --accent: #f7931a;
      --accent2: #35e0c2;
      --danger: #ff5f73;
      --good: #51e28a;
      --shadow: 0 24px 70px rgba(0,0,0,.35);
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at top left, rgba(247,147,26,.22), transparent 34%),
        radial-gradient(circle at top right, rgba(53,224,194,.18), transparent 34%),
        linear-gradient(135deg, var(--bg), var(--bg2));
      color: var(--text);
      min-height: 100vh;
    }

    a { color: inherit; text-decoration: none; }

    .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(18px);
      background: rgba(7, 10, 18, .72);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      padding: 18px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 900;
      letter-spacing: -.04em;
      font-size: 24px;
    }

    .logo {
      width: 42px;
      height: 42px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
      color: #111;
      font-weight: 900;
      background: linear-gradient(135deg, var(--accent), #ffd36b 58%, var(--accent2));
      box-shadow: 0 10px 30px rgba(247,147,26,.25), inset 0 1px 0 rgba(255,255,255,.45);
    }

    .logo::after {
      content: "";
      position: absolute;
      inset: 8px;
      border: 1px solid rgba(20,20,20,.18);
      border-radius: 10px;
    }

    .logo-mark { position: relative; z-index: 2; font-size: 22px; line-height: 1; }
    .logo-grid {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(20,20,20,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.08) 1px, transparent 1px);
      background-size: 10px 10px;
      opacity: .55;
    }

    .navlinks {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
      color: var(--muted);
      font-size: 14px;
    }

    .navlinks a {
      padding: 8px 10px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .navlinks a:hover, .navlinks a.active {
      color: var(--text);
      background: rgba(255,255,255,.08);
    }

    .nav-label {
      color: var(--accent);
      font-weight: 900;
      font-size: 12px;
      text-transform: uppercase;
    }

    .hero { padding: 72px 0 42px; text-align: center; }
    .badge {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.06);
      padding: 8px 13px;
      border-radius: 999px;
      color: var(--muted);
      font-size: 14px;
      margin-bottom: 18px;
    }

    h1 {
      font-size: clamp(38px, 7vw, 76px);
      line-height: .95;
      margin: 0 auto 18px;
      max-width: 900px;
      letter-spacing: -.07em;
    }

    .accent { color: var(--accent); }

    .lead {
      color: var(--muted);
      max-width: 720px;
      margin: 0 auto 30px;
      font-size: clamp(17px, 2vw, 21px);
      line-height: 1.55;
    }

    .cta-row {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn {
      border: 1px solid var(--line);
      background: rgba(255,255,255,.08);
      color: var(--text);
      padding: 13px 18px;
      border-radius: 15px;
      font-weight: 800;
      cursor: pointer;
      transition: .2s;
    }

    .btn.primary, .btn-primary {
      background: linear-gradient(135deg, var(--accent), #ffbe4d);
      color: #141414;
      border: none;
    }

    .btn:hover { transform: translateY(-2px); }

    .tools {
      padding: 34px 0 80px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .card {
      background: linear-gradient(180deg, var(--card2), var(--card));
      border: 1px solid var(--line);
      border-radius: 26px;
      padding: 24px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(18px);
      animation: fadeUp .6s ease forwards;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(247,147,26,.16), transparent 38%);
      opacity: 0;
      transition: opacity .25s ease;
      pointer-events: none;
    }

    .card > * { position: relative; z-index: 1; }
    .card:hover {
      transform: translateY(-6px);
      border-color: rgba(247,147,26,.55);
      box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 34px rgba(247,147,26,.14);
    }
    .card:hover::before { opacity: 1; }
    .card:hover .icon { transform: rotate(-3deg) scale(1.06); box-shadow: 0 12px 28px rgba(247,147,26,.18); }
    .tools .card:nth-child(1){animation-delay:.05s;}
    .tools .card:nth-child(2){animation-delay:.12s;}
    .tools .card:nth-child(3){animation-delay:.19s;}
    .tools .card:nth-child(4){animation-delay:.26s;}
    .tools .card:nth-child(5){animation-delay:.33s;}
    .tools .card:nth-child(6){animation-delay:.40s;}
    .tools .card:nth-child(7){animation-delay:.47s;}
    @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

    .wide { grid-column: 1 / -1; }

    .card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .icon {
      width: 48px;
      height: 48px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      background: rgba(247,147,26,.14);
      border: 1px solid rgba(247,147,26,.25);
      font-size: 24px;
      flex: 0 0 auto;
      transition: .25s ease;
    }

    h2 { margin: 0 0 7px; font-size: 23px; letter-spacing: -.03em; }
    .hint { color: var(--muted); margin: 0; line-height: 1.45; }

    .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

    label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
    input, select {
      width: 100%;
      background: rgba(0,0,0,.22);
      border: 1px solid var(--line);
      color: var(--text);
      border-radius: 14px;
      padding: 13px 14px;
      outline: none;
      font-size: 15px;
    }

    input:focus, select:focus { border-color: rgba(247,147,26,.55); }

    .result {
      margin-top: 16px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(0,0,0,.24);
      border: 1px solid var(--line);
      display: grid;
      gap: 8px;
    }

    .row { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
    .row strong { color: var(--text); text-align: right; }
    .green { color: var(--good) !important; }
    .red { color: var(--danger) !important; }

    .mini-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }
    .small { padding: 10px 12px; border-radius: 12px; font-size: 13px; }
    .copy-btn { margin-top: 12px; }
    .section-kicker {
      color: var(--accent);
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .calculator-menu {
      padding: 22px 0 0;
    }

    .calculator-tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.055);
      border-radius: 18px;
      padding: 10px;
    }

    .calculator-tabs a {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 9px 12px;
      border-radius: 12px;
      color: var(--muted);
      background: rgba(0,0,0,.12);
      border: 1px solid transparent;
      white-space: nowrap;
      font-weight: 800;
      font-size: 13px;
    }

    .calculator-tabs a:hover, .calculator-tabs a.active {
      color: var(--text);
      border-color: rgba(247,147,26,.42);
      background: rgba(247,147,26,.12);
    }

    .seo-guide {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin: 0 0 72px;
    }

    .seo-guide article {
      border: 1px solid var(--line);
      background: rgba(255,255,255,.055);
      border-radius: 20px;
      padding: 20px;
    }

    .seo-guide h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .seo-guide p {
      color: var(--muted);
      line-height: 1.6;
      margin: 0;
    }
    .toast {
      position: fixed;
      left: 50%;
      bottom: 22px;
      transform: translateX(-50%) translateY(20px);
      opacity: 0;
      pointer-events: none;
      z-index: 90;
      background: rgba(12,16,32,.96);
      border: 1px solid rgba(247,147,26,.35);
      color: var(--text);
      border-radius: 14px;
      padding: 12px 15px;
      box-shadow: 0 18px 50px rgba(0,0,0,.35);
      transition: .25s ease;
      font-size: 14px;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
    .about {
      margin: 0 0 70px;
      padding: 26px;
      border-radius: 28px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.055));
      box-shadow: var(--shadow);
    }
    .about p { color: var(--muted); line-height: 1.6; margin: 8px 0 0; }

    .buy-list, .asset-list { display: grid; gap: 10px; margin-top: 12px; }
    .buy-row, .asset-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
    .dca-tracker-row { grid-template-columns: 1fr 1fr 1fr auto; }
    .asset-row { grid-template-columns: 1.2fr 1fr auto; }
    .remove {
      background: rgba(255,95,115,.12);
      color: #ffd8de;
      border: 1px solid rgba(255,95,115,.25);
      border-radius: 12px;
      padding: 12px;
      cursor: pointer;
    }

    .portfolio-bars { margin-top: 14px; display: grid; gap: 10px; }
    .bar-label { display:flex; justify-content:space-between; color: var(--muted); font-size: 13px; margin-bottom: 5px; }
    .bar { height: 9px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
    .bar span { display:block; height:100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 999px; }

    footer {
      border-top: 1px solid var(--line);
      padding: 28px 0;
      color: var(--muted);
      text-align: center;
      font-size: 14px;
    }

    @media (prefers-reduced-motion: reduce) {
      .card, .card:hover, .icon, .btn { animation: none; transition: none; transform: none; opacity: 1; }
    }

    @media (max-width: 820px) {
      .wrap { width: min(100% - 24px, 1180px); }
      .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
      }
      .brand { font-size: 22px; }
      .navlinks {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 4px;
        scrollbar-width: thin;
      }
      .navlinks a { padding: 8px 9px; }
      .nav-label { flex: 0 0 auto; padding: 8px 2px; }
      .tools { grid-template-columns: 1fr; }
      .grid, .grid3, .buy-row, .asset-row { grid-template-columns: 1fr; }
      .hero { padding-top: 48px; }
      .card { padding: 20px; border-radius: 22px; }
      .calculator-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
      }
      .calculator-tabs a { flex: 0 0 auto; }
      .seo-guide { grid-template-columns: 1fr; margin-bottom: 50px; }
    }


    /* Bitty mascot */
    .bitty-widget {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 60;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      font-family: inherit;
    }

    .bitty-card {
      width: 245px;
      max-width: calc(100vw - 44px);
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(12,16,32,.94);
      backdrop-filter: blur(18px);
      border-radius: 18px;
      padding: 12px;
      box-shadow: 0 18px 50px rgba(0,0,0,.36);
      transform: translateY(10px) scale(.96);
      opacity: 0;
      pointer-events: none;
      transition: .25s ease;
      position: relative;
    }

    .bitty-card::after {
      content: "";
      position: absolute;
      right: 24px;
      bottom: -8px;
      width: 16px;
      height: 16px;
      background: rgba(12,16,32,.94);
      border-right: 1px solid rgba(255,255,255,.16);
      border-bottom: 1px solid rgba(255,255,255,.16);
      transform: rotate(45deg);
    }

    .bitty-widget.open .bitty-card {
      transform: translateY(0) scale(1);
      opacity: 1;
      pointer-events: auto;
    }

    .bitty-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 900;
      font-size: 15px;
      margin-bottom: 5px;
    }

    .bitty-text {
      color: var(--muted);
      line-height: 1.4;
      font-size: 12.5px;
      margin-bottom: 9px;
    }

    .bitty-tip {
      border: 1px solid rgba(247,147,26,.28);
      background: rgba(247,147,26,.08);
      color: #ffd89a;
      padding: 7px 9px;
      border-radius: 13px;
      font-size: 11.5px;
      line-height: 1.35;
      margin-bottom: 9px;
      position: relative;
      z-index: 1;
    }

    .bitty-actions { display: flex; gap: 7px; flex-wrap: wrap; position: relative; z-index: 1; }
    .bitty-actions .btn { padding: 7px 9px; border-radius: 11px; font-size: 12px; }

    .bitty-button {
      width: 66px;
      height: 66px;
      border: 0;
      border-radius: 24px;
      cursor: pointer;
      background: linear-gradient(135deg, rgba(247,147,26,.22), rgba(53,224,194,.12));
      box-shadow: 0 18px 45px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.22);
      border: 1px solid rgba(255,255,255,.14);
      position: relative;
      display: grid;
      place-items: center;
      transition: .2s ease;
    }

    .bitty-button:hover { transform: translateY(-3px); }

    .bitty-person {
      width: 50px;
      height: 50px;
      position: relative;
    }

    .bitty-head {
      position: absolute;
      left: 16px;
      top: 3px;
      width: 25px;
      height: 25px;
      background: #ffd2a6;
      border-radius: 50%;
      box-shadow: inset -4px -4px 0 rgba(0,0,0,.08);
    }

    .bitty-head::before, .bitty-head::after {
      content: "";
      position: absolute;
      top: 10px;
      width: 3px;
      height: 3px;
      background: #151515;
      border-radius: 50%;
    }
    .bitty-head::before { left: 7px; }
    .bitty-head::after { right: 7px; }

    .bitty-body {
      position: absolute;
      left: 12px;
      top: 27px;
      width: 32px;
      height: 24px;
      background: linear-gradient(135deg, var(--accent2), #118b7b);
      border-radius: 14px 14px 9px 9px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
    }

    .bitty-coin {
      position: absolute;
      right: 0;
      top: 23px;
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #1a1200;
      font-weight: 900;
      font-size: 15px;
      background: linear-gradient(135deg, #f7931a, #ffd36b);
      border: 1px solid rgba(255,255,255,.5);
      animation: coinFloat 2.3s ease-in-out infinite;
    }

    .bitty-wave {
      position: absolute;
      left: 4px;
      top: 30px;
      width: 18px;
      height: 8px;
      border-radius: 999px;
      background: #ffd2a6;
      transform-origin: right center;
      animation: waveHand 1.6s ease-in-out infinite;
    }

    .bitty-ping {
      position: absolute;
      top: -3px;
      right: -3px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 rgba(247,147,26,.5);
      animation: ping 1.8s infinite;
    }

    @keyframes coinFloat { 0%,100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-5px) rotate(7deg); } }
    @keyframes waveHand { 0%,100% { transform: rotate(-15deg); } 50% { transform: rotate(22deg); } }
    @keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(247,147,26,0); } 100% { box-shadow: 0 0 0 0 rgba(247,147,26,0); } }

    @media (max-width: 620px) {
      .bitty-widget { right: 12px; bottom: 12px; align-items: flex-end; }
      .bitty-card { width: min(230px, calc(100vw - 24px)); padding: 11px; }
      .bitty-card::after { right: 22px; }
      .bitty-button { width: 62px; height: 62px; border-radius: 20px; }
      .bitty-title { font-size: 14px; }
      .bitty-text { font-size: 12px; }
      .bitty-tip { display: none; }
    }

  

.navlinks a.active { color: var(--text); }
.nav { gap: 18px; }
.brand { flex: 0 0 auto; }
.brand-text {
  font-size: 30px;
  letter-spacing: -.045em;
  line-height: 1;
}
.wordmark-logo {
  width: 76px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  flex: 0 0 auto;
}
.wordmark-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-logo {
  background:
    linear-gradient(135deg, #ffb02e 0%, #f7931a 48%, #35e0c2 120%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 30px rgba(247,147,26,.26), inset 0 1px 0 rgba(255,255,255,.5);
}
.brand-logo::after {
  inset: 6px;
  border-color: rgba(20,20,20,.16);
}
.brand-logo-b {
  position: relative;
  z-index: 2;
  color: #15100a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}
.brand-logo-bars {
  position: absolute;
  z-index: 3;
  left: 11px;
  bottom: 7px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.brand-logo-bars i {
  width: 3px;
  border-radius: 999px;
  background: #15100a;
}
.brand-logo-bars i:nth-child(1) { height: 5px; }
.brand-logo-bars i:nth-child(2) { height: 8px; }
.brand-logo-bars i:nth-child(3) { height: 6px; }
.navlinks {
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  line-height: 1.2;
}
.navlinks a {
  white-space: nowrap;
  padding: 5px 0;
}
.tool-page { padding: 48px 0 80px; }
.tool-intro { padding: 44px 0 12px; }
.tool-intro h1 { text-align: left; margin-left: 0; max-width: 880px; }
.tool-intro .lead { margin-left: 0; max-width: 780px; margin-bottom: 14px; }
.tool-details {
  max-width: 880px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.tool-single { display: block; padding-top: 18px; }
.tool-single .card { max-width: 920px; margin: 0 auto; opacity: 1; transform: none; animation: none; }
.tool-single .wide { grid-column: auto; }
.tools.tools-index {
  padding-top: 10px;
  padding-bottom: 34px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.tools.tools-index .card {
  min-height: 118px !important;
  padding: 14px 14px 13px !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
.tools.tools-index .card-head {
  margin-bottom: 0 !important;
  gap: 9px;
  align-items: flex-start;
}
.tools.tools-index h2 {
  font-size: 17px !important;
  margin: 0 0 6px !important;
  line-height: 1.15;
}
.tools.tools-index .hint {
  font-size: 12.5px !important;
  line-height: 1.4;
  margin: 0;
}
.tools.tools-index .icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
}
.card-link { display: block; height: 100%; }
.home-hero { padding-bottom: 24px; }
.home-hero .lead { margin-bottom: 0; }
.home-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.home-section h2 {
  font-size: 28px;
  margin: 0 0 14px;
  letter-spacing: -.03em;
}
.home-text {
  color: var(--muted);
  max-width: 860px;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.home-section.compact-panel {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin: 0 0 16px;
}
.audience-grid, .faq-grid, .recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.info-tile, .faq-item, .recent-item {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.info-tile h3, .faq-item h3, .recent-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.info-tile p, .faq-item p, .recent-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.tools-note {
  margin-bottom: 16px;
}
.trader-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trader-tool-card {
  min-height: 220px;
  display: grid;
  grid-template-rows: 118px 1fr;
  overflow: hidden;
  border: 1px solid rgba(53,224,194,.26);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(53,224,194,.13), rgba(255,255,255,.055) 42%, rgba(247,147,26,.08)),
    rgba(255,255,255,.045);
  box-shadow: 0 22px 56px rgba(0,0,0,.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.trader-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53,224,194,.55);
  box-shadow: 0 28px 72px rgba(0,0,0,.34), 0 0 30px rgba(53,224,194,.1);
}
.tool-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px 90px 22px 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(247,147,26,.18), transparent 58%),
    radial-gradient(circle at 82% 20%, rgba(53,224,194,.25), transparent 28%),
    rgba(0,0,0,.16);
}
.tool-visual h3 {
  margin: 0;
  max-width: 260px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.12;
}
.tool-mini-icon {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(247,147,26,.14);
  border: 1px solid rgba(247,147,26,.25);
  font-size: 25px;
  box-shadow: 0 12px 28px rgba(247,147,26,.14);
}
.tool-copy {
  display: flex;
  align-items: center;
  padding: 18px;
}
.tool-copy p {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recent-empty { color: var(--muted); margin: 0; }
.telegram-line { margin-top: 14px; }
.tg-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2aabee, #35e0c2);
  color: #061019;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(42,171,238,.28);
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: auto;
}
.tg-float:hover { transform: translateY(-2px); }
.tg-float-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
}
@media (max-width: 980px) {
  .tools.tools-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audience-grid, .faq-grid, .recent-grid, .trader-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { align-items: flex-start; }
  .navlinks { justify-content: flex-start; width: 100%; }
}
@media (max-width: 560px) {
  .tools.tools-index { grid-template-columns: 1fr; }
  .audience-grid, .faq-grid, .recent-grid, .trader-tools-grid { grid-template-columns: 1fr; }
  .tg-float { right: 12px; bottom: 12px; padding: 12px; }
  .tg-float span:last-child { display: none; }
}

/* Final navigation overrides for the calculator switcher update. */
.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navlinks a {
  padding: 8px 10px;
  border-radius: 999px;
}
.navlinks a.active {
  color: var(--text);
  background: rgba(255,255,255,.08);
}
.nav-label {
  color: var(--accent);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .navlinks {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
.navlinks a, .nav-label {
  flex: 0 0 auto;
}
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  user-select: none;
}

.nav-dropdown summary::-webkit-details-marker { display: none; }

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.nav-dropdown summary::after {
  content: "▾";
  margin-left: 7px;
  font-size: 11px;
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: min(340px, calc(100vw - 24px));
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12,16,32,.98);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  line-height: 1.25;
  white-space: normal;
}

.nav-dropdown-menu a:hover {
  color: var(--text);
  background: rgba(247,147,26,.12);
}

@media (max-width: 820px) {
  .navlinks {
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-dropdown {
    position: static;
  }
  .nav-dropdown-menu {
    left: 0;
    right: auto;
    top: calc(100% + 6px);
    width: calc(100vw - 24px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }
}

.trade-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 18px;
  align-items: start;
  margin: 18px 0 56px;
}

.trade-tool-card {
  opacity: 1;
  transform: none;
  animation: none;
}

.trade-side-note {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.trade-side-note h2,
.trade-table-section h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.trade-side-note p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(0,0,0,.16);
  line-height: 1.35;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.trade-textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  font: inherit;
  line-height: 1.5;
  margin-bottom: 12px;
}

.trade-textarea:focus {
  border-color: rgba(247,147,26,.55);
}

.trade-table-section {
  margin: 0 0 72px;
}

.trade-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.trade-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.trade-table th,
.trade-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.trade-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.trade-table td {
  color: var(--text);
}

.trade-table tr:last-child td {
  border-bottom: 0;
}

.trade-plan-output {
  position: sticky;
  top: 112px;
}


.trade-plan-output pre {
  min-height: 260px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  background: rgba(0,0,0,.24);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  line-height: 1.55;
  font-family: inherit;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 13px;
  margin: 0 6px 8px 0;
}

@media (max-width: 900px) {
  .trade-tool-layout {
    grid-template-columns: 1fr;
  }
  .trade-plan-output {
    position: static;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}


.seo-guide-extended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.trust-section,
.ads-cta,
.ad-landing-strip,
.guide-article,
.editorial-note,
.context-links {
  margin: 0 0 34px;
}

.trust-section h2,
.ads-cta h2,
.ad-landing-strip h2,
.editorial-note h2,
.context-links h2 {
  margin-bottom: 14px;
}

.trust-grid,
.ads-cta-grid,
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid article,
.editorial-grid article,
.context-links,
.guide-article article,
.ad-landing-strip {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.055);
}

.trust-grid h3,
.trust-grid h2,
.editorial-grid h3,
.guide-article h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.trust-grid p,
.editorial-grid p,
.context-links p,
.guide-article p,
.ad-landing-strip p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.context-links a {
  display: inline-flex;
  margin: 6px 8px 0 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(59,130,246,.45);
}

.context-links a:hover {
  color: #93c5fd;
  border-color: rgba(147,197,253,.75);
}

.ad-landing-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: center;
}

.ads-cta-grid .btn {
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guide-article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.limit-orders {
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  .seo-guide-extended,
  .trust-grid,
  .editorial-grid,
  .ads-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ad-landing-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .seo-guide-extended,
  .trust-grid,
  .editorial-grid,
  .ads-cta-grid,
  .guide-article {
    grid-template-columns: 1fr;
  }
}


.home-hub-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 10px 0 34px;
}

.home-hub-card {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
}

.home-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  pointer-events: none;
}

.calculators-hub::before {
  background: radial-gradient(circle at 20% 15%, rgba(247,147,26,.42), transparent 32%), radial-gradient(circle at 92% 8%, rgba(53,224,194,.26), transparent 30%);
}

.traders-hub::before {
  background: radial-gradient(circle at 18% 14%, rgba(53,224,194,.32), transparent 34%), radial-gradient(circle at 90% 18%, rgba(247,147,26,.28), transparent 32%);
}

.home-hub-card > * {
  position: relative;
  z-index: 1;
}

.home-hub-kicker {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

.home-hub-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 12px;
}

.home-hub-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
}

.home-hub-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.home-hub-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(0,0,0,.24);
  border: 1px solid var(--line);
  font-size: 13px;
}

.home-hub-card strong {
  color: #141414;
  background: linear-gradient(135deg, var(--accent), #ffbe4d);
  width: fit-content;
  padding: 12px 14px;
  border-radius: 14px;
}

.hub-page .tool-intro {
  padding-bottom: 24px;
}

.hub-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 28px;
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
}

.hub-panel-accent {
  background: linear-gradient(145deg, rgba(247,147,26,.12), rgba(53,224,194,.08));
}

.hub-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hub-panel-head p {
  margin: 0;
  color: var(--muted);
}

.hub-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hub-tool-card {
  min-height: 112px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  transition: .2s;
}

.hub-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(247,147,26,.55);
  background: rgba(255,255,255,.08);
}

.hub-tool-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #141414;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #ffbe4d);
}

.hub-tool-card strong {
  display: block;
  margin-bottom: 6px;
}

.hub-tool-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.hub-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hub-guide-link {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(0,0,0,.16);
  color: var(--text);
}

@media (max-width: 980px) {
  .home-hub-choice,
  .hub-tool-grid,
  .hub-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-hub-choice,
  .hub-tool-grid,
  .hub-guide-grid {
    grid-template-columns: 1fr;
  }
  .home-hub-card {
    min-height: 300px;
    padding: 22px;
  }
  .hub-panel-head {
    display: block;
  }
}


.home-hub-card {
  justify-content: flex-start;
}

.home-hub-card p {
  margin-bottom: auto;
}

.home-hub-kicker {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(247,147,26,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}


.home-hub-choice {
  align-items: stretch;
}

.home-hub-card {
  justify-content: flex-start !important;
  min-height: 340px;
  padding: 30px;
}

.home-hub-card p {
  margin: 0 0 18px !important;
}

.home-hub-kicker {
  align-self: flex-start;
  display: inline-flex;
  margin: 0 0 18px !important;
  line-height: 1;
}

.home-hub-card h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.home-hub-card strong {
  margin-top: auto;
}


.home-trade-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(247,147,26,.32);
  border-radius: 24px;
  padding: 24px;
  margin: 0 0 22px;
  background: radial-gradient(circle at 12% 20%, rgba(247,147,26,.28), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
}

.home-trade-map h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 6px 0 8px;
}

.home-trade-map p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 780px;
}

.trade-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 18px;
  margin-bottom: 34px;
}

.trade-map-preview {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
}

.map-verdict {
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
  font-weight: 900;
}

.map-verdict.good { color: var(--good); background: rgba(81,226,138,.1); border: 1px solid rgba(81,226,138,.28); }
.map-verdict.warn { color: #ffd36b; background: rgba(247,147,26,.1); border: 1px solid rgba(247,147,26,.28); }
.map-verdict.bad { color: #ffc0c8; background: rgba(255,95,115,.1); border: 1px solid rgba(255,95,115,.3); }

.trade-map-rail {
  position: relative;
  height: 190px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,95,115,.18), rgba(255,255,255,.045) 48%, rgba(81,226,138,.18));
  margin-bottom: 18px;
}

.map-zone {
  position: absolute;
  inset-block: 0;
  width: 50%;
  opacity: .7;
}

.map-loss { left: 0; background: linear-gradient(90deg, rgba(255,95,115,.22), transparent); }
.map-profit { right: 0; background: linear-gradient(90deg, transparent, rgba(81,226,138,.22)); }

.map-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border-radius: 999px;
  color: #111;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.map-stop { background: var(--danger); }
.map-entry { background: var(--accent); top: 32%; }
.map-take { background: var(--good); }

@media (max-width: 900px) {
  .trade-map-layout,
  .home-trade-map {
    grid-template-columns: 1fr;
  }
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 72%);
  animation: bitcalcGridDrift 22s linear infinite;
  z-index: -1;
}

@keyframes bitcalcGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.market-ticker {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  margin: 0 0 22px;
}

.ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 12px;
  animation: bitcalcTickerMove 30s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

@keyframes bitcalcTickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .ticker-track {
    animation: none;
  }
}

/* Homepage motion layer: keep these rules last so the live elements never fall back to plain text. */
.wrap > .market-ticker {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(247,147,26,.24);
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(247,147,26,.1), rgba(16,185,129,.08), rgba(247,147,26,.1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 46px rgba(0,0,0,.22);
}

.wrap > .market-ticker .ticker-track {
  display: flex !important;
  align-items: center;
  gap: 14px;
  width: max-content;
  min-width: 200%;
  padding: 13px 16px;
  will-change: transform;
  animation: bitcalcTickerMove 26s linear infinite;
}

.wrap > .market-ticker .ticker-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(2,6,23,.62);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.wrap > .home-trade-map {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247,147,26,.34);
  border-radius: 28px;
  padding: 26px;
  margin: 0 0 28px;
  background:
    radial-gradient(circle at 8% 18%, rgba(247,147,26,.34), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(20,184,166,.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

.wrap > .home-trade-map::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 38%;
  height: 170px;
  background: radial-gradient(circle, rgba(247,147,26,.26), transparent 66%);
  filter: blur(10px);
  animation: bitcalcPulseGlow 5.5s ease-in-out infinite;
  pointer-events: none;
}

.wrap > .home-trade-map > div,
.wrap > .home-trade-map > a {
  position: relative;
  z-index: 1;
}

.wrap > .home-trade-map .section-label,
.wrap > .home-trade-map h2,
.wrap > .home-trade-map p {
  display: block;
}

.wrap > .home-trade-map h2 {
  margin: 8px 0 10px;
}

.wrap > .home-trade-map .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@keyframes bitcalcPulseGlow {
  0%, 100% { transform: translateX(0) scale(1); opacity: .58; }
  50% { transform: translateX(-8%) scale(1.08); opacity: .9; }
}

@media (max-width: 900px) {
  .wrap > .home-trade-map {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .wrap > .home-trade-map .btn {
    justify-self: start;
  }
}

/* Unified homepage CTA polish. */
.wrap > .home-trade-map .btn,
.home-hub-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: 13px 18px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), #ffbe4d);
  color: #141414;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(247,147,26,.24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  animation: bitcalcCtaBreath 3.8s ease-in-out infinite;
}

.wrap > .home-trade-map .btn:hover,
.home-hub-card:hover strong {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 42px rgba(247,147,26,.32);
}

.home-hub-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247,147,26,.45);
  box-shadow: 0 26px 74px rgba(0,0,0,.34);
}

.home-hub-card::after {
  content: "";
  position: absolute;
  inset: -35% auto auto -20%;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247,147,26,.18), transparent 68%);
  opacity: .75;
  transform: translate3d(0,0,0);
  animation: bitcalcCardGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.traders-hub::after {
  inset: auto -18% -36% auto;
  background: radial-gradient(circle, rgba(20,184,166,.2), transparent 68%);
  animation-delay: -2s;
}

.wrap > .market-ticker .ticker-track {
  gap: 10px;
  min-width: max-content;
  animation: bitcalcTickerSeamless 34s linear infinite;
}

.wrap > .market-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes bitcalcTickerSeamless {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

@keyframes bitcalcCtaBreath {
  0%, 100% { box-shadow: 0 14px 34px rgba(247,147,26,.22); }
  50% { box-shadow: 0 18px 46px rgba(247,147,26,.36); }
}

@keyframes bitcalcCardGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .55; }
  50% { transform: translate3d(18px,12px,0) scale(1.08); opacity: .88; }
}

@media (prefers-reduced-motion: reduce) {
  .wrap > .home-trade-map .btn,
  .home-hub-card strong,
  .home-hub-card::after,
  .wrap > .market-ticker .ticker-track {
    animation: none;
  }
}

/* Telegram mascot: small meme frog + occasional subscribe shout. */
.tg-float {
  overflow: visible;
  transform-origin: 80% 80%;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  animation: tgButtonPulse 5.8s ease-in-out infinite;
}

.tg-float:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.04);
}

.tg-float::before {
  content: "Подпишись";
  position: absolute;
  right: 4px;
  bottom: calc(100% + 13px);
  padding: 9px 12px;
  border: 1px solid rgba(247,147,26,.36);
  border-radius: 15px 15px 15px 4px;
  background: rgba(8,12,24,.94);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(8px) scale(.92);
  pointer-events: none;
  animation: tgFrogShout 9s ease-in-out infinite;
}

.tg-float::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: calc(100% + 6px);
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(247,147,26,.36);
  border-bottom: 1px solid rgba(247,147,26,.36);
  background: rgba(8,12,24,.94);
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
  animation: tgFrogShoutTail 9s ease-in-out infinite;
}

.tg-float-mark {
  position: relative;
  isolation: isolate;
  color: transparent;
  overflow: visible;
  background: radial-gradient(circle at 30% 25%, #b8ff6b 0 18%, #52db4b 19% 70%, #2f9f37 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.18);
  animation: tgFrogHop 4.6s ease-in-out infinite;
}

.tg-float-mark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #092114;
  box-shadow: 9px 0 0 #092114;
  z-index: 2;
}

.tg-float-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid rgba(9,33,20,.86);
  border-radius: 0 0 999px 999px;
  z-index: 2;
}

@keyframes tgFrogShout {
  0%, 8%, 42%, 100% { opacity: 0; transform: translateY(8px) scale(.92); }
  12%, 30% { opacity: 1; transform: translateY(0) scale(1); }
  18%, 24% { transform: translateY(-1px) scale(1.03); }
}

@keyframes tgFrogShoutTail {
  0%, 8%, 42%, 100% { opacity: 0; }
  12%, 30% { opacity: 1; }
}

@keyframes tgFrogHop {
  0%, 72%, 100% { transform: translateY(0) rotate(0deg); }
  78% { transform: translateY(-5px) rotate(-4deg); }
  84% { transform: translateY(0) rotate(3deg); }
  90% { transform: translateY(-2px) rotate(0deg); }
}

@keyframes tgButtonPulse {
  0%, 100% { box-shadow: 0 18px 42px rgba(42,171,238,.26); }
  50% { box-shadow: 0 20px 48px rgba(42,171,238,.36); }
}

@media (max-width: 560px) {
  .tg-float::before {
    right: 0;
    bottom: calc(100% + 12px);
  }

  .tg-float::after {
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-float,
  .tg-float::before,
  .tg-float::after,
  .tg-float-mark {
    animation: none;
  }
}

/* Make only the CTA buttons clickable inside the two homepage hub panels. */
.home-hub-card {
  cursor: default;
}

.home-hub-cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.wrap > .home-trade-map .btn,
.home-hub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: 13px 18px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), #ffbe4d);
  color: #141414;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(247,147,26,.24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  animation: bitcalcCtaBreath 3.8s ease-in-out infinite;
}

.wrap > .home-trade-map .btn:hover,
.home-hub-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 42px rgba(247,147,26,.32);
}

@media (prefers-reduced-motion: reduce) {
  .home-hub-cta {
    animation: none;
  }
}

/* Variant 4 theme: cyber charcoal, mint signals, warm gold actions. */
/* BitClac full clean site v18-clean-20260624 */
:root {
  --bg: #050806;
  --bg2: #0a1210;
  --card: rgba(220,255,237,.058);
  --card2: rgba(220,255,237,.095);
  --text: #f4fff8;
  --muted: #9fb4ad;
  --line: rgba(181,255,219,.15);
  --accent: #66f2b7;
  --accent2: #f4b84a;
  --danger: #ff6478;
  --good: #66f2b7;
  --shadow: 0 24px 76px rgba(0,0,0,.42);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(102,242,183,.16), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(244,184,74,.12), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(16,185,129,.12), transparent 42%),
    linear-gradient(135deg, #050806, #08100f 48%, #0e1511);
}

header {
  background: rgba(5, 8, 6, .78);
  border-bottom-color: rgba(181,255,219,.13);
}

.logo {
  background: linear-gradient(135deg, #66f2b7, #f4b84a 62%, #f8e6a0);
  box-shadow: 0 10px 34px rgba(102,242,183,.18), inset 0 1px 0 rgba(255,255,255,.48);
}

.accent {
  color: var(--accent2);
}

.badge,
.navlinks a:hover,
.navlinks a.active,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  background: rgba(220,255,237,.075);
  border-color: rgba(181,255,219,.13);
}

.nav-dropdown summary::after,
.nav-label,
.section-kicker,
.section-label,
.home-hub-kicker {
  color: var(--accent);
}

.card,
.trade-tool-card,
.trade-map-preview,
.compact-panel,
.faq-item {
  background:
    linear-gradient(180deg, rgba(220,255,237,.095), rgba(220,255,237,.045)),
    radial-gradient(circle at top right, rgba(102,242,183,.08), transparent 38%);
  border-color: rgba(181,255,219,.14);
}

.card::before {
  background: radial-gradient(circle at top right, rgba(102,242,183,.16), transparent 38%);
}

.card:hover,
.home-hub-card:hover {
  border-color: rgba(102,242,183,.44);
  box-shadow: 0 28px 82px rgba(0,0,0,.46), 0 0 36px rgba(102,242,183,.11);
}

.btn.primary,
.btn-primary,
.wrap > .home-trade-map .btn,
.home-hub-cta {
  background: linear-gradient(135deg, #f4b84a, #f8d77b);
  color: #11160f;
  box-shadow: 0 14px 34px rgba(244,184,74,.22);
}

.wrap > .home-trade-map .btn:hover,
.home-hub-cta:hover,
.btn.primary:hover,
.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(244,184,74,.32);
}

.wrap > .market-ticker {
  border-color: rgba(102,242,183,.2);
  background:
    linear-gradient(90deg, rgba(102,242,183,.09), rgba(244,184,74,.09), rgba(102,242,183,.09));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.26);
}

.wrap > .market-ticker .ticker-track span {
  border-color: rgba(181,255,219,.14);
  background: rgba(5,8,6,.68);
  color: #eafff3;
  box-shadow: inset 0 0 0 1px rgba(244,184,74,.035);
}

.wrap > .home-trade-map {
  border-color: rgba(244,184,74,.27);
  background:
    radial-gradient(circle at 8% 18%, rgba(244,184,74,.20), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(102,242,183,.18), transparent 34%),
    linear-gradient(135deg, rgba(220,255,237,.10), rgba(220,255,237,.04));
}

.wrap > .home-trade-map::after {
  background: radial-gradient(circle, rgba(102,242,183,.23), transparent 66%);
}

.home-hub-card {
  background:
    linear-gradient(135deg, rgba(220,255,237,.095), rgba(220,255,237,.035)),
    radial-gradient(circle at 80% 10%, rgba(102,242,183,.10), transparent 36%);
  border-color: rgba(181,255,219,.13);
}

.calculators-hub::before {
  background:
    radial-gradient(circle at 18% 15%, rgba(244,184,74,.18), transparent 34%),
    linear-gradient(135deg, rgba(220,255,237,.09), rgba(102,242,183,.075));
}

.traders-hub::before {
  background:
    radial-gradient(circle at 85% 15%, rgba(102,242,183,.18), transparent 34%),
    linear-gradient(135deg, rgba(220,255,237,.08), rgba(244,184,74,.075));
}

.home-hub-card::after {
  background: radial-gradient(circle, rgba(102,242,183,.18), transparent 68%);
}

.traders-hub::after {
  background: radial-gradient(circle, rgba(244,184,74,.16), transparent 68%);
}

.home-hub-tags span {
  background: rgba(5,8,6,.42);
  border-color: rgba(181,255,219,.13);
  color: #dfffee;
}

.bar span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

body::before {
  background-image:
    linear-gradient(rgba(181,255,219,.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,255,219,.028) 1px, transparent 1px);
}

.tg-float {
  background: linear-gradient(135deg, rgba(7,13,10,.96), rgba(17,35,27,.96));
  color: #eafff3;
  border-color: rgba(102,242,183,.34);
  box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 26px rgba(102,242,183,.13);
}

.tg-float::before {
  border-color: rgba(244,184,74,.38);
  background: rgba(5,8,6,.96);
  color: #f8d77b;
}

.tg-float::after {
  border-color: rgba(244,184,74,.38);
  background: rgba(5,8,6,.96);
}

.tg-float-mark {
  background: radial-gradient(circle at 30% 25%, #d8ff7d 0 16%, #66f252 17% 69%, #299a36 100%);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14), 0 5px 16px rgba(102,242,183,.22);
}

/* Variant 4 full surface pass: panels, fields, hero asset and section cards. */
.home-hero {
  position: relative;
  padding-top: 74px;
  padding-bottom: 28px;
  overflow: visible;
}

.hero-eth-visual {
  position: absolute;
  right: max(-44px, -5vw);
  top: 30px;
  width: clamp(132px, 18vw, 245px);
  aspect-ratio: 1;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.38));
  animation: ethFloat 6s ease-in-out infinite;
}

.hero-eth-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.home-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  width: min(720px, 86vw);
  height: 320px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(102,242,183,.12), transparent 44%),
    radial-gradient(circle at 65% 40%, rgba(244,184,74,.10), transparent 42%);
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}

.home-hero .badge {
  border-color: rgba(102,242,183,.22);
  background: rgba(220,255,237,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.home-hero h1 {
  text-shadow: 0 20px 60px rgba(0,0,0,.38);
}

.nav-dropdown-menu,
.calculator-tabs,
.quick-nav,
.audience-card,
.hub-tool-card,
.guide-card,
.trust-card,
.example-block,
.formula-block,
.mistake-block,
.ads-cta-grid,
.result,
.note,
.recent-card,
.tool-details {
  border-color: rgba(181,255,219,.14);
  background:
    linear-gradient(180deg, rgba(220,255,237,.082), rgba(220,255,237,.035)),
    radial-gradient(circle at 100% 0%, rgba(102,242,183,.07), transparent 38%);
  box-shadow: 0 18px 58px rgba(0,0,0,.28);
}

.home-section,
.hub-section {
  border-top-color: rgba(181,255,219,.10);
}

.home-hub-choice {
  gap: 20px;
}

.home-hub-card {
  min-height: 370px;
  border-radius: 30px;
  padding: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 74px rgba(0,0,0,.34);
}

.home-hub-card h2 {
  color: #f7fff9;
  text-shadow: 0 16px 42px rgba(0,0,0,.34);
}

.home-hub-card p {
  color: #b8cac3;
}

.wrap > .home-trade-map {
  min-height: 150px;
  border-radius: 30px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 78px rgba(0,0,0,.36);
}

.wrap > .home-trade-map h2 {
  color: #f7fff9;
}

input,
select,
textarea {
  background: rgba(3,7,5,.56);
  border-color: rgba(181,255,219,.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(102,242,183,.52);
  box-shadow: 0 0 0 3px rgba(102,242,183,.10), inset 0 1px 0 rgba(255,255,255,.05);
}

.icon {
  background: linear-gradient(135deg, rgba(102,242,183,.20), rgba(244,184,74,.18));
  border-color: rgba(181,255,219,.13);
  color: #eafff3;
}

.trade-map-rail {
  background:
    linear-gradient(90deg, rgba(255,100,120,.18), rgba(220,255,237,.055) 48%, rgba(102,242,183,.20)),
    radial-gradient(circle at 50% 50%, rgba(244,184,74,.07), transparent 52%);
  border-color: rgba(181,255,219,.14);
}

.map-marker {
  color: #07100c;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}

.map-entry,
.map-take {
  background: #66f2b7;
}

.map-stop {
  background: #ff6478;
  color: #160507;
}

.map-verdict.good {
  color: #9dffd1;
  background: rgba(102,242,183,.11);
  border-color: rgba(102,242,183,.30);
}

.map-verdict.warn {
  color: #f8d77b;
  background: rgba(244,184,74,.11);
  border-color: rgba(244,184,74,.30);
}

.home-hub-cta,
.wrap > .home-trade-map .btn {
  position: relative;
  overflow: hidden;
}

.home-hub-cta::after,
.wrap > .home-trade-map .btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  animation: ctaShine 5.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ethFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(-3deg); }
  50% { transform: translate3d(-6px,-12px,0) rotate(4deg); }
}

@keyframes ctaShine {
  0%, 52%, 100% { left: -55%; opacity: 0; }
  62% { opacity: .75; }
  78% { left: 118%; opacity: 0; }
}

@media (max-width: 920px) {
  .hero-eth-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 150px;
    margin: 12px auto 0;
    opacity: .82;
  }
}

@media (max-width: 560px) {
  .home-hub-card {
    min-height: 315px;
    padding: 24px;
    border-radius: 24px;
  }

  .hero-eth-visual {
    width: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eth-visual,
  .home-hub-cta::after,
  .wrap > .home-trade-map .btn::after {
    animation: none;
  }
}

/* Hero coin balance and readable dropdowns. */
.hero-btc-visual,
.hero-eth-visual {
  z-index: 0;
}

.hero-btc-visual {
  position: absolute;
  left: max(-44px, -5vw);
  top: 30px;
  width: clamp(132px, 18vw, 245px);
  aspect-ratio: 1;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.38));
  animation: btcFloat 6.4s ease-in-out infinite;
}

.hero-btc-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.home-hero > .badge,
.home-hero > h1,
.home-hero > .lead {
  position: relative;
  z-index: 1;
}

.nav-dropdown-menu {
  background:
    linear-gradient(180deg, rgba(8,17,14,.97), rgba(5,10,8,.985)),
    radial-gradient(circle at 22% 0%, rgba(102,242,183,.16), transparent 38%) !important;
  border: 1px solid rgba(181,255,219,.24) !important;
  box-shadow: 0 26px 74px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.09) !important;
  backdrop-filter: blur(22px) saturate(1.25);
}

.nav-dropdown-menu a {
  color: #d7eee4;
  font-weight: 750;
}

.nav-dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(102,242,183,.12);
}

@keyframes btcFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(3deg); }
  50% { transform: translate3d(6px,-12px,0) rotate(-4deg); }
}

@media (max-width: 920px) {
  .hero-btc-visual,
  .hero-eth-visual {
    position: relative;
    top: auto;
    width: 132px;
    margin: 12px 6px 0;
    display: inline-block;
    vertical-align: middle;
    opacity: .82;
  }

  .hero-btc-visual {
    left: auto;
  }

  .hero-eth-visual {
    right: auto;
  }
}

@media (max-width: 560px) {
  .hero-btc-visual,
  .hero-eth-visual {
    width: 102px;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btc-visual {
    animation: none;
  }
}

/* Desktop hero visual alignment. */
@media (min-width: 921px) {
  .hero-btc-visual,
  .hero-eth-visual {
    top: 30px;
    width: clamp(132px, 18vw, 245px);
  }

  .hero-btc-visual {
    left: max(-44px, -5vw);
    right: auto;
  }

  .hero-eth-visual {
    right: max(-44px, -5vw);
    left: auto;
  }
}


.seo-faq {
  margin: 0 0 34px;
}

.seo-faq h2 {
  margin-bottom: 14px;
}


.guide-long {
  grid-template-columns: 1fr;
}

.guide-long article {
  padding: 22px;
}

.guide-long p + p {
  margin-top: 12px;
}

.guide-long h2 {
  font-size: 24px;
}


.expert-depth {
  margin: 0 0 34px;
  display: grid;
  gap: 16px;
}

.expert-depth h2 {
  margin: 0 0 8px;
}

.expert-depth p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.table-wrap th,
.table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  color: var(--text);
  font-size: 14px;
}

.table-wrap td {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}


/* Strengthened hub pages */
.hub-seo-depth,
.hub-scenarios,
.hub-internal-links {
  margin: 0 0 34px;
}

.section-lead {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.7;
}

.hub-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-scenario-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.hub-scenario-card h3 {
  margin: 0 0 10px;
}

.hub-scenario-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.hub-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-link-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

@media (max-width: 760px) {
  .hub-scenario-grid {
    grid-template-columns: 1fr;
  }

  .hub-scenario-card {
    min-height: auto;
  }
}

/* Hub polish */
.hub-seo-depth,
.hub-scenarios,
.hub-internal-links {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(220,255,237,.07), rgba(220,255,237,.025)),
    rgba(255,255,255,.035);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.hub-seo-depth .section-heading,
.hub-scenarios .section-heading,
.hub-internal-links .section-heading {
  margin-bottom: 14px;
}

.hub-seo-depth .eyebrow,
.hub-scenarios .eyebrow,
.hub-internal-links .eyebrow {
  margin: 0 0 8px;
}

.hub-seo-depth h2,
.hub-scenarios h2,
.hub-internal-links h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.15;
}

.hub-seo-depth .section-lead {
  margin: 0 0 18px;
}

.hub-seo-depth .table-wrap {
  margin-top: 16px;
  background: rgba(0,0,0,.18);
}

.hub-seo-depth .table-wrap th {
  white-space: nowrap;
}

.hub-seo-depth .table-wrap a,
.hub-scenario-card a,
.hub-link-cloud a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.hub-seo-depth .table-wrap a:hover,
.hub-scenario-card a:hover,
.hub-link-cloud a:hover {
  color: var(--accent2);
}

.hub-scenario-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)),
    rgba(0,0,0,.12);
}

.hub-scenario-card a {
  width: fit-content;
  margin-top: auto;
}

.hub-link-cloud a {
  background: rgba(0,0,0,.18);
}

@media (max-width: 760px) {
  .hub-seo-depth,
  .hub-scenarios,
  .hub-internal-links {
    padding: 16px;
    border-radius: 18px;
  }

  .hub-seo-depth h2,
  .hub-scenarios h2,
  .hub-internal-links h2 {
    font-size: 22px;
  }
}


.investors-hub {
  background:
    linear-gradient(135deg, rgba(116, 255, 198, .13), rgba(255, 255, 255, .045)),
    rgba(255,255,255,.045);
}

.risk-hub {
  background:
    linear-gradient(135deg, rgba(255, 203, 96, .14), rgba(255, 255, 255, .045)),
    rgba(255,255,255,.045);
}

.home-hub-choice {
  align-items: stretch;
}

@media (min-width: 900px) {
  .home-hub-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Premium crypto platform styling */
:root {
  --bg: #030712;
  --bg2: #07111f;
  --panel: rgba(11, 18, 32, .72);
  --panel-strong: rgba(16, 27, 48, .84);
  --glass: rgba(255, 255, 255, .07);
  --glass2: rgba(255, 255, 255, .105);
  --text: #f4f8ff;
  --muted: #93a4bd;
  --line: rgba(148, 163, 184, .22);
  --accent: #f6a93b;
  --accent2: #22d3ee;
  --blue: #3b82f6;
  --violet: #a855f7;
  --green: #34d399;
  --danger: #fb7185;
  --good: #34d399;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 14% 10%, rgba(59, 130, 246, .20), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(168, 85, 247, .20), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(34, 211, 238, .12), transparent 34%),
    linear-gradient(135deg, #020617 0%, #06101f 46%, #030712 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 85%);
}

.wrap { width: min(1220px, calc(100% - 40px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, .72);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}
.platform-nav { min-height: 76px; padding: 12px 0; }
.brand { letter-spacing: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 20%),
    linear-gradient(135deg, #22d3ee, #a855f7 46%, #f6a93b);
  color: #020617;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 0 34px rgba(34, 211, 238, .28);
}
.navlinks { gap: 8px; font-size: 14px; }
.navlinks a,
.nav-dropdown summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  color: #b9c5d8;
  border: 1px solid transparent;
  transition: .22s ease;
}
.navlinks a:hover,
.navlinks a.active,
.nav-dropdown[open] summary {
  color: #fff;
  background: rgba(255, 255, 255, .075);
  border-color: rgba(148, 163, 184, .18);
  box-shadow: 0 0 22px rgba(34, 211, 238, .10);
}
.nav-dropdown { position: relative; }
.nav-dropdown summary { cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown-menu {
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 18px;
  background: rgba(8, 13, 25, .94);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.nav-dropdown-menu a {
  width: 100%;
  border-radius: 12px;
}

.platform-page { padding-bottom: 60px; }
.platform-legacy-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
  align-items: center;
  gap: 42px;
  text-align: left;
  padding: 64px 0 52px;
}
.hero-copy h1,
.tool-intro h1 {
  margin-left: 0;
  letter-spacing: 0;
}
.platform-legacy-hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.8vw, 86px);
  line-height: .98;
}
.platform-legacy-hero .lead {
  margin-left: 0;
  max-width: 660px;
}
.hero-badge {
  color: #d9f8ff;
  border-color: rgba(34, 211, 238, .36);
  background: linear-gradient(135deg, rgba(34,211,238,.13), rgba(168,85,247,.11));
}
.platform-legacy-hero .cta-row { justify-content: flex-start; }

.platform-preview,
.card,
.home-section,
.seo-guide article,
.seo-guide-extended article,
.faq-item,
.trust-grid article,
.ads-cta,
.hub-seo-depth,
.hub-scenarios,
.hub-internal-links,
.tools .card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045)),
    rgba(8, 14, 28, .68);
  border: 1px solid rgba(148, 163, 184, .20);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.platform-preview {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  min-height: 520px;
}
.platform-preview::before,
.tool-tile::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 24% 0%, rgba(34, 211, 238, .22), transparent 34%),
              radial-gradient(circle at 100% 28%, rgba(168, 85, 247, .24), transparent 34%);
  pointer-events: none;
  opacity: .9;
}
.platform-preview > * { position: relative; z-index: 1; }
.preview-topline,
.portfolio-card,
.coin-card,
.fear-card {
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(2, 6, 23, .48);
  border-radius: 20px;
}
.preview-topline {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  color: var(--muted);
}
.preview-topline strong,
.coin-card small { color: var(--green); }
.portfolio-card { padding: 22px; margin-top: 14px; }
.portfolio-card span,
.coin-card span,
.fear-card span { color: var(--muted); font-size: 14px; }
.portfolio-card strong { display: block; font-size: 44px; margin: 10px 0 4px; }
.portfolio-card small { color: var(--green); }
.mini-chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  margin: 14px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(34, 211, 238, .10), rgba(168, 85, 247, .08));
  border: 1px solid rgba(148, 163, 184, .16);
}
.mini-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #22d3ee, #a855f7);
  box-shadow: 0 0 28px rgba(34, 211, 238, .22);
}
.coin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.coin-card { padding: 16px; }
.coin-card strong { display: block; margin: 8px 0; font-size: 24px; }
.coin-card.eth small { color: #a78bfa; }
.fear-card { margin-top: 14px; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.fear-card strong { font-size: 34px; color: var(--accent); }

.btn {
  border-radius: 14px;
  border-color: rgba(148, 163, 184, .24);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
}
.btn.primary,
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 34px rgba(34, 211, 238, .22);
}
.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .44);
  box-shadow: 0 18px 48px rgba(0,0,0,.30), 0 0 28px rgba(34, 211, 238, .15);
}

.benefit-grid,
.tool-card-grid,
.article-grid {
  display: grid;
  gap: 18px;
}
.benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 70px; }
.benefit-grid article,
.tool-tile,
.article-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    rgba(8, 14, 28, .70);
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 18px 56px rgba(0,0,0,.28);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.benefit-grid article:hover,
.tool-tile:hover,
.article-card:hover {
  transform: translateY(-7px);
  border-color: rgba(34, 211, 238, .42);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 32px rgba(34, 211, 238, .14);
}
.feature-icon,
.tool-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 16px;
  font-weight: 950;
  color: #020617;
}
.feature-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cyan { background: linear-gradient(135deg, #22d3ee, #67e8f9); }
.violet { background: linear-gradient(135deg, #a855f7, #c4b5fd); }
.green { background: linear-gradient(135deg, #34d399, #a7f3d0); }
.orange { background: linear-gradient(135deg, #f6a93b, #fde68a); }
.blue { background: linear-gradient(135deg, #3b82f6, #93c5fd); }
.benefit-grid h2 { font-size: 20px; }
.benefit-grid p,
.tool-tile p,
.article-card small,
.article-card time { color: var(--muted); line-height: 1.55; }

.platform-section { margin: 0 0 76px; }
.section-heading { margin-bottom: 22px; }
.eyebrow {
  color: var(--accent2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-heading h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
}
.tool-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-tile { min-height: 245px; display: flex; flex-direction: column; color: var(--text); }
.tool-tile > * { position: relative; z-index: 1; }
.tool-tile h3 { margin: 0 0 10px; font-size: 21px; }
.tool-tile b { margin-top: auto; color: var(--accent2); }
.tool-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  background: rgba(6, 182, 212, .12);
  border: 1px solid rgba(6, 182, 212, .26);
}
.tool-badge.popular {
  color: #dcfce7;
  background: rgba(34, 197, 94, .13);
  border-color: rgba(34, 197, 94, .30);
}
.tool-badge.trader {
  color: #ddd6fe;
  background: rgba(168, 85, 247, .14);
  border-color: rgba(168, 85, 247, .30);
}
.tool-badge.risk {
  color: #ffedd5;
  background: rgba(245, 158, 11, .14);
  border-color: rgba(245, 158, 11, .30);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 76px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 26px;
  background: rgba(148, 163, 184, .12);
}
.stats-strip article {
  padding: 24px;
  background: rgba(8, 14, 28, .76);
}
.stats-strip strong {
  display: block;
  font-size: 34px;
  color: #fff;
}
.stats-strip span { color: var(--muted); }

.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { min-height: 330px; display: flex; flex-direction: column; }
.article-card > * { position: relative; z-index: 1; }
.article-cover {
  height: 132px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(34,211,238,.55), rgba(168,85,247,.50));
}
.article-cover.liquidation { background: linear-gradient(135deg, rgba(246,169,59,.58), rgba(168,85,247,.42)); }
.article-cover.risk { background: linear-gradient(135deg, rgba(52,211,153,.58), rgba(59,130,246,.42)); }
.article-card h3 { margin: 8px 0 14px; font-size: 22px; }
.article-card time { margin-top: auto; }

.tool-page {
  padding-top: 52px;
  padding-bottom: 70px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a {
  color: var(--accent2);
  font-weight: 800;
}
.breadcrumbs span {
  min-width: 0;
}
.tool-intro {
  text-align: left;
  padding: 34px 0 28px;
}
.tool-intro .badge { margin-bottom: 16px; }
.tool-intro h1 {
  max-width: 920px;
  font-size: clamp(40px, 5vw, 72px);
}
.tool-intro .lead,
.tool-intro .tool-details {
  margin-left: 0;
  max-width: 820px;
}
.tool-details,
.hint,
.seo-guide p,
.seo-guide-extended p,
.trust-grid p,
.faq-item p,
.expert-depth p { color: var(--muted); }

.card,
.seo-guide article,
.seo-guide-extended article,
.faq-item,
.trust-grid article,
.ads-cta,
.table-wrap {
  border-radius: 24px;
}
input,
select,
textarea {
  background: rgba(2, 6, 23, .58);
  border-color: rgba(148, 163, 184, .22);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(34, 211, 238, .60);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .10);
  background: rgba(2, 6, 23, .82);
}
.result,
.portfolio-bars,
.table-wrap {
  background: rgba(2, 6, 23, .48);
  border-color: rgba(148, 163, 184, .18);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 211, 238, .13), transparent 24%),
    rgba(2, 6, 23, .78);
  backdrop-filter: blur(18px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr .75fr .75fr 1.1fr;
  gap: 26px;
  padding: 42px 0 28px;
}
.footer-brand p,
.subscribe-card p { color: var(--muted); line-height: 1.6; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a,
.footer-col a {
  color: #c9d6e8;
  transition: color .2s ease, transform .2s ease;
}
.social-row a:hover,
.footer-col a:hover { color: var(--accent2); transform: translateX(2px); }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h3,
.subscribe-card h3 { margin: 0 0 8px; font-size: 16px; }
.subscribe-card {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
}
.subscribe-form { display: grid; gap: 10px; }
.subscribe-form button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
}
.footer-bottom {
  padding: 18px 0 28px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.tg-float {
  background: linear-gradient(135deg, rgba(34,211,238,.92), rgba(168,85,247,.92));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 42px rgba(34, 211, 238, .20);
}

@media (max-width: 1080px) {
  .platform-legacy-hero { grid-template-columns: 1fr; min-height: auto; }
  .platform-preview { order: 2; min-height: 440px; }
  .benefit-grid,
  .tool-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1220px); }
  .platform-nav { align-items: flex-start; gap: 12px; }
  .brand { width: 100%; justify-content: flex-start; }
  .navlinks {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .navlinks a,
  .nav-dropdown summary { min-height: 36px; padding: 8px 10px; }
  .nav-dropdown-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 112px;
    min-width: 0;
  }
  .platform-legacy-hero { padding: 38px 0 36px; gap: 24px; }
  .platform-legacy-hero h1,
  .tool-intro h1 { font-size: clamp(36px, 12vw, 54px); }
  .platform-preview { min-height: auto; }
  .coin-grid,
  .benefit-grid,
  .tool-card-grid,
  .stats-strip,
  .article-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { gap: 1px; }
  .tools,
  .grid,
  .grid3 { grid-template-columns: 1fr; }
  .card,
  .benefit-grid article,
  .tool-tile,
  .article-card { border-radius: 20px; }
  .footer-grid { padding-top: 30px; }
}
/* Позиционирование BitClac как профессиональной крипто-платформы */
.platform-header .brand,
.platform-footer .brand { letter-spacing: 0; }

.platform-home .badge,
.platform-home h1,
.platform-home h2,
.platform-home h3,
.platform-home p {
  letter-spacing: 0;
}

.platform-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(440px, .9fr);
  gap: 48px;
  align-items: center;
  padding: 70px 0 64px;
  text-align: left;
}

.platform-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: .98;
  margin: 0 0 24px;
  letter-spacing: 0;
}

.platform-hero .lead {
  margin-left: 0;
  max-width: 660px;
  font-size: clamp(18px, 1.7vw, 22px);
}

.terminal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.terminal-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #c9d6e8;
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(148, 163, 184, .18);
}

.terminal-preview {
  position: relative;
  isolation: isolate;
}

.terminal-preview::before {
  content: "";
  position: absolute;
  inset: -36px -20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, .24), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(168, 85, 247, .28), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(79, 70, 229, .20), transparent 34%);
  filter: blur(8px);
  z-index: -1;
}

.terminal-window {
  overflow: hidden;
  padding: 18px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
    rgba(7, 11, 20, .82);
  border: 1px solid rgba(148, 163, 184, .24);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .55),
    0 0 70px rgba(6, 182, 212, .10),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(26px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 4px 14px;
  color: #9fb2cc;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.terminal-bar span:nth-child(2) { background: #f59e0b; }
.terminal-bar span:nth-child(3) { background: #22c55e; }
.terminal-bar strong { margin-left: auto; font-size: 13px; color: #dbeafe; }

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-panel-empty {
  display: grid;
  gap: 12px;
  min-height: 230px;
  place-items: center;
  text-align: center;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, .14), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .44)),
    rgba(2, 6, 23, .62);
}

.hero-panel-empty strong {
  max-width: 360px;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.hero-panel-empty span {
  color: #93a4bd;
  font-weight: 700;
}

.metric-card,
.equity-panel,
.equity-curve,
.terminal-status {
  border: 1px solid rgba(148, 163, 184, .18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .44)),
    rgba(2, 6, 23, .62);
  border-radius: 20px;
}

.metric-card {
  min-height: 118px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -36px;
  top: -36px;
  border-radius: 50%;
  background: rgba(6, 182, 212, .22);
  filter: blur(3px);
}

.metric-card.eth::after { background: rgba(168, 85, 247, .25); }
.metric-card.success::after { background: rgba(34, 197, 94, .20); }
.metric-card small,
.equity-panel small {
  color: #93a4bd;
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 24px;
  color: #fff;
}

.metric-card span {
  color: #22c55e;
  font-size: 13px;
  font-weight: 800;
}

.equity-panel {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
}

.equity-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

.equity-curve {
  height: 210px;
  margin-top: 12px;
  padding: 16px;
  overflow: hidden;
}

.equity-curve svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(6, 182, 212, .30));
}

.terminal-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 15px;
  color: #b9c5d8;
  font-size: 13px;
}

.capability-section,
.proof-section {
  margin: 0 0 78px;
}

.capability-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.proof-grid article {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 24px;
  border-radius: 28px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    rgba(15, 23, 42, .70);
  border: 1px solid rgba(148, 163, 184, .20);
  box-shadow:
    0 24px 80px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.capability-card::before,
.proof-grid article::before,
.platform-tool-grid .tool-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(6, 182, 212, .20), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(168, 85, 247, .18), transparent 32%);
  pointer-events: none;
  opacity: .82;
}

.capability-card > *,
.proof-grid article > * {
  position: relative;
  z-index: 1;
}

.capability-card:hover,
.proof-grid article:hover,
.platform-tool-grid .tool-tile:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(6, 182, 212, .46);
  box-shadow:
    0 32px 100px rgba(0,0,0,.48),
    0 0 42px rgba(6, 182, 212, .16),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.capability-card h3,
.proof-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.capability-card p,
.proof-grid p {
  color: #aebdd1;
  line-height: 1.62;
}

.capability-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.capability-card li {
  color: #dbeafe;
  font-weight: 800;
}

.capability-card li::before {
  content: "→";
  color: #06B6D4;
  margin-right: 8px;
}

.platform-tool-grid .tool-tile {
  min-height: 270px;
  border-radius: 28px;
}

.platform-tool-grid .tool-tile-featured {
  border-color: rgba(34, 211, 238, .42);
  box-shadow:
    0 28px 86px rgba(0,0,0,.42),
    0 0 34px rgba(34, 211, 238, .16),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.platform-stats strong {
  font-size: clamp(28px, 2.4vw, 38px);
}

.roadmap-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    rgba(15, 23, 42, .72);
  border: 1px solid rgba(148, 163, 184, .20);
  box-shadow:
    0 24px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.roadmap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, .18), transparent 30%),
    radial-gradient(circle at 96% 18%, rgba(168, 85, 247, .18), transparent 34%);
  pointer-events: none;
}

.roadmap-card > * {
  position: relative;
  z-index: 1;
}

.roadmap-card p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #aebdd1;
  line-height: 1.65;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.roadmap-grid span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  color: #e5eefc;
  font-weight: 900;
  line-height: 1.25;
  background: rgba(2, 6, 23, .34);
  border: 1px solid rgba(148, 163, 184, .18);
}

.platform-footer .footer-grid {
  grid-template-columns: 1.25fr .72fr .72fr .72fr .72fr 1.1fr;
}

@keyframes platformFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.platform-hero .hero-copy,
.terminal-window,
.capability-card,
.platform-tool-grid .tool-tile,
.proof-grid article,
.article-card {
  animation: platformFadeUp .65s ease both;
}

.terminal-window { animation-delay: .08s; }
.capability-card:nth-child(2),
.platform-tool-grid .tool-tile:nth-child(2),
.proof-grid article:nth-child(2) { animation-delay: .06s; }
.capability-card:nth-child(3),
.platform-tool-grid .tool-tile:nth-child(3),
.proof-grid article:nth-child(3) { animation-delay: .12s; }
.capability-card:nth-child(4),
.platform-tool-grid .tool-tile:nth-child(4),
.proof-grid article:nth-child(4) { animation-delay: .18s; }

@media (max-width: 1180px) {
  .platform-hero {
    grid-template-columns: 1fr;
  }
  .terminal-preview {
    max-width: 760px;
  }
  .capability-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .platform-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-hero {
    min-height: auto;
    padding: 42px 0 44px;
    gap: 28px;
  }
  .platform-hero h1 {
    font-size: clamp(36px, 12vw, 54px);
  }
  .terminal-grid,
  .equity-panel,
  .capability-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .terminal-window {
    padding: 14px;
    border-radius: 24px;
  }
  .equity-curve {
    height: 160px;
  }
  .terminal-status {
    flex-direction: column;
  }
  .capability-card,
  .proof-grid article {
    min-height: auto;
    border-radius: 22px;
  }
  .terminal-meta {
    display: none;
  }
}


/* Targeted UX positioning polish */
.navlinks {
  justify-content: center;
}

.platform-mini-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.platform-mini-modules article {
  min-height: 76px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .58);
}

.platform-mini-modules small {
  display: block;
  color: #93a4bd;
  font-size: 11px;
  line-height: 1.25;
}

.platform-mini-modules strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
}

.terminal-status {
  flex-wrap: wrap;
}

.terminal-status span {
  min-width: 0;
}

.accent-trading { --card-accent: #3B82F6; }
.accent-investing { --card-accent: #22C55E; }
.accent-portfolio { --card-accent: #a855f7; }
.accent-risk { --card-accent: #F59E0B; }

.capability-card.accent-trading,
.capability-card.accent-investing,
.capability-card.accent-portfolio,
.capability-card.accent-risk {
  border-color: color-mix(in srgb, var(--card-accent) 38%, rgba(148, 163, 184, .18));
}

.capability-card.accent-trading::before,
.capability-card.accent-investing::before,
.capability-card.accent-portfolio::before,
.capability-card.accent-risk::before {
  background:
    radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

.capability-card.accent-trading:hover,
.capability-card.accent-investing:hover,
.capability-card.accent-portfolio:hover,
.capability-card.accent-risk:hover {
  border-color: color-mix(in srgb, var(--card-accent) 62%, white 0%);
  box-shadow:
    0 32px 100px rgba(0,0,0,.48),
    0 0 42px color-mix(in srgb, var(--card-accent) 20%, transparent),
    inset 0 1px 0 rgba(255,255,255,.18);
}

@supports not (color: color-mix(in srgb, #fff, #000)) {
  .capability-card.accent-trading { border-color: rgba(59,130,246,.55); }
  .capability-card.accent-investing { border-color: rgba(34,197,94,.55); }
  .capability-card.accent-portfolio { border-color: rgba(168,85,247,.55); }
  .capability-card.accent-risk { border-color: rgba(245,158,11,.55); }
}

@media (max-width: 760px) {
  .platform-mini-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final UX polish: compact labels, stable hero text and intentional article covers. */
.btn,
.tool-badge,
.metric-card span,
.terminal-status span,
.article-card small,
.article-card time {
  white-space: nowrap;
}

.hero-panel-empty span {
  max-width: 430px;
  line-height: 1.55;
}

.hero-panel-empty .btn {
  min-width: max-content;
}

.metric-card strong {
  font-size: clamp(20px, 2vw, 24px);
  overflow-wrap: normal;
}

.equity-panel strong {
  font-size: clamp(24px, 2.8vw, 32px);
  overflow-wrap: anywhere;
}

.feature-icon,
.tool-icon {
  place-items: center;
}

.feature-svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.tool-tile {
  padding: 22px;
}

.tool-tile h3 {
  font-size: 20px;
  line-height: 1.18;
  overflow-wrap: normal;
}

.tool-tile p {
  min-height: 74px;
  line-height: 1.58;
}

.tool-badge {
  min-height: 22px;
  padding: 4px 8px;
  margin-bottom: 16px;
  color: #c8d8ee;
  font-size: 12px;
  font-weight: 600;
  background: rgba(6, 182, 212, .09);
  border-color: rgba(6, 182, 212, .18);
}

.tool-badge.popular {
  color: #cfeedd;
  background: rgba(34, 197, 94, .10);
  border-color: rgba(34, 197, 94, .20);
}

.tool-badge.trader {
  color: #d8d2f6;
  background: rgba(168, 85, 247, .10);
  border-color: rgba(168, 85, 247, .20);
}

.tool-badge.risk {
  color: #f3dcc0;
  background: rgba(245, 158, 11, .10);
  border-color: rgba(245, 158, 11, .20);
}

.article-cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.26), transparent 20%),
    linear-gradient(135deg, rgba(34,211,238,.50), rgba(168,85,247,.42));
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 16px auto auto 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.30);
  background:
    linear-gradient(90deg, transparent 46%, rgba(255,255,255,.70) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255,255,255,.70) 47% 53%, transparent 54%),
    rgba(255,255,255,.10);
}

.article-cover::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 24px;
  height: 42px;
  background:
    linear-gradient(135deg, transparent 0 16%, rgba(255,255,255,.48) 17% 20%, transparent 21% 42%, rgba(255,255,255,.58) 43% 47%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 34px);
  opacity: .72;
}

.article-cover.liquidation {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.24), transparent 20%),
    linear-gradient(135deg, rgba(246,169,59,.50), rgba(168,85,247,.38));
}

.article-cover.risk {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.24), transparent 20%),
    linear-gradient(135deg, rgba(52,211,153,.48), rgba(59,130,246,.38));
}

@media (max-width: 760px) {
  .terminal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-tile p { min-height: auto; }
  .tool-badge { max-width: 100%; }
}

@media (max-width: 430px) {
  .terminal-grid { grid-template-columns: 1fr; }
  .hero-panel-empty { padding: 22px; }
  .hero-panel-empty .btn { width: auto; }
  .metric-card span,
  .terminal-status span { white-space: normal; }
}


/* ChatGPT final visual polish: premium icons, article covers and clean DCA empty state */
.feature-icon,
.tool-icon {
  color: #ecfeff;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,.34), transparent 28%),
    linear-gradient(135deg, rgba(34,211,238,.86), rgba(168,85,247,.78));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 14px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.26);
}
.feature-icon.blue,
.tool-icon.blue { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.32), transparent 28%), linear-gradient(135deg, #3b82f6, #22d3ee); }
.feature-icon.cyan,
.tool-icon.cyan { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.32), transparent 28%), linear-gradient(135deg, #06b6d4, #67e8f9); }
.feature-icon.violet,
.tool-icon.violet { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.32), transparent 28%), linear-gradient(135deg, #7c3aed, #a78bfa); }
.feature-icon.green,
.tool-icon.green { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.32), transparent 28%), linear-gradient(135deg, #10b981, #34d399); }
.feature-icon.orange,
.tool-icon.orange { background: radial-gradient(circle at 24% 20%, rgba(255,255,255,.34), transparent 28%), linear-gradient(135deg, #f59e0b, #fbbf24); }
.feature-svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.85;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,.10));
}
.tool-icon .feature-svg { width: 26px; height: 26px; }

.hero-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-height: 238px;
  padding: 24px 26px;
  text-align: left;
}
.hero-empty-copy {
  display: grid;
  gap: 8px;
  max-width: 520px;
}
.hero-panel-empty strong {
  max-width: none;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
}
.hero-panel-empty span {
  max-width: 520px;
  color: #aebdd1;
  font-weight: 650;
  line-height: 1.55;
}
.hero-panel-empty .btn,
.hero-empty-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 160px;
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
  align-self: flex-start;
  margin: 0;
  z-index: 1;
}

.article-cover {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 16px 40px rgba(0,0,0,.20);
}
.article-cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.article-cover svg path,
.article-cover svg rect,
.article-cover svg circle {
  vector-effect: non-scaling-stroke;
}
.article-cover text {
  fill: rgba(236,254,255,.90);
  font: 800 18px/1.1 system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: .02em;
}
.article-cover .cover-grid path {
  stroke: rgba(255,255,255,.12);
  stroke-width: 1;
}
.article-cover .cover-line {
  fill: none;
  stroke: rgba(236,254,255,.78);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.article-cover .cover-candles path,
.article-cover .cover-candles rect {
  fill: rgba(236,254,255,.14);
  stroke: rgba(236,254,255,.76);
  stroke-width: 2;
}
.article-cover .cover-danger {
  stroke: rgba(251,113,133,.86);
  stroke-width: 2.5;
  stroke-dasharray: 9 8;
}
.article-cover .cover-warning {
  fill: rgba(245,158,11,.18);
  stroke: rgba(253,230,138,.82);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.article-cover .cover-shield {
  fill: rgba(236,254,255,.10);
  stroke: rgba(236,254,255,.82);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.article-cover.pnl {
  background:
    radial-gradient(circle at 18% 20%, rgba(34,211,238,.30), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(168,85,247,.34), transparent 32%),
    linear-gradient(135deg, rgba(14,165,233,.72), rgba(79,70,229,.62));
}
.article-cover.liquidation {
  background:
    radial-gradient(circle at 18% 20%, rgba(251,191,36,.28), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(168,85,247,.32), transparent 32%),
    linear-gradient(135deg, rgba(245,158,11,.62), rgba(99,102,241,.52));
}
.article-cover.risk {
  background:
    radial-gradient(circle at 18% 20%, rgba(52,211,153,.30), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(59,130,246,.32), transparent 32%),
    linear-gradient(135deg, rgba(20,184,166,.66), rgba(37,99,235,.56));
}
.article-cover::before,
.article-cover::after { content: none; }

.stats-strip article:nth-child(4) strong { font-size: 0; }
.stats-strip article:nth-child(4) strong::before {
  content: "Аккаунт BitClac";
  font-size: clamp(24px, 2.4vw, 34px);
}
.stats-strip article:nth-child(4) span { font-size: 0; }
.stats-strip article:nth-child(4) span::before {
  content: "портфель и история";
  font-size: 16px;
}

@media (max-width: 760px) {
  .hero-panel-empty {
    padding: 22px;
    min-height: auto;
  }
  .hero-panel-empty .btn,
  .hero-empty-btn {
    width: auto;
    max-width: 100%;
  }
}

/* ChatGPT final repair: prevent DCA CTA overlap and polish article covers. */
.terminal-preview .hero-panel-empty[data-hero-empty] {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  min-height: auto !important;
  padding: 28px !important;
  text-align: left !important;
}
.terminal-preview .hero-empty-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-width: 100% !important;
}
.terminal-preview .hero-empty-copy h3 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.12 !important;
}
.terminal-preview .hero-empty-copy p {
  margin: 0 !important;
  max-width: 520px !important;
  color: #aebdd1 !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}
.terminal-preview .hero-empty-actions {
  display: flex !important;
  width: 100% !important;
  margin-top: 2px !important;
}
.terminal-preview .hero-empty-btn,
.terminal-preview .hero-panel-empty .btn.hero-empty-btn {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 176px !important;
  max-width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  z-index: 5 !important;
}
.article-cover svg * {
  vector-effect: non-scaling-stroke;
}
.article-cover text {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif !important;
}
@media (max-width: 760px) {
  .terminal-preview .hero-panel-empty[data-hero-empty] {
    padding: 22px !important;
  }
  .terminal-preview .hero-empty-btn,
  .terminal-preview .hero-panel-empty .btn.hero-empty-btn {
    min-width: 0 !important;
    width: 100% !important;
  }
}


/* ChatGPT production fix 2: cache-busted icon system and DCA CTA layout */
.feature-icon .feature-svg *,
.tool-icon .feature-svg *,
.hub-tool-icon .feature-svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.feature-icon,
.tool-icon,
.hub-tool-icon {
  color: #f8fbff !important;
}
.hub-tool-icon .feature-svg {
  width: 24px;
  height: 24px;
}
.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 18px !important;
  padding: 30px 30px 34px !important;
  margin: 0 0 18px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
.terminal-preview .hero-empty-copy {
  width: 100% !important;
  max-width: 560px !important;
}
.terminal-preview .hero-empty-copy h3 {
  display: block !important;
  margin: 0 0 10px 0 !important;
}
.terminal-preview .hero-empty-copy p {
  display: block !important;
  margin: 0 !important;
  max-width: 560px !important;
}
.terminal-preview .hero-empty-actions {
  position: static !important;
  display: block !important;
  width: 100% !important;
  clear: both !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
}
.terminal-preview .hero-empty-btn,
.terminal-preview .hero-panel-empty .btn.hero-empty-btn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 180px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  z-index: 10 !important;
}
.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) ~ [data-hero-grid],
.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) ~ [data-hero-summary] {
  display: none !important;
}
.article-cover svg path:not([fill]),
.article-cover svg circle:not([fill]),
.article-cover svg rect:not([fill]),
.article-cover svg line:not([fill]),
.article-cover svg polyline:not([fill]),
.article-cover svg polygon:not([fill]) {
  fill: none !important;
}
.article-cover svg [stroke="#000"],
.article-cover svg [stroke="black"] {
  stroke: rgba(236,254,255,.80) !important;
}
.article-cover svg [fill="#000"],
.article-cover svg [fill="black"] {
  fill: rgba(236,254,255,.12) !important;
}
@media (max-width: 760px) {
  .terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
    padding: 22px !important;
  }
  .terminal-preview .hero-empty-btn,
  .terminal-preview .hero-panel-empty .btn.hero-empty-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* ChatGPT final applied polish: inner pages icons, hero proportions and empty DCA preview */
.hero-title {
  font-size: clamp(54px, 6.3vw, 104px) !important;
  line-height: .96 !important;
  letter-spacing: -0.07em !important;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr) !important; gap: clamp(48px, 6vw, 90px) !important; }
}
.terminal-window { overflow: hidden !important; }
.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  padding: 30px !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(7,13,29,.92), rgba(8,14,31,.78)) !important;
  border: 1px solid rgba(148,163,184,.14) !important;
}
.terminal-preview .hero-empty-copy h3 { font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.12 !important; }
.terminal-preview .hero-empty-copy p { max-width: 560px !important; color: rgba(203,213,225,.86) !important; }
.terminal-preview .hero-empty-actions { display: block !important; width: auto !important; }
.terminal-preview .hero-empty-btn { min-height: 44px !important; border-radius: 14px !important; }
.hero-empty-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}
.hero-empty-preview article {
  min-height: 84px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.14);
  background: radial-gradient(circle at 78% 8%, rgba(34,211,238,.20), transparent 45%), rgba(9,15,32,.72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: .72;
}
.hero-empty-preview small { color: rgba(203,213,225,.70); font-size: 12px; }
.hero-empty-preview strong { color: rgba(248,250,252,.92); font-size: 26px; line-height: 1; }
.hub-tool-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 0 !important;
}
.hub-tool-icon .feature-svg,
.tool-icon .feature-svg,
.feature-icon .feature-svg {
  width: 24px !important;
  height: 24px !important;
}
.hub-tool-icon .feature-svg *,
.tool-icon .feature-svg *,
.feature-icon .feature-svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
/* keep chart bars/cover decorative SVGs light, not black */
.article-cover svg [stroke="#000"],
.article-cover svg [stroke="black"] { stroke: rgba(236,254,255,.84) !important; }
.article-cover svg [fill="#000"],
.article-cover svg [fill="black"] { fill: rgba(236,254,255,.14) !important; }
@media (max-width: 760px) {
  .hero-empty-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) { padding: 22px !important; }
}
@media (max-width: 480px) {
  .hero-empty-preview { grid-template-columns: 1fr; }
}


/* ChatGPT semantic color polish: trading blue, investing green, risk orange, portfolio violet */
:root {
  --accent-trading: #3b82f6;
  --accent-investing: #22c55e;
  --accent-risk: #f59e0b;
  --accent-portfolio: #a855f7;
}

/* Inner hub pages get semantic section colors */
body[data-page="traders"] {
  --section-accent: var(--accent-trading);
  --section-accent-rgb: 59,130,246;
}
body[data-page="investors"] {
  --section-accent: var(--accent-investing);
  --section-accent-rgb: 34,197,94;
}
body[data-page="riskManagement"] {
  --section-accent: var(--accent-risk);
  --section-accent-rgb: 245,158,11;
}
body[data-page="portfolio"] {
  --section-accent: var(--accent-portfolio);
  --section-accent-rgb: 139,92,246;
}

body[data-page="traders"] .hub-panel,
body[data-page="investors"] .hub-panel,
body[data-page="riskManagement"] .hub-panel,
body[data-page="portfolio"] .hub-panel {
  border-color: rgba(var(--section-accent-rgb), .30) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--section-accent-rgb), .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    rgba(8,14,28,.72) !important;
}

body[data-page="traders"] .hub-tool-icon,
body[data-page="investors"] .hub-tool-icon,
body[data-page="riskManagement"] .hub-tool-icon,
body[data-page="portfolio"] .hub-tool-icon {
  background: linear-gradient(135deg, var(--section-accent), rgba(255,255,255,.25)) !important;
  box-shadow: 0 0 22px rgba(var(--section-accent-rgb), .22) !important;
}

body[data-page="traders"] .hub-tool-card,
body[data-page="investors"] .hub-tool-card,
body[data-page="riskManagement"] .hub-tool-card,
body[data-page="portfolio"] .hub-tool-card {
  border-color: rgba(var(--section-accent-rgb), .18) !important;
}
body[data-page="traders"] .hub-tool-card:hover,
body[data-page="investors"] .hub-tool-card:hover,
body[data-page="riskManagement"] .hub-tool-card:hover,
body[data-page="portfolio"] .hub-tool-card:hover {
  border-color: rgba(var(--section-accent-rgb), .48) !important;
  box-shadow: 0 18px 52px rgba(0,0,0,.34), 0 0 28px rgba(var(--section-accent-rgb), .14) !important;
}

/* Homepage semantic accents */
.capability-card.accent-trading .feature-icon,
.platform-tool-grid .tool-tile[href="profit.html"] .tool-icon,
.platform-tool-grid .tool-tile[href="risk-reward.html"] .tool-icon {
  background: linear-gradient(135deg, var(--accent-trading), #93c5fd) !important;
}
.capability-card.accent-investing .feature-icon,
.platform-tool-grid .tool-tile[href="dca.html"] .tool-icon,
.platform-tool-grid .tool-tile[href="dca-tracker.html"] .tool-icon,
.platform-tool-grid .tool-tile[href="compound.html"] .tool-icon {
  background: linear-gradient(135deg, var(--accent-investing), #86efac) !important;
}
.capability-card.accent-risk .feature-icon,
.platform-tool-grid .tool-tile[href="liquidation.html"] .tool-icon,
.platform-tool-grid .tool-tile[href="risk.html"] .tool-icon {
  background: linear-gradient(135deg, var(--accent-risk), #fde68a) !important;
}
.capability-card.accent-portfolio .feature-icon,
.platform-tool-grid .tool-tile[href="portfolio.html"] .tool-icon {
  background: linear-gradient(135deg, var(--accent-portfolio), #c4b5fd) !important;
}

/* Make hero empty dashboard useful but still disabled until DCA is created */
.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
  gap: 20px !important;
}
.hero-empty-preview {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 2px !important;
}
.hero-empty-preview article {
  min-height: 92px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(148,163,184,.16) !important;
  background:
    radial-gradient(circle at 78% 8%, rgba(148,163,184,.16), transparent 45%),
    rgba(15,23,42,.52) !important;
  opacity: .78 !important;
}
.hero-empty-preview small {
  color: rgba(203,213,225,.72) !important;
  font-size: 12px !important;
}
.hero-empty-preview strong {
  color: rgba(248,250,252,.82) !important;
  font-size: 26px !important;
}
@media (max-width: 760px) {
  .hero-empty-preview { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 460px) {
  .hero-empty-preview { grid-template-columns: 1fr !important; }
}

/* Product feel: Stripe-like motion, depth and loading states */
* {
  transition: all 0.18s ease;
}

.card {
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

button,
.btn {
  transition: all .18s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Level 3 final motion */
.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

button:active,
.btn:active {
  transform: scale(0.98);
}

/* Final semantic catalog and DCA skeleton polish */
:root {
  --accent-trading: #3b82f6;
  --accent-investing: #22c55e;
  --accent-risk: #f59e0b;
  --accent-portfolio: #a855f7;
  --blue: #3b82f6;
  --green: #22c55e;
  --orange: #f59e0b;
  --purple: #a855f7;
}

.card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title,
.hub-tool-card strong,
.tool-tile h3 {
  font-size: 15px;
  font-weight: 600;
}

.card-desc,
.hub-tool-card small,
.tool-tile p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.hub-tool-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hub-tool-card .tag {
  align-self: flex-start;
  margin-bottom: 2px;
}

.tag-trading {
  background: rgba(59, 130, 246, .15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, .3);
}

.tag-invest {
  background: rgba(34, 197, 94, .15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, .3);
}

.tag-risk {
  background: rgba(245, 158, 11, .15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, .3);
}

.tag-portfolio {
  background: rgba(168, 85, 247, .15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, .3);
}

.empty-dashboard {
  width: 100%;
  margin-top: 4px;
}

.skeleton-card {
  min-height: 96px;
  opacity: .92;
}

.skeleton-card .value {
  width: 72px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(226,232,240,.48);
  border-radius: 10px;
}

.tool-intro .info-card {
  margin-top: 16px;
}

/* Live dashboard state system */
.state-empty,
.hero-panel-empty.empty-state {
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(59,130,246,.12), transparent 34%),
    rgba(255,255,255,.035);
  border-radius: 18px;
}

.hero-empty-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
}

.simulation-state {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(34,197,94,.12), transparent 36%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.simulation-state::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.035) 45%, transparent 72%);
  transform: translateX(-70%);
  animation: shimmerSweep 4.8s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(90%); }
}

.simulation-state > * {
  position: relative;
  z-index: 1;
}

.simulation-head,
.portfolio-sim,
.risk-sim,
.allocation-mini,
.module-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.simulation-head strong,
.portfolio-sim strong {
  color: #22c55e;
  font-size: 14px;
}

.dca-line-chart {
  width: 100%;
  min-height: 118px;
  border-radius: 14px;
  background: rgba(15,23,42,.52);
  border: 1px solid rgba(148,163,184,.12);
}

.chart-grid {
  fill: none;
  stroke: rgba(148,163,184,.16);
  stroke-width: 1;
}

.chart-fill {
  fill: rgba(34,197,94,.10);
}

.chart-line {
  fill: none;
  stroke: url(#dcaLineGradient);
  stroke-width: 4;
  stroke-linecap: round;
}

.allocation-mini span,
.risk-sim span,
.module-flow span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.allocation-mini b,
.risk-sim b {
  color: #e5e7eb;
}

.module-flow {
  justify-content: flex-start;
}

.module-flow i {
  color: rgba(148,163,184,.72);
  font-style: normal;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Result values must stay text, not icon badges */
.result .row strong.green,
.result .row strong.red {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  display: inline !important;
}

.result .row strong.green {
  color: var(--good) !important;
}

.result .row strong.red {
  color: var(--danger) !important;
}

/* Live capital dashboard */
.empty-state {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.empty-state .icon {
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.24);
  color: #93c5fd;
}

.empty-state h3 {
  margin: 0;
}

.empty-state p {
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-grid .card {
  min-height: 124px;
  padding: 18px;
}

.dashboard-grid .label,
.metric-card .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dashboard-grid .value,
.metric-card .value {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 850;
  letter-spacing: -.03em;
}

.pulse {
  opacity: 0.6;
  transition: 0.3s;
}

.pulse.active {
  opacity: 1;
}

.progress {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg,#3b82f6,#22c55e);
}

.system-info {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(59,130,246,.12), transparent 34%),
    var(--card);
  border: 1px solid var(--stroke);
}

.system-info h3 {
  margin: 0 0 8px;
}

.system-info p {
  max-width: 720px;
  margin: 0;
}

.status.live {
  display: inline-flex;
  align-items: center;
  color: #22c55e;
  font-size: 12px;
  font-weight: 700;
}

.status.live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: .35;
    transform: scale(.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.dca-progress-panel {
  margin: 16px 0 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}

.dca-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dca-progress-head strong {
  color: #22c55e;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
}

button:active,
.btn:active {
  transform: scale(0.98);
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.05)
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hero-dashboard,
.terminal-preview {
  position: relative;
}

.hero-dashboard::before,
.terminal-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
    rgba(59,130,246,0.08),
    transparent 60%);
  pointer-events: none;
}

.grid {
  gap: 16px;
}

.section {
  margin-top: 40px;
}

.product-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
}

.accent {
  color: #3b82f6;
  font-weight: 600;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

p {
  color: #94a3b8;
  line-height: 1.6;
}

/* CATEGORY COLORS AND SHARED UI SYSTEM */
:root {
  --bg: #0b1220;
  --card: rgba(255,255,255,0.04);
  --stroke: rgba(255,255,255,0.08);
  --text: #e5e7eb;
  --muted: #94a3b8;

  --blue: #3b82f6;
  --green: #22c55e;
  --orange: #f59e0b;
  --purple: #a855f7;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  transition: .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.15);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tag-trading {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-invest {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.tag-risk {
  background: rgba(245, 158, 11, 0.15);
  color: var(--orange);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-portfolio {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.info-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.info-icon {
  flex-shrink: 0;
  opacity: 0.8;
}

.info-text {
  min-width: 0;
}

.hero-dca-btn {
  margin-top: 12px;
  display: inline-flex;
  white-space: nowrap;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Product motion overrides */
.card {
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

button,
.btn {
  transition: all .18s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}


/* Final UI bugfix: results, empty state CTA and chart clarity */
.result .row .green,
.result .row .red,
.result .row strong.green,
.result .row strong.red {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: inline !important;
  border-radius: 0 !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.result .row .green,
.result .row strong.green { color: var(--good) !important; }
.result .row .red,
.result .row strong.red { color: var(--danger) !important; }

.hero-panel-empty .btn-primary,
.hero-dca-btn {
  padding: 14px 18px !important;
  font-weight: 600 !important;
  width: 100% !important;
  margin-top: 12px !important;
  justify-content: center !important;
  text-align: center !important;
}

.hero-empty-actions {
  width: 100% !important;
}

.empty-dashboard .metric-card,
.empty-dashboard .skeleton-card {
  min-height: 104px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

.empty-dashboard .label {
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.empty-dashboard .value.muted {
  margin-top: 8px !important;
  color: rgba(203,213,225,.78) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.chart-line,
.dca-line-chart .chart-line {
  stroke: #3b82f6 !important;
  stroke-width: 2 !important;
  fill: none !important;
  filter: drop-shadow(0 0 8px rgba(59,130,246,.35));
}

.chart-fill {
  fill: rgba(59,130,246,.06) !important;
}

/* Final hero CTA override */
.terminal-preview .hero-panel-empty .btn.hero-empty-btn.hero-dca-btn,
.terminal-preview .hero-panel-empty .btn.btn-primary.hero-dca-btn,
.hero-panel-empty.empty-state .btn-primary.hero-dca-btn {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 14px 18px !important;
  margin-top: 12px !important;
  font-weight: 600 !important;
  justify-content: center !important;
  text-align: center !important;
}

.terminal-preview .hero-empty-actions,
.hero-panel-empty.empty-state .hero-empty-actions {
  width: 100% !important;
  display: block !important;
}

/* Final polish: remove demo simulator, fix result colors, align DCA empty panel */
.simulation-state {
  display: none !important;
}

.result .row strong.result-green,
.result .row strong.result-red,
.result .row strong.green,
.result .row strong.red {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.result .row strong.result-green,
.result .row strong.green {
  color: var(--good) !important;
}

.result .row strong.result-red,
.result .row strong.red {
  color: var(--danger) !important;
}

.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 360px) !important;
  align-items: center !important;
  gap: 18px 24px !important;
  text-align: left !important;
}

.terminal-preview .hero-panel-empty .icon {
  grid-column: 1 !important;
  margin: 0 !important;
}

.terminal-preview .hero-panel-empty .hero-empty-copy {
  grid-column: 1 !important;
  max-width: 340px !important;
}

.terminal-preview .hero-panel-empty .hero-empty-copy h2 {
  margin-bottom: 12px !important;
}

.terminal-preview .hero-panel-empty .hero-empty-copy p {
  max-width: 330px !important;
}

.terminal-preview .hero-panel-empty .hero-empty-actions {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 250px !important;
}

.terminal-preview .hero-panel-empty .btn.hero-empty-btn.hero-dca-btn,
.terminal-preview .hero-panel-empty .btn.btn-primary.hero-dca-btn,
.hero-panel-empty.empty-state .btn-primary.hero-dca-btn {
  width: 100% !important;
  max-width: 250px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.terminal-preview .empty-dashboard {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  align-self: center !important;
}

.terminal-preview .empty-dashboard .metric-card,
.terminal-preview .empty-dashboard .skeleton-card {
  min-height: 90px !important;
  padding: 13px !important;
  border-radius: 15px !important;
}

.terminal-preview .empty-dashboard .label {
  font-size: 11px !important;
  letter-spacing: .06em !important;
}

.terminal-preview .empty-dashboard .value.muted {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

@media (max-width: 760px) {
  .terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .terminal-preview .hero-panel-empty .icon,
  .terminal-preview .hero-panel-empty .hero-empty-copy,
  .terminal-preview .hero-panel-empty .hero-empty-actions,
  .terminal-preview .empty-dashboard {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: center !important;
  }

  .terminal-preview .hero-panel-empty .hero-empty-copy,
  .terminal-preview .hero-panel-empty .hero-empty-copy p {
    max-width: 100% !important;
  }

  .terminal-preview .empty-dashboard {
    max-width: 390px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 430px) {
  .terminal-preview .empty-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final strict fixes: no green badges in results, compact 2x2 DCA empty cards */
.result .row > strong,
.result .row > strong[class],
.result .row > strong.green,
.result .row > strong.red,
.result .row > strong.result-green,
.result .row > strong.result-red {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.result .row > strong.green,
.result .row > strong.result-green {
  color: #6ee7b7 !important;
}

.result .row > strong.red,
.result .row > strong.result-red {
  color: #fb7185 !important;
}

.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  align-items: start !important;
  gap: 18px !important;
  padding: 28px !important;
  text-align: center !important;
}

.terminal-preview .hero-panel-empty .icon,
.terminal-preview .hero-panel-empty .hero-empty-copy,
.terminal-preview .hero-panel-empty .hero-empty-actions {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 430px !important;
  justify-self: center !important;
}

.terminal-preview .hero-panel-empty .hero-empty-copy h2,
.terminal-preview .hero-panel-empty .hero-empty-copy p {
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.terminal-preview .hero-panel-empty .hero-empty-actions {
  max-width: 210px !important;
}

.terminal-preview .hero-panel-empty .btn.hero-empty-btn.hero-dca-btn,
.terminal-preview .hero-panel-empty .btn.btn-primary.hero-dca-btn,
.hero-panel-empty.empty-state .btn-primary.hero-dca-btn {
  width: 210px !important;
  max-width: 210px !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
  white-space: nowrap !important;
}

.terminal-preview .empty-dashboard {
  grid-column: 1 !important;
  grid-row: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: min(100%, 370px) !important;
  max-width: 370px !important;
  margin: 0 auto !important;
  justify-self: center !important;
  align-self: start !important;
}

.terminal-preview .empty-dashboard .metric-card,
.terminal-preview .empty-dashboard .skeleton-card {
  width: 100% !important;
  aspect-ratio: 1 / .82 !important;
  min-height: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 8px !important;
  text-align: left !important;
}

.terminal-preview .empty-dashboard .label,
.terminal-preview .empty-dashboard .value.muted {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.terminal-preview .empty-dashboard .label {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.terminal-preview .empty-dashboard .value.muted {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

@media (max-width: 430px) {
  .terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) {
    padding: 20px !important;
  }

  .terminal-preview .empty-dashboard {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .terminal-preview .empty-dashboard .metric-card,
  .terminal-preview .empty-dashboard .skeleton-card {
    padding: 12px !important;
  }
}

/* Absolute final override for calculator results and DCA empty-state layout */
.result .row > strong[data-result-tone],
.result .row > strong[data-result-tone="green"],
.result .row > strong[data-result-tone="red"],
.result .row > strong.green,
.result .row > strong.red,
.result .row > .green,
.result .row > .red {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit;
}

.result .row > strong[data-result-tone="green"],
.result .row > strong.green,
.result .row > .green {
  color: #6ee7b7 !important;
}

.result .row > strong[data-result-tone="red"],
.result .row > strong.red,
.result .row > .red {
  color: #fb7185 !important;
}

.hero-panel-empty[data-hero-empty]:not([hidden]) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  align-items: start !important;
  text-align: center !important;
  gap: 18px !important;
}

.hero-panel-empty[data-hero-empty] .empty-dashboard,
.empty-dashboard {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 10px !important;
  width: min(100%, 360px) !important;
  max-width: 360px !important;
  margin: 0 auto !important;
}

.hero-panel-empty[data-hero-empty] .empty-dashboard .metric-card,
.hero-panel-empty[data-hero-empty] .empty-dashboard .skeleton-card,
.empty-dashboard .metric-card,
.empty-dashboard .skeleton-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 / .82 !important;
  padding: 13px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 7px !important;
  text-align: left !important;
}

.hero-panel-empty[data-hero-empty] .empty-dashboard .label,
.hero-panel-empty[data-hero-empty] .empty-dashboard .value,
.empty-dashboard .label,
.empty-dashboard .value {
  margin: 0 !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

@media (max-width: 430px) {
  .hero-panel-empty[data-hero-empty] .empty-dashboard,
  .empty-dashboard {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-panel-empty[data-hero-empty] .empty-dashboard .metric-card,
  .hero-panel-empty[data-hero-empty] .empty-dashboard .skeleton-card,
  .empty-dashboard .metric-card,
  .empty-dashboard .skeleton-card {
    padding: 11px !important;
  }
}

/* Final pass: compact DCA icon, wider DCA tiles, hard fix for compound result badges */
.hero-panel-empty[data-hero-empty] > .icon,
.terminal-preview .hero-panel-empty[data-hero-empty] > .icon,
.hero-panel-empty.empty-state > .icon {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-panel-empty[data-hero-empty] .empty-dashboard,
.terminal-preview .empty-dashboard,
.empty-dashboard {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  gap: 12px !important;
}

.hero-panel-empty[data-hero-empty] .empty-dashboard .metric-card,
.hero-panel-empty[data-hero-empty] .empty-dashboard .skeleton-card,
.terminal-preview .empty-dashboard .metric-card,
.terminal-preview .empty-dashboard .skeleton-card,
.empty-dashboard .metric-card,
.empty-dashboard .skeleton-card {
  aspect-ratio: 1 / .72 !important;
  padding: 16px !important;
}

.result strong,
.result strong[class],
.result strong[data-result-tone],
#compoundResult strong,
#compoundResult strong[class],
#compoundResult strong[data-result-tone] {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.result strong[data-result-tone="green"],
#compoundResult strong[data-result-tone="green"],
#compoundResult strong.green {
  color: #6ee7b7 !important;
}

.result strong[data-result-tone="red"],
#compoundResult strong[data-result-tone="red"],
#compoundResult strong.red {
  color: #fb7185 !important;
}

@media (max-width: 430px) {
  .hero-panel-empty[data-hero-empty]:not([hidden]),
  .terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]),
  .hero-panel-empty.empty-state {
    padding: 12px !important;
  }

  .hero-panel-empty[data-hero-empty] .empty-dashboard,
  .terminal-preview .empty-dashboard,
  .empty-dashboard {
    width: min(100%, 360px) !important;
    max-width: 360px !important;
  }

  .hero-panel-empty[data-hero-empty] .empty-dashboard .metric-card,
  .hero-panel-empty[data-hero-empty] .empty-dashboard .skeleton-card,
  .terminal-preview .empty-dashboard .metric-card,
  .terminal-preview .empty-dashboard .skeleton-card,
  .empty-dashboard .metric-card,
  .empty-dashboard .skeleton-card {
    padding: 13px !important;
  }
}

/* Final DCA color accents and inline-safe result fallback */
.empty-dashboard .dca-empty-card {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(148, 163, 184, .18) !important;
}

.empty-dashboard .dca-empty-card::before {
  content: "" !important;
  position: absolute !important;
  top: -32px !important;
  right: -30px !important;
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  opacity: .42 !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
}

.empty-dashboard .dca-empty-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  opacity: .2 !important;
}

.empty-dashboard .dca-empty-card > * {
  position: relative !important;
  z-index: 1 !important;
}

.empty-dashboard .dca-empty-asset {
  border-color: rgba(59, 130, 246, .24) !important;
}

.empty-dashboard .dca-empty-asset::before {
  background: #3b82f6 !important;
}

.empty-dashboard .dca-empty-asset::after {
  background: linear-gradient(135deg, rgba(59,130,246,.12), transparent 58%) !important;
}

.empty-dashboard .dca-empty-invest {
  border-color: rgba(34, 197, 94, .24) !important;
}

.empty-dashboard .dca-empty-invest::before {
  background: #22c55e !important;
}

.empty-dashboard .dca-empty-invest::after {
  background: linear-gradient(135deg, rgba(34,197,94,.12), transparent 58%) !important;
}

.empty-dashboard .dca-empty-buys {
  border-color: rgba(245, 158, 11, .26) !important;
}

.empty-dashboard .dca-empty-buys::before {
  background: #f59e0b !important;
}

.empty-dashboard .dca-empty-buys::after {
  background: linear-gradient(135deg, rgba(245,158,11,.12), transparent 58%) !important;
}

.empty-dashboard .dca-empty-average {
  border-color: rgba(168, 85, 247, .26) !important;
}

.empty-dashboard .dca-empty-average::before {
  background: #a855f7 !important;
}

.empty-dashboard .dca-empty-average::after {
  background: linear-gradient(135deg, rgba(168,85,247,.12), transparent 58%) !important;
}

.result strong[style],
#compoundResult strong[style] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Compact active DCA dashboard after a plan is created */
.terminal-preview .terminal-grid[data-hero-grid],
.terminal-grid[data-hero-grid] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.terminal-preview .terminal-grid[data-hero-grid][hidden],
.terminal-grid[data-hero-grid][hidden] {
  display: none !important;
}

.terminal-preview .terminal-grid[data-hero-grid] .metric-card,
.terminal-grid[data-hero-grid] .metric-card {
  min-height: 92px !important;
  padding: 12px 12px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  gap: 6px !important;
}

.terminal-preview .terminal-grid[data-hero-grid] .metric-card .label,
.terminal-grid[data-hero-grid] .metric-card .label {
  font-size: 10px !important;
  line-height: 1.15 !important;
  letter-spacing: .07em !important;
  white-space: nowrap !important;
}

.terminal-preview .terminal-grid[data-hero-grid] .metric-card .value,
.terminal-grid[data-hero-grid] .metric-card .value {
  margin-top: 8px !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  line-height: 1 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
}

.terminal-preview .terminal-grid[data-hero-grid] .metric-card span:not(.label),
.terminal-grid[data-hero-grid] .metric-card span:not(.label) {
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.terminal-preview .terminal-grid[data-hero-grid] .status.live,
.terminal-grid[data-hero-grid] .status.live {
  font-size: 11px !important;
}

.terminal-preview .equity-panel[data-hero-summary],
.equity-panel[data-hero-summary] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px !important;
}

.terminal-preview .equity-panel[data-hero-summary][hidden],
.equity-panel[data-hero-summary][hidden] {
  display: none !important;
}

.terminal-preview .hero-panel-empty[data-hero-empty]:not([hidden]) ~ .terminal-grid[data-hero-grid]:not([hidden]) {
  display: grid !important;
}

.terminal-preview .equity-panel[data-hero-summary] strong,
.equity-panel[data-hero-summary] strong {
  font-size: clamp(22px, 2.6vw, 30px) !important;
  line-height: 1.05 !important;
}

.terminal-preview .hero-plan-link,
.hero-plan-link {
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: rgba(59,130,246,.12) !important;
  border: 1px solid rgba(59,130,246,.25) !important;
  color: #bfdbfe !important;
}

.terminal-preview .hero-plan-link:hover,
.hero-plan-link:hover {
  background: rgba(59,130,246,.18) !important;
  border-color: rgba(59,130,246,.38) !important;
}

@media (max-width: 760px) {
  .terminal-preview .terminal-grid[data-hero-grid],
  .terminal-grid[data-hero-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .terminal-preview .equity-panel[data-hero-summary],
  .equity-panel[data-hero-summary] {
    grid-template-columns: 1fr !important;
  }

  .terminal-preview .hero-plan-link,
  .hero-plan-link {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

/* Multi-asset DCA Tracker */
.dca-plan-manager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}

.dca-plan-manager h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.dca-plan-manager p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dca-plan-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.dca-plan-tab {
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,.035);
  color: var(--text);
}

.dca-plan-tab strong,
.dca-plan-tab span {
  display: block;
}

.dca-plan-tab strong {
  font-size: 14px;
  margin-bottom: 6px;
}

.dca-plan-tab span,
.dca-plan-empty {
  font-size: 12px;
  color: var(--muted);
}

.dca-plan-tab.active {
  border-color: rgba(34,197,94,.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(34,197,94,.14), transparent 36%),
    rgba(255,255,255,.055);
}

.dca-portfolio-summary {
  margin: 0 0 18px;
}

.dca-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.dca-portfolio-summary:empty {
  display: none;
}

.dca-summary-cards article {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}

.dca-summary-cards span,
.dca-summary-cards strong {
  display: block;
}

.dca-summary-cards span {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.dca-summary-cards strong {
  font-size: 18px;
  color: var(--text);
}

.dca-asset-breakdown,
.dca-allocation-panel,
.dca-scenario-panel,
.dca-plan-schedule {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.dca-allocation-panel,
.dca-scenario-panel,
.dca-plan-schedule {
  margin-top: 12px;
}

.dca-breakdown-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dca-breakdown-head h3 {
  margin: 0;
  font-size: 15px;
}

.dca-breakdown-head span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.dca-asset-row {
  display: grid;
  grid-template-columns: .65fr 1.05fr .7fr .9fr .9fr .95fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.dca-asset-row strong,
.dca-asset-link {
  color: var(--text);
  font-size: 14px;
}

.dca-asset-link,
.dca-asset-delete {
  width: fit-content;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.dca-asset-link {
  padding: 4px 8px;
  border: 1px solid rgba(59,130,246,.18);
  background: rgba(59,130,246,.08);
  text-align: left;
}

.dca-asset-link:hover {
  border-color: rgba(59,130,246,.42);
  background: rgba(59,130,246,.14);
}

.dca-asset-delete {
  padding: 5px 10px;
  border: 1px solid rgba(248,113,113,.22);
  background: rgba(248,113,113,.08);
  color: #fca5a5;
  font-size: 12px;
}

.dca-asset-delete:hover {
  border-color: rgba(248,113,113,.42);
  background: rgba(248,113,113,.14);
}

.dca-asset-row span {
  color: var(--muted);
  font-size: 12px;
}

.dca-allocation-row {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.dca-allocation-row strong,
.dca-allocation-row span {
  display: block;
}

.dca-allocation-row strong {
  color: var(--text);
  font-size: 14px;
}

.dca-allocation-row span,
.dca-scenario-panel span,
.dca-schedule-grid span,
.dca-schedule-grid small,
.dca-goal-card span {
  color: var(--muted);
  font-size: 12px;
}

.dca-allocation-track,
.dca-mini-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.dca-allocation-track span,
.dca-mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
}

.dca-scenario-panel article {
  display: grid;
  grid-template-columns: 1fr .85fr .85fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.dca-scenario-panel strong {
  color: var(--text);
  font-size: 14px;
}

.dca-schedule-grid,
.dca-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dca-goal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.dca-schedule-grid article,
.dca-goal-card {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}

.dca-schedule-grid strong,
.dca-schedule-grid small {
  display: block;
}

.dca-schedule-grid strong {
  margin: 6px 0 5px;
  color: var(--text);
  font-size: 18px;
}

.dca-schedule-grid small {
  line-height: 1.45;
}

.dca-goal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.dca-goal-card b {
  color: #22c55e;
  font-size: 13px;
}

.dca-goal-card .dca-mini-progress {
  grid-column: 1 / -1;
}

.dca-export-actions {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .dca-plan-manager {
    align-items: stretch;
    flex-direction: column;
  }

  .dca-summary-cards {
    grid-template-columns: 1fr;
  }

  .dca-breakdown-head {
    display: block;
  }

  .dca-breakdown-head span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .dca-asset-row,
  .dca-allocation-row,
  .dca-scenario-panel article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dca-schedule-grid,
  .dca-goal-grid {
    grid-template-columns: 1fr;
  }
}

/* Header alignment fix: keep the menu on the same right inset as the logo on the left. */
.platform-header .platform-nav {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  justify-content: space-between;
}

.platform-header .navlinks {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.platform-header .nav-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #b9c5d8;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.platform-header span.nav-label,
.platform-header a.nav-label {
  color: #b9c5d8;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.platform-header .nav-label:hover,
.platform-header .nav-label.active {
  color: #fff;
  background: rgba(255, 255, 255, .075);
  border-color: rgba(148, 163, 184, .18);
  box-shadow: 0 0 22px rgba(34, 211, 238, .10);
}

@media (max-width: 760px) {
  .platform-header .platform-nav {
    width: min(1220px, calc(100% - 28px));
  }

  .platform-header .navlinks {
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* v18: DCA data lives in the tool, while the home panel remains a clear entry point. */
.terminal-preview [hidden],
.terminal-window [hidden],
.hero-panel-empty[data-hero-empty][hidden],
.terminal-grid[data-hero-grid][hidden],
.equity-panel[data-hero-summary],
.equity-panel[data-hero-summary][hidden] {
  display: none !important;
}

.dca-summary-cards article {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 211, 238, .18);
  background: linear-gradient(145deg, rgba(34,211,238,.10), rgba(168,85,247,.08));
  box-shadow: 0 16px 34px rgba(2, 6, 23, .20);
}

.dca-summary-cards article::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -30px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(34, 211, 238, .16);
  pointer-events: none;
}

.dca-summary-cards article:nth-child(2)::after { background: rgba(34, 197, 94, .18); }
.dca-summary-cards article:nth-child(3)::after { background: rgba(245, 158, 11, .20); }
.dca-summary-cards article:nth-child(4)::after { background: rgba(168, 85, 247, .20); }

.dca-summary-cards article > * {
  position: relative;
  z-index: 1;
}

.learn-next-button-v6 {
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease !important;
  cursor: pointer !important;
}

.learn-next-button-v6:hover,
.learn-next-button-v6:focus-visible {
  transform: translateY(-2px) scale(1.02) !important;
  filter: brightness(1.08) saturate(1.12) !important;
  box-shadow: 0 18px 34px rgba(34, 211, 238, .28), 0 0 0 1px rgba(255,255,255,.16) inset !important;
  outline: none !important;
}

.learn-next-button-v6:active {
  transform: translateY(0) scale(.98) !important;
  filter: brightness(.96) !important;
}

.expert-depth .table-wrap td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  box-shadow: 0 10px 22px rgba(34, 211, 238, .18);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.expert-depth .table-wrap td:last-child a:hover,
.expert-depth .table-wrap td:last-child a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08) saturate(1.12);
  box-shadow: 0 18px 34px rgba(34, 211, 238, .28), 0 0 0 1px rgba(255,255,255,.14) inset;
  outline: none;
}

.expert-depth .table-wrap td:last-child a:active {
  transform: translateY(0) scale(.98);
  filter: brightness(.96);
}

.dca-asset-input {
  margin-bottom: 14px;
}

.dca-live-summary {
  margin: 14px 0;
}

.home-learn-preview .hub-panel-head {
  display: block !important;
  margin-bottom: 20px !important;
}

.home-learn-preview .hub-panel-head .eyebrow {
  margin: 0 0 8px !important;
}

.home-learn-preview .hub-panel-head h2 {
  margin: 0 0 8px !important;
  line-height: 1.15 !important;
}

.home-learn-preview .hub-panel-head p:not(.eyebrow) {
  max-width: 760px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
}

/* v18: main DCA data stays inside the large hero cards. */
.terminal-preview .terminal-grid[data-hero-grid],
.terminal-preview .terminal-grid[data-hero-grid]:not([hidden]),
.terminal-grid[data-hero-grid],
.terminal-grid[data-hero-grid]:not([hidden]) {
  display: none !important;
}

.empty-dashboard .metric-card.is-filled {
  background: rgba(15, 23, 42, .64) !important;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .22) !important;
}

.empty-dashboard .metric-card.is-filled .value {
  margin-top: 12px !important;
  color: #f8fafc !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.empty-dashboard .metric-card.is-filled .hero-card-note {
  display: block !important;
  margin-top: 7px !important;
  color: #22c55e !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

.empty-dashboard .metric-card.is-filled .value.muted,
.empty-dashboard .metric-card.is-filled .value.pulse {
  color: #f8fafc !important;
  opacity: 1 !important;
}


/* BitClac masters v22 */
.bitclac-main-nav {
  gap: 8px;
}

.bitclac-main-nav .nav-label {
  color: #f8fafc;
  background: rgba(34, 211, 238, .10);
  border-color: rgba(34, 211, 238, .22);
}

.master-choice-section,
.tools-filter-hero,
.master-hero,
.master-workspace,
.master-backlink {
  position: relative;
  margin: 28px 0;
}

.master-choice-heading {
  max-width: 850px;
  margin-bottom: 22px;
}

.master-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.master-product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr);
  gap: 18px;
  min-height: 390px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .94), rgba(2, 6, 23, .98));
  box-shadow: 0 24px 70px rgba(2, 6, 23, .34);
}

.master-card-trading {
  border-color: rgba(34, 211, 238, .30);
  background:
    radial-gradient(circle at 86% 16%, rgba(34, 211, 238, .28), transparent 34%),
    linear-gradient(145deg, rgba(7, 13, 28, .98), rgba(11, 25, 46, .96));
}

.master-card-investing {
  border-color: rgba(52, 211, 153, .28);
  background:
    radial-gradient(circle at 86% 18%, rgba(168, 85, 247, .22), transparent 32%),
    radial-gradient(circle at 72% 78%, rgba(34, 197, 94, .18), transparent 34%),
    linear-gradient(145deg, rgba(10, 22, 24, .98), rgba(24, 15, 42, .94));
}

.master-product-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.master-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(226, 232, 240, .16);
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(15, 23, 42, .62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.master-product-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.master-product-card p {
  max-width: 520px;
  margin: 16px 0 24px;
  color: rgba(226, 232, 240, .84);
  font-size: 16px;
  line-height: 1.65;
}

.master-cta {
  width: fit-content;
  min-height: 48px;
  padding-inline: 20px;
}

.master-cta.invest {
  background: linear-gradient(135deg, #22c55e, #a855f7);
  box-shadow: 0 16px 36px rgba(34, 197, 94, .24);
}

.master-visual {
  position: relative;
  align-self: stretch;
  min-height: 280px;
  display: grid;
  align-items: center;
}

.master-visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.master-visual .visual-panel {
  fill: rgba(15, 23, 42, .78);
  stroke: rgba(226, 232, 240, .14);
}

.master-visual .visual-grid {
  stroke: rgba(148, 163, 184, .18);
  stroke-width: 2;
}

.trading-visual .candles path,
.trading-visual .profit-line,
.trading-visual .risk-line,
.trading-visual .risk-arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trading-visual .candles path {
  stroke: rgba(125, 211, 252, .64);
  stroke-width: 3;
}

.trading-visual .candles rect {
  fill: rgba(34, 211, 238, .22);
  stroke: rgba(103, 232, 249, .88);
  stroke-width: 2;
}

.trading-visual .profit-line {
  stroke: url(#tradeLine);
  stroke-width: 7;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, .40));
}

.trading-visual .risk-line,
.trading-visual .risk-arrow {
  stroke: #f59e0b;
  stroke-width: 4;
  stroke-dasharray: 9 8;
}

.trading-visual .shield {
  fill: rgba(14, 165, 233, .26);
  stroke: #bae6fd;
  stroke-width: 3;
}

.trading-visual .shield-text,
.invest-visual .coin-text,
.invest-visual .pill-text {
  fill: #f8fafc;
  font-weight: 900;
  font-size: 20px;
}

.invest-visual .growth-line,
.invest-visual .portfolio-handle {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invest-visual .growth-line {
  stroke: #86efac;
  stroke-width: 7;
  filter: drop-shadow(0 0 16px rgba(34, 197, 94, .34));
}

.invest-visual .portfolio-body {
  fill: rgba(168, 85, 247, .20);
  stroke: rgba(216, 180, 254, .72);
  stroke-width: 3;
}

.invest-visual .portfolio-handle {
  stroke: rgba(216, 180, 254, .72);
  stroke-width: 7;
}

.invest-visual .coin {
  stroke: rgba(254, 240, 138, .90);
  stroke-width: 3;
}

.invest-visual .coin-a { fill: rgba(250, 204, 21, .26); }
.invest-visual .coin-b { fill: rgba(34, 197, 94, .25); }
.invest-visual .coin-c { fill: rgba(34, 211, 238, .24); }
.invest-visual .pill {
  fill: rgba(15, 23, 42, .82);
  stroke: rgba(226, 232, 240, .18);
}
.invest-visual .pill-text { font-size: 14px; }

.visual-stats {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.visual-stats span {
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, .16);
  border-radius: 16px;
  background: rgba(2, 6, 23, .72);
  box-shadow: 0 12px 28px rgba(2, 6, 23, .28);
}

.visual-stats small {
  display: block;
  color: rgba(203, 213, 225, .72);
  font-size: 11px;
  line-height: 1.1;
}

.visual-stats b {
  display: block;
  margin-top: 3px;
  color: #f8fafc;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1;
  white-space: nowrap;
}

.tools-filter-hero {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .86), rgba(2, 6, 23, .96));
  box-shadow: 0 24px 70px rgba(2, 6, 23, .28);
}

.tools-filter-head {
  max-width: 820px;
}

.tools-filter-head h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.tools-master-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.tools-master-link {
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 20px;
  text-decoration: none;
  background: rgba(15, 23, 42, .66);
}

.tools-master-link.trading { border-color: rgba(34, 211, 238, .30); }
.tools-master-link.investing { border-color: rgba(52, 211, 153, .28); }
.tools-master-link strong {
  color: #f8fafc;
  font-size: 20px;
}
.tools-master-link span {
  color: var(--muted);
}

.tools-search input {
  width: 100%;
  min-height: 56px;
  margin-bottom: 14px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  color: #f8fafc;
  background: rgba(2, 6, 23, .72);
  font-size: 16px;
}

.tools-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tools-filter-tabs button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 16px;
  color: #dbeafe;
  background: rgba(15, 23, 42, .72);
  font-weight: 850;
  cursor: pointer;
}

.tools-filter-tabs button.active,
.tools-filter-tabs button:focus-visible {
  color: #fff;
  border-color: rgba(34, 211, 238, .48);
  background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(168, 85, 247, .16));
  outline: none;
}

.tool-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-filter-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  background: rgba(15, 23, 42, .62);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.tool-filter-card:hover,
.tool-filter-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .38);
  background: rgba(15, 23, 42, .84);
  outline: none;
}

.tool-filter-visual {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(168, 85, 247, .12));
}

.tool-filter-visual svg {
  width: 82px;
  height: 70px;
  fill: none;
  stroke: rgba(226, 232, 240, .82);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-filter-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.tool-filter-copy strong {
  margin-top: 8px;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.15;
}

.tool-filter-copy small {
  margin-top: 7px;
  color: rgba(203, 213, 225, .82);
  line-height: 1.45;
}

.tool-filter-card[hidden],
.tool-filter-empty[hidden] {
  display: none !important;
}

.tool-filter-empty {
  margin: 20px 0 0;
  color: var(--muted);
}

.master-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .88), rgba(2, 6, 23, .96));
}

.master-hero h1 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
}

.master-hero h2 {
  margin: 0 0 14px;
  color: #bae6fd;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.master-workspace {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

.master-form,
.master-result-panel,
.master-backlink {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 24px;
  background: rgba(15, 23, 42, .72);
  box-shadow: 0 20px 55px rgba(2, 6, 23, .22);
}

.master-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.master-form label {
  display: grid;
  gap: 7px;
  color: rgba(226, 232, 240, .82);
  font-size: 13px;
  font-weight: 800;
}

.master-form input,
.master-form select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px;
  color: #f8fafc;
  background: rgba(2, 6, 23, .72);
  font-size: 15px;
}

.master-form button {
  grid-column: 1 / -1;
  min-height: 52px;
}

.master-result-panel {
  min-height: 100%;
  padding: 22px;
}

.master-result-panel h2 {
  margin: 0 0 16px;
  color: #f8fafc;
}

.master-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.master-result-card {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  background: rgba(2, 6, 23, .48);
}

.master-result-card small {
  display: block;
  color: rgba(203, 213, 225, .72);
  font-size: 12px;
}

.master-result-card strong {
  display: block;
  margin-top: 6px;
  color: #f8fafc;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.05;
}

.master-summary {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 16px;
  color: rgba(226, 232, 240, .88);
  background: rgba(34, 211, 238, .08);
  line-height: 1.55;
}

.master-backlink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.master-backlink h2 {
  margin: 0 0 8px;
  color: #f8fafc;
}

.master-backlink p {
  margin: 0;
  color: var(--muted);
}

.master-used-tools {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .master-product-grid,
  .tool-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .master-product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .master-product-grid,
  .tools-master-strip,
  .tool-filter-grid,
  .master-hero,
  .master-workspace,
  .master-result-grid,
  .master-backlink {
    grid-template-columns: 1fr;
  }

  .master-product-card,
  .tools-filter-hero,
  .master-hero {
    border-radius: 22px;
  }

  .master-product-card {
    min-height: auto;
    padding: 20px;
  }

  .master-visual {
    min-height: 230px;
  }

  .visual-stats {
    left: 5%;
    right: 5%;
    bottom: 6%;
  }

  .tools-filter-tabs button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .tool-filter-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .master-form {
    grid-template-columns: 1fr;
  }

  .master-backlink .btn {
    width: 100%;
  }
}


/* BitClac masters v24 fix */
.bitclac-main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bitclac-main-nav a {
  white-space: nowrap;
}

.home-master-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 12px;
}

.home-master-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(226, 232, 240, .16);
  border-radius: 18px;
  color: #fff;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(2, 6, 23, .28);
}

.home-master-button-trading {
  background: linear-gradient(135deg, #0284c7, #22d3ee);
}

.home-master-button-investing {
  background: linear-gradient(135deg, #22c55e, #8b5cf6);
}

.home-master-button:hover,
.home-master-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06) saturate(1.08);
  outline: none;
}

.home-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 18px;
}

.home-secondary-links a {
  color: rgba(203, 213, 225, .82);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.home-secondary-links a:hover,
.home-secondary-links a:focus-visible {
  color: #e0f2fe;
  text-decoration: underline;
  outline: none;
}

.master-product-card {
  overflow: hidden !important;
}

.master-product-copy {
  z-index: 2;
  min-width: 0;
  overflow: visible;
}

.master-product-card h3,
.master-hero h1,
.master-hero h2 {
  max-width: 680px;
  line-height: 1.08 !important;
}

.master-product-card p,
.master-hero .lead {
  max-width: 620px;
}

.master-cta {
  margin-top: 4px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.master-visual {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(2, 6, 23, .24);
}

.master-visual svg {
  display: block;
  max-width: 100%;
}

.visual-stats {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 10px !important;
  margin: -18px 16px 16px !important;
  z-index: 3;
}

.visual-stats span {
  min-width: 0;
  padding: 12px 14px !important;
  overflow: hidden;
}

.visual-stats b {
  font-size: clamp(15px, 1.6vw, 22px) !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.master-result-panel.is-empty {
  border-color: rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .58);
}

.master-result-panel.is-calculated {
  border-color: rgba(34, 211, 238, .42);
  background: linear-gradient(145deg, rgba(15, 23, 42, .86), rgba(8, 47, 73, .34));
  box-shadow: 0 24px 70px rgba(34, 211, 238, .14);
}

.master-result-card {
  min-width: 0;
  overflow: hidden;
}

.master-result-card strong {
  font-size: clamp(18px, 2.4vw, 28px) !important;
  line-height: 1.1 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.master-result-card.is-placeholder {
  min-height: 88px;
  background: linear-gradient(135deg, rgba(148, 163, 184, .10), rgba(148, 163, 184, .04));
}

.master-result-card.is-placeholder strong {
  min-height: 22px;
  width: 72%;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .20);
}

.master-result-card.is-placeholder:nth-child(2) strong { width: 58%; }
.master-result-card.is-placeholder:nth-child(3) strong { width: 42%; }
.master-result-card.is-placeholder:nth-child(4) strong { width: 64%; }

@media (min-width: 1281px) {
  .master-product-card {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px) !important;
    gap: clamp(32px, 4vw, 56px) !important;
    align-items: center !important;
  }
}

@media (min-width: 901px) {
  .master-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px) !important;
    gap: clamp(32px, 5vw, 64px) !important;
  }
}

@media (max-width: 1280px) {
  .master-product-card {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .master-visual {
    min-height: 250px;
  }
}

@media (max-width: 900px) {
  .master-hero {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 760px) {
  .bitclac-main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .bitclac-main-nav::-webkit-scrollbar {
    display: none;
  }

  .home-master-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-master-button {
    width: 100%;
    min-height: 56px;
  }

  .home-secondary-links {
    justify-content: center;
  }

  .visual-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    margin: -8px 12px 12px !important;
  }
}


/* BitClac tools v25 UX */
.tools-master-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 26px 0 !important;
}

.tools-master-link {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(130px, .45fr);
  gap: 18px;
  min-height: 188px !important;
  overflow: hidden;
  padding: 22px !important;
  border-radius: 24px !important;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 58px rgba(2, 6, 23, .30);
}

.tools-master-link.trading {
  border-color: rgba(34, 211, 238, .34) !important;
  background:
    radial-gradient(circle at 86% 16%, rgba(34, 211, 238, .28), transparent 34%),
    linear-gradient(135deg, rgba(2, 8, 23, .94), rgba(8, 47, 73, .86));
}

.tools-master-link.investing {
  border-color: rgba(167, 139, 250, .34) !important;
  background:
    radial-gradient(circle at 84% 18%, rgba(168, 85, 247, .24), transparent 34%),
    radial-gradient(circle at 76% 82%, rgba(34, 197, 94, .18), transparent 36%),
    linear-gradient(135deg, rgba(6, 24, 24, .94), rgba(42, 24, 78, .84));
}

.tools-master-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.tools-master-copy strong {
  color: #f8fafc !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  line-height: 1.08;
}

.tools-master-copy small {
  max-width: 420px;
  color: rgba(226, 232, 240, .86) !important;
  font-size: 15px;
  line-height: 1.45;
}

.tools-master-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 14px;
  color: #06111d;
  background: #e0f2fe;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.tools-master-link.investing .tools-master-cta {
  color: #07130c;
  background: #dcfce7;
}

.tools-master-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 140px;
  border-radius: 22px;
  background: rgba(2, 6, 23, .28);
}

.tools-master-visual svg {
  width: min(100%, 190px);
  height: auto;
  fill: none;
  stroke: rgba(240, 249, 255, .86);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tools-master-visual text {
  fill: #f8fafc;
  stroke: none;
  font-size: 16px;
  font-weight: 900;
}

.tool-filter-visual svg {
  width: 86px !important;
  height: 72px !important;
  stroke-width: 5;
}

.tool-filter-visual text {
  fill: rgba(248, 250, 252, .94);
  stroke: none;
  font-size: 17px;
  font-weight: 950;
}

.tools-filter-tabs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px !important;
}

.tools-filter-tabs button {
  width: 100%;
}

.master-product-grid {
  align-items: stretch;
}

.master-product-card {
  height: 100%;
}

@media (max-width: 900px) {
  .tools-master-strip {
    grid-template-columns: 1fr !important;
  }

  .tools-master-link {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .tools-filter-tabs {
    grid-template-columns: 1fr !important;
  }

  .tools-search input {
    width: 100%;
  }

  .tool-filter-card {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .tool-filter-visual svg {
    width: 66px !important;
    height: 58px !important;
  }
}

/* BitClac home master alignment v25 */
.master-product-grid {
  align-items: stretch !important;
}

.master-product-card {
  align-items: stretch !important;
  height: 100% !important;
}

.master-product-copy {
  justify-content: flex-start !important;
}

.master-product-card .master-visual {
  align-self: stretch !important;
  align-content: start !important;
  margin-top: auto;
}

@media (min-width: 1281px) {
  .master-product-card {
    align-items: stretch !important;
  }
}

@media (min-width: 761px) and (max-width: 1280px) {
  .master-product-card .master-product-copy {
    min-height: 245px;
  }

  .master-product-card .master-visual {
    min-height: 310px;
  }
}

@media (max-width: 760px) {
  .master-product-card .master-product-copy {
    min-height: 0;
  }

  .master-product-card .master-visual {
    margin-top: 18px;
  }
}

/* BitClac tools mobile width v25 */
@media (max-width: 640px) {
  .tools-filter-hero {
    padding: 16px !important;
  }

  .tools-search input {
    width: 100% !important;
  }
}



/* BitClac v26 brand and clickable masters */
.brand-text {
  gap: 0 !important;
  color: #f8fafc;
  font-weight: 950;
  letter-spacing: 0 !important;
}

.brand-text .brand-mark {
  display: none !important;
}

.brand-text > span:not(.brand-mark) {
  display: inline-flex;
  align-items: baseline;
  color: #f8fafc;
  line-height: 1;
}

.brand-text .accent {
  color: #38bdf8 !important;
  text-shadow: 0 0 22px rgba(56, 189, 248, .28);
}

.site-header .brand-text {
  min-height: 38px;
  padding: 2px 0;
  font-size: clamp(25px, 2.8vw, 32px);
}

.tools-master-link {
  cursor: pointer;
  transform: translateY(0);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tools-master-link::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(226, 232, 240, .22);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(2, 6, 23, .36);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .28);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.tools-master-link:hover,
.tools-master-link:focus-visible {
  transform: translateY(-4px);
  outline: none;
  filter: saturate(1.08);
}

.tools-master-link.trading:hover,
.tools-master-link.trading:focus-visible {
  border-color: rgba(34, 211, 238, .68) !important;
  box-shadow: 0 28px 74px rgba(34, 211, 238, .20), 0 18px 54px rgba(2, 6, 23, .34);
}

.tools-master-link.investing:hover,
.tools-master-link.investing:focus-visible {
  border-color: rgba(167, 139, 250, .70) !important;
  box-shadow: 0 28px 74px rgba(168, 85, 247, .20), 0 18px 54px rgba(34, 197, 94, .12);
}

.tools-master-link:hover::after,
.tools-master-link:focus-visible::after {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(15, 23, 42, .72);
}

.tools-master-link:active {
  transform: translateY(-1px) scale(.99);
}

.tools-master-visual {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tools-master-link:hover .tools-master-visual,
.tools-master-link:focus-visible .tools-master-visual {
  transform: scale(1.04);
  background: rgba(2, 6, 23, .40);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .14), 0 0 34px rgba(34, 211, 238, .16);
}

.tools-master-link.investing:hover .tools-master-visual,
.tools-master-link.investing:focus-visible .tools-master-visual {
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .14), 0 0 34px rgba(168, 85, 247, .18);
}

.tools-master-cta {
  pointer-events: none;
  cursor: pointer;
  min-height: 46px !important;
  padding: 0 18px !important;
  color: #06111d !important;
  background: linear-gradient(135deg, #38bdf8, #22d3ee) !important;
  box-shadow: 0 14px 34px rgba(34, 211, 238, .30);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tools-master-link.investing .tools-master-cta {
  color: #08110d !important;
  background: linear-gradient(135deg, #34d399, #a78bfa) !important;
  box-shadow: 0 14px 34px rgba(52, 211, 153, .24);
}

.tools-master-link:hover .tools-master-cta,
.tools-master-link:focus-visible .tools-master-cta {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(34, 211, 238, .38);
}

.tools-master-link.investing:hover .tools-master-cta,
.tools-master-link.investing:focus-visible .tools-master-cta {
  box-shadow: 0 18px 42px rgba(168, 85, 247, .32);
}

.tools-master-link:active .tools-master-cta {
  transform: scale(.98);
}

.master-product-card[data-card-link] {
  position: relative;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}

.master-product-card[data-card-link]::after {
  content: "Перейти →";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 8px 11px;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: 999px;
  color: rgba(248, 250, 252, .90);
  background: rgba(2, 6, 23, .42);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  opacity: .88;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.master-product-card[data-card-link]:hover,
.master-product-card[data-card-link]:focus-visible {
  transform: translateY(-4px);
  filter: saturate(1.06);
  outline: none;
}

.master-product-card[data-card-link]:hover::after,
.master-product-card[data-card-link]:focus-visible::after {
  transform: translateX(2px);
  opacity: 1;
  background: rgba(15, 23, 42, .72);
}

.master-product-card[data-card-link]:active {
  transform: translateY(-1px) scale(.995);
}

.master-product-card[data-card-link] .master-visual {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.master-product-card[data-card-link]:hover .master-visual,
.master-product-card[data-card-link]:focus-visible .master-visual {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .12), 0 0 34px rgba(34, 211, 238, .14);
}

.master-card-investing[data-card-link]:hover .master-visual,
.master-card-investing[data-card-link]:focus-visible .master-visual {
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .12), 0 0 34px rgba(168, 85, 247, .16);
}

.master-product-card[data-card-link] .master-cta {
  cursor: pointer;
}

.master-product-card[data-card-link] .master-cta:active {
  transform: scale(.98);
}

@media (max-width: 640px) {
  .tools-master-link::after {
    top: 14px;
    right: 14px;
  }

  .master-product-card[data-card-link]::after {
    top: 14px;
    right: 14px;
  }
}


/* BitClac v27 master nav glow lines */
.bitclac-main-nav .nav-master-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f8fbff;
  font-weight: 850;
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.bitclac-main-nav .nav-master-link::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  opacity: .88;
  background-size: 200% 100%;
  animation: masterGlowLine 5s linear infinite;
  pointer-events: none;
  transition: opacity .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bitclac-main-nav .nav-master-link.trading::after {
  background-image: linear-gradient(90deg, #22d3ee, #3b82f6, #22d3ee);
  box-shadow: 0 0 10px rgba(34, 211, 238, .62);
}

.bitclac-main-nav .nav-master-link.investing::after {
  background-image: linear-gradient(90deg, #22c55e, #a855f7, #22c55e);
  box-shadow: 0 0 10px rgba(168, 85, 247, .62);
}

.bitclac-main-nav .nav-master-link:hover,
.bitclac-main-nav .nav-master-link:focus-visible {
  color: #ffffff;
  transform: translateY(-1px) scale(1.02);
  text-shadow: 0 0 18px rgba(248, 250, 252, .18);
  outline: none;
}

.bitclac-main-nav .nav-master-link:hover::after,
.bitclac-main-nav .nav-master-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1.04);
}

.bitclac-main-nav .nav-master-link.trading:hover::after,
.bitclac-main-nav .nav-master-link.trading:focus-visible::after {
  box-shadow: 0 0 16px rgba(34, 211, 238, .82);
}

.bitclac-main-nav .nav-master-link.investing:hover::after,
.bitclac-main-nav .nav-master-link.investing:focus-visible::after {
  box-shadow: 0 0 16px rgba(168, 85, 247, .82);
}

@keyframes masterGlowLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 760px) {
  .bitclac-main-nav .nav-master-link {
    padding-left: 11px;
  }

  .bitclac-main-nav .nav-master-link::after {
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 18px;
    transform: translateY(-50%);
    background-size: 100% 200%;
  }

  .bitclac-main-nav .nav-master-link:hover::after,
  .bitclac-main-nav .nav-master-link:focus-visible::after {
    transform: translateY(-50%) scaleY(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bitclac-main-nav .nav-master-link::after {
    animation: none;
  }
}


/* BitClac v28 brand polish */
.site-header .brand-text {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 38px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  color: #f8fafc;
  min-height: 46px;
  align-items: center;
  text-rendering: geometricPrecision;
}

.site-header .brand-text > span:not(.brand-mark) {
  color: #f8fafc;
  line-height: .95;
}

.site-header .brand-text .accent {
  color: #38bdf8 !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, .34), 0 0 30px rgba(56, 189, 248, .12);
}

.home-master-actions {
  gap: 18px !important;
  align-items: stretch;
}

.home-master-button {
  position: relative;
  min-height: 72px !important;
  padding: 12px 24px 12px 14px !important;
  gap: 14px;
  border-radius: 22px !important;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, .16) !important;
  background-size: 220% 100% !important;
  transform: translateY(0) scale(1);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
  animation:
    homeMasterEnter .55s ease both,
    homeMasterPulse 9s ease-in-out 1.8s infinite;
}

.home-master-button:nth-child(2) {
  animation-delay: .12s, 2.4s;
}

.home-master-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 45%, transparent 62%);
  transform: translateX(-140%);
  opacity: .48;
  animation: homeMasterSweep 9s ease-in-out 2.3s infinite;
  pointer-events: none;
}

.home-master-button:nth-child(2)::before {
  animation-delay: 3s;
}

.home-master-button > * {
  position: relative;
  z-index: 1;
}

.home-master-button-trading {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, #0369a1, #0891b2 48%, #22d3ee) !important;
  box-shadow: 0 20px 46px rgba(34, 211, 238, .20), 0 12px 28px rgba(2, 6, 23, .24);
}

.home-master-button-investing {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, #16a34a, #059669 38%, #8b5cf6) !important;
  box-shadow: 0 20px 46px rgba(52, 211, 153, .18), 0 12px 28px rgba(2, 6, 23, .24);
}

.home-master-button-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  background: rgba(2, 6, 23, .26);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.home-master-button-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #f8fafc;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-master-button-copy {
  display: grid;
  gap: 4px;
  text-align: left;
  min-width: 0;
}

.home-master-button-copy strong {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 950;
}

.home-master-button-copy small {
  color: rgba(226, 232, 240, .80);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
}

.home-master-button:hover,
.home-master-button:focus-visible {
  transform: translateY(-2px) scale(1.03) !important;
  filter: brightness(1.08) saturate(1.14);
  outline: none;
}

.home-master-button-trading:hover,
.home-master-button-trading:focus-visible {
  border-color: rgba(125, 211, 252, .48) !important;
  box-shadow: 0 28px 68px rgba(34, 211, 238, .34), 0 16px 34px rgba(2, 6, 23, .28);
}

.home-master-button-investing:hover,
.home-master-button-investing:focus-visible {
  border-color: rgba(196, 181, 253, .46) !important;
  box-shadow: 0 28px 68px rgba(168, 85, 247, .26), 0 16px 34px rgba(34, 197, 94, .16);
}

.home-master-button:active {
  transform: translateY(0) scale(.98) !important;
}

@keyframes homeMasterEnter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeMasterPulse {
  0%, 74%, 100% { background-position: 0% 50%; }
  86% { background-position: 100% 50%; }
}

@keyframes homeMasterSweep {
  0%, 72%, 100% { transform: translateX(-140%); opacity: 0; }
  82% { opacity: .42; }
  90% { transform: translateX(140%); opacity: 0; }
}

@media (max-width: 900px) {
  .site-header .brand-text {
    font-size: 34px !important;
    min-height: 42px;
  }
}

@media (max-width: 760px) {
  .site-header .brand-text {
    font-size: 32px !important;
  }

  .home-master-button {
    width: 100%;
    min-height: 70px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 420px) {
  .home-master-button-copy strong {
    font-size: 18px;
  }

  .home-master-button-copy small {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-master-button,
  .home-master-button::before {
    animation: none !important;
  }
}


/* BitClac v29 aligned home master cards */
.master-product-grid {
  align-items: stretch !important;
}

.master-product-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows:
    auto
    auto
    auto
    auto
    minmax(0, 1fr)
    auto
    auto !important;
  height: 100% !important;
  align-content: stretch !important;
  align-items: start !important;
  gap: 0 !important;
}

.master-product-card > .master-kicker {
  grid-row: 1;
  align-self: start;
}

.master-product-card > h3 {
  grid-row: 2;
  min-height: 102px;
  display: flex;
  align-items: flex-start;
  align-self: start;
}

.master-product-card > .master-description {
  grid-row: 3;
  min-height: 70px;
  max-width: 620px;
  margin: 16px 0 0 !important;
  align-self: start;
}

.master-product-card > .master-cta {
  grid-row: 4;
  align-self: start !important;
  justify-self: start;
  min-height: 48px;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.master-card-spacer {
  grid-row: 5;
  min-height: 24px;
}

.master-product-card > .master-visual {
  grid-row: 6;
  min-height: 230px !important;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: end !important;
  align-content: center !important;
  margin-top: 0 !important;
}

.master-product-card > .master-visual svg {
  width: min(100%, 440px);
  max-width: 440px;
  flex: 0 1 auto;
}

.master-product-card > .master-card-stats {
  grid-row: 7;
  min-height: 56px;
  width: auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 10px !important;
  margin: 12px 16px 16px !important;
}

.master-product-card > .master-card-stats span {
  display: grid;
  align-content: center;
}

@media (min-width: 761px) {
  .master-product-card > .master-visual {
    min-height: 260px !important;
  }
}

@media (max-width: 760px) {
  .master-product-card {
    grid-template-rows:
      auto
      auto
      auto
      auto
      auto
      auto
      auto !important;
  }

  .master-product-card > .master-description {
    min-height: 0;
  }

  .master-product-card > h3 {
    min-height: 0;
  }

  .master-card-spacer {
    min-height: 18px;
  }

  .master-product-card > .master-visual {
    min-height: 230px !important;
  }

  .master-product-card > .master-card-stats {
    margin: 10px 12px 12px !important;
  }
}


/* BitClac v29 tools search width guard */
.tools-search {
  display: block;
  width: 100%;
}


/* BitClac MEXC integration */
.calculator-actions {
  display: flex;
  justify-content: flex-start;
  margin: 18px 0 12px;
}

.calculator-submit {
  min-width: 160px;
}

.calculation-result[hidden],
.mexc-next-step[hidden] {
  display: none !important;
}

.calculation-result.is-visible {
  animation: bitclacResultIn .28s ease both;
}

.mexc-next-step {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 18px 0 18px;
  padding: 22px;
  border: 1px solid rgba(85, 110, 255, .22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(42, 86, 255, .12), rgba(20, 206, 133, .10)),
    rgba(255, 255, 255, .035);
  box-shadow: 0 18px 40px rgba(5, 12, 35, .16);
  opacity: 0;
  transform: translateY(12px);
}

.mexc-next-step.is-visible {
  animation: bitclacMexcIn .36s ease forwards;
}

.mexc-next-step-media,
.mexc-home-media,
.exchange-hero-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, .28), transparent 34%),
    radial-gradient(circle at 80% 76%, rgba(34, 197, 94, .26), transparent 38%),
    linear-gradient(135deg, #101735, #07111f 58%, #0d2d29);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.mexc-next-step-media::after,
.mexc-home-media::after,
.exchange-hero-media::after {
  content: attr(data-image-slot);
  position: absolute;
  inset: auto 14px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, .58);
}

.mexc-next-step-media span,
.mexc-home-media span,
.exchange-hero-media span {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
}

.mexc-next-step h3,
.mexc-home-banner h2,
.exchange-hero h1 {
  margin-top: 0;
}

.mexc-next-step ul,
.mexc-home-benefits,
.exchange-benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 18px;
  list-style: none;
}

.mexc-next-step li,
.mexc-home-benefits li,
.exchange-benefit-list li {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .055);
  font-size: 14px;
}

.mexc-next-step li::before,
.mexc-home-benefits li::before,
.exchange-benefit-list li::before {
  content: '✓';
  margin-right: 7px;
  color: #16d987;
  font-weight: 800;
}

.mexc-disclaimer {
  margin: 12px 0 0;
  color: var(--muted, #7f8ca3);
  font-size: 13px;
}

.mexc-home-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 26px;
  align-items: center;
  margin: 28px 0 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(89, 120, 255, .22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(36, 80, 255, .12), rgba(22, 217, 135, .10)),
    rgba(255, 255, 255, .035);
  box-shadow: 0 22px 55px rgba(7, 13, 32, .14);
}

.mexc-home-actions,
.exchange-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.exchange-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(89, 120, 255, .22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(16, 185, 129, .12)),
    rgba(255, 255, 255, .035);
}

.exchange-section {
  margin: 32px 0;
}

.exchange-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.exchange-card,
.exchange-link-card,
.exchange-faq-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.exchange-card h3,
.exchange-link-card h3,
.exchange-faq-item h3 {
  margin-top: 0;
}

.exchange-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.exchange-link-card {
  color: inherit;
  text-decoration: none;
}

.exchange-final-cta {
  text-align: center;
  padding: clamp(26px, 5vw, 42px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, .18), transparent 42%),
    rgba(255, 255, 255, .045);
}

@keyframes bitclacResultIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bitclacMexcIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .mexc-next-step,
  .mexc-home-banner,
  .exchange-hero {
    grid-template-columns: 1fr;
  }

  .exchange-grid,
  .exchange-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .mexc-next-step,
  .mexc-home-banner,
  .exchange-hero {
    border-radius: 16px;
    padding: 18px;
  }

  .exchange-grid,
  .exchange-links {
    grid-template-columns: 1fr;
  }
}


/* BitClac UX interaction feedback v30 */
:where(
  button,
  .btn,
  .btn-primary,
  .home-hub-cta,
  .home-master-button,
  .tools-master-link,
  .master-cta,
  .tools-master-cta,
  .mexc-affiliate-btn,
  .exchange-link-card,
  .navlinks a,
  .nav-dropdown summary
) {
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

:where(button, .btn, .btn-primary, .home-hub-cta, .home-master-button, .master-cta, .tools-master-cta, .mexc-affiliate-btn) {
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

:where(.btn, .btn-primary, button, .home-hub-cta, .master-cta, .tools-master-cta, .mexc-affiliate-btn):hover {
  transform: translateY(-1px);
  filter: brightness(1.07) saturate(1.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .30), 0 0 30px rgba(34, 211, 238, .18);
}

:where(.btn.primary, .btn-primary, .mexc-affiliate-btn, .calculator-submit):hover {
  filter: brightness(1.1) saturate(1.12);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .30), 0 0 36px rgba(34, 211, 238, .24), 0 0 26px rgba(168, 85, 247, .16);
}

:where(.btn, .btn-primary, button, .home-hub-cta, .home-master-button, .master-cta, .tools-master-cta, .mexc-affiliate-btn):active,
.calculator-submit.is-processing {
  transform: translateY(1px) scale(.98) !important;
  filter: brightness(.98) saturate(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24), 0 0 14px rgba(34, 211, 238, .12) !important;
}

:where(.home-master-button, .tools-master-link, .master-product-card[data-card-link]):hover,
:where(.home-master-button, .tools-master-link, .master-product-card[data-card-link]):focus-visible {
  filter: brightness(1.06) saturate(1.08);
}

:where(.home-master-button, .tools-master-link, .master-product-card[data-card-link]):active {
  transform: translateY(1px) scale(.98) !important;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .24) !important;
}

:where(.navlinks a, .nav-dropdown summary, .exchange-link-card):hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

:where(.navlinks a, .nav-dropdown summary, .exchange-link-card):active {
  transform: translateY(1px) scale(.98);
  filter: brightness(.98);
}

:where(button, .btn, .btn-primary, .home-hub-cta, .home-master-button, .tools-master-link, .master-cta, .tools-master-cta, .mexc-affiliate-btn, .exchange-link-card, .navlinks a, .nav-dropdown summary):focus-visible {
  outline: 2px solid rgba(34, 211, 238, .78);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  :where(.btn, .btn-primary, button, .home-hub-cta, .home-master-button, .master-cta, .tools-master-cta, .mexc-affiliate-btn):active,
  .calculator-submit.is-processing {
    transform: translateY(1px) scale(.97) !important;
  }
}


/* BitClac master result zone layout v32 */
.master-page .master-workspace {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 18px;
  align-items: stretch;
}

.master-page .master-form {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding: 22px;
}

.master-page .master-form button {
  grid-column: span 2;
  min-height: 52px;
  align-self: end;
}

.master-page .master-result-panel {
  grid-column: 2;
  grid-row: 2;
  min-height: 100%;
  height: 100%;
}

.master-page .master-workspace > .mexc-next-step {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
}

.master-page .master-workspace > .mexc-next-step .mexc-next-step-media {
  min-height: 136px;
}

.master-page .master-workspace > .mexc-next-step .mexc-next-step-content {
  min-width: 0;
}

.master-page .master-workspace > .mexc-next-step ul {
  gap: 8px;
  margin: 14px 0 16px;
}

.master-page .master-workspace > .mexc-next-step li {
  padding: 7px 10px;
  font-size: 13px;
}

.master-page .master-workspace > .mexc-next-step .mexc-affiliate-btn {
  width: fit-content;
}

@media (max-width: 1180px) {
  .master-page .master-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .master-page .master-form button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .master-page .master-workspace {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .master-page .master-form {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .master-page .master-result-panel {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    min-height: 0;
  }

  .master-page .master-workspace > .mexc-next-step {
    grid-column: 1;
    grid-row: 3;
    height: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .master-page .master-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .master-page .master-workspace > .mexc-next-step .mexc-affiliate-btn {
    width: 100%;
    justify-content: center;
  }
}


/* BitClac master wizard flow v33 */
.master-page .master-result-panel[hidden],
.master-page .master-used-tools[hidden],
.master-page .master-workspace > .mexc-next-step[hidden] {
  display: none !important;
}

.master-page .master-result-panel.is-empty {
  display: none !important;
}

.master-page .master-result-panel {
  opacity: 0;
  transform: translateY(14px);
}

.master-page .master-result-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: bitclacMasterResultIn .42s ease forwards;
}

.master-page .master-used-tools {
  opacity: 0;
  transform: translateY(12px);
}

.master-page .master-used-tools.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: bitclacMasterResultIn .42s ease forwards;
}

.master-page .master-form button.is-processing {
  filter: brightness(1.06);
  cursor: wait;
}

@keyframes bitclacMasterResultIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* BitClac master strategy builder v34 */
.master-page .master-strategy-panel {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, .13), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, .78), rgba(8, 47, 73, .26));
  box-shadow: 0 22px 60px rgba(2, 6, 23, .22);
}

.master-page .master-strategy-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.master-page .master-strategy-head h2 {
  margin: 0 0 6px;
  color: #f8fafc;
  font-size: clamp(18px, 2vw, 24px);
}

.master-page .master-strategy-head p {
  margin: 0;
  color: rgba(226, 232, 240, .74);
}

.master-page .master-progress-wrap {
  min-width: 210px;
  display: grid;
  gap: 9px;
  color: rgba(226, 232, 240, .82);
  font-size: 13px;
  font-weight: 800;
}

.master-page .master-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, .86);
  border: 1px solid rgba(148, 163, 184, .18);
}

.master-page .master-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  box-shadow: 0 0 18px rgba(34, 211, 238, .36);
  transition: width .22s ease;
}

.master-page .master-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.master-page .master-strategy-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .18);
  color: rgba(226, 232, 240, .66);
  background: rgba(15, 23, 42, .58);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}

.master-page .master-strategy-chip small {
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.master-page .master-strategy-chip b {
  color: rgba(248, 250, 252, .78);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.master-page .master-strategy-chip.is-filled {
  color: rgba(186, 230, 253, .92);
  border-color: rgba(34, 211, 238, .32);
  background: rgba(14, 116, 144, .17);
  box-shadow: 0 0 20px rgba(34, 211, 238, .08);
}

.master-page .master-strategy-chip.is-filled b {
  color: #f8fafc;
}

.master-page .master-form {
  grid-row: 2;
}

.master-page .master-live-hints {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 15px 18px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 20px;
  background: rgba(15, 23, 42, .62);
  box-shadow: 0 16px 42px rgba(2, 6, 23, .18);
}

.master-page .master-live-hints h3 {
  margin: 0 0 8px;
  color: #bae6fd;
  font-size: 14px;
}

.master-page .master-live-hints p,
.master-page .master-live-hints ul {
  margin: 0;
  color: rgba(226, 232, 240, .78);
}

.master-page .master-live-hints ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.master-page .master-live-hints.has-warnings {
  border-color: rgba(251, 191, 36, .30);
  background: rgba(120, 53, 15, .16);
}

.master-page .master-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.master-page .master-preset-row button {
  min-height: 28px;
  width: auto;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .22);
  color: rgba(226, 232, 240, .82);
  background: rgba(8, 47, 73, .36);
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease;
}

.master-page .master-preset-row button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(34, 211, 238, .10);
}

.master-page .master-preset-row button:active,
.master-page .master-preset-row button.is-tapped {
  transform: translateY(1px) scale(.96);
}

.master-page .master-preset-row button:focus-visible {
  outline: 2px solid rgba(125, 211, 252, .72);
  outline-offset: 2px;
}

.master-page .master-form button.is-smart-incomplete {
  filter: saturate(.92);
}

.master-page .master-form button.is-smart-ready {
  box-shadow: 0 16px 32px rgba(34, 211, 238, .22), 0 0 28px rgba(34, 197, 94, .12);
}

.master-page .master-result-panel,
.master-page .master-workspace > .mexc-next-step {
  grid-row: 4;
}

@media (max-width: 900px) {
  .master-page .master-strategy-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .master-page .master-form {
    grid-row: 2;
  }

  .master-page .master-live-hints {
    grid-column: 1;
    grid-row: 3;
  }

  .master-page .master-result-panel {
    grid-row: 4;
  }

  .master-page .master-workspace > .mexc-next-step {
    grid-row: 5;
  }
}

@media (max-width: 700px) {
  .master-page .master-strategy-head {
    display: grid;
  }

  .master-page .master-progress-wrap {
    min-width: 0;
  }

  .master-page .master-strategy-chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: space-between;
  }
}

@media (max-width: 430px) {
  .master-page .master-strategy-chip {
    flex-basis: 100%;
  }
}


/* BitClac master form alignment v35 */
.master-page .master-form {
  align-items: start;
  row-gap: 16px;
}

.master-page .master-form label {
  align-self: start;
  min-height: 106px;
  align-content: start;
}

.master-page .master-form label input,
.master-page .master-form label select {
  margin-top: 7px;
}

.master-page .master-form label:has(.master-preset-row) {
  min-height: 126px;
}

.master-page .master-preset-row {
  margin-top: 10px;
}

.master-page .master-form button[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
  margin-top: 2px;
  min-height: 54px;
}

@media (max-width: 900px) {
  .master-page .master-form label,
  .master-page .master-form label:has(.master-preset-row) {
    min-height: 0;
  }
}


/* BitClac master form alignment v36 */
.master-page .master-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px 14px;
}

.master-page .master-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  min-height: 128px;
  line-height: 1.25;
}

.master-page .master-form label input,
.master-page .master-form label select {
  flex: 0 0 46px;
  margin-top: 0;
}

.master-page .master-form label:not(:has(.master-preset-row))::after {
  content: "";
  display: block;
  min-height: 31px;
  flex: 0 0 31px;
}

.master-page .master-form label:has(.master-preset-row) {
  min-height: 128px;
}

.master-page .master-preset-row {
  min-height: 31px;
  margin-top: 2px;
  align-content: flex-start;
}

.master-page .master-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  min-height: 54px;
  margin-top: 0;
}

@media (max-width: 1180px) {
  .master-page .master-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .master-page .master-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .master-page .master-form label,
  .master-page .master-form label:has(.master-preset-row) {
    min-height: 126px;
  }
}

@media (max-width: 620px) {
  .master-page .master-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .master-page .master-form label,
  .master-page .master-form label:has(.master-preset-row) {
    min-height: 0;
  }

  .master-page .master-form label:not(:has(.master-preset-row))::after {
    display: none;
  }
}

/* BitClac responsive promo visual v44 */
.bc-promo-visual,
.mexc-home-media.bc-promo-visual,
.exchange-hero-media.bc-promo-visual,
.mexc-next-step-media.bc-promo-visual,
.master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual {
  container-type: inline-size;
  box-sizing: border-box;
  display: grid !important;
  place-items: center !important;
  justify-self: center !important;
  align-self: center !important;
  width: min(95%, 100%) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 340px !important;
  aspect-ratio: 16 / 9 !important;
  padding: clamp(10px, 2.2cqw, 18px) !important;
  overflow: hidden !important;
  border-radius: clamp(14px, 3cqw, 20px) !important;
  background-image: none !important;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 211, 238, .24), transparent 30%),
    radial-gradient(circle at 82% 80%, rgba(168, 85, 247, .18), transparent 30%),
    linear-gradient(135deg, rgba(8, 18, 39, .98), rgba(13, 33, 55, .94) 54%, rgba(8, 46, 52, .9)) !important;
  border: 1px solid rgba(56, 189, 248, .32) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .035),
    0 18px 48px rgba(2, 8, 23, .32),
    0 0 32px rgba(34, 211, 238, .10) !important;
}

.bc-promo-visual,
.bc-promo-visual * {
  box-sizing: border-box;
  min-width: 0;
}

.bc-promo-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 211, 238, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .045) 1px, transparent 1px);
  background-size: clamp(22px, 5cqw, 34px) clamp(22px, 5cqw, 34px);
  mask-image: radial-gradient(circle at center, #000 0 68%, transparent 98%);
  opacity: .7;
}

.bc-promo-visual::after,
.bc-promo-grid,
.bc-promo-orb,
.bc-promo-metrics,
.bc-promo-coin--eth,
.bc-promo-visual > span {
  display: none !important;
}

.bc-promo-stage,
.bc-promo-head,
.bc-promo-flow,
.bc-promo-stats,
.bc-promo-card,
.bc-promo-arrow,
.bc-promo-badge,
.bc-promo-coin,
.bc-promo-chips,
.bc-promo-next,
.bc-promo-screen,
.bc-promo-chart {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: 1;
}

.bc-promo-stage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(6px, 2cqw, 12px);
  align-items: stretch;
}

.bc-promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 2cqw, 12px);
}

.bc-promo-badge,
.bc-promo-next {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0 !important;
}

.bc-promo-badge {
  flex: 1 1 auto;
  width: auto !important;
  padding: clamp(5px, 1.4cqw, 8px) clamp(8px, 2.2cqw, 12px);
  color: #e0f2fe !important;
  font-size: clamp(12px, 4cqw, 18px) !important;
  line-height: 1.1;
  text-transform: none !important;
  background: rgba(14, 116, 144, .22) !important;
  border: 1px solid rgba(34, 211, 238, .34) !important;
  box-shadow: 0 0 18px rgba(34, 211, 238, .12) !important;
}

.bc-promo-next {
  flex: 0 1 auto;
  padding: clamp(5px, 1.3cqw, 8px) clamp(8px, 2cqw, 11px);
  color: #dffcff !important;
  font-size: clamp(10px, 3cqw, 13px) !important;
  line-height: 1;
  background: rgba(8, 145, 178, .22) !important;
  border: 1px solid rgba(34, 211, 238, .35) !important;
}

.bc-promo-flow {
  display: grid;
  grid-template-columns: minmax(6.3rem, 0.28fr) minmax(1.9rem, auto) minmax(0, 1fr) minmax(2.25rem, .12fr);
  grid-template-areas: "stats arrow screen coin";
  gap: clamp(7px, 2.4cqw, 16px);
  align-items: center;
  min-height: 0;
}

.bc-promo-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(6px, 1.8cqw, 10px);
}

.bc-promo-card {
  width: auto !important;
  min-width: 0 !important;
  padding: clamp(7px, 2cqw, 11px) clamp(8px, 2.4cqw, 13px) !important;
  border-radius: clamp(10px, 2.4cqw, 14px) !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, .82), rgba(8, 47, 73, .58)) !important;
  border: 1px solid rgba(34, 211, 238, .28) !important;
  box-shadow: inset 0 0 18px rgba(34, 211, 238, .045), 0 0 18px rgba(34, 211, 238, .08) !important;
}

.bc-promo-card span,
.bc-promo-card b,
.bc-promo-chips span,
.bc-promo-screen-top strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0 !important;
}

.bc-promo-card span {
  color: rgba(203, 213, 225, .78);
  font-size: clamp(10px, 2.8cqw, 12px) !important;
  font-weight: 800;
}

.bc-promo-card b {
  margin-top: 2px;
  color: #f8fafc;
  font-size: clamp(16px, 5.8cqw, 28px) !important;
  line-height: 1.02;
}

.bc-promo-arrow {
  grid-area: arrow;
  width: clamp(28px, 8cqw, 44px) !important;
  height: clamp(28px, 8cqw, 44px) !important;
  display: grid !important;
  place-items: center;
  border-radius: 999px;
  color: #08111f;
  font-size: 0 !important;
  font-weight: 900;
  background: linear-gradient(135deg, #22d3ee, #22c55e) !important;
  box-shadow: 0 0 22px rgba(34, 211, 238, .45) !important;
  animation: bcPromoGlowV44 4.8s ease-in-out infinite;
}

.bc-promo-arrow::before {
  content: "→";
  font-size: clamp(18px, 5.5cqw, 28px);
  line-height: 1;
}

.bc-promo-screen {
  grid-area: screen;
  align-self: stretch;
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0;
  height: auto !important;
  padding: clamp(8px, 2cqw, 12px) !important;
  border-radius: clamp(12px, 2.8cqw, 18px) !important;
  background: linear-gradient(145deg, rgba(2, 8, 23, .85), rgba(15, 23, 42, .64)) !important;
  border: 1px solid rgba(96, 165, 250, .32) !important;
  box-shadow: inset 0 0 24px rgba(14, 165, 233, .06), 0 0 24px rgba(37, 99, 235, .12) !important;
}

.bc-promo-screen-top {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin-bottom: clamp(3px, 1cqw, 6px);
  color: rgba(226, 232, 240, .86);
  font-size: clamp(10px, 2.6cqw, 12px) !important;
  font-weight: 900;
}

.bc-promo-screen-top i {
  display: none !important;
}

.bc-promo-chart {
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  margin: 0 !important;
  overflow: visible;
}

.bc-promo-line {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, .7));
  animation: bcPromoGlowV44 4.6s ease-in-out infinite;
}

.bc-promo-candles rect {
  opacity: .88;
  animation: bcPromoGlowV44 5.2s ease-in-out infinite;
}

.bc-promo-coin {
  grid-area: coin;
  justify-self: end;
  flex: 0 0 auto;
  width: clamp(30px, 8.5cqw, 48px) !important;
  height: clamp(30px, 8.5cqw, 48px) !important;
  display: grid !important;
  place-items: center;
  border-radius: 999px;
  color: #08111f;
  font-size: clamp(15px, 4cqw, 24px) !important;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24, #fde68a) !important;
  box-shadow: 0 0 22px rgba(251, 191, 36, .24), 0 0 18px rgba(34, 211, 238, .18) !important;
}

.bc-promo-chips {
  display: flex !important;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: clamp(5px, 1.6cqw, 8px);
  width: 100% !important;
  max-width: 100% !important;
}

.bc-promo-chips span {
  flex: 0 1 auto;
  max-width: 100%;
  padding: clamp(5px, 1.3cqw, 7px) clamp(7px, 1.9cqw, 10px) !important;
  border-radius: 999px;
  color: rgba(241, 245, 249, .92);
  font-size: clamp(10px, 2.5cqw, 12px) !important;
  font-weight: 800;
  background: rgba(15, 23, 42, .62);
  border: 1px solid rgba(148, 163, 184, .25);
  box-shadow: inset 0 0 16px rgba(34, 211, 238, .055);
}

.bc-promo-visual--exchange .bc-promo-badge {
  color: #f8fafc !important;
  font-size: clamp(16px, 7cqw, 34px) !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 22px rgba(34, 211, 238, .46);
}

@container (max-width: 520px) {
  .bc-promo-flow {
    grid-template-columns: minmax(0, 1fr) minmax(2.1rem, auto);
    grid-template-areas:
      "stats stats"
      "arrow coin"
      "screen screen";
    align-content: center;
  }

  .bc-promo-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-promo-arrow {
    justify-self: start;
  }

  .bc-promo-arrow::before {
    content: "↓";
  }

  .bc-promo-screen {
    min-height: 0;
  }

  .bc-promo-chips {
    justify-content: flex-start;
  }
}

@container (max-width: 340px) {
  .bc-promo-head {
    flex-wrap: wrap;
  }

  .bc-promo-badge,
  .bc-promo-next {
    flex: 1 1 100%;
  }

  .bc-promo-stats {
    grid-template-columns: 1fr;
  }

  .bc-promo-flow {
    grid-template-columns: minmax(0, 1fr) minmax(2rem, auto);
    gap: clamp(5px, 2cqw, 8px);
  }

  .bc-promo-chips span {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}

@keyframes bcPromoGlowV44 {
  0%, 100% { opacity: .82; filter: drop-shadow(0 0 5px rgba(34, 211, 238, .28)); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(34, 211, 238, .55)); }
}

@media (max-width: 760px) {
  .bc-promo-visual,
  .mexc-home-media.bc-promo-visual,
  .exchange-hero-media.bc-promo-visual,
  .mexc-next-step-media.bc-promo-visual,
  .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual {
    aspect-ratio: 4 / 3 !important;
    max-height: 320px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-promo-arrow,
  .bc-promo-line,
  .bc-promo-candles rect {
    animation: none !important;
  }
}

/* BitClac responsive promo visual intrinsic sizing fix v44.1 */
.bc-promo-flow {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.bc-promo-screen {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.bc-promo-chart {
  display: block !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
}

.bc-promo-stage {
  min-height: 0 !important;
  overflow: hidden !important;
}

/* BitClac responsive promo visual flow sizing fix v44.2 */
.bc-promo-flow {
  height: auto !important;
  align-self: stretch !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* BitClac responsive promo visual narrow card mode v44.3 */
body:not(.master-body) .mexc-next-step-media.bc-promo-visual {
  aspect-ratio: 4 / 3 !important;
  max-height: 300px !important;
}

@container (max-width: 340px) {
  .bc-promo-head {
    flex-wrap: nowrap !important;
  }

  .bc-promo-badge {
    flex: 1 1 auto !important;
  }

  .bc-promo-next {
    flex: 0 1 auto !important;
  }

  .bc-promo-flow {
    grid-template-columns: minmax(0, 1fr) minmax(2rem, auto) !important;
    grid-template-areas:
      "stats coin"
      "arrow coin"
      "screen screen" !important;
  }

  .bc-promo-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bc-promo-card {
    padding: clamp(6px, 1.6cqw, 8px) clamp(7px, 1.9cqw, 10px) !important;
  }

  .bc-promo-card span {
    font-size: clamp(9px, 2.7cqw, 11px) !important;
  }

  .bc-promo-card b {
    font-size: clamp(14px, 5cqw, 22px) !important;
  }

  .bc-promo-chips span {
    flex: 0 1 auto !important;
    text-align: left !important;
  }
}

/* BitClac responsive promo visual host grid v44.4 */
body:not(.master-body) .mexc-next-step:has(.mexc-next-step-media.bc-promo-visual) {
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  align-items: center;
}

@media (max-width: 760px) {
  body:not(.master-body) .mexc-next-step:has(.mexc-next-step-media.bc-promo-visual) {
    grid-template-columns: 1fr;
  }
}

/* BitClac MEXC ad visual content v45 */
.bc-promo-visual {
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, .30), transparent 27%),
    radial-gradient(circle at 86% 80%, rgba(168, 85, 247, .22), transparent 32%),
    linear-gradient(135deg, rgba(7, 17, 39, .98), rgba(11, 31, 54, .96) 52%, rgba(7, 45, 51, .92)) !important;
}

.bc-promo-stage {
  position: relative;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: clamp(7px, 2.2cqw, 14px) !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.bc-promo-spark {
  grid-area: 1 / 1 / -1 / -1;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  color: rgba(34, 211, 238, .18);
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, .22));
  pointer-events: none;
  z-index: 0;
}

.bc-promo-spark path {
  stroke-dasharray: 34 18;
  animation: bcMexcPromoDashV45 8s linear infinite;
}

.bc-promo-spark circle {
  fill: rgba(34, 211, 238, .38);
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, .48));
}

.bc-promo-brand,
.bc-promo-benefits,
.bc-promo-chips {
  position: relative;
  z-index: 1;
}

.bc-promo-brand {
  display: grid;
  gap: clamp(2px, .8cqw, 5px);
  align-content: start;
  min-width: 0;
}

.bc-promo-title {
  display: block;
  color: #f8fafc;
  font-size: clamp(26px, 10cqw, 58px);
  line-height: .92;
  font-weight: 950;
  letter-spacing: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 24px rgba(34, 211, 238, .54), 0 0 42px rgba(168, 85, 247, .20);
}

.bc-promo-subtitle {
  display: block;
  color: rgba(224, 242, 254, .90);
  font-size: clamp(11px, 3.2cqw, 16px);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-promo-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.8cqw, 12px);
  align-items: stretch;
  min-height: 0;
}

.bc-promo-card {
  display: grid !important;
  align-content: center;
  gap: clamp(2px, .8cqw, 5px);
  width: auto !important;
  min-width: 0 !important;
  min-height: 0;
  padding: clamp(8px, 2.1cqw, 14px) clamp(7px, 2cqw, 13px) !important;
  border-radius: clamp(11px, 2.8cqw, 16px) !important;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .82), rgba(8, 47, 73, .60)),
    rgba(255, 255, 255, .03) !important;
  border: 1px solid rgba(34, 211, 238, .31) !important;
  box-shadow: inset 0 0 20px rgba(34, 211, 238, .05), 0 0 18px rgba(34, 211, 238, .10) !important;
}

.bc-promo-card b {
  display: block;
  color: #ecfeff;
  font-size: clamp(16px, 5.8cqw, 32px) !important;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 16px rgba(34, 211, 238, .38);
}

.bc-promo-card span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(226, 232, 240, .82);
  font-size: clamp(9px, 2.45cqw, 13px) !important;
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-promo-chips {
  display: flex !important;
  flex-wrap: wrap;
  align-content: end;
  gap: clamp(5px, 1.4cqw, 8px);
  width: 100% !important;
  min-width: 0;
}

.bc-promo-chips span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: clamp(5px, 1.2cqw, 7px) clamp(7px, 1.8cqw, 11px) !important;
  border-radius: 999px;
  color: rgba(241, 245, 249, .92);
  font-size: clamp(9px, 2.3cqw, 12px) !important;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(15, 23, 42, .62);
  border: 1px solid rgba(148, 163, 184, .24);
  box-shadow: inset 0 0 16px rgba(34, 211, 238, .055);
}

.bc-promo-head,
.bc-promo-flow,
.bc-promo-stats,
.bc-promo-arrow,
.bc-promo-screen,
.bc-promo-screen-top,
.bc-promo-chart,
.bc-promo-coin,
.bc-promo-badge,
.bc-promo-next {
  display: none !important;
}

@container (max-width: 380px) {
  .bc-promo-stage {
    gap: clamp(5px, 1.8cqw, 9px) !important;
  }

  .bc-promo-title {
    font-size: clamp(24px, 11cqw, 36px);
  }

  .bc-promo-subtitle {
    font-size: clamp(10px, 3.8cqw, 13px);
  }

  .bc-promo-benefits {
    gap: clamp(5px, 1.5cqw, 8px);
  }

  .bc-promo-card {
    padding: clamp(6px, 1.7cqw, 9px) clamp(6px, 1.7cqw, 9px) !important;
  }

  .bc-promo-card b {
    font-size: clamp(14px, 5.2cqw, 22px) !important;
  }

  .bc-promo-card span {
    font-size: clamp(8px, 2.8cqw, 10px) !important;
  }
}

@container (max-width: 280px) {
  .bc-promo-benefits {
    grid-template-columns: 1fr;
  }

  .bc-promo-card span {
    -webkit-line-clamp: 1;
  }

  .bc-promo-chips span {
    flex: 1 1 calc(50% - 6px);
  }
}

@keyframes bcMexcPromoDashV45 {
  to { stroke-dashoffset: -104; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-promo-spark path {
    animation: none !important;
  }
}

/* BitClac MEXC simple ad banner v46 */
.bc-promo-stage--simple {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.8cqw, 12px) !important;
  width: 100%;
  height: 100%;
  padding: clamp(10px, 3cqw, 24px) clamp(9px, 3cqw, 22px) !important;
  overflow: hidden;
  isolation: isolate;
}

.bc-promo-stage--simple::before,
.bc-promo-stage--simple::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.bc-promo-stage--simple::before {
  inset: -18%;
  background:
    radial-gradient(circle at 50% 10%, rgba(34, 211, 238, .28), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(59, 130, 246, .22), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(168, 85, 247, .20), transparent 26%);
  filter: blur(2px);
  opacity: .92;
}

.bc-promo-stage--simple::after {
  inset: 0;
  background:
    linear-gradient(rgba(56, 189, 248, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .08) 1px, transparent 1px);
  background-size: clamp(18px, 5cqw, 32px) clamp(18px, 5cqw, 32px);
  mask-image: radial-gradient(circle at 50% 48%, #000 0 64%, transparent 88%);
  opacity: .52;
}

.bc-promo-stage--simple .bc-promo-spark,
.bc-promo-stage--simple .bc-promo-subtitle {
  display: none !important;
}

.bc-promo-stage--simple .bc-promo-brand,
.bc-promo-stage--simple .bc-promo-benefits,
.bc-promo-stage--simple .bc-promo-chips {
  position: relative;
  z-index: 1;
}

.bc-promo-stage--simple .bc-promo-brand {
  width: 100%;
  text-align: center;
}

.bc-promo-stage--simple .bc-promo-title {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: clamp(34px, 12cqw, 74px) !important;
  font-weight: 1000;
  line-height: .82;
  letter-spacing: .045em;
  text-align: center;
  text-shadow:
    0 0 18px rgba(34, 211, 238, .38),
    0 0 42px rgba(59, 130, 246, .28);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-promo-stage--simple .bc-promo-benefits {
  display: flex !important;
  flex-direction: column;
  width: min(96%, 760px);
  gap: clamp(5px, 1.7cqw, 10px) !important;
  align-self: center;
}

.bc-promo-stage--simple .bc-promo-card {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(30px, 7.5cqw, 52px);
  gap: clamp(6px, 1.9cqw, 12px);
  padding: clamp(6px, 1.9cqw, 12px) clamp(8px, 2.6cqw, 16px) !important;
  border-radius: clamp(12px, 3.5cqw, 18px) !important;
  border: 1px solid rgba(125, 211, 252, .30) !important;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(8, 47, 73, .52)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 14px 34px rgba(0, 0, 0, .22),
    0 0 24px rgba(34, 211, 238, .10) !important;
  text-align: left !important;
  overflow: hidden;
}

.bc-promo-stage--simple .bc-promo-check {
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 clamp(20px, 5.4cqw, 30px) !important;
  width: clamp(20px, 5.4cqw, 30px) !important;
  height: clamp(20px, 5.4cqw, 30px) !important;
  border-radius: 999px;
  color: #04111f;
  background: linear-gradient(135deg, #22d3ee, #34d399);
  box-shadow: 0 0 20px rgba(34, 211, 238, .38);
  font-size: clamp(12px, 3.5cqw, 17px) !important;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.bc-promo-stage--simple .bc-promo-card b {
  display: block !important;
  min-width: 0;
  color: #f8fafc !important;
  font-size: clamp(11px, 3.2cqw, 17px) !important;
  font-weight: 850 !important;
  line-height: 1.16;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: 0 0 16px rgba(34, 211, 238, .12);
}

.bc-promo-stage--simple .bc-promo-chips {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  width: min(96%, 680px);
  gap: clamp(5px, 1.8cqw, 10px) !important;
  margin: 0 !important;
}

.bc-promo-stage--simple .bc-promo-chips span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto !important;
  max-width: 100%;
  min-height: clamp(20px, 4.8cqw, 28px);
  padding: clamp(4px, 1.2cqw, 7px) clamp(7px, 2.1cqw, 12px) !important;
  border-radius: 999px;
  color: rgba(226, 232, 240, .94) !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: rgba(15, 23, 42, .54) !important;
  font-size: clamp(9px, 2.4cqw, 12px) !important;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mexc-next-step-content--compact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.mexc-next-step-content--compact .mexc-affiliate-btn {
  width: fit-content;
  max-width: 100%;
}

@container (max-width: 380px) {
  .bc-promo-stage--simple {
    gap: clamp(6px, 2.6cqw, 10px) !important;
    padding: clamp(10px, 4cqw, 16px) !important;
  }

  .bc-promo-stage--simple .bc-promo-title {
    font-size: clamp(30px, 12cqw, 42px) !important;
  }

  .bc-promo-stage--simple .bc-promo-benefits {
    width: 100%;
    gap: clamp(5px, 2cqw, 8px) !important;
  }

  .bc-promo-stage--simple .bc-promo-card {
    min-height: clamp(28px, 8cqw, 38px);
    padding: clamp(6px, 2.2cqw, 9px) clamp(7px, 2.8cqw, 11px) !important;
    gap: clamp(6px, 2.4cqw, 9px);
  }

  .bc-promo-stage--simple .bc-promo-card b {
    font-size: clamp(10px, 3.1cqw, 13px) !important;
    line-height: 1.12;
  }

  .bc-promo-stage--simple .bc-promo-check {
    flex-basis: clamp(18px, 5.8cqw, 24px) !important;
    width: clamp(18px, 5.8cqw, 24px) !important;
    height: clamp(18px, 5.8cqw, 24px) !important;
  }

  .bc-promo-stage--simple .bc-promo-chips span {
    flex: 0 1 calc(50% - 6px) !important;
    font-size: clamp(9px, 3cqw, 12px) !important;
  }
}

@media (max-width: 760px) {
  .mexc-next-step-content--compact {
    align-items: stretch;
  }

  .mexc-next-step-content--compact .mexc-affiliate-btn {
    width: 100%;
    justify-content: center;
  }
}



/* BitClac MEXC simple banner v46.1 flex fix */
.bc-promo-stage--simple > * {
  flex: 0 0 auto;
}

.bc-promo-stage--simple .bc-promo-benefits,
.bc-promo-stage--simple .bc-promo-card,
.bc-promo-stage--simple .bc-promo-chips {
  min-height: 0;
}


/* BitClac MEXC simple banner v46.2 chip fit */
@container (max-width: 380px) {
  .bc-promo-stage--simple .bc-promo-chips span {
    flex: 0 1 auto !important;
  }
}


/* BitClac Pro upgrades */
.pro-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(125,211,252,.35),transparent);margin:22px 0}
.pro-card{border-color:rgba(34,211,238,.28)!important}
.pro-result .verdict,.result .verdict{margin-top:10px;padding:12px 14px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.result .meter{height:10px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:8px 0 4px}
.result .meter span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#f59e0b,#ef4444)}
.result .mini-table{display:grid;gap:8px;margin-top:10px}
.result .mini-table div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid rgba(255,255,255,.08)}
.pro-method{border-top:1px solid rgba(255,255,255,.08);margin-top:22px}


/* BitClac favorites */
.favorite-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 18px 0 0;
}
.favorite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, .72);
  color: #e5eefb;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.favorite-toggle:hover { transform: translateY(-1px); border-color: rgba(56, 189, 248, .55); }
.favorite-toggle.is-active { background: rgba(250, 204, 21, .13); border-color: rgba(250, 204, 21, .58); color: #fff7d6; }
.favorite-heart { font-size: 20px; line-height: 1; color: #fda4af; transform-origin: center; }
.favorite-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.favorite-empty {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  padding: 28px;
  background: rgba(15, 23, 42, .62);
  color: #cbd5e1;
}
.favorite-empty h2 { margin: 0 0 8px; color: #f8fafc; }
.favorite-card-actions { margin-top: 12px; }
.favorite-remove {
  border: 0;
  background: transparent;
  color: #93a4bd;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.favorite-remove:hover { color: #fca5a5; }
@media (max-width: 720px) { .favorite-toolbar { margin-top: 14px; } .favorite-toggle { width: 100%; justify-content: center; } }

.favorite-toggle.is-pulsing .favorite-heart { animation: favoriteHeartBeat .52s ease both; }
@keyframes favoriteHeartBeat {
  0% { transform: scale(1); }
  35% { transform: scale(1.42); }
  65% { transform: scale(.92); }
  100% { transform: scale(1); }
}

.favorite-card > a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.favorite-card .tool-filter-copy { min-width: 0; }


/* BitClac favorites final layout fixes */
.tool-page > .favorite-toolbar {
  margin: 10px 0 18px;
}
.favorite-page .tool-filter-grid {
  align-items: stretch;
}
.favorite-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-height: 188px;
  padding: 20px 18px !important;
}
.favorite-card > a {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.favorite-card .tool-filter-copy {
  display: block !important;
  min-width: 0;
  width: 100%;
}
.favorite-card .tool-filter-copy strong {
  display: block;
  max-width: 100%;
  margin: 8px 0 8px;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
}
.favorite-card .tool-filter-copy small {
  display: block;
  max-width: 100%;
  line-height: 1.45;
}
.favorite-card-actions {
  width: 100%;
  margin-top: auto !important;
  padding-top: 6px;
}
.favorite-remove {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  line-height: 1.2;
}


/* BitClac favorites final placement */
.tools.tool-single .card,
.master-workspace {
  position: relative;
}
.favorite-toolbar-in-card {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  margin: 0 !important;
}
.favorite-toolbar-in-card .favorite-toggle {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .86);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}
.favorite-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center !important;
  gap: 16px !important;
  min-height: 148px;
  padding: 16px 50px 16px 16px !important;
}
.favorite-card > a {
  display: contents !important;
  color: inherit;
  text-decoration: none;
}
.favorite-card .tool-filter-visual {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.favorite-card .tool-filter-copy {
  grid-column: 2;
  display: block !important;
  min-width: 0;
}
.favorite-card .tool-filter-copy strong {
  display: block;
  margin: 6px 0 6px;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
}
.favorite-card .tool-filter-copy small {
  display: block;
  line-height: 1.42;
}
.favorite-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0 !important;
  padding: 0;
}
.favorite-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 8px;
  background: rgba(15, 23, 42, .7) !important;
  color: transparent !important;
  font-size: 0;
}
.favorite-remove::before {
  content: "×";
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1;
}
.favorite-remove:hover {
  border-color: rgba(248, 113, 113, .55) !important;
  background: rgba(127, 29, 29, .24) !important;
}
.favorite-remove:hover::before { color: #fca5a5; }
@media (max-width: 720px) {
  .favorite-toolbar-in-card {
    position: static;
    margin: 0 0 14px !important;
  }
  .favorite-card {
    grid-template-columns: 76px minmax(0, 1fr);
    padding-right: 46px !important;
  }
}

.tools.tool-single .card.has-favorite-toggle .card-head {
  padding-right: 220px;
}
.master-workspace.has-favorite-toggle {
  padding-top: 64px;
}
@media (max-width: 720px) {
  .tools.tool-single .card.has-favorite-toggle .card-head {
    padding-right: 0;
  }
  .master-workspace.has-favorite-toggle {
    padding-top: 0;
  }
}


/* Favorite add button visible in calculator header */
.tools.tool-single .card.has-favorite-toggle .card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 0 !important;
}
.favorite-toolbar-in-head {
  position: static !important;
  margin: 0 0 0 auto !important;
  flex: 0 0 auto;
  order: 8;
}
.favorite-toolbar-in-head + .icon,
.tools.tool-single .card.has-favorite-toggle .card-head .icon {
  order: 9;
}
.favorite-toolbar-in-head .favorite-toggle {
  min-width: 150px;
  justify-content: center;
  white-space: nowrap;
  background: rgba(15, 23, 42, .92);
  border-color: rgba(244, 114, 182, .42);
}
.favorite-toolbar-in-head .favorite-toggle.is-active {
  border-color: rgba(244, 114, 182, .72);
  background: rgba(131, 24, 67, .22);
}
@media (max-width: 720px) {
  .tools.tool-single .card.has-favorite-toggle .card-head {
    flex-wrap: wrap;
  }
  .favorite-toolbar-in-head {
    order: 20;
    width: 100%;
    margin-top: 8px !important;
  }
  .favorite-toolbar-in-head .favorite-toggle {
    width: 100%;
  }
}


/* BitClac nav fit hotfix v48.1 */
@media (min-width: 961px) {
  .platform-header .platform-nav {
    width: min(1320px, calc(100% - 56px));
    min-height: 72px;
    padding: 10px 0;
    align-items: center;
    gap: 20px;
  }
  .platform-header .brand-text,
  .site-header .brand-text {
    font-size: clamp(30px, 2.35vw, 36px) !important;
    min-height: 40px;
    flex: 0 0 auto;
  }
  .platform-header .navlinks,
  .bitclac-main-nav {
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.15vw, 18px) !important;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    overflow: visible;
  }
  .platform-header .navlinks a,
  .bitclac-main-nav a {
    padding: 6px 0 !important;
    font-size: clamp(12px, .98vw, 14px) !important;
    line-height: 1.15;
    white-space: nowrap;
  }
  .bitclac-main-nav .nav-master-link::after {
    bottom: -8px;
  }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .platform-header .platform-nav { width: min(1340px, calc(100% - 32px)); gap: 14px; }
  .platform-header .navlinks, .bitclac-main-nav { gap: 10px !important; }
  .platform-header .navlinks a, .bitclac-main-nav a { font-size: 12px !important; }
  .site-header .brand-text { font-size: 30px !important; }
}


/* BitClac v67 portfolio-first home */
.home-account-preview .terminal-window {
  overflow: hidden !important;
}

.home-account-showcase {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.8vw, 26px);
  min-height: 520px;
  background:
    radial-gradient(circle at 16% 8%, rgba(34, 211, 238, .20), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(168, 85, 247, .18), transparent 30%),
    linear-gradient(145deg, rgba(2, 6, 23, .94), rgba(8, 19, 33, .96) 54%, rgba(17, 24, 39, .94));
}

.home-account-top,
.home-risk-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 16px;
  background: rgba(15, 23, 42, .72);
}

.home-account-top strong,
.home-risk-strip strong {
  display: block;
  margin-top: 6px;
  color: #f8fafc;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.08;
}

.home-account-top small,
.home-risk-strip small,
.home-account-metric small {
  display: block;
  margin-top: 6px;
  color: rgba(203, 213, 225, .78);
  font-weight: 700;
}

.home-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.home-live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, .9);
}

.home-account-mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, .38);
  color: #ecfeff;
  background: rgba(8, 145, 178, .20);
  font-weight: 900;
  white-space: nowrap;
}

.home-account-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-account-metric {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .17);
  border-radius: 16px;
  background: rgba(15, 23, 42, .68);
}

.home-account-metric::after {
  content: "";
  position: absolute;
  inset: auto -24px -30px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  opacity: .55;
}

.home-account-metric.primary::after { background: rgba(34, 211, 238, .28); }
.home-account-metric.profit::after { background: rgba(34, 197, 94, .26); }
.home-account-metric.risk::after { background: rgba(245, 158, 11, .24); }

.home-account-metric span,
.home-risk-strip span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-account-metric strong {
  display: block;
  margin-top: 14px;
  color: #f8fafc;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1;
}

.home-account-metric.profit strong,
.home-holding-row b {
  color: #86efac;
}

.home-account-metric.risk strong {
  color: #fde68a;
}

.home-holdings {
  display: grid;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(2, 6, 23, .34);
}

.home-holding-row {
  display: grid;
  grid-template-columns: .9fr 1fr 1fr .8fr;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  color: #dbeafe;
  font-weight: 800;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.home-holding-row:first-child {
  border-top: 0;
}

.home-holding-row.head {
  color: #94a3b8;
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(15, 23, 42, .54);
}

.home-holding-row strong {
  color: #f8fafc;
}

.home-risk-strip {
  align-items: stretch;
}

.home-risk-track {
  align-self: center;
  width: min(34%, 170px);
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, .16);
}

.home-risk-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
}

@media (max-width: 760px) {
  .home-account-showcase {
    min-height: auto;
    padding: 16px;
  }

  .home-account-top,
  .home-risk-strip {
    display: grid;
  }

  .home-account-mini-cta,
  .home-risk-track {
    width: 100%;
  }

  .home-account-metrics {
    grid-template-columns: 1fr;
  }

  .home-holding-row {
    grid-template-columns: 1fr 1fr;
  }

  .home-holding-row.head {
    display: none;
  }
}


/* BitClac v67.1 portfolio hero premium polish */
.home-account-preview .terminal-window {
  border-color: rgba(125, 211, 252, .28) !important;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 0 46px rgba(34, 211, 238, .10) !important;
}

.home-account-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 18, 35, .98), rgba(4, 15, 27, .98) 48%, rgba(17, 24, 39, .96)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, .055) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, .04) 0 1px, transparent 1px 64px) !important;
}

.home-account-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(34, 211, 238, .10) 45%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 28%);
  opacity: .86;
}

.home-account-top,
.home-account-metric,
.home-holdings,
.home-risk-strip {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-account-top:hover,
.home-account-metric:hover,
.home-holdings:hover,
.home-risk-strip:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, .38);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .24),
    0 0 28px rgba(34, 211, 238, .10);
}

.home-account-top strong,
.home-risk-strip strong {
  font-size: 1.38rem !important;
  letter-spacing: 0 !important;
}

.home-account-metric strong {
  font-size: 2rem !important;
  letter-spacing: 0 !important;
}

.home-live-dot {
  letter-spacing: 0 !important;
}

.home-live-dot::before {
  animation: homePortfolioLive 1.7s ease-in-out infinite;
}

.home-account-mini-cta {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.home-account-mini-cta:hover,
.home-account-mini-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, .70);
  background: rgba(14, 165, 233, .30);
  box-shadow: 0 0 24px rgba(34, 211, 238, .16);
  outline: none;
}

.home-holding-row:not(.head):hover {
  background: rgba(14, 165, 233, .075);
}

.home-risk-track span {
  position: relative;
  overflow: hidden;
}

.home-risk-track span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  animation: homeRiskScan 2.6s ease-in-out infinite;
}

@keyframes homePortfolioLive {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(34, 197, 94, .72);
  }
  50% {
    transform: scale(1.24);
    box-shadow: 0 0 24px rgba(34, 197, 94, .98);
  }
}

@keyframes homeRiskScan {
  0%, 42% { transform: translateX(-110%); opacity: 0; }
  56% { opacity: .7; }
  74%, 100% { transform: translateX(110%); opacity: 0; }
}

@media (max-width: 760px) {
  .home-account-metric strong {
    font-size: 1.75rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-live-dot::before,
  .home-risk-track span::after {
    animation: none !important;
  }
}


/* BitClac v68 homepage image hero */
.platform-home .platform-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  content: "";
  position: absolute;
  inset: -86px calc((100vw - 100%) / -2) -64px;
  pointer-events: none;
}

.platform-home .platform-hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .98) 0%, rgba(4, 12, 27, .94) 33%, rgba(4, 12, 27, .54) 68%, rgba(3, 7, 18, .86) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, .70) 0%, rgba(3, 7, 18, .18) 48%, rgba(3, 7, 18, .90) 100%),
    url("home-hero-bg-v69.jpg") right center / cover no-repeat;
  opacity: .94;
}

.platform-home .platform-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, .08) 0 1px, transparent 1px 74px),
    linear-gradient(0deg, rgba(34, 211, 238, .055) 0 1px, transparent 1px 74px),
    linear-gradient(105deg, transparent 0 40%, rgba(34, 211, 238, .12) 52%, transparent 66%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, .58) 100%);
  opacity: .64;
}

.platform-home .hero-copy,
.platform-home .home-account-preview {
  position: relative;
  z-index: 1;
}

.platform-home .hero-copy {
  text-shadow: 0 18px 52px rgba(0, 0, 0, .38);
}

.platform-home .home-account-metric {
  min-width: 0;
}

.platform-home .home-account-metric strong,
.platform-home .home-holding-row b {
  white-space: nowrap;
}

.platform-home .home-account-metric strong {
  font-size: clamp(1.55rem, 2.15vw, 2rem) !important;
}

.platform-home .home-account-metric small {
  font-size: 13px;
  white-space: nowrap;
}

.platform-home .home-account-metrics {
  gap: 10px;
}

@media (min-width: 1181px) {
  .platform-home .home-account-preview {
    transform: translateY(10px);
  }
}

@media (max-width: 760px) {
  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    inset: -48px -18px -38px;
  }

  .platform-home .platform-hero::before {
    background:
      linear-gradient(180deg, rgba(3, 7, 18, .98) 0%, rgba(4, 12, 27, .82) 42%, rgba(3, 7, 18, .94) 100%),
      url("home-hero-bg-v69.jpg") 62% top / auto 58% no-repeat;
  }

  .platform-home .home-account-metric strong {
    font-size: 1.65rem !important;
  }
}


/* BitClac v69 final full-bleed hero */
.platform-home .platform-hero {
  overflow: visible !important;
}

.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  inset: auto !important;
  top: -86px !important;
  bottom: -72px !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
}

.platform-home .platform-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .93) 0%, rgba(3, 9, 22, .82) 32%, rgba(4, 12, 27, .48) 58%, rgba(4, 12, 27, .22) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, .34) 0%, rgba(3, 7, 18, .10) 44%, rgba(3, 7, 18, .88) 100%),
    url("home-hero-bg-v69.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}

.platform-home .platform-hero::after {
  background:
    linear-gradient(90deg, rgba(34, 211, 238, .07) 0 1px, transparent 1px 86px),
    linear-gradient(0deg, rgba(34, 211, 238, .05) 0 1px, transparent 1px 86px),
    linear-gradient(105deg, transparent 0 36%, rgba(34, 211, 238, .11) 52%, transparent 66%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, .55) 100%) !important;
  opacity: .46 !important;
}

.platform-home .hero-badge {
  background: rgba(2, 6, 23, .54);
  backdrop-filter: blur(12px);
}

.platform-home .platform-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: .98;
}

.platform-home .hero-word {
  display: inline-block;
  color: #e5f4ff;
  text-shadow: 0 0 34px rgba(34, 211, 238, .28);
}

.platform-home .hero-word-traders {
  color: #60a5fa;
}

.platform-home .hero-word-investors {
  color: #34d399;
  text-shadow: 0 0 34px rgba(52, 211, 153, .28);
}

.platform-home .platform-hero .lead {
  max-width: 690px;
  color: rgba(226, 232, 240, .86);
}

.platform-home .home-master-actions {
  max-width: 330px;
}

.platform-home .home-master-button {
  width: 100%;
}

.platform-home .home-account-mini-cta {
  min-width: 190px;
  padding-inline: 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.platform-home .home-account-terminal {
  background: rgba(6, 12, 24, .72) !important;
  backdrop-filter: blur(10px);
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: calc(100vh - 70px);
  }
}

@media (max-width: 760px) {
  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    top: -52px !important;
    bottom: -46px !important;
  }

  .platform-home .platform-hero::before {
    background:
      linear-gradient(180deg, rgba(3, 7, 18, .86) 0%, rgba(3, 7, 18, .60) 36%, rgba(3, 7, 18, .95) 100%),
      url("home-hero-bg-v69.jpg") center top / auto 54% no-repeat !important;
  }

  .platform-home .platform-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .platform-home .home-master-actions {
    max-width: none;
  }
}


/* BitClac v70 transparent hero panel */
.platform-home .platform-hero {
  min-height: auto !important;
  padding-top: clamp(58px, 7vw, 92px) !important;
  padding-bottom: clamp(42px, 5vw, 66px) !important;
}

.platform-home .home-account-preview {
  transform: translateY(-8px) !important;
}

.platform-home .home-account-preview .terminal-window,
.platform-home .home-account-terminal {
  background: rgba(3, 10, 22, .34) !important;
  border-color: rgba(125, 211, 252, .26) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .32),
    0 0 44px rgba(34, 211, 238, .10),
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(7px) saturate(1.08) !important;
}

.platform-home .home-account-showcase {
  min-height: auto !important;
  gap: 12px !important;
  padding: clamp(14px, 2vw, 20px) !important;
  background:
    linear-gradient(135deg, rgba(3, 10, 22, .44), rgba(4, 15, 27, .34) 52%, rgba(17, 24, 39, .38)) !important;
  backdrop-filter: blur(4px) saturate(1.05);
}

.platform-home .home-account-showcase::before {
  opacity: .32 !important;
}

.platform-home .home-account-top,
.platform-home .home-account-metric,
.platform-home .home-holdings,
.platform-home .home-risk-strip {
  background: rgba(5, 12, 26, .50) !important;
  border-color: rgba(148, 163, 184, .20) !important;
}

.platform-home .home-account-top {
  padding: 14px !important;
}

.platform-home .home-account-metric {
  min-height: 112px !important;
  padding: 14px !important;
}

.platform-home .home-risk-strip {
  padding: 14px !important;
}

.platform-home .master-choice-section {
  margin-top: clamp(24px, 3vw, 44px) !important;
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(760px, calc(100vh - 76px)) !important;
  }
}

@media (max-width: 760px) {
  .platform-home .home-account-preview {
    transform: none !important;
  }
}


/* BitClac v70.1 hero next-section hint */
@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(700px, calc(100vh - 132px)) !important;
  }
}


/* BitClac v71 trial header logo */
.site-header .brand-logo-link,
.platform-header .brand-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  width: 146px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  text-decoration: none !important;
}

.site-header .brand-logo-img,
.platform-header .brand-logo-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, .34));
}

.site-header .brand-logo-link > span,
.platform-header .brand-logo-link > span {
  display: none !important;
}

@media (max-width: 900px) {
  .site-header .brand-logo-link,
  .platform-header .brand-logo-link {
    width: 132px !important;
    height: 52px !important;
    min-height: 52px !important;
  }
}

@media (max-width: 420px) {
  .site-header .brand-logo-link,
  .platform-header .brand-logo-link {
    width: 118px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
}

/* Keep the next section closer while the hero preview is tall. */
.platform-home .master-choice-section {
  margin-top: 0 !important;
}

.platform-home .platform-hero {
  padding-bottom: clamp(20px, 3vw, 38px) !important;
}


/* BitClac v71.1 compact hero after logo */
.platform-home .platform-hero {
  padding-top: clamp(44px, 5.6vw, 72px) !important;
  padding-bottom: clamp(12px, 2vw, 24px) !important;
}

.platform-home .home-account-preview {
  transform: translateY(-18px) !important;
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(660px, calc(100vh - 170px)) !important;
  }
}

@media (max-width: 760px) {
  .platform-home .home-account-preview {
    transform: none !important;
  }
}


/* BitClac v72 restore logo and softer glass */
.site-header .brand-text:not(.brand-logo-link),
.platform-header .brand-text:not(.brand-logo-link) {
  width: auto !important;
  height: auto !important;
  min-height: 40px !important;
  overflow: visible !important;
  color: #f8fafc !important;
}

.site-header .brand-text:not(.brand-logo-link) > span,
.platform-header .brand-text:not(.brand-logo-link) > span {
  display: inline-flex !important;
}

.platform-home .home-account-preview .terminal-window,
.platform-home .home-account-terminal {
  background: rgba(3, 10, 22, .26) !important;
  backdrop-filter: blur(5px) saturate(1.08) !important;
}

.platform-home .home-account-showcase {
  background:
    linear-gradient(135deg, rgba(3, 10, 22, .34), rgba(4, 15, 27, .25) 52%, rgba(17, 24, 39, .30)) !important;
}

.platform-home .home-account-top,
.platform-home .home-account-metric,
.platform-home .home-holdings,
.platform-home .home-risk-strip {
  background: rgba(5, 12, 26, .42) !important;
}


/* BitClac v72.1 text spacing guard */
.platform-home .platform-hero {
  row-gap: clamp(26px, 3.4vw, 48px) !important;
}

.platform-home .platform-hero h1 {
  max-width: 820px !important;
  font-size: clamp(40px, 4.75vw, 72px) !important;
  line-height: 1.02 !important;
}

.platform-home .platform-hero .lead {
  max-width: 650px !important;
  line-height: 1.52 !important;
}

.platform-home .master-choice-section {
  margin-top: clamp(28px, 4vw, 58px) !important;
  position: relative;
  z-index: 1;
}

.platform-home .master-choice-heading h2 {
  max-width: 920px;
  font-size: clamp(34px, 4.35vw, 58px) !important;
  line-height: 1.04 !important;
}

.platform-home .master-choice-heading .section-lead {
  max-width: 860px;
  line-height: 1.55 !important;
}

@media (max-width: 760px) {
  .platform-home .platform-hero h1 {
    font-size: clamp(36px, 10.2vw, 50px) !important;
  }

  .platform-home .master-choice-section {
    margin-top: 28px !important;
  }

  .platform-home .master-choice-heading h2 {
    font-size: clamp(30px, 8.6vw, 42px) !important;
  }
}


/* BitClac v72.2 old logo nowrap */
.site-header .brand-text:not(.brand-logo-link),
.platform-header .brand-text:not(.brand-logo-link) {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.site-header .brand-text:not(.brand-logo-link) > span,
.platform-header .brand-text:not(.brand-logo-link) > span {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  white-space: nowrap !important;
}

.site-header .brand-text:not(.brand-logo-link) .accent,
.platform-header .brand-text:not(.brand-logo-link) .accent {
  display: inline !important;
  white-space: nowrap !important;
}


/* BitClac v73 MEXC home card fit */
.platform-home .mexc-home-media.bc-promo-visual {
  aspect-ratio: 16 / 10 !important;
  min-height: clamp(250px, 24vw, 350px) !important;
  max-height: 380px !important;
  align-self: center !important;
  padding: clamp(12px, 2vw, 18px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple {
  justify-content: center !important;
  gap: clamp(6px, 1.35cqw, 10px) !important;
  padding: clamp(10px, 2.2cqw, 18px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-title {
  font-size: clamp(30px, 10cqw, 62px) !important;
  line-height: .88 !important;
  margin: 0 !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-benefits {
  gap: clamp(5px, 1.25cqw, 8px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-card {
  min-height: clamp(30px, 6.4cqw, 44px) !important;
  padding: clamp(6px, 1.55cqw, 9px) clamp(8px, 2.1cqw, 13px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-card b {
  font-size: clamp(10px, 2.95cqw, 15px) !important;
  line-height: 1.12 !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-check {
  flex-basis: clamp(19px, 4.8cqw, 26px) !important;
  width: clamp(19px, 4.8cqw, 26px) !important;
  height: clamp(19px, 4.8cqw, 26px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-chips {
  margin-top: clamp(1px, .5cqw, 4px) !important;
  row-gap: clamp(4px, 1cqw, 7px) !important;
}

.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-chips span {
  min-height: clamp(18px, 4.1cqw, 25px) !important;
  padding: clamp(3px, .9cqw, 5px) clamp(7px, 1.8cqw, 10px) !important;
  font-size: clamp(9px, 2.45cqw, 12px) !important;
}

@media (max-width: 900px) {
  .platform-home .mexc-home-media.bc-promo-visual {
    min-height: clamp(250px, 62vw, 340px) !important;
    max-height: none !important;
  }
}


/* BitClac v82 home hero text and nav polish */
.platform-home .platform-hero {
  overflow: hidden !important;
  padding-top: 50px !important;
  padding-bottom: 34px !important;
}

.platform-home .hero-copy {
  min-width: 0;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.platform-home .platform-hero h1 {
  max-width: 760px !important;
  line-height: 1.04 !important;
  overflow-wrap: normal;
  text-wrap: balance;
}

.platform-home .platform-hero .lead {
  max-width: 680px !important;
}

.platform-home .home-account-preview {
  transform: translateY(-8px) !important;
}

.platform-home .home-account-preview .terminal-window,
.platform-home .home-account-terminal {
  background: rgba(3, 10, 22, .22) !important;
}

.platform-home .home-account-showcase {
  background:
    linear-gradient(135deg, rgba(3, 10, 22, .28), rgba(4, 15, 27, .18) 52%, rgba(17, 24, 39, .24)) !important;
}

.platform-home .home-account-top,
.platform-home .home-account-metric,
.platform-home .home-holdings,
.platform-home .home-risk-strip {
  background: rgba(5, 12, 26, .36) !important;
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(680px, calc(100vh - 116px)) !important;
  }
}

@media (max-width: 1180px) {
  .platform-home .platform-hero {
    padding-top: 38px !important;
  }

  .platform-home .platform-hero h1 {
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .platform-home .platform-hero {
    padding-top: 30px !important;
    padding-bottom: 28px !important;
    overflow: hidden !important;
  }

  .platform-home .platform-hero h1 {
    max-width: 100% !important;
    line-height: 1.06 !important;
  }

  .platform-home .home-account-preview {
    transform: none !important;
  }
}


/* BitClac v83 first-screen fit */
.platform-home .platform-hero {
  padding-top: 34px !important;
  padding-bottom: 14px !important;
}

.platform-home .platform-hero h1 {
  font-size: clamp(38px, 4.25vw, 64px) !important;
  line-height: 1.03 !important;
}

.platform-home .home-account-preview {
  transform: translateY(-12px) scale(.92) !important;
  transform-origin: center top;
}

.platform-home .master-choice-section {
  margin-top: 12px !important;
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(610px, calc(100vh - 188px)) !important;
  }
}

@media (max-width: 1180px) {
  .platform-home .home-account-preview {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .platform-home .platform-hero h1 {
    font-size: clamp(34px, 9.6vw, 48px) !important;
  }
}


/* BitClac v83.1 first-screen hint */
.platform-home .platform-hero {
  padding-top: 28px !important;
  padding-bottom: 0 !important;
}

.platform-home .master-choice-section {
  margin-top: 0 !important;
}

@media (min-width: 1181px) {
  .platform-home .platform-hero {
    min-height: min(560px, calc(100vh - 220px)) !important;
  }
}


/* BitClac v83.2 hero balance */
@media (min-width: 1181px) {
  .platform-home .platform-hero {
    align-items: start !important;
  }

  .platform-home .hero-copy {
    padding-top: 58px !important;
  }
}


/* BitClac v83.3 compact hero preview layout */
@media (min-width: 1181px) {
  .platform-home .home-account-terminal,
  .platform-home .home-account-preview .terminal-window {
    padding: 12px !important;
  }

  .platform-home .home-account-showcase {
    gap: 9px !important;
    padding: 12px !important;
  }

  .platform-home .home-account-top,
  .platform-home .home-risk-strip {
    padding: 12px !important;
  }

  .platform-home .home-account-top strong,
  .platform-home .home-risk-strip strong {
    font-size: 1.22rem !important;
  }

  .platform-home .home-account-metric {
    min-height: 92px !important;
    padding: 12px !important;
  }

  .platform-home .home-account-metric strong {
    margin-top: 10px !important;
    font-size: 1.72rem !important;
  }

  .platform-home .home-account-metric small,
  .platform-home .home-account-top small,
  .platform-home .home-risk-strip small {
    margin-top: 4px !important;
  }

  .platform-home .home-holding-row {
    padding: 10px 14px !important;
  }
}


/* BitClac v83.4 hero copy no layout overflow */
@media (min-width: 1181px) {
  .platform-home .hero-copy {
    padding-top: 0 !important;
    translate: 0 58px;
  }
}


/* BitClac v83.5 hero copy final offset */
@media (min-width: 1181px) {
  .platform-home .hero-copy {
    translate: 0 40px !important;
  }
}


/* BitClac v84 emergency hero restore */
.platform-home .platform-hero {
  position: relative !important;
  overflow: visible !important;
  align-items: center !important;
  padding-top: clamp(56px, 5vw, 82px) !important;
  padding-bottom: clamp(42px, 4vw, 64px) !important;
  min-height: min(760px, calc(100vh - 76px)) !important;
  row-gap: clamp(28px, 3.2vw, 48px) !important;
}

.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  min-width: 100vw !important;
  transform: translateX(-50%) !important;
  top: -78px !important;
  bottom: -58px !important;
}

.platform-home .platform-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .90) 0%, rgba(3, 9, 22, .74) 31%, rgba(4, 12, 27, .38) 58%, rgba(4, 12, 27, .14) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, .22) 0%, rgba(3, 7, 18, .05) 44%, rgba(3, 7, 18, .82) 100%),
    url("home-hero-bg-v69.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}

.platform-home .hero-copy {
  padding-top: 0 !important;
  translate: none !important;
  margin-left: 0 !important;
  min-width: 0 !important;
}

.platform-home .platform-hero h1 {
  max-width: 820px !important;
  font-size: clamp(44px, 4.8vw, 72px) !important;
  line-height: 1.03 !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

.platform-home .platform-hero .lead {
  max-width: 700px !important;
  line-height: 1.5 !important;
}

.platform-home .home-account-preview {
  transform: translateY(-8px) !important;
  transform-origin: center center !important;
}

.platform-home .home-account-terminal,
.platform-home .home-account-preview .terminal-window {
  padding: 18px !important;
}

.platform-home .home-account-showcase {
  gap: 12px !important;
  padding: clamp(14px, 2vw, 20px) !important;
}

.platform-home .home-account-metric {
  min-height: 112px !important;
  padding: 14px !important;
}

.platform-home .home-account-metric strong {
  margin-top: 12px !important;
  font-size: clamp(1.55rem, 2.15vw, 2rem) !important;
}

.platform-home .home-account-top,
.platform-home .home-risk-strip {
  padding: 14px !important;
}

.platform-home .home-holding-row {
  padding: 13px 16px !important;
}

.platform-home .master-choice-section {
  margin-top: clamp(24px, 3vw, 44px) !important;
}

@media (max-width: 1180px) {
  .platform-home .platform-hero {
    min-height: auto !important;
    overflow: hidden !important;
    padding-top: 38px !important;
    padding-bottom: 36px !important;
  }

  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    top: -52px !important;
    bottom: -44px !important;
  }

  .platform-home .home-account-preview {
    transform: none !important;
  }

  .platform-home .platform-hero h1 {
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .platform-home .platform-hero h1 {
    font-size: clamp(36px, 10.2vw, 50px) !important;
    line-height: 1.06 !important;
  }

  .platform-home .platform-hero::before {
    background:
      linear-gradient(180deg, rgba(3, 7, 18, .88) 0%, rgba(3, 7, 18, .62) 38%, rgba(3, 7, 18, .95) 100%),
      url("home-hero-bg-v69.jpg") center top / auto 58% no-repeat !important;
  }
}

/* BitClac v84 mobile nav scroll fix */
@media (max-width: 760px) {
  .platform-header .platform-nav {
    width: min(1220px, calc(100% - 28px)) !important;
    overflow: visible !important;
  }

  .platform-header .navlinks,
  .platform-header .bitclac-main-nav {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 2px 8px !important;
    margin-left: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .platform-header .navlinks::-webkit-scrollbar,
  .platform-header .bitclac-main-nav::-webkit-scrollbar {
    display: none;
  }

  .platform-header .navlinks a,
  .platform-header .bitclac-main-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: max-content !important;
    padding: 8px 10px !important;
  }
}

/* BitClac v85 emergency full-bleed restore */
body[data-page="home"] {
  overflow-x: hidden;
}

main.wrap.platform-page.platform-home {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

main.platform-home > :not(.platform-hero) {
  width: min(1220px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main.platform-home > .platform-hero {
  width: min(1220px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.platform-home .platform-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(460px, .86fr) !important;
  gap: clamp(34px, 4vw, 58px) !important;
  align-items: center !important;
  min-height: min(720px, calc(100vh - 78px)) !important;
  padding-top: clamp(52px, 5vw, 78px) !important;
  padding-bottom: clamp(48px, 5vw, 72px) !important;
}

.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: -2 !important;
  top: -78px !important;
  bottom: -58px !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  min-width: 100vw !important;
  transform: translateX(-50%) !important;
}

.platform-home .platform-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .91) 0%, rgba(3, 9, 22, .76) 31%, rgba(4, 12, 27, .43) 58%, rgba(4, 12, 27, .18) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, .26) 0%, rgba(3, 7, 18, .08) 45%, rgba(3, 7, 18, .88) 100%),
    url("home-hero-bg-v69.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}

.platform-home .platform-hero::after {
  z-index: -1 !important;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, .055) 0 1px, transparent 1px 86px),
    linear-gradient(0deg, rgba(34, 211, 238, .04) 0 1px, transparent 1px 86px),
    linear-gradient(180deg, rgba(2, 6, 23, .10), rgba(2, 6, 23, .58)) !important;
  opacity: .46 !important;
}

.platform-home .hero-copy {
  padding-top: 0 !important;
  translate: none !important;
  margin-left: 0 !important;
  min-width: 0 !important;
}

.platform-home .platform-hero h1 {
  max-width: 800px !important;
  font-size: clamp(44px, 4.85vw, 72px) !important;
  line-height: 1.03 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

.platform-home .platform-hero .lead {
  max-width: 720px !important;
  line-height: 1.5 !important;
}

.platform-home .home-account-preview {
  transform: none !important;
  min-width: 0 !important;
}

.platform-home .home-account-terminal,
.platform-home .home-account-preview .terminal-window {
  padding: clamp(14px, 1.3vw, 18px) !important;
}

.platform-home .home-account-showcase {
  gap: 12px !important;
  padding: clamp(14px, 1.8vw, 20px) !important;
}

.platform-home .home-account-mini-cta {
  white-space: normal !important;
  line-height: 1.12 !important;
}

.platform-home .master-choice-section {
  margin-top: clamp(20px, 3vw, 42px) !important;
}

@media (max-width: 1180px) {
  .platform-home .platform-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 42px !important;
    overflow: visible !important;
  }

  .platform-home .platform-hero h1 {
    max-width: 100% !important;
  }

  .platform-home .home-account-preview {
    max-width: 760px !important;
  }
}

@media (max-width: 760px) {
  main.platform-home > :not(.platform-hero),
  main.platform-home > .platform-hero {
    width: min(100% - 28px, 1220px) !important;
  }

  .platform-home .platform-hero {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
    gap: 28px !important;
  }

  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    top: -44px !important;
    bottom: -34px !important;
  }

  .platform-home .platform-hero::before {
    background:
      linear-gradient(180deg, rgba(3, 7, 18, .88) 0%, rgba(3, 7, 18, .64) 38%, rgba(3, 7, 18, .96) 100%),
      url("home-hero-bg-v69.jpg") center top / auto 58% no-repeat !important;
  }

  .platform-home .platform-hero h1 {
    font-size: clamp(35px, 10.4vw, 50px) !important;
    line-height: 1.07 !important;
  }

  .platform-header .platform-nav {
    width: min(1220px, calc(100% - 28px)) !important;
    overflow: visible !important;
  }

  .platform-header .navlinks,
  .platform-header .bitclac-main-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 2px 8px !important;
    margin-left: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .platform-header .navlinks::-webkit-scrollbar,
  .platform-header .bitclac-main-nav::-webkit-scrollbar {
    display: none;
  }

  .platform-header .navlinks a,
  .platform-header .bitclac-main-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: max-content !important;
    padding: 8px 10px !important;
  }
}

/* BitClac v86 hero background extension */
.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  bottom: -168px !important;
}

.platform-home .master-choice-section {
  margin-top: 0 !important;
  padding-top: clamp(42px, 5vw, 82px) !important;
}

@media (max-width: 760px) {
  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    bottom: -112px !important;
  }

  .platform-home .master-choice-section {
    padding-top: 46px !important;
  }
}


/* BitClac v87 section band alignment */
.platform-home .platform-hero::before,
.platform-home .platform-hero::after {
  bottom: -94px !important;
}

.platform-home .master-choice-section {
  margin-top: 0 !important;
  padding-top: clamp(58px, 5.4vw, 86px) !important;
  position: relative;
  z-index: 2;
}

.platform-home .master-choice-heading {
  position: relative;
  z-index: 3;
}

.platform-home .master-choice-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 100vw;
  height: 70px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(3, 7, 18, .96), rgba(3, 7, 18, .70), rgba(3, 7, 18, 0));
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 760px) {
  .platform-home .platform-hero::before,
  .platform-home .platform-hero::after {
    bottom: -72px !important;
  }

  .platform-home .master-choice-section {
    padding-top: 58px !important;
  }
}
/* BitClac v89 home section breathing room */
.platform-home .master-choice-section {
  padding-top: clamp(88px, 7vw, 124px) !important;
}

.platform-home .master-choice-heading {
  padding-top: 10px;
}

.platform-home .master-choice-heading::before {
  top: -46px !important;
  height: 112px !important;
}

@media (max-width: 760px) {
  .platform-home .master-choice-section {
    padding-top: 74px !important;
  }
}
/* BitClac v91 remove heading spot */
.platform-home .master-choice-heading::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.platform-home .master-choice-heading {
  background: transparent !important;
  box-shadow: none !important;
}
/* BitClac v102 portfolio account CTAs */
.platform-home .home-master-actions {
  max-width: 760px;
}

.platform-home .home-master-button {
  flex: 1 1 285px;
}

.platform-home .home-master-button-copy strong {
  font-size: clamp(17px, 1.35vw, 20px) !important;
}

@media (max-width: 760px) {
  .platform-home .home-master-actions {
    width: 100%;
  }
}


/* BitClac v120 articles section */
.article-page .tool-intro {
  max-width: 940px;
}
.article-page .article-story {
  grid-template-columns: minmax(0, 1fr);
}
.article-page .article-story article {
  max-width: 920px;
}
.article-page .article-story p + p {
  margin-top: 12px;
}
.articles-hub .article-grid {
  margin-top: 0;
}
.articles-hub .article-card p,
.platform-section .article-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.article-page .hub-tool-card strong {
  line-height: 1.28;
}
@media (max-width: 760px) {
  .article-page .tool-intro h1 {
    font-size: clamp(32px, 10vw, 46px);
  }
}


/* BitClac v122 article card images and cta spacing */
.article-card .article-cover {
  display: block;
  flex: 0 0 132px;
}
.article-card .article-cover svg {
  transform: translateZ(0);
}
.platform-section#latest .article-grid,
.articles-hub .article-grid {
  align-items: stretch;
}
.platform-section#latest .cta-row {
  margin-top: clamp(28px, 3vw, 42px);
  position: relative;
  z-index: 4;
  clear: both;
}
.platform-section#latest .btn {
  min-height: 48px;
  align-items: center;
}
@media (max-width: 760px) {
  .platform-section#latest .cta-row {
    margin-top: 26px;
  }
  .platform-section#latest .btn {
    width: auto;
    max-width: 100%;
  }
}

/* BitClac v123 calm social sidebar home */
body[data-page="home"] {
  --bc-social-bg: #111315;
  --bc-social-panel: #1b1d22;
  --bc-social-card: #202329;
  --bc-social-card-soft: #252932;
  --bc-social-line: #333842;
  --bc-social-line-soft: rgba(255,255,255,.09);
  --bc-social-text: #f4f5f7;
  --bc-social-muted: #aeb4bf;
  --bc-social-blue: #4f8df7;
  background: var(--bc-social-bg) !important;
  color: var(--bc-social-text) !important;
  overflow-x: hidden;
}

body[data-page="home"]::before {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .platform-hero::before,
body[data-page="home"] .platform-hero::after,
body[data-page="home"] .terminal-preview::before,
body[data-page="home"] .capability-card::before,
body[data-page="home"] .proof-grid article::before,
body[data-page="home"] .tool-tile::before,
body[data-page="home"] .tool-tile::after,
body[data-page="home"] .article-card::before {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .site-header,
body[data-page="home"] .platform-header {
  background: rgba(27, 29, 34, .98) !important;
  border-color: var(--bc-social-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
}

body[data-page="home"] .brand-text,
body[data-page="home"] .site-header .brand-text,
body[data-page="home"] .platform-header .brand-text {
  color: var(--bc-social-text) !important;
  text-shadow: none !important;
}

body[data-page="home"] .brand-text .accent,
body[data-page="home"] .site-header .brand-text .accent,
body[data-page="home"] .platform-header .brand-text .accent,
body[data-page="home"] .accent {
  color: #7aa7ff !important;
  text-shadow: none !important;
}

body[data-page="home"] .platform-header .navlinks a,
body[data-page="home"] .bitclac-main-nav a {
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease !important;
}

body[data-page="home"] .platform-header .navlinks a:hover,
body[data-page="home"] .bitclac-main-nav a:hover,
body[data-page="home"] .platform-header .navlinks a:focus-visible,
body[data-page="home"] .bitclac-main-nav a:focus-visible {
  transform: none !important;
  filter: none !important;
}

body[data-page="home"] main.wrap.platform-page.platform-home {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body[data-page="home"] main.platform-home > :not(.platform-hero),
body[data-page="home"] main.platform-home > .platform-hero {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[data-page="home"] .platform-hero {
  isolation: isolate !important;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .82fr) !important;
  gap: clamp(30px, 4vw, 56px) !important;
  min-height: auto !important;
  padding-top: clamp(46px, 5.8vw, 76px) !important;
  padding-bottom: clamp(42px, 5vw, 66px) !important;
  background: transparent !important;
}

body[data-page="home"] .hero-copy {
  text-shadow: none !important;
}

body[data-page="home"] .hero-badge,
body[data-page="home"] .badge {
  width: fit-content !important;
  min-height: 34px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  border: 1px solid var(--bc-social-line) !important;
  background: var(--bc-social-card) !important;
  color: #c7ccd4 !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body[data-page="home"] .platform-hero h1 {
  max-width: 760px !important;
  color: var(--bc-social-text) !important;
  font-size: clamp(40px, 4.6vw, 68px) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body[data-page="home"] .hero-word,
body[data-page="home"] .hero-word-traders,
body[data-page="home"] .hero-word-investors {
  color: inherit !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

body[data-page="home"] .platform-hero .lead,
body[data-page="home"] .section-heading p,
body[data-page="home"] .section-lead,
body[data-page="home"] .home-section p,
body[data-page="home"] .article-card p,
body[data-page="home"] .tool-tile p,
body[data-page="home"] .capability-card p,
body[data-page="home"] .proof-grid p,
body[data-page="home"] .faq-item p,
body[data-page="home"] .hub-tool-card small {
  color: var(--bc-social-muted) !important;
}

body[data-page="home"] .platform-hero .lead {
  max-width: 700px !important;
  font-size: clamp(17px, 1.45vw, 20px) !important;
  line-height: 1.55 !important;
}

body[data-page="home"] .home-master-actions {
  max-width: 680px !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

body[data-page="home"] .home-master-button {
  min-height: 58px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  border: 1px solid var(--bc-social-line) !important;
  background: var(--bc-social-card-soft) !important;
  color: var(--bc-social-text) !important;
  box-shadow: none !important;
  animation: none !important;
  filter: none !important;
}

body[data-page="home"] .home-master-button::before {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .home-master-button-trading,
body[data-page="home"] .btn.primary,
body[data-page="home"] .btn-primary,
body[data-page="home"] .calculator-submit,
body[data-page="home"] .mexc-affiliate-btn {
  background: var(--bc-social-blue) !important;
  border-color: var(--bc-social-blue) !important;
  color: #fff !important;
}

body[data-page="home"] .home-master-button:hover,
body[data-page="home"] .home-master-button:focus-visible,
body[data-page="home"] .btn:hover,
body[data-page="home"] .btn-primary:hover,
body[data-page="home"] button:hover,
body[data-page="home"] .master-cta:hover,
body[data-page="home"] .mexc-affiliate-btn:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  border-color: #6fa2ff !important;
}

body[data-page="home"] .home-master-button-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

body[data-page="home"] .home-master-button-copy strong {
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 820 !important;
}

body[data-page="home"] .home-master-button-copy small {
  color: rgba(244,245,247,.78) !important;
  font-weight: 620 !important;
}

body[data-page="home"] .home-secondary-links a,
body[data-page="home"] .terminal-meta span,
body[data-page="home"] .tag,
body[data-page="home"] .mexc-home-benefits li {
  border-radius: 999px !important;
  border: 1px solid var(--bc-social-line) !important;
  background: var(--bc-social-card-soft) !important;
  color: #c7ccd4 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body[data-page="home"] .home-account-preview,
body[data-page="home"] .home-account-preview .terminal-window,
body[data-page="home"] .home-account-terminal,
body[data-page="home"] .home-account-showcase,
body[data-page="home"] .home-account-top,
body[data-page="home"] .home-account-metric,
body[data-page="home"] .home-holdings,
body[data-page="home"] .home-risk-strip,
body[data-page="home"] .card,
body[data-page="home"] .master-choice-card,
body[data-page="home"] .mexc-home-banner,
body[data-page="home"] .system-info,
body[data-page="home"] .capability-card,
body[data-page="home"] .proof-grid article,
body[data-page="home"] .tool-tile,
body[data-page="home"] .hub-panel,
body[data-page="home"] .hub-tool-card,
body[data-page="home"] .article-card,
body[data-page="home"] .faq-item,
body[data-page="home"] .editorial-note,
body[data-page="home"] .subscribe-card {
  background: var(--bc-social-card) !important;
  border: 1px solid var(--bc-social-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body[data-page="home"] .home-account-showcase,
body[data-page="home"] .home-account-top,
body[data-page="home"] .home-account-metric,
body[data-page="home"] .home-holdings,
body[data-page="home"] .home-risk-strip {
  background: #262a31 !important;
}

body[data-page="home"] .home-account-top:hover,
body[data-page="home"] .home-account-metric:hover,
body[data-page="home"] .home-holdings:hover,
body[data-page="home"] .home-risk-strip:hover,
body[data-page="home"] .capability-card:hover,
body[data-page="home"] .proof-grid article:hover,
body[data-page="home"] .platform-tool-grid .tool-tile:hover,
body[data-page="home"] .hub-tool-card:hover,
body[data-page="home"] .article-card:hover {
  transform: none !important;
  border-color: #4a5565 !important;
  box-shadow: none !important;
}

body[data-page="home"] .home-account-mini-cta,
body[data-page="home"] .subscribe-form button {
  background: var(--bc-social-blue) !important;
  border-color: var(--bc-social-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

body[data-page="home"] .master-choice-section,
body[data-page="home"] .mexc-home-banner,
body[data-page="home"] .system-info,
body[data-page="home"] .proof-section,
body[data-page="home"] .capability-section,
body[data-page="home"] .platform-section,
body[data-page="home"] .hub-panel,
body[data-page="home"] .home-section,
body[data-page="home"] .editorial-note {
  margin-bottom: clamp(42px, 5vw, 68px) !important;
}

body[data-page="home"] .master-choice-section {
  padding-top: clamp(46px, 5vw, 78px) !important;
}

body[data-page="home"] .eyebrow {
  color: #9bbcff !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 760 !important;
}

body[data-page="home"] .section-heading h2,
body[data-page="home"] .hub-panel h2,
body[data-page="home"] .home-section h2 {
  color: var(--bc-social-text) !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  letter-spacing: 0 !important;
}

body[data-page="home"] .btn,
body[data-page="home"] button,
body[data-page="home"] .master-cta {
  min-height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid var(--bc-social-line) !important;
  background: var(--bc-social-card-soft) !important;
  color: var(--bc-social-text) !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

body[data-page="home"] .feature-icon,
body[data-page="home"] .tool-icon,
body[data-page="home"] .hub-tool-icon {
  border-radius: 12px !important;
  background: #303541 !important;
  color: #9bbcff !important;
  box-shadow: none !important;
}

body[data-page="home"] .stats-strip {
  gap: 1px !important;
  overflow: hidden !important;
  background: var(--bc-social-line) !important;
  border-color: var(--bc-social-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body[data-page="home"] .stats-strip article {
  background: var(--bc-social-card) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body[data-page="home"] .stats-strip strong {
  color: var(--bc-social-text) !important;
  font-size: clamp(24px, 2.5vw, 32px) !important;
}

body[data-page="home"] .article-card {
  min-height: 0 !important;
  padding: 18px !important;
}

body[data-page="home"] .article-cover {
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  filter: saturate(.72) contrast(.96) !important;
  opacity: .92 !important;
}

body[data-page="home"] .article-card h3,
body[data-page="home"] .tool-tile h3,
body[data-page="home"] .capability-card h3,
body[data-page="home"] .proof-grid h3,
body[data-page="home"] .faq-item h3 {
  color: var(--bc-social-text) !important;
  font-size: clamp(19px, 1.8vw, 23px) !important;
  line-height: 1.2 !important;
}

body[data-page="home"] .mexc-home-media.bc-promo-visual,
body[data-page="home"] .bc-promo-stage,
body[data-page="home"] .bc-promo-card,
body[data-page="home"] .bc-promo-chips span {
  background: var(--bc-social-card-soft) !important;
  border-color: var(--bc-social-line) !important;
  box-shadow: none !important;
  filter: saturate(.76) !important;
}

body[data-page="home"] .tg-float {
  border-radius: 12px !important;
  background: var(--bc-social-card-soft) !important;
  border: 1px solid var(--bc-social-line) !important;
  color: var(--bc-social-text) !important;
  box-shadow: none !important;
}

body[data-page="home"] .platform-footer {
  background: #17191d !important;
  border-top-color: #2d3036 !important;
}

body[data-page="home"] .subscribe-form input {
  background: var(--bc-social-card-soft) !important;
  border-color: var(--bc-social-line) !important;
  border-radius: 10px !important;
}

@media (min-width: 1024px) {
  body[data-page="home"] {
    --bc-sidebar-width: 272px;
  }

  body[data-page="home"] .site-header,
  body[data-page="home"] .platform-header {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: var(--bc-sidebar-width) !important;
    height: 100vh !important;
    border-right: 1px solid var(--bc-social-line) !important;
    border-bottom: 0 !important;
    z-index: 80 !important;
  }

  body[data-page="home"] .platform-header .platform-nav {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 24px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    overflow-y: auto !important;
  }

  body[data-page="home"] .site-header .brand-text {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 8px 18px !important;
    border-bottom: 1px solid var(--bc-social-line) !important;
    justify-content: flex-start !important;
    font-size: 31px !important;
  }

  body[data-page="home"] .platform-header .navlinks,
  body[data-page="home"] .platform-header .bitclac-main-nav {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .platform-header .navlinks a,
  body[data-page="home"] .bitclac-main-nav a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 12px 0 40px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #c7ccd4 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body[data-page="home"] .platform-header .navlinks a::before,
  body[data-page="home"] .bitclac-main-nav a::before {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    width: 16px !important;
    height: 16px !important;
    border: 1.6px solid #8b93a2 !important;
    border-radius: 5px !important;
    opacity: .9 !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(1) {
    color: #fff !important;
    background: #2a2d33 !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(1)::before {
    background: #8fb5ff !important;
    border-color: #8fb5ff !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(2) {
    margin: 8px 0 4px !important;
    color: #fff !important;
    background: #316fdd !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(2)::before {
    border-color: rgba(255,255,255,.86) !important;
  }

  body[data-page="home"] .platform-header .navlinks a:hover,
  body[data-page="home"] .platform-header .navlinks a:focus-visible {
    color: #fff !important;
    background: #2a2d33 !important;
  }

  body[data-page="home"] main.wrap.platform-page.platform-home,
  body[data-page="home"] .platform-footer {
    width: calc(100% - var(--bc-sidebar-width)) !important;
    margin-left: var(--bc-sidebar-width) !important;
  }

  body[data-page="home"] .tg-float {
    left: auto !important;
    right: 24px !important;
  }
}

@media (max-width: 1180px) {
  body[data-page="home"] .platform-hero {
    grid-template-columns: 1fr !important;
  }

  body[data-page="home"] .home-account-preview {
    max-width: 760px !important;
  }
}

@media (max-width: 1023px) {
  body[data-page="home"] .platform-header .platform-nav {
    width: min(100% - 24px, 1180px) !important;
    min-height: 64px !important;
    padding: 10px 0 !important;
    gap: 10px !important;
  }

  body[data-page="home"] .platform-header .navlinks,
  body[data-page="home"] .platform-header .bitclac-main-nav {
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
  }

  body[data-page="home"] .platform-header .navlinks::-webkit-scrollbar,
  body[data-page="home"] .bitclac-main-nav::-webkit-scrollbar {
    display: none !important;
  }

  body[data-page="home"] .platform-header .navlinks a,
  body[data-page="home"] .bitclac-main-nav a {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #c7ccd4 !important;
    font-size: 14px !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(1) {
    color: #fff !important;
    background: #2a2d33 !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(2) {
    color: #fff !important;
    background: #316fdd !important;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero {
    width: min(100% - 24px, 1180px) !important;
  }

  body[data-page="home"] .platform-hero {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
  }

  body[data-page="home"] .platform-hero h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  body[data-page="home"] .home-master-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body[data-page="home"] .article-grid,
  body[data-page="home"] .tool-card-grid,
  body[data-page="home"] .capability-grid,
  body[data-page="home"] .proof-grid,
  body[data-page="home"] .hub-tool-grid,
  body[data-page="home"] .faq-grid {
    grid-template-columns: 1fr !important;
  }
}
/* /BitClac v123 calm social sidebar home */

/* BitClac v124 mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --mobile-bottom-nav-height: 70px;
  }

  body {
    padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px)) !important;
  }

  .platform-header .navlinks,
  .platform-header .bitclac-main-nav {
    display: none !important;
  }

  .platform-header .platform-nav,
  .site-header .platform-nav {
    min-height: 58px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    overflow: visible !important;
  }

  .site-header .brand,
  .site-header .brand-text,
  .platform-header .brand,
  .platform-header .brand-text {
    width: auto !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    justify-content: flex-start !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    min-height: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px));
    background: rgba(22, 24, 29, .97);
    border-top: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 -10px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(16px) saturate(1.1);
  }

  .mobile-bottom-nav__item {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 5px 3px;
    border-radius: 14px;
    color: rgba(226,232,240,.72);
    text-decoration: none;
    font-size: 11px;
    font-weight: 760;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav__item svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav__item--primary svg {
    width: 28px;
    height: 28px;
  }

  .mobile-bottom-nav__item:active {
    background: rgba(255,255,255,.07);
    color: #fff;
  }

  body[data-page="home"] .mobile-bottom-nav__item[data-mobile-nav="home"],
  body[data-page="calculators"] .mobile-bottom-nav__item[data-mobile-nav="tools"],
  body[data-page="account"] .mobile-bottom-nav__item[data-mobile-nav="account"],
  body[data-page="articles"] .mobile-bottom-nav__item[data-mobile-nav="articles"],
  body[data-page^="article-"] .mobile-bottom-nav__item[data-mobile-nav="articles"],
  body[data-page="guide"] .mobile-bottom-nav__item[data-mobile-nav="menu"],
  body[data-page^="learn"] .mobile-bottom-nav__item[data-mobile-nav="menu"],
  body[data-page="about"] .mobile-bottom-nav__item[data-mobile-nav="menu"],
  body[data-page="contact"] .mobile-bottom-nav__item[data-mobile-nav="menu"],
  body[data-page="disclaimer"] .mobile-bottom-nav__item[data-mobile-nav="menu"] {
    color: #fff;
    background: rgba(79, 141, 247, .16);
  }

  body[data-page="home"] .mobile-bottom-nav__item[data-mobile-nav="home"] svg,
  body[data-page="calculators"] .mobile-bottom-nav__item[data-mobile-nav="tools"] svg,
  body[data-page="account"] .mobile-bottom-nav__item[data-mobile-nav="account"] svg,
  body[data-page="articles"] .mobile-bottom-nav__item[data-mobile-nav="articles"] svg,
  body[data-page^="article-"] .mobile-bottom-nav__item[data-mobile-nav="articles"] svg,
  body[data-page^="learn"] .mobile-bottom-nav__item[data-mobile-nav="menu"] svg {
    stroke: #7fb0ff;
  }

  .tg-float {
    bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px) !important;
  }

  .toast,
  .account-toast {
    bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 18px) !important;
  }
}
/* /BitClac v124 mobile bottom navigation */

/* BitClac v125 clean home text and sidebar */
body[data-page="home"] .platform-stats,
body[data-page="home"] .stats-strip {
  display: none !important;
}

body[data-page="home"] .bitclac-main-nav .nav-master-link::after {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .bitclac-main-nav .nav-master-link,
body[data-page="home"] .bitclac-main-nav .nav-master-link:hover,
body[data-page="home"] .bitclac-main-nav .nav-master-link:focus-visible {
  transform: none !important;
  text-shadow: none !important;
  filter: none !important;
}

body[data-page="home"] .hero-badge,
body[data-page="home"] .badge {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #aeb4bf !important;
  box-shadow: none !important;
}

body[data-page="home"] .home-secondary-links {
  gap: 14px !important;
  margin: 14px 0 12px !important;
}

body[data-page="home"] .home-secondary-links a {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #b8bec8 !important;
  font-size: 14px !important;
  font-weight: 720 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

body[data-page="home"] .home-secondary-links a:hover,
body[data-page="home"] .home-secondary-links a:focus-visible {
  color: #f4f5f7 !important;
  text-decoration: underline !important;
  background: transparent !important;
  border: 0 !important;
}

body[data-page="home"] .terminal-meta {
  gap: 0 !important;
  margin-top: 16px !important;
  color: #9ea6b2 !important;
}

body[data-page="home"] .terminal-meta span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #9ea6b2 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body[data-page="home"] .terminal-meta span:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: #59616d;
}

body[data-page="home"] .tag,
body[data-page="home"] .mexc-home-benefits li {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #aeb4bf !important;
}

body[data-page="home"] .mexc-home-benefits {
  column-gap: 18px !important;
  row-gap: 8px !important;
}

body[data-page="home"] .mexc-home-benefits li::before {
  color: #7fb0ff !important;
}

@media (min-width: 1024px) {
  body[data-page="home"] .platform-header .navlinks a::before,
  body[data-page="home"] .bitclac-main-nav a::before {
    border-radius: 50% !important;
    background: transparent !important;
  }

  body[data-page="home"] .bitclac-main-nav a:nth-child(1)::before {
    background: #8fb5ff !important;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .terminal-meta {
    display: flex !important;
  }
}
/* /BitClac v125 clean home text and sidebar */

/* BitClac v126 global social shell */
:root {
  --bc-shell-sidebar: 272px;
  --bc-shell-bg: #111315;
  --bc-shell-panel: #1b1d22;
  --bc-shell-card: #202329;
  --bc-shell-card-2: #252932;
  --bc-shell-line: #333842;
  --bc-shell-text: #f4f5f7;
  --bc-shell-muted: #aeb4bf;
  --bc-shell-blue: #4f8df7;
}

body {
  background: var(--bc-shell-bg) !important;
  color: var(--bc-shell-text) !important;
}

body::before {
  content: none !important;
  display: none !important;
}

.site-header,
.platform-header {
  background: rgba(27, 29, 34, .98) !important;
  border-color: var(--bc-shell-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
}

.brand-text,
.site-header .brand-text,
.platform-header .brand-text,
.platform-footer .brand-text {
  color: var(--bc-shell-text) !important;
  text-shadow: none !important;
}

.brand-text .accent,
.site-header .brand-text .accent,
.platform-header .brand-text .accent,
.platform-footer .brand-text .accent,
.accent {
  color: #7aa7ff !important;
  text-shadow: none !important;
}

.bitclac-main-nav .nav-master-link::after {
  content: none !important;
  display: none !important;
}

.bitclac-main-nav .nav-master-link,
.bitclac-main-nav .nav-master-link:hover,
.bitclac-main-nav .nav-master-link:focus-visible {
  transform: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.badge,
.eyebrow,
.section-kicker,
.section-label,
.nav-label,
.tool-badge,
.tag,
.tool-details,
.breadcrumbs span {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.badge,
.eyebrow,
.section-kicker,
.section-label,
.tool-badge,
.tag {
  color: #9bbcff !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.lead,
.section-lead,
.tool-details,
.tool-intro p,
.hub-panel-head p,
.faq-item p,
.card p,
.article-card p,
.hub-tool-card small {
  color: var(--bc-shell-muted) !important;
}

.card,
.info-tile,
.faq-item,
.recent-item,
.hub-panel,
.hub-tool-card,
.hub-guide-link,
.hub-scenario-card,
.context-links,
.guide-article article,
.ad-landing-strip,
.seo-guide article,
.seo-faq,
.trust-section,
.trust-grid article,
.mexc-next-step,
.mexc-home-banner,
.exchange-hero,
.capability-card,
.proof-grid article,
.tool-tile,
.article-card,
.account-auth,
.account-dashboard,
.product-card,
.table-wrap,
.trade-table-wrap,
.system-info,
.editorial-note,
.subscribe-card {
  background: var(--bc-shell-card) !important;
  border: 1px solid var(--bc-shell-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.card::before,
.card::after,
.hub-panel::before,
.hub-panel::after,
.hub-tool-card::before,
.hub-tool-card::after,
.capability-card::before,
.proof-grid article::before,
.tool-tile::before,
.tool-tile::after,
.article-card::before,
.mexc-next-step::before,
.exchange-hero::before,
.system-info::before {
  content: none !important;
  display: none !important;
}

.card:hover,
.hub-tool-card:hover,
.capability-card:hover,
.proof-grid article:hover,
.tool-tile:hover,
.article-card:hover,
.exchange-link-card:hover {
  transform: none !important;
  border-color: #4a5565 !important;
  box-shadow: none !important;
}

.btn,
.btn-primary,
button,
.home-hub-cta,
.master-cta,
.tools-master-cta,
.mexc-affiliate-btn,
.exchange-link-card,
.account-auth-tabs button,
.account-reset-button,
.account-login-button {
  border-radius: 10px !important;
  border: 1px solid var(--bc-shell-line) !important;
  background: var(--bc-shell-card-2) !important;
  color: var(--bc-shell-text) !important;
  box-shadow: none !important;
  animation: none !important;
  filter: none !important;
}

.btn.primary,
.btn-primary,
.calculator-submit,
.mexc-affiliate-btn,
.account-login-button,
.account-auth-tabs button.active {
  background: var(--bc-shell-blue) !important;
  border-color: var(--bc-shell-blue) !important;
  color: #fff !important;
}

.btn:hover,
.btn-primary:hover,
button:hover,
.home-hub-cta:hover,
.master-cta:hover,
.tools-master-cta:hover,
.mexc-affiliate-btn:hover,
.exchange-link-card:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  border-color: #6fa2ff !important;
}

input,
select,
textarea {
  background: var(--bc-shell-card-2) !important;
  border-color: var(--bc-shell-line) !important;
  color: var(--bc-shell-text) !important;
  border-radius: 10px !important;
}

.feature-icon,
.tool-icon,
.hub-tool-icon,
.metric-card,
.terminal-window,
.terminal-grid article,
.empty-dashboard .metric-card,
.empty-dashboard .skeleton-card {
  background: var(--bc-shell-card-2) !important;
  border-color: var(--bc-shell-line) !important;
  box-shadow: none !important;
}

.tg-float {
  border-radius: 12px !important;
  background: var(--bc-shell-card-2) !important;
  border: 1px solid var(--bc-shell-line) !important;
  color: var(--bc-shell-text) !important;
  box-shadow: none !important;
}

.tg-float::before,
.tg-float::after {
  content: none !important;
  display: none !important;
}

.platform-footer,
.site-footer {
  background: #17191d !important;
  border-top-color: #2d3036 !important;
}

@media (min-width: 1024px) {
  body:not([data-page="home"]) {
    padding-left: var(--bc-shell-sidebar) !important;
  }

  body:not([data-page="home"]) .site-header,
  body:not([data-page="home"]) .platform-header {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: var(--bc-shell-sidebar) !important;
    height: 100vh !important;
    border-right: 1px solid var(--bc-shell-line) !important;
    border-bottom: 0 !important;
    z-index: 80 !important;
  }

  body:not([data-page="home"]) .platform-header .platform-nav {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 24px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    overflow-y: auto !important;
  }

  body:not([data-page="home"]) .site-header .brand-text,
  body:not([data-page="home"]) .platform-header .brand-text {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 8px 18px !important;
    border-bottom: 1px solid var(--bc-shell-line) !important;
    justify-content: flex-start !important;
    font-size: 31px !important;
  }

  body:not([data-page="home"]) .platform-header .navlinks,
  body:not([data-page="home"]) .platform-header .bitclac-main-nav {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body:not([data-page="home"]) .platform-header .navlinks a,
  body:not([data-page="home"]) .bitclac-main-nav a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 12px 0 40px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #c7ccd4 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    box-shadow: none !important;
  }

  body:not([data-page="home"]) .platform-header .navlinks a::before,
  body:not([data-page="home"]) .bitclac-main-nav a::before {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    width: 16px !important;
    height: 16px !important;
    border: 1.6px solid #8b93a2 !important;
    border-radius: 50% !important;
    opacity: .86 !important;
  }

  body:not([data-page="home"]) .platform-header .navlinks a:hover,
  body:not([data-page="home"]) .platform-header .navlinks a:focus-visible,
  body:not([data-page="home"]) .platform-header .navlinks a.active {
    color: #fff !important;
    background: #2a2d33 !important;
  }

  body:not([data-page="home"]) .platform-header .navlinks a.active::before {
    background: #8fb5ff !important;
    border-color: #8fb5ff !important;
  }

  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    width: min(1180px, calc(100% - 40px)) !important;
  }

  body:not([data-page="home"]) .tg-float {
    right: 24px !important;
  }
}

@media (max-width: 1023px) {
  body {
    padding-left: 0 !important;
  }
}

@media (max-width: 760px) {
  .platform-header .platform-nav,
  .site-header .platform-nav {
    background: transparent !important;
  }

  .badge,
  .eyebrow,
  .section-kicker,
  .section-label,
  .tool-badge,
  .tag {
    display: inline !important;
  }
}
/* /BitClac v126 global social shell */

/* BitClac v127 social refine */
:root {
  --bc-button-bg: #2b2f36;
  --bc-button-bg-hover: #343943;
  --bc-button-line: #3d434d;
  --bc-card-grid: rgba(255,255,255,.032);
}

.tg-float {
  display: none !important;
}

@media (min-width: 1024px) {
  .site-header .bitclac-main-nav a,
  .platform-header .bitclac-main-nav a {
    padding: 0 12px !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #c9ced6 !important;
    box-shadow: none !important;
  }

  .site-header .bitclac-main-nav a::before,
  .platform-header .bitclac-main-nav a::before {
    content: none !important;
    display: none !important;
  }

  .site-header .bitclac-main-nav a.active,
  .platform-header .bitclac-main-nav a.active {
    background: transparent !important;
    color: #c9ced6 !important;
  }

  .site-header .bitclac-main-nav a:hover,
  .site-header .bitclac-main-nav a:focus-visible,
  .platform-header .bitclac-main-nav a:hover,
  .platform-header .bitclac-main-nav a:focus-visible {
    background: #242830 !important;
    color: #fff !important;
  }
}

:where(.btn, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .exchange-link-card, .account-auth-tabs button, .account-login-button, .account-reset-button) {
  border: 1px solid var(--bc-button-line) !important;
  border-radius: 10px !important;
  background: var(--bc-button-bg) !important;
  background-image: none !important;
  color: #f5f6f8 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
}

:where(.btn.primary, .btn-primary, .calculator-submit, .account-login-button, .account-auth-tabs button.active, .mobile-bottom-nav__item--primary, .mexc-affiliate-btn) {
  border-color: var(--bc-button-line) !important;
  background: var(--bc-button-bg) !important;
  background-image: none !important;
  color: #f5f6f8 !important;
}

:where(.btn, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .exchange-link-card, .account-auth-tabs button):hover {
  transform: none !important;
  border-color: #59616d !important;
  background: var(--bc-button-bg-hover) !important;
  box-shadow: none !important;
}

:where(.btn, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit):active {
  transform: translateY(1px) !important;
}

:where(.card, .info-tile, .faq-item, .recent-item, .hub-panel, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .context-links, .guide-article article, .seo-guide article, .seo-faq, .trust-section, .trust-grid article, .mexc-next-step, .mexc-home-banner, .exchange-hero, .capability-card, .proof-grid article, .tool-tile, .tool-filter-card, .article-card, .master-product-card, .tools-master-link, .account-auth, .account-dashboard, .product-card, .table-wrap, .trade-table-wrap, .system-info, .editorial-note, .subscribe-card) {
  background:
    linear-gradient(90deg, var(--bc-card-grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)),
    var(--bc-shell-card) !important;
  border: 1px solid #333842 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: var(--bc-shell-text) !important;
  overflow: hidden !important;
}

:where([data-static-card], .master-product-card) {
  cursor: default !important;
}

:where([data-static-card], .master-product-card):hover {
  transform: none !important;
  border-color: #474f5d !important;
  box-shadow: none !important;
}

:where(.tool-filter-card, .article-card, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .tool-tile, .recent-item, .exchange-link-card, .home-hub-card, .tools-master-link)[data-static-card] {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.tool-filter-card .card-open-btn,
.article-card .card-open-btn,
.hub-tool-card .card-open-btn,
.hub-guide-link .card-open-btn,
.hub-scenario-card .card-open-btn,
.tool-tile .card-open-btn,
.recent-item .card-open-btn,
.exchange-link-card .card-open-btn,
.home-hub-card .card-open-btn,
.tools-master-link .card-open-btn {
  align-self: flex-start !important;
  margin-top: auto !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.tools-master-link .tools-master-cta.card-open-btn {
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

:where(.tool-filter-visual, .tools-master-visual, .tool-icon, .feature-icon, .hub-tool-icon, .home-master-button-icon, .master-visual) {
  background: #25303b !important;
  border: 1px solid #3a414d !important;
  box-shadow: none !important;
}

.article-card .article-cover {
  border-radius: 12px !important;
  background-color: #25303b !important;
  box-shadow: none !important;
}

.tools-filter-tabs button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
}

.tools-filter-tabs button.active,
.tools-filter-tabs button[aria-pressed="true"] {
  background: #373c46 !important;
  border-color: #59616d !important;
}

.badge,
.eyebrow,
.section-kicker,
.section-label,
.tool-badge,
.tag,
.terminal-meta span,
.home-secondary-links a,
.account-product-points span {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mobile-bottom-nav__item,
.mobile-bottom-nav__item--primary {
  background: transparent !important;
  border: 0 !important;
  color: #b7bdc8 !important;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item--primary:hover {
  background: transparent !important;
  color: #fff !important;
}
/* /BitClac v127 social refine */

/* BitClac v128 final button and menu marker fix */
body .site-header .bitclac-main-nav a::before,
body .platform-header .bitclac-main-nav a::before,
body[data-page="home"] .platform-header .navlinks a::before,
body[data-page="home"] .bitclac-main-nav a::before,
body:not([data-page="home"]) .platform-header .navlinks a::before,
body:not([data-page="home"]) .bitclac-main-nav a::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .site-header .bitclac-main-nav a.active,
body .platform-header .bitclac-main-nav a.active,
body:not([data-page="home"]) .platform-header .navlinks a.active {
  background: transparent !important;
  color: #c9ced6 !important;
}

body .btn.primary,
body .btn-primary,
body .calculator-submit,
body .mexc-affiliate-btn,
body .master-cta,
body .tools-master-cta,
body .card-open-btn,
body .home-account-mini-cta,
body[data-page="home"] .btn.primary,
body[data-page="home"] .btn-primary,
body[data-page="home"] .wrap > .home-trade-map .btn,
body[data-page="home"] .home-master-button,
body[data-page="home"] .home-account-mini-cta,
body[data-page="home"] .master-cta {
  border-color: #3d434d !important;
  background: #2b2f36 !important;
  background-image: none !important;
  color: #f5f6f8 !important;
  box-shadow: none !important;
  filter: none !important;
}

body .btn.primary:hover,
body .btn-primary:hover,
body .calculator-submit:hover,
body .mexc-affiliate-btn:hover,
body .master-cta:hover,
body .tools-master-cta:hover,
body .card-open-btn:hover,
body .home-account-mini-cta:hover,
body[data-page="home"] .btn.primary:hover,
body[data-page="home"] .btn-primary:hover,
body[data-page="home"] .home-master-button:hover,
body[data-page="home"] .home-account-mini-cta:hover,
body[data-page="home"] .master-cta:hover {
  border-color: #59616d !important;
  background: #343943 !important;
  background-image: none !important;
  transform: none !important;
  box-shadow: none !important;
}
/* /BitClac v128 final button and menu marker fix */

/* BitClac v129 polish scroll mexc icons */
:root {
  --bc-button-bg: #2b2f36;
  --bc-button-bg-hover-strong: #454b55;
  --bc-button-line: #3d434d;
  --bc-button-line-hover: #818a99;
  --bc-panel: #202329;
  --bc-panel-soft: #252932;
  --bc-panel-line: #333842;
}

body::before,
.account-page::after,
.platform-home .platform-hero::after {
  background-image: none !important;
  animation: none !important;
  opacity: 0 !important;
}

:where(.card, .info-tile, .faq-item, .recent-item, .hub-panel, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .context-links, .guide-article article, .seo-guide article, .seo-faq, .trust-section, .trust-grid article, .mexc-next-step, .mexc-home-banner, .exchange-hero, .exchange-card, .exchange-faq-item, .capability-card, .proof-grid article, .tool-tile, .tool-filter-card, .article-card, .master-product-card, .tools-master-link, .account-auth, .account-dashboard, .product-card, .table-wrap, .trade-table-wrap, .system-info, .editorial-note, .subscribe-card, .master-hero, .master-workspace, .master-strategy-panel, .master-result-panel, .master-live-hints, .master-backlink) {
  background: var(--bc-panel) !important;
  background-image: none !important;
  border-color: var(--bc-panel-line) !important;
  box-shadow: none !important;
}

:where([data-static-card], .master-product-card, .tools-master-link, .tool-filter-card, .article-card, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .tool-tile, .recent-item, .exchange-link-card, .exchange-card, .exchange-faq-item, .home-hub-card):hover,
:where([data-static-card], .master-product-card, .tools-master-link, .tool-filter-card, .article-card, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .tool-tile, .recent-item, .exchange-link-card, .exchange-card, .exchange-faq-item, .home-hub-card):focus-visible {
  transform: none !important;
  filter: none !important;
  border-color: var(--bc-panel-line) !important;
  background: var(--bc-panel) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

:where(.master-product-card, .tools-master-link, [data-static-card]) {
  cursor: default !important;
}

.tools-master-link::after,
.master-product-card::after,
.master-product-card[data-card-link]::after {
  content: none !important;
  display: none !important;
}

.tools-master-link:hover .tools-master-visual,
.tools-master-link:focus-visible .tools-master-visual,
.master-product-card:hover .master-visual,
.master-product-card:focus-visible .master-visual,
.master-product-card[data-card-link]:hover .master-visual,
.master-product-card[data-card-link]:focus-visible .master-visual {
  transform: none !important;
  background: var(--bc-panel-soft) !important;
  box-shadow: none !important;
}

.tools-master-cta,
.tools-master-link .tools-master-cta,
.tools-master-link .card-open-btn {
  pointer-events: auto !important;
}

body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .exchange-link-card .card-open-btn, .account-auth-tabs button, .account-login-button, .account-reset-button) {
  border-color: var(--bc-button-line) !important;
  background: var(--bc-button-bg) !important;
  background-image: none !important;
  color: #f5f6f8 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .exchange-link-card .card-open-btn, .account-auth-tabs button, .account-login-button, .account-reset-button):hover,
body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .exchange-link-card .card-open-btn, .account-auth-tabs button, .account-login-button, .account-reset-button):focus-visible {
  border-color: var(--bc-button-line-hover) !important;
  background: var(--bc-button-bg-hover-strong) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .22) !important;
  outline: none !important;
  filter: none !important;
  transform: none !important;
}

body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit):active {
  transform: translateY(1px) !important;
}

body .platform-header .bitclac-main-nav a,
body .site-header .bitclac-main-nav a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body .platform-header .bitclac-main-nav a::before,
body .site-header .bitclac-main-nav a::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: currentColor !important;
  opacity: .9 !important;
  box-shadow: none !important;
  -webkit-mask: var(--bc-nav-icon) center / 18px 18px no-repeat;
  mask: var(--bc-nav-icon) center / 18px 18px no-repeat;
}

body .bitclac-main-nav a[href="/"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m3 11 9-8 9 8%27/%3E%3Cpath d=%27M5 10v10h14V10%27/%3E%3Cpath d=%27M9 20v-6h6v6%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/account.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%278%27 r=%274%27/%3E%3Cpath d=%27M4 21c1.7-4 4.3-6 8-6s6.3 2 8 6%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/pages/trading-master.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 18h18%27/%3E%3Cpath d=%27m5 15 4-4 4 3 6-7%27/%3E%3Cpath d=%27M16 7h3v3%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/pages/invest-master.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 7h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Z%27/%3E%3Cpath d=%27M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%27/%3E%3Cpath d=%27M8 13h8%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/calculators.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14.7 6.3a4 4 0 0 0-5 5L4 17v3h3l5.7-5.7a4 4 0 0 0 5-5l-2.4 2.4-2-2 2.4-2.4Z%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/favorites.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1L12 16.9 6.6 19.8l1-6.1-4.4-4.3 6.1-.9L12 3Z%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/exchanges.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M7 7h12l-3-3%27/%3E%3Cpath d=%27M17 17H5l3 3%27/%3E%3Cpath d=%27M19 7l-3 3%27/%3E%3Cpath d=%27M5 17l3-3%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/learn.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 19.5A2.5 2.5 0 0 1 6.5 17H20%27/%3E%3Cpath d=%27M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15Z%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/scenarios.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%276%27 cy=%276%27 r=%272%27/%3E%3Ccircle cx=%2718%27 cy=%2718%27 r=%272%27/%3E%3Cpath d=%27M8 6h5a3 3 0 0 1 0 6h-2a3 3 0 0 0 0 6h5%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/articles.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 3h9l3 3v15H6V3Z%27/%3E%3Cpath d=%27M14 3v4h4%27/%3E%3Cpath d=%27M9 12h6%27/%3E%3Cpath d=%27M9 16h6%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/about.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%279%27/%3E%3Cpath d=%27M12 10v6%27/%3E%3Cpath d=%27M12 7h.01%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/contact.html"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 6h16v12H4z%27/%3E%3Cpath d=%27m4 7 8 6 8-6%27/%3E%3C/svg%3E"); }

body .bitclac-main-nav a:not([style])::before {
  color: inherit;
}

.home-account-showcase,
.home-account-showcase.home-futures-showcase {
  background: var(--bc-panel) !important;
  background-image: none !important;
  border: 1px solid var(--bc-panel-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.home-account-showcase::before {
  content: none !important;
  display: none !important;
}

.home-futures-showcase {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.home-futures-top,
.home-futures-risk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.home-futures-top > div,
.home-futures-risk > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-futures-top strong,
.home-futures-risk strong {
  color: #f5f6f8;
  font-size: 18px;
  line-height: 1.15;
}

.home-futures-top small,
.home-futures-risk small,
.home-futures-metrics small {
  color: #aeb4bf;
}

.home-futures-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-futures-metrics article,
.home-futures-risk,
.home-futures-board {
  border: 1px solid var(--bc-panel-line);
  border-radius: 12px;
  background: var(--bc-panel-soft);
  box-shadow: none;
}

.home-futures-metrics article {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.home-futures-metrics span,
.home-futures-risk span {
  color: #aeb4bf;
  font-size: 12px;
  font-weight: 800;
}

.home-futures-metrics strong {
  color: #f5f6f8;
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1;
}

.home-futures-metrics .is-positive strong,
.home-futures-board b {
  color: #b7f7d2;
}

.home-futures-board {
  display: grid;
  padding: 8px;
  overflow-x: auto;
}

.home-futures-row {
  display: grid;
  grid-template-columns: 1fr .9fr .85fr .75fr .9fr;
  gap: 10px;
  align-items: center;
  min-width: 520px;
  padding: 9px 8px;
  color: #d9dde5;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}

.home-futures-row:first-child {
  border-top: 0;
}

.home-futures-row.head {
  color: #8f98a8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-futures-row strong {
  color: #fff;
}

.home-futures-board .is-warn {
  color: #fecaca;
}

.home-futures-risk {
  padding: 13px;
}

.home-futures-risk-track {
  flex: 0 0 min(190px, 38%);
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #15181d;
}

.home-futures-risk-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8b949e;
}

.bc-promo-visual,
.exchange-hero-media.bc-promo-visual,
.mexc-next-step-media.bc-promo-visual,
.platform-home .mexc-home-media.bc-promo-visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: clamp(250px, 30vw, 350px) !important;
  padding: clamp(16px, 3vw, 26px) !important;
  overflow: visible !important;
  border: 1px solid var(--bc-panel-line) !important;
  border-radius: 16px !important;
  background: var(--bc-panel) !important;
  background-image: none !important;
  box-shadow: none !important;
  container-type: inline-size;
}

.bc-promo-visual::before,
.bc-promo-visual::after,
.bc-promo-stage::before,
.bc-promo-stage::after,
.bc-promo-stage--simple::after {
  content: none !important;
  display: none !important;
}

.bc-promo-stage,
.bc-promo-stage--simple {
  width: min(100%, 420px) !important;
  min-height: 0 !important;
  padding: clamp(16px, 4cqw, 24px) !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  gap: clamp(9px, 2.5cqw, 14px) !important;
  overflow: visible !important;
  border: 1px solid var(--bc-panel-line) !important;
  border-radius: 14px !important;
  background: var(--bc-panel-soft) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.bc-promo-stage--simple .bc-promo-brand {
  width: 100%;
  min-height: 0;
  overflow: visible;
  text-align: center;
}

.bc-promo-title,
.bc-promo-stage--simple .bc-promo-title,
.platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-title {
  display: block !important;
  max-width: 100% !important;
  padding: 4px 0 2px !important;
  margin: 0 !important;
  overflow: visible !important;
  color: #f8fafc !important;
  font-size: clamp(34px, 11cqw, 58px) !important;
  font-weight: 1000 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.bc-promo-benefits,
.bc-promo-stage--simple .bc-promo-benefits {
  width: min(100%, 330px) !important;
  display: grid !important;
  gap: 8px !important;
}

.bc-promo-card,
.bc-promo-stage--simple .bc-promo-card {
  min-height: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid var(--bc-panel-line) !important;
  border-radius: 10px !important;
  background: var(--bc-panel) !important;
  box-shadow: none !important;
}

.bc-promo-card b,
.bc-promo-stage--simple .bc-promo-card b {
  min-width: 0 !important;
  color: #f5f6f8 !important;
  font-size: clamp(10px, 3cqw, 13px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.bc-promo-check {
  background: #4b5563 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.bc-promo-chips,
.bc-promo-stage--simple .bc-promo-chips {
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 2px 0 0 !important;
  overflow: visible !important;
}

.bc-promo-chips span,
.bc-promo-stage--simple .bc-promo-chips span {
  padding: 5px 8px !important;
  border: 1px solid var(--bc-panel-line) !important;
  border-radius: 999px !important;
  background: var(--bc-panel) !important;
  color: #d9dde5 !important;
  font-size: clamp(9px, 2.5cqw, 11px) !important;
  line-height: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.mexc-next-step {
  align-items: start !important;
  overflow: visible !important;
}

.mexc-next-step-media.bc-promo-visual {
  align-self: start !important;
  min-height: 260px !important;
  height: auto !important;
}

.mexc-next-step-content {
  align-self: start !important;
}

.exchange-hero {
  align-items: center !important;
}

.exchange-hero-media.bc-promo-visual {
  min-width: 0 !important;
}

.master-page .master-hero,
.master-page .master-workspace,
.master-page .master-strategy-panel,
.master-page .master-result-panel,
.master-page .master-live-hints,
.master-page .master-backlink,
.master-page .master-visual,
.master-product-card .master-visual,
.tools-master-visual {
  background: var(--bc-panel) !important;
  background-image: none !important;
  border-color: var(--bc-panel-line) !important;
  box-shadow: none !important;
}

.master-page .master-visual,
.master-product-card .master-visual,
.tools-master-visual {
  overflow: visible !important;
  border-radius: 16px !important;
}

.master-page .master-visual::before,
.master-page .master-visual::after,
.master-product-card .master-visual::before,
.master-product-card .master-visual::after,
.tools-master-visual::before,
.tools-master-visual::after {
  content: none !important;
  display: none !important;
}

.master-page .master-visual svg,
.master-product-card .master-visual svg,
.tools-master-visual svg {
  overflow: visible !important;
}

.master-page .pill-text,
.master-product-card .pill-text {
  font-size: 10px !important;
  font-weight: 900 !important;
}

.master-page input,
.master-page select,
.master-page textarea {
  background: var(--bc-panel-soft) !important;
  border-color: var(--bc-button-line) !important;
}

@media (max-width: 760px) {
  .home-futures-metrics {
    grid-template-columns: 1fr;
  }

  .home-futures-top,
  .home-futures-risk {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-futures-risk-track {
    flex-basis: auto;
    width: 100%;
  }

  .mexc-next-step {
    grid-template-columns: 1fr !important;
  }

  .bc-promo-visual,
  .mexc-next-step-media.bc-promo-visual,
  .exchange-hero-media.bc-promo-visual {
    min-height: 240px !important;
  }
}
/* /BitClac v129 polish scroll mexc icons */

/* BitClac v131 stronger menu icons */
html body .site-header.platform-header .bitclac-main-nav a::before,
html body .platform-header .navlinks.bitclac-main-nav a::before,
html body[data-page="home"] .platform-header .navlinks.bitclac-main-nav a::before,
html body[data-page="home"] .bitclac-main-nav a::before,
html body:not([data-page="home"]) .platform-header .navlinks.bitclac-main-nav a::before,
html body:not([data-page="home"]) .bitclac-main-nav a::before,
html body.account-page .platform-header .bitclac-main-nav a::before,
html body.account-page .site-header .bitclac-main-nav a::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: currentColor !important;
  opacity: .9 !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-mask: var(--bc-nav-icon) center / 18px 18px no-repeat !important;
  mask: var(--bc-nav-icon) center / 18px 18px no-repeat !important;
}
html body .platform-header .bitclac-main-nav a,
html body .site-header .bitclac-main-nav a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
/* /BitClac v131 stronger menu icons */

/* BitClac v132 static cards */
html body .tools-master-link,
html body .tools-master-link.trading,
html body .tools-master-link.investing,
html body .master-product-card,
html body .master-product-card.master-card-trading,
html body .master-product-card.master-card-investing,
html body .tool-filter-card,
html body .article-card,
html body .hub-tool-card,
html body .hub-guide-link,
html body .hub-scenario-card,
html body .exchange-link-card,
html body .home-hub-card {
  border-color: #333842 !important;
  background: #202329 !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
html body .tools-master-link:hover,
html body .tools-master-link:focus-visible,
html body .tools-master-link.trading:hover,
html body .tools-master-link.trading:focus-visible,
html body .tools-master-link.investing:hover,
html body .tools-master-link.investing:focus-visible,
html body .master-product-card:hover,
html body .master-product-card:focus-visible,
html body .master-product-card[data-card-link]:hover,
html body .master-product-card[data-card-link]:focus-visible,
html body .tool-filter-card:hover,
html body .article-card:hover,
html body .hub-tool-card:hover,
html body .hub-guide-link:hover,
html body .hub-scenario-card:hover,
html body .exchange-link-card:hover,
html body .home-hub-card:hover {
  border-color: #333842 !important;
  background: #202329 !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  outline: none !important;
}
html body .tools-master-link:hover .tools-master-visual,
html body .tools-master-link:focus-visible .tools-master-visual,
html body .master-product-card:hover .master-visual,
html body .master-product-card:focus-visible .master-visual {
  transform: none !important;
  box-shadow: none !important;
  background: #202329 !important;
}
/* /BitClac v132 static cards */


/* BitClac v133 menu, account intents, cleaner panels */
body .bitclac-main-nav a[href="/account.html?mode=signin&intent=futures"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 18h18%27/%3E%3Cpath d=%27M5 15l4-5 4 3 6-8%27/%3E%3Cpath d=%27M16 5h3v3%27/%3E%3Cpath d=%27M7 21l2-3%27/%3E%3Cpath d=%27M17 21l-2-3%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/account.html?mode=signin&intent=futures-pnl"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 4h14v16H5z%27/%3E%3Cpath d=%27M8 9h8%27/%3E%3Cpath d=%27M8 13h3%27/%3E%3Cpath d=%27M14 17l2-2 2 2%27/%3E%3C/svg%3E"); }
body .bitclac-main-nav a[href="/account.html?mode=signin&intent=spot"] { --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 7h16v11H4z%27/%3E%3Cpath d=%27M7 7V5h10v2%27/%3E%3Ccircle cx=%2716%27 cy=%2712.5%27 r=%271.5%27/%3E%3C/svg%3E"); }

body[data-page="about"] .ads-cta,
body[data-page="about"] .seo-faq,
body[data-page="contact"] .ads-cta,
body[data-page="contact"] .seo-faq {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

body[data-page="about"] .ads-cta h2,
body[data-page="about"] .seo-faq h2,
body[data-page="contact"] .ads-cta h2,
body[data-page="contact"] .seo-faq h2 {
  margin: 0 0 14px !important;
}

body[data-page="about"] .ads-cta-grid,
body[data-page="contact"] .ads-cta-grid {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  gap: 12px !important;
}

body[data-page="about"] .ads-cta-grid .btn,
body[data-page="contact"] .ads-cta-grid .btn {
  min-height: 48px;
  justify-content: center;
}

.home-control-showcase {
  display: grid !important;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  gap: 16px !important;
  overflow: hidden !important;
}

.home-control-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #343a44;
  border-radius: 16px;
  background: #22262d;
}

.home-control-top > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-control-top strong,
.home-control-core strong,
.home-control-node strong {
  color: #f5f7fb;
}

.home-control-top small,
.home-control-core small,
.home-control-node span {
  color: #aeb6c2;
}

.home-control-stage {
  position: relative;
  min-height: 292px;
  border: 1px solid #343a44;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .16), transparent 26%),
    #202329;
  overflow: hidden;
}

.home-control-ring {
  position: absolute;
  inset: 50%;
  width: 210px;
  height: 210px;
  margin: -105px 0 0 -105px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 50%;
}

.home-control-ring.ring-two {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  opacity: .55;
}

.home-control-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  margin: -69px 0 0 -69px;
  border: 1px solid #3a414d;
  border-radius: 50%;
  background: #080d18;
  box-shadow: 0 20px 60px rgba(2, 6, 23, .34);
  text-align: center;
}

.home-control-core span {
  color: #8ec5ff;
  font-weight: 800;
}

.home-control-core strong {
  font-size: 26px;
}

.home-control-node {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid #3a414d;
  border-radius: 16px;
  background: rgba(37, 42, 50, .94);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .24);
}

.home-control-node.node-spot { left: 24px; top: 30px; }
.home-control-node.node-futures { right: 24px; top: 40px; }
.home-control-node.node-pnl { right: 34px; bottom: 42px; }
.home-control-node.node-risk { left: 34px; bottom: 38px; }

.home-control-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
}

.home-control-lines path:first-child {
  stroke: #31c8e8;
  stroke-width: 7;
  stroke-linecap: round;
}

.home-control-lines path:last-child {
  stroke: #f59e0b;
  stroke-width: 4;
  stroke-dasharray: 12 10;
  stroke-linecap: round;
}

.home-control-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-control-flow span {
  padding: 10px 8px;
  border: 1px solid #343a44;
  border-radius: 14px;
  background: #22262d;
  color: #dbe2ea;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.master-page .master-hero {
  align-items: stretch !important;
}

.master-page .master-visual {
  display: grid !important;
  grid-template-rows: minmax(220px, auto) auto auto !important;
  align-content: center !important;
  gap: 16px !important;
  min-height: 0 !important;
  padding: clamp(18px, 2.4vw, 26px) !important;
  overflow: hidden !important;
}

.master-page .master-visual svg {
  width: 100% !important;
  max-width: 430px !important;
  justify-self: center !important;
}

.master-page .visual-stats.master-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 !important;
  gap: 10px !important;
}

.master-page .visual-stats.master-hero-stats span {
  min-height: 64px !important;
  border-radius: 14px !important;
  background: #0b1020 !important;
}

.master-visual-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #343a44;
  border-radius: 16px;
  background: #22262d;
}

.master-visual-summary strong {
  color: #f5f7fb;
  font-size: 16px;
}

.master-visual-summary span {
  color: #aeb6c2;
  font-size: 13px;
  text-align: right;
}

@media (max-width: 760px) {
  .home-control-stage {
    min-height: 360px;
  }
  .home-control-node {
    min-width: 104px;
  }
  .home-control-node.node-spot { left: 14px; top: 18px; }
  .home-control-node.node-futures { right: 14px; top: 62px; }
  .home-control-node.node-pnl { right: 18px; bottom: 28px; }
  .home-control-node.node-risk { left: 18px; bottom: 70px; }
  .home-control-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .master-page .visual-stats.master-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .master-visual-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .master-visual-summary span {
    text-align: left;
  }
}


/* BitClac v133 compact master hero visual */
.master-page .master-hero .master-visual {
  align-self: center !important;
  width: 100% !important;
}

@media (min-width: 901px) {
  .master-page .master-hero .master-visual {
    max-height: 540px !important;
  }
}

/* BitClac v134 calm cards, menu, MEXC and account intents */
.account-dashboard.is-intent-dashboard .account-hero-card,
.account-dashboard.is-intent-dashboard .account-stat-grid,
.account-dashboard.is-intent-dashboard .account-tabs {
  display: none !important;
}

.account-dashboard.is-intent-dashboard {
  padding-top: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body .site-header .bitclac-main-nav a.active,
html body .platform-header .bitclac-main-nav a.active,
html body .site-header .bitclac-main-nav a[aria-current="page"],
html body .platform-header .bitclac-main-nav a[aria-current="page"],
html body[data-page="home"] .bitclac-main-nav a:nth-child(1),
html body[data-page="home"] .bitclac-main-nav a:nth-child(2),
html body[data-page="home"] .bitclac-main-nav a:nth-child(2):hover,
html body[data-page="home"] .bitclac-main-nav a:nth-child(2):focus-visible {
  background: #2b3038 !important;
  background-image: none !important;
  border-color: transparent !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

html body .site-header .bitclac-main-nav a:not(.active):not([aria-current="page"]),
html body .platform-header .bitclac-main-nav a:not(.active):not([aria-current="page"]) {
  box-shadow: none !important;
  text-shadow: none !important;
}

html body .site-header .bitclac-main-nav a:hover,
html body .site-header .bitclac-main-nav a:focus-visible,
html body .platform-header .bitclac-main-nav a:hover,
html body .platform-header .bitclac-main-nav a:focus-visible {
  background: #303640 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

html body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .account-login-button, .account-reset-button, .ads-cta-grid .btn, .context-links a, .guide-related a, .related-materials a, .hub-panel .btn) {
  background: #2b3038 !important;
  background-image: none !important;
  border-color: #454c58 !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .account-login-button, .account-reset-button, .ads-cta-grid .btn, .context-links a, .guide-related a, .related-materials a, .hub-panel .btn):hover,
html body :where(.btn, .btn.primary, .btn-primary, button, .home-hub-cta, .home-master-button, .home-account-mini-cta, .master-cta, .tools-master-cta, .card-open-btn, .mexc-affiliate-btn, .calculator-submit, .account-login-button, .account-reset-button, .ads-cta-grid .btn, .context-links a, .guide-related a, .related-materials a, .hub-panel .btn):focus-visible {
  background: #39404b !important;
  background-image: none !important;
  border-color: #687080 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

html body :where(.tool-tile > b, .platform-tool-grid .tool-tile > b, .home-hub-card > b) {
  display: none !important;
}

html body :where(.card, .info-tile, .faq-item, .recent-item, .hub-panel, .hub-tool-card, .hub-guide-link, .hub-scenario-card, .trust-grid article, .capability-card, .proof-grid article, .tool-tile, .tool-filter-card, .article-card, .master-product-card, .tools-master-link, .exchange-card, .exchange-faq-item, .home-hub-card, .master-choice-card, .mexc-home-banner, .mexc-next-step, .exchange-hero):hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  border-color: var(--bc-panel-line, #343a44) !important;
}

html body :where(.card:hover::before, .card:hover::after, .hub-panel:hover::before, .hub-panel:hover::after, .hub-tool-card:hover::before, .hub-tool-card:hover::after, .tool-tile:hover::before, .tool-tile:hover::after, .article-card:hover::before, .article-card:hover::after, .home-hub-card:hover::before, .home-hub-card:hover::after, .mexc-next-step:hover::before, .mexc-next-step:hover::after) {
  opacity: 0 !important;
}

body[data-page="calculators"] :where(.tools-filter-hero, .hub-panel, .tools-master-link, .tool-filter-card),
body[data-page="tools"] :where(.tools-filter-hero, .hub-panel, .tools-master-link, .tool-filter-card) {
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
}

html body :where(.seo-faq, .ads-cta, .editorial-note, .context-links, .guide-related, .related-materials, .methodology-section, .quality-check, .quality-check-advanced, .trust-section) {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body :where(.seo-faq h2, .ads-cta h2, .editorial-note h2, .context-links h2, .guide-related h2, .related-materials h2, .methodology-section h2, .quality-check h2, .quality-check-advanced h2, .trust-section h2) {
  margin-top: 0 !important;
}

html body :where(.bc-promo-visual, .mexc-home-media.bc-promo-visual, .exchange-hero-media.bc-promo-visual, .mexc-next-step-media.bc-promo-visual) {
  min-width: 0 !important;
  overflow: visible !important;
}

html body :where(.bc-promo-stage, .bc-promo-stage--simple) {
  width: min(100%, 440px) !important;
  max-width: 100% !important;
  overflow: visible !important;
  background: #202329 !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body :where(.bc-promo-stage::before, .bc-promo-stage::after, .bc-promo-stage--simple::before, .bc-promo-stage--simple::after) {
  content: none !important;
  display: none !important;
}

html body :where(.bc-promo-benefits, .bc-promo-stage--simple .bc-promo-benefits) {
  width: min(100%, 340px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}

html body :where(.bc-promo-card, .bc-promo-stage--simple .bc-promo-card) {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 34px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
  overflow: visible !important;
  text-align: left !important;
}

html body :where(.bc-promo-card b, .bc-promo-stage--simple .bc-promo-card b) {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  overflow: visible !important;
  font-size: clamp(11px, 2.6cqw, 15px) !important;
  line-height: 1.18 !important;
}

html body :where(.bc-promo-title, .bc-promo-stage--simple .bc-promo-title) {
  overflow: visible !important;
  white-space: nowrap !important;
  font-size: clamp(30px, 10cqw, 48px) !important;
  line-height: 1 !important;
  padding: 0 0 4px !important;
}

html body :where(.bc-promo-chips, .bc-promo-stage--simple .bc-promo-chips) {
  max-width: 100% !important;
  overflow: visible !important;
}

html body :where(.mexc-next-step, .exchange-hero, .mexc-home-banner) {
  background: #202329 !important;
  background-image: none !important;
  box-shadow: none !important;
}
/* /BitClac v134 calm cards, menu, MEXC and account intents */

/* BitClac v134 menu active refine */
html body[data-page="home"] .bitclac-main-nav a:nth-child(2):not(.active):not([aria-current="page"]):not(:hover):not(:focus-visible),
html body[data-page="home"] .bitclac-main-nav a:nth-child(3):not(.active):not([aria-current="page"]):not(:hover):not(:focus-visible),
html body[data-page="home"] .bitclac-main-nav a:nth-child(4):not(.active):not([aria-current="page"]):not(:hover):not(:focus-visible) {
  background: transparent !important;
  background-image: none !important;
  color: #c9ced6 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body :where(.mobile-bottom-nav__item--primary, .mobile-bottom-nav__item--primary:hover, .mobile-bottom-nav__item--primary:focus-visible) {
  background: #2b3038 !important;
  background-image: none !important;
  border-color: #454c58 !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
}
/* /BitClac v134 menu active refine */

/* BitClac v134 specificity fix */
html body .seo-faq,
html body .ads-cta,
html body .editorial-note,
html body .context-links,
html body .guide-related,
html body .related-materials,
html body .methodology-section,
html body .quality-check,
html body .quality-check-advanced,
html body .trust-section {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body .btn,
html body .btn.primary,
html body .btn-primary,
html body button,
html body .home-hub-cta,
html body .home-master-button,
html body .home-account-mini-cta,
html body .master-cta,
html body .tools-master-cta,
html body .card-open-btn,
html body .mexc-affiliate-btn,
html body .calculator-submit,
html body .account-login-button,
html body .account-reset-button,
html body .ads-cta-grid .btn,
html body .context-links a,
html body .guide-related a,
html body .related-materials a,
html body .hub-panel .btn,
html body .mobile-bottom-nav__item--primary,
html body[data-page="home"] .btn.primary,
html body[data-page="home"] .btn-primary,
html body[data-page="home"] .calculator-submit,
html body[data-page="home"] .mexc-affiliate-btn,
html body[data-page="home"] .home-account-mini-cta,
html body[data-page="home"] .subscribe-form button {
  background: #2b3038 !important;
  background-image: none !important;
  border-color: #454c58 !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html body .btn:hover,
html body .btn.primary:hover,
html body .btn-primary:hover,
html body button:hover,
html body .home-hub-cta:hover,
html body .home-master-button:hover,
html body .home-account-mini-cta:hover,
html body .master-cta:hover,
html body .tools-master-cta:hover,
html body .card-open-btn:hover,
html body .mexc-affiliate-btn:hover,
html body .calculator-submit:hover,
html body .account-login-button:hover,
html body .account-reset-button:hover,
html body .ads-cta-grid .btn:hover,
html body .context-links a:hover,
html body .guide-related a:hover,
html body .related-materials a:hover,
html body .hub-panel .btn:hover,
html body .mobile-bottom-nav__item--primary:hover {
  background: #39404b !important;
  background-image: none !important;
  border-color: #687080 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

html body .card:hover,
html body .info-tile:hover,
html body .faq-item:hover,
html body .recent-item:hover,
html body .hub-panel:hover,
html body .hub-tool-card:hover,
html body .hub-guide-link:hover,
html body .hub-scenario-card:hover,
html body .trust-grid article:hover,
html body .capability-card:hover,
html body .proof-grid article:hover,
html body .tool-tile:hover,
html body .tool-filter-card:hover,
html body .article-card:hover,
html body .master-product-card:hover,
html body .tools-master-link:hover,
html body .exchange-card:hover,
html body .exchange-faq-item:hover,
html body .home-hub-card:hover,
html body .master-choice-card:hover,
html body .mexc-home-banner:hover,
html body .mexc-next-step:hover,
html body .exchange-hero:hover,
html body .trader-tool-card:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  border-color: #343a44 !important;
}

html body .tool-tile > b,
html body .platform-tool-grid .tool-tile > b,
html body .home-hub-card > b {
  display: none !important;
}
/* /BitClac v134 specificity fix */



/* BitClac v135 final remaining polish */
html body .bitclac-main-nav a.active,
html body .bitclac-main-nav a[aria-current="page"] {
  background: #2b3038 !important;
  background-image: none !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
}

html body .master-cta,
html body .master-cta.invest,
html body .tools-master-cta,
html body .tools-master-link.investing .tools-master-cta,
html body .learn-next-button-v6,
html body .hub-scenario-card a,
html body .context-links a,
html body .context-button-row a,
html body .guide-related a,
html body .related-materials a,
html body .ads-cta-grid a,
html body .mexc-affiliate-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  border: 1px solid #454b55 !important;
  background: #2b3038 !important;
  background-image: none !important;
  color: #f4f5f7 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  transform: none !important;
  filter: none !important;
}

html body .master-cta:hover,
html body .master-cta.invest:hover,
html body .tools-master-cta:hover,
html body .tools-master-link.investing .tools-master-cta:hover,
html body .learn-next-button-v6:hover,
html body .hub-scenario-card a:hover,
html body .context-links a:hover,
html body .context-button-row a:hover,
html body .guide-related a:hover,
html body .related-materials a:hover,
html body .ads-cta-grid a:hover,
html body .mexc-affiliate-btn:hover,
html body .master-cta:focus-visible,
html body .tools-master-cta:focus-visible,
html body .learn-next-button-v6:focus-visible,
html body .hub-scenario-card a:focus-visible,
html body .context-links a:focus-visible,
html body .mexc-affiliate-btn:focus-visible {
  background: #39404b !important;
  background-image: none !important;
  border-color: #5a626f !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .tools-master-link,
html body .tools-master-link:hover,
html body .tools-master-link:focus-visible,
html body .master-product-card,
html body .master-product-card:hover,
html body .master-product-card:focus-visible,
html body .hub-scenario-card,
html body .hub-scenario-card:hover,
html body .hub-scenario-card:focus-visible {
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .tools-master-visual,
html body .tools-master-link:hover .tools-master-visual,
html body .tools-master-link:focus-visible .tools-master-visual,
html body .master-product-card .master-visual,
html body .master-product-card:hover .master-visual,
html body .master-product-card:focus-visible .master-visual,
html body .master-page .master-visual,
html body .master-page .master-visual:hover {
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

html body .master-page .master-visual text,
html body .master-product-card .master-visual text,
html body .tools-master-visual text {
  display: none !important;
}

html body .master-page .master-visual svg,
html body .master-product-card .master-visual svg,
html body .tools-master-visual svg {
  width: 100% !important;
  max-width: 430px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  overflow: visible !important;
}

html body .master-page .visual-stats.master-hero-stats {
  position: static !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body .master-page .visual-stats.master-hero-stats span {
  min-width: 0 !important;
  min-height: 70px !important;
  padding: 11px 12px !important;
  background: #111722 !important;
  border: 1px solid #29313c !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

html body .master-page .visual-stats.master-hero-stats b {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  color: #f4f5f7 !important;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.08 !important;
}

html body .master-visual-summary {
  background: #202329 !important;
  background-image: none !important;
  border: 1px solid #343a44 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

html body .bc-promo-visual,
html body .mexc-home-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual,
html body .mexc-next-step-media.bc-promo-visual {
  display: grid !important;
  place-items: center !important;
  min-width: 0 !important;
  min-height: 280px !important;
  height: auto !important;
  padding: 16px !important;
  overflow: visible !important;
  background: #202329 !important;
  background-image: none !important;
  border: 1px solid #343a44 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

html body .mexc-next-step-media.bc-promo-visual {
  max-width: 460px !important;
  justify-self: center !important;
  aspect-ratio: auto !important;
}

html body .bc-promo-stage,
html body .bc-promo-stage--simple {
  box-sizing: border-box !important;
  position: relative !important;
  width: min(100%, 360px) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  overflow: visible !important;
  background: #242830 !important;
  background-image: none !important;
  border: 1px solid #343a44 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

html body .bc-promo-stage *,
html body .bc-promo-stage--simple * {
  box-sizing: border-box !important;
}

html body .bc-promo-stage::before,
html body .bc-promo-stage::after,
html body .bc-promo-stage--simple::before,
html body .bc-promo-stage--simple::after {
  content: none !important;
  display: none !important;
}

html body .bc-promo-stage--simple .bc-promo-brand,
html body .bc-promo-brand {
  position: static !important;
  z-index: 1 !important;
  width: 100% !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .bc-promo-title,
html body .bc-promo-stage--simple .bc-promo-title,
html body .platform-home .mexc-home-media .bc-promo-stage--simple .bc-promo-title {
  position: static !important;
  z-index: 1 !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f7f8fa !important;
  font-size: 34px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  transform: none !important;
  text-shadow: 0 0 14px rgba(255, 255, 255, .18) !important;
}

html body .bc-promo-benefits,
html body .bc-promo-stage--simple .bc-promo-benefits {
  position: static !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body .bc-promo-card,
html body .bc-promo-stage--simple .bc-promo-card {
  position: relative !important;
  width: 100% !important;
  min-height: 36px !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: start !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  overflow: visible !important;
  background: #202329 !important;
  background-image: none !important;
  border: 1px solid #3a414b !important;
  box-shadow: none !important;
}

html body .bc-promo-check,
html body .bc-promo-stage--simple .bc-promo-check {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex: 0 0 22px !important;
  background: #59616d !important;
  color: #fff !important;
}

html body .bc-promo-card b,
html body .bc-promo-stage--simple .bc-promo-card b {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  color: #f4f5f7 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html body .bc-promo-chips,
html body .bc-promo-stage--simple .bc-promo-chips {
  position: static !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body .bc-promo-chips span,
html body .bc-promo-stage--simple .bc-promo-chips span {
  flex: 0 0 auto !important;
  min-height: 22px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  border: 1px solid #3a414b !important;
  background: #202329 !important;
  color: #f4f5f7 !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

html body[data-page="favorites"] .tools-filter-hero.favorite-page,
html body[data-page="favorites"] .favorite-empty,
html body[data-page="favorites"] .favorite-card,
html body[data-page="favorites"] .tool-filter-card {
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
}

html body[data-page="favorites"] .tools-filter-hero.favorite-page {
  border-radius: 8px !important;
  padding: clamp(24px, 4vw, 42px) !important;
}

html body .context-links {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body .context-links-copy {
  margin: 0 0 14px !important;
  color: #aeb6c2 !important;
  line-height: 1.6 !important;
}

html body .context-button-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

@media (max-width: 760px) {
  html body .master-page .visual-stats.master-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html body .bc-promo-visual,
  html body .mexc-home-media.bc-promo-visual,
  html body .exchange-hero-media.bc-promo-visual,
  html body .mexc-next-step-media.bc-promo-visual {
    min-height: 250px !important;
    padding: 12px !important;
  }
  html body .bc-promo-stage,
  html body .bc-promo-stage--simple {
    width: 100% !important;
    padding: 14px !important;
  }
  html body .bc-promo-title,
  html body .bc-promo-stage--simple .bc-promo-title {
    font-size: 30px !important;
  }
}
/* /BitClac v135 final remaining polish */


/* BitClac v136 market board, stable MEXC and button wrapping */
html body .bc-promo-stage--stable {
  width: min(100%, 430px) !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  display: grid !important;
  gap: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  background: #202329 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
html body .bc-promo-stage--stable::before,
html body .bc-promo-stage--stable::after { content: none !important; }
html body .bc-promo-logo-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-width: 0 !important;
}
html body .bc-promo-logo-row .bc-promo-title {
  margin: 0 !important;
  font-size: clamp(38px, 6vw, 56px) !important;
  line-height: .9 !important;
  letter-spacing: 0 !important;
  color: #f4f5f7 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}
html body .bc-promo-logo-row span {
  color: #aeb7c5 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
html body .bc-promo-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
html body .bc-promo-metrics div {
  min-width: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 12px !important;
  background: #171a20 !important;
}
html body .bc-promo-metrics small,
html body .bc-promo-metrics b {
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
html body .bc-promo-metrics small {
  color: #9ca7b5 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
html body .bc-promo-metrics b {
  color: #f4f5f7 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
}
html body .bc-promo-market-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
html body .bc-promo-market-row span {
  padding: 6px 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  background: #15181d !important;
  color: #d7dde6 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
html body .mexc-home-media.bc-promo-visual {
  min-height: clamp(330px, 34vw, 460px) !important;
  overflow: visible !important;
}
html body .mexc-home-media .bc-promo-stage--stable {
  width: min(100%, 560px) !important;
  padding: clamp(20px, 3vw, 30px) !important;
  gap: clamp(14px, 2vw, 18px) !important;
}
html body .mexc-home-media .bc-promo-logo-row .bc-promo-title {
  font-size: clamp(54px, 8vw, 82px) !important;
}
html body .mexc-home-media .bc-promo-metrics div { padding: 14px !important; }
html body .mexc-next-step-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual {
  min-height: 300px !important;
  overflow: visible !important;
}
html body .mexc-next-step-media .bc-promo-stage--stable,
html body .exchange-hero-media .bc-promo-stage--stable {
  width: min(100%, 440px) !important;
}
html body .home-market-board {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  background: #1b1d22;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
html body .home-market-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .95fr);
  gap: 14px;
}
html body .home-market-card {
  min-width: 0;
  border-radius: 16px;
  background: #15171b;
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 16px;
  color: #f4f5f7;
}
html body .home-market-card-head,
html body .home-market-price-row,
html body .home-market-tabs,
html body .home-market-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
html body .home-market-card-head,
html body .home-market-price-row,
html body .home-market-tabs { justify-content: space-between; }
html body .home-market-card-head span,
html body .home-market-row small,
html body .home-market-price-row small {
  color: #ff5f72;
  font-weight: 800;
}
html body .home-market-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px;
}
html body .home-market-price-row strong {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}
html body .home-market-chart {
  width: 100%;
  height: 74px;
  margin-top: 4px;
}
html body .home-market-chart path {
  fill: none;
  stroke: #f0a500;
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 18px rgba(240, 165, 0, .2));
}
html body .home-market-months,
html body .home-market-list { display: grid; gap: 11px; }
html body .home-market-months {
  grid-template-columns: repeat(5, 1fr);
  color: #d7dde6;
  font-size: 12px;
  font-weight: 800;
}
html body .home-market-side h3 { margin: 0 0 16px; }
html body .home-market-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
}
html body .home-market-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body .home-market-row span:not(.home-market-coin) { font-weight: 800; }
html body .home-market-tabs { margin-bottom: 14px; }
html body .home-market-tabs span {
  color: #7f8794;
  font-weight: 800;
}
html body .home-market-tabs a {
  color: #cbd3df;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
html body .home-market-coin {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: #384152;
}
html body .home-market-coin-gold,
html body .home-market-coin-yellow { background: #d1971d; }
html body .home-market-coin-blue { background: #2d7dd2; }
html body .home-market-coin-euro { background: #1d75d8; }
html body .home-market-coin-btc { background: #f5a400; }
html body .home-market-coin-eth { background: #22252d; }
html body .home-market-coin-sol { background: linear-gradient(135deg, #30d5c8, #7b61ff); }
html body .context-button-row,
html body .ads-cta-grid,
html body .quick-nav,
html body .home-secondary-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
html body .context-button-row > *,
html body .ads-cta-grid > *,
html body .quick-nav > *,
html body .home-secondary-links > * {
  flex: 1 1 180px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}
@media (max-width: 760px) {
  html body .home-market-board { padding: 14px; }
  html body .home-market-top { grid-template-columns: 1fr; }
  html body .bc-promo-metrics { grid-template-columns: 1fr !important; }
  html body .mexc-home-media .bc-promo-logo-row .bc-promo-title {
    font-size: clamp(42px, 14vw, 58px) !important;
  }
}


/* BitClac v136c: give the homepage MEXC visual enough room. */
html body .mexc-home-banner {
  grid-template-columns: minmax(280px, .82fr) minmax(430px, 1.18fr) !important;
  align-items: center !important;
}

html body .mexc-home-media {
  justify-content: center !important;
}

html body .mexc-home-media .bc-promo-stage--stable {
  width: min(100%, 560px) !important;
}

@media (max-width: 980px) {
  html body .mexc-home-banner {
    grid-template-columns: 1fr !important;
  }

  html body .mexc-home-media .bc-promo-stage--stable {
    max-width: 560px !important;
  }
}


/* BitClac v137 workspace board and calm MEXC */
html body .home-market-board {
  display: none !important;
}

html body .home-workspace-board {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #1d2026;
  border: 1px solid #343a44;
  color: #f4f5f7;
}

html body .home-workspace-head,
html body .home-workspace-card-head,
html body .home-workspace-row,
html body .home-workspace-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

html body .home-workspace-head {
  justify-content: space-between;
}

html body .home-workspace-head span,
html body .home-workspace-card span,
html body .home-workspace-row span,
html body .home-workspace-card small {
  color: #aeb7c5;
}

html body .home-workspace-head strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

html body .home-workspace-head a,
html body .home-workspace-actions a {
  color: #f4f5f7;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid #444b57;
  border-radius: 10px;
  background: #2a2f38;
}

html body .home-workspace-head a {
  padding: 10px 14px;
}

html body .home-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr);
  gap: 12px;
}

html body .home-workspace-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: #15181d;
  border: 1px solid #2f3540;
}

html body .home-workspace-main {
  grid-row: span 3;
  gap: 12px;
}

html body .home-workspace-card-head {
  justify-content: space-between;
}

html body .home-workspace-card-head b {
  color: #6ee7a8;
  font-size: 12px;
}

html body .home-workspace-value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

html body .home-workspace-value strong,
html body .home-workspace-card > strong {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

html body .home-workspace-bars {
  display: grid;
  gap: 8px;
  margin: 4px 0;
}

html body .home-workspace-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ee7a8, #7aa2ff);
}

html body .home-workspace-row {
  justify-content: space-between;
  border-top: 1px solid #2f3540;
  padding-top: 10px;
}

html body .home-workspace-actions {
  flex-wrap: wrap;
}

html body .home-workspace-actions a {
  flex: 1 1 160px;
  min-width: 0;
  padding: 10px 12px;
  text-align: center;
}

html body .home-workspace-board .is-positive {
  color: #6ee7a8 !important;
}

html body .home-workspace-board .is-negative {
  color: #ff8f9a !important;
}

html body .mexc-next-step,
html body .mexc-home-banner,
html body .exchange-hero {
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
}

html body .mexc-next-step {
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .9fr) !important;
  align-items: center !important;
  gap: 24px !important;
  padding: clamp(18px, 3vw, 28px) !important;
}

html body .mexc-next-step-media,
html body .mexc-home-media,
html body .exchange-hero-media,
html body .mexc-next-step-media.bc-promo-visual,
html body .mexc-home-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  min-height: 360px !important;
}

html body .mexc-next-step-media::after,
html body .mexc-home-media::after,
html body .exchange-hero-media::after {
  content: none !important;
}

html body .mexc-next-step .bc-promo-stage--stable,
html body .mexc-home-media .bc-promo-stage--stable,
html body .exchange-hero-media .bc-promo-stage--stable {
  width: min(100%, 620px) !important;
  padding: clamp(22px, 3vw, 34px) !important;
}

html body .mexc-next-step .bc-promo-logo-row .bc-promo-title,
html body .mexc-home-media .bc-promo-logo-row .bc-promo-title,
html body .exchange-hero-media .bc-promo-logo-row .bc-promo-title {
  font-size: clamp(58px, 8vw, 92px) !important;
}

html body .mexc-next-step .bc-promo-metrics div,
html body .mexc-home-media .bc-promo-metrics div,
html body .exchange-hero-media .bc-promo-metrics div {
  padding: 14px !important;
}

html body .mexc-next-step-copy {
  margin-top: 16px;
}

html body .mexc-next-step-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 32px);
}

html body .mexc-next-step-copy p {
  margin: 0;
  color: #c5ccd6;
  line-height: 1.55;
}

html body .mexc-next-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

html body .mexc-next-benefits li {
  border: 1px solid #3a414d;
  border-radius: 999px;
  background: #252a32;
  padding: 8px 10px;
  color: #e8edf5;
  font-size: 13px;
  font-weight: 800;
}

html body .exchange-hero {
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr) !important;
}

html body .exchange-hero-media.bc-promo-visual {
  min-height: 430px !important;
}

@media (max-width: 980px) {
  html body .home-workspace-grid,
  html body .mexc-next-step,
  html body .exchange-hero {
    grid-template-columns: 1fr !important;
  }

  html body .home-workspace-main {
    grid-row: auto;
  }

  html body .mexc-next-step-media,
  html body .mexc-home-media,
  html body .exchange-hero-media,
  html body .mexc-next-step-media.bc-promo-visual,
  html body .mexc-home-media.bc-promo-visual,
  html body .exchange-hero-media.bc-promo-visual {
    min-height: 280px !important;
  }
}


/* BitClac v138 static capability cards and restored MEXC visual */
html body[data-page="home"] .capability-card {
  cursor: default !important;
  text-decoration: none !important;
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
  transform: none !important;
}

html body[data-page="home"] .capability-card:hover,
html body[data-page="home"] .capability-card:focus-visible {
  background: #202329 !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
  transform: none !important;
}

html body[data-page="home"] .capability-card::before,
html body[data-page="home"] .capability-card::after {
  content: none !important;
  display: none !important;
}

html body[data-page="home"] .capability-card ul {
  display: none !important;
}

html body[data-page="home"] .capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

html body[data-page="home"] .capability-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #3d434d;
  border-radius: 999px;
  background: #252932;
  color: #d9dde5;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

html body .bc-promo-stage--simple {
  width: min(100%, 440px) !important;
  min-height: 300px !important;
  height: auto !important;
  padding: clamp(18px, 3vw, 28px) !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(34, 211, 238, .18), transparent 32%),
    linear-gradient(180deg, #242830, #202329) !important;
  border: 1px solid #343a44 !important;
}

html body .bc-promo-stage--simple .bc-promo-title {
  font-size: clamp(48px, 9vw, 72px) !important;
  line-height: .92 !important;
  letter-spacing: 0 !important;
  overflow: visible !important;
}

html body .bc-promo-stage--simple .bc-promo-benefits {
  width: min(100%, 360px) !important;
  display: grid !important;
  gap: 8px !important;
}

html body .bc-promo-stage--simple .bc-promo-card {
  min-height: 42px !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  background: #202329 !important;
  border-color: #3a414d !important;
}

html body .bc-promo-stage--simple .bc-promo-card b {
  font-size: clamp(12px, 2vw, 14px) !important;
  line-height: 1.22 !important;
}

html body .bc-promo-stage--simple .bc-promo-check {
  background: #59616d !important;
  color: #fff !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step {
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr) !important;
  align-items: start !important;
  gap: 22px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual {
  min-height: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
  width: min(100%, 420px) !important;
  min-height: 300px !important;
}

@media (max-width: 860px) {
  html body.master-body .master-page .master-workspace > .mexc-next-step {
    grid-template-columns: 1fr !important;
  }
}
/* /BitClac v138 static capability cards and restored MEXC visual */


/* BitClac v139 static MEXC fit */
html body .mexc-home-media .bc-promo-stage--simple,
html body .exchange-hero-media .bc-promo-stage--simple,
html body .mexc-next-step-media .bc-promo-stage--simple {
  width: min(100%, 500px) !important;
  min-height: 320px !important;
  overflow: hidden !important;
}

html body .mexc-home-media .bc-promo-stage--simple .bc-promo-title,
html body .exchange-hero-media .bc-promo-stage--simple .bc-promo-title,
html body .mexc-next-step-media .bc-promo-stage--simple .bc-promo-title {
  font-size: clamp(46px, 8vw, 74px) !important;
  line-height: .94 !important;
}

html body .mexc-home-media .bc-promo-stage--simple .bc-promo-benefits,
html body .exchange-hero-media .bc-promo-stage--simple .bc-promo-benefits,
html body .mexc-next-step-media .bc-promo-stage--simple .bc-promo-benefits {
  width: min(100%, 380px) !important;
}

html body .mexc-home-media .bc-promo-stage--simple .bc-promo-card b,
html body .exchange-hero-media .bc-promo-stage--simple .bc-promo-card b,
html body .mexc-next-step-media .bc-promo-stage--simple .bc-promo-card b {
  font-size: clamp(12px, 1.8vw, 14px) !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  html body .mexc-home-media .bc-promo-stage--simple,
  html body .exchange-hero-media .bc-promo-stage--simple,
  html body .mexc-next-step-media .bc-promo-stage--simple {
    min-height: 300px !important;
  }
}
/* /BitClac v139 static MEXC fit */


/* BitClac v140 auth centering, home MEXC, footer */
html body.account-page .account-auth {
  text-align: center !important;
}

html body.account-page .account-auth .badge,
html body.account-page .account-auth h1,
html body.account-page .account-product-intro,
html body.account-page .account-product-intro h2,
html body.account-page .account-product-intro p {
  text-align: center !important;
}

html body.account-page .account-product-intro {
  max-width: 470px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body.account-page .account-intent-benefits {
  width: min(100%, 420px) !important;
  margin: 22px auto 0 !important;
  text-align: left !important;
}

html body.account-page .account-form label {
  text-align: left !important;
}

html body.account-page .account-message {
  max-width: 470px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body[data-page="home"] .mexc-home-banner {
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr) !important;
}

html body[data-page="home"] .mexc-home-media.bc-promo-visual {
  min-height: 430px !important;
  padding: clamp(16px, 3vw, 28px) !important;
}

html body[data-page="home"] .mexc-home-media .bc-promo-stage--simple {
  width: min(100%, 500px) !important;
  min-height: 320px !important;
}

html body .mexc-next-step-content--compact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 16px !important;
}

html body .mexc-next-step-copy {
  margin-top: 0 !important;
}

html body .mexc-next-step-content--compact .mexc-affiliate-btn {
  width: fit-content !important;
}

html body .home-workspace-head a:hover,
html body .home-workspace-actions a:hover,
html body .home-workspace-head a:focus-visible,
html body .home-workspace-actions a:focus-visible {
  background: #39404b !important;
  border-color: #687080 !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .20) !important;
  color: #fff !important;
}

html body .footer-bottom {
  text-align: center !important;
  line-height: 1.5 !important;
}

@media (max-width: 980px) {
  html body[data-page="home"] .mexc-home-banner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body .mexc-next-step-content--compact .mexc-affiliate-btn {
    width: 100% !important;
  }
}
/* /BitClac v140 auth centering, home MEXC, footer */


/* BitClac v141 visual contact scenarios */
html body[data-page="home"] .mexc-home-banner {
  align-items: center !important;
}

html body[data-page="home"] .mexc-home-media,
html body[data-page="home"] .mexc-home-media.bc-promo-visual {
  min-height: 360px !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body[data-page="home"] .mexc-home-media .bc-promo-stage--simple {
  width: min(100%, 500px) !important;
  min-height: 310px !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .12), transparent 34%),
    radial-gradient(circle at 58% 80%, rgba(45, 212, 191, .08), transparent 44%),
    #202329 !important;
  border-color: #3a414d !important;
  box-shadow:
    0 0 22px rgba(255, 255, 255, .045),
    0 0 42px rgba(45, 212, 191, .10) !important;
}

html body[data-page="home"] .mexc-home-media .bc-promo-title {
  text-shadow:
    0 0 14px rgba(255, 255, 255, .28),
    0 0 26px rgba(45, 212, 191, .12) !important;
}

html body.master-body .master-page .master-result-panel {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 30px) !important;
  padding: clamp(18px, 3vw, 28px) !important;
  overflow: hidden !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step[hidden] {
  display: none !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual {
  min-width: 0 !important;
  min-height: 300px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
  width: min(100%, 410px) !important;
  min-height: 280px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-content,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-copy {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-copy h3 {
  max-width: 760px !important;
  margin: 0 0 10px !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.08 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-copy p {
  max-width: 720px !important;
  margin: 0 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-benefits {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-benefits li {
  max-width: 100% !important;
  white-space: normal !important;
}

html body .contact-telegram-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  margin: 0 0 28px !important;
  padding: clamp(18px, 3vw, 26px) !important;
  background: #202329 !important;
  background-image: none !important;
  border: 1px solid #343a44 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

html body .contact-telegram-card h2 {
  margin: 0 0 8px !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.1 !important;
}

html body .contact-telegram-card p:not(.eyebrow) {
  max-width: 760px !important;
  margin: 0 !important;
  color: #b5becc !important;
  line-height: 1.6 !important;
}

html body .contact-telegram-card .btn {
  white-space: nowrap !important;
}

html body[data-page="home"] .home-scenarios-preview {
  padding: clamp(18px, 3vw, 26px) !important;
  background: #202329 !important;
  background-image: none !important;
  border-color: #343a44 !important;
  box-shadow: none !important;
}

html body[data-page="home"] .home-scenarios-preview .hub-panel-head {
  display: grid !important;
  grid-template-columns: minmax(260px, .86fr) minmax(300px, 1.14fr) !important;
  gap: 16px 28px !important;
  align-items: end !important;
  margin-bottom: 20px !important;
}

html body[data-page="home"] .home-scenarios-preview .hub-panel-head .eyebrow {
  grid-column: 1 !important;
  margin: 0 0 6px !important;
}

html body[data-page="home"] .home-scenarios-preview .hub-panel-head h2 {
  grid-column: 1 !important;
  margin: 0 !important;
  max-width: 520px !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.08 !important;
}

html body[data-page="home"] .home-scenarios-preview .hub-panel-head p:not(.eyebrow) {
  grid-column: 2 !important;
  max-width: 560px !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

html body[data-page="home"] .home-scenarios-preview .hub-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body[data-page="home"] .home-scenarios-preview .cta-row {
  justify-content: flex-start !important;
  margin-top: 16px !important;
}

html body[data-page="home"] .home-scenarios-preview .cta-row .btn {
  min-width: 156px !important;
}

@media (max-width: 900px) {
  html body.master-body .master-page .master-workspace > .mexc-next-step,
  html body .contact-telegram-card,
  html body[data-page="home"] .home-scenarios-preview .hub-panel-head {
    grid-template-columns: 1fr !important;
  }

  html body[data-page="home"] .home-scenarios-preview .hub-panel-head p:not(.eyebrow) {
    grid-column: 1 !important;
  }
}

@media (max-width: 720px) {
  html body[data-page="home"] .home-scenarios-preview .hub-tool-grid {
    grid-template-columns: 1fr !important;
  }

  html body .contact-telegram-card .btn {
    width: 100% !important;
  }
}
/* /BitClac v141 visual contact scenarios */


/* BitClac v143 live workspace and green MEXC checks */
html body .bc-promo-check,
html body .bc-promo-stage--simple .bc-promo-check,
html body .mexc-home-media .bc-promo-stage--simple .bc-promo-check,
html body .exchange-hero-media .bc-promo-stage--simple .bc-promo-check,
html body .mexc-next-step-media .bc-promo-stage--simple .bc-promo-check {
  background: #20c987 !important;
  color: #061711 !important;
  box-shadow: 0 0 16px rgba(32, 201, 135, .34) !important;
}

html body .mexc-next-step li::before,
html body .mexc-home-benefits li::before,
html body .exchange-benefit-list li::before,
html body .mexc-next-benefits li::before {
  color: #20c987 !important;
}

html body .home-workspace-board[data-home-workspace-status="live"] {
  border-color: #3f4652;
}

html body .home-workspace-board[data-home-workspace-status="live"] .home-workspace-head span::after {
  content: " обновлено";
  color: #6ee7a8;
}
/* /BitClac v143 live workspace and green MEXC checks */


/* BitClac v144 portfolio value, exchange heading and quiet master layout */
html body .home-workspace-grid {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

html body .home-workspace-main {
  grid-row: auto !important;
  min-height: 300px !important;
}

html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) {
  min-height: 92px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "label value"
    "hint value" !important;
  align-items: center !important;
  gap: 6px 18px !important;
}

html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) > span {
  grid-area: label !important;
}

html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) > strong {
  grid-area: value !important;
  justify-self: end !important;
  max-width: min(100%, 380px) !important;
  overflow-wrap: anywhere !important;
  text-align: right !important;
  font-size: clamp(28px, 4.4vw, 42px) !important;
  line-height: 1.02 !important;
}

html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) > small {
  grid-area: hint !important;
}

html body .home-workspace-value {
  gap: 14px !important;
}

html body .home-workspace-value strong {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body .home-workspace-value small {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

html body .exchange-hero.exchange-hero-v144 {
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr) !important;
  grid-template-areas:
    "title title"
    "media copy" !important;
  align-items: center !important;
  gap: clamp(22px, 4vw, 44px) !important;
}

html body .exchange-hero-v144 .exchange-hero-title {
  grid-area: title !important;
  max-width: 980px !important;
  margin: 0 auto 6px !important;
  text-align: center !important;
}

html body .exchange-hero-v144 .exchange-hero-title h1 {
  margin: 0 !important;
}

html body .exchange-hero-v144 .exchange-hero-media {
  grid-area: media !important;
}

html body .exchange-hero-v144 .exchange-hero-copy {
  grid-area: copy !important;
}

html body .exchange-hero-v144 .exchange-benefit-list,
html body .exchange-hero-v144 .exchange-cta-row {
  justify-content: flex-start !important;
}

html body.master-body .master-page .master-strategy-panel {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body.master-body .master-page .master-strategy-head {
  padding: 0 !important;
}

html body.master-body .master-page .master-strategy-chip {
  background: #202329 !important;
  border-color: #3a414b !important;
  color: #c7d0dc !important;
  box-shadow: none !important;
}

html body.master-body .master-page .master-strategy-chip.is-filled {
  background: #252a32 !important;
  border-color: #4a5260 !important;
  color: #f4f5f7 !important;
}

html body.master-body .master-page .master-live-hints {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body .mexc-next-step-media-wrap {
  min-width: 0 !important;
  display: grid !important;
  gap: 14px !important;
  align-content: start !important;
  justify-items: center !important;
}

html body .mexc-next-step-media-wrap .mexc-affiliate-btn {
  width: min(100%, 240px) !important;
  justify-content: center !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual {
  min-height: 300px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple {
  width: min(100%, 500px) !important;
}

html body[data-page="favorites"] .tools-filter-hero.favorite-page {
  text-align: center !important;
}

html body[data-page="favorites"] .tools-filter-hero.favorite-page .tools-filter-head {
  max-width: 820px !important;
  margin: 0 auto !important;
}

html body[data-page="favorites"] .favorite-actions {
  justify-content: center !important;
}

@media (max-width: 980px) {
  html body .exchange-hero.exchange-hero-v144 {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "media"
      "copy" !important;
  }
}

@media (max-width: 640px) {
  html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "label"
      "value"
      "hint" !important;
  }

  html body .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) > strong {
    justify-self: start !important;
    text-align: left !important;
  }
}
/* /BitClac v144 portfolio value, exchange heading and quiet master layout */


/* BitClac v144b home text sections without extra frames */
html body[data-page="home"] #faq.home-section,
html body[data-page="home"] .editorial-note {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: clamp(42px, 6vw, 72px) 0 !important;
}

html body[data-page="home"] #faq.home-section > h2,
html body[data-page="home"] .editorial-note > h2 {
  margin: 0 0 22px !important;
}

html body[data-page="home"] #faq .faq-grid,
html body[data-page="home"] .editorial-grid {
  gap: 26px 34px !important;
}

html body[data-page="home"] #faq .faq-item,
html body[data-page="home"] .editorial-grid article {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #2f3540 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0 20px !important;
}

html body[data-page="home"] #faq .faq-item h3,
html body[data-page="home"] .editorial-grid article h3 {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  html body[data-page="home"] #faq .faq-grid,
  html body[data-page="home"] .editorial-grid {
    grid-template-columns: 1fr !important;
  }
}
/* /BitClac v144b home text sections without extra frames */


/* BitClac v144c home FAQ and trust without frames */
html body[data-page="home"] #faq.home-section,
html body[data-page="home"] .editorial-note {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html body[data-page="home"] #faq .faq-grid,
html body[data-page="home"] .editorial-grid {
  display: grid !important;
  gap: 24px 36px !important;
}

html body[data-page="home"] #faq .faq-item,
html body[data-page="home"] .editorial-grid article {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html body[data-page="home"] #faq .faq-item h3,
html body[data-page="home"] .editorial-grid article h3 {
  margin: 0 0 8px !important;
}

html body[data-page="home"] #faq .faq-item p,
html body[data-page="home"] .editorial-grid article p {
  max-width: 62ch !important;
}
/* /BitClac v144c home FAQ and trust without frames */


/* BitClac v145 FAQ center and master cleanup */
html body[data-page="home"] #faq.home-section {
  width: min(100%, 1120px) !important;
  margin: clamp(42px, 6vw, 72px) auto !important;
}

html body[data-page="home"] #faq.home-section > h2 {
  text-align: center !important;
}

html body[data-page="home"] #faq .faq-grid {
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
}

html body[data-page="home"] #faq .faq-item {
  text-align: left !important;
}

html body[data-page="home"] #faq .faq-item p {
  max-width: 58ch !important;
}

html body.master-body .master-page .master-workspace {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html body.master-body .master-page .master-progress-wrap,
html body.master-body .master-page .master-progress-track {
  display: none !important;
}

html body.master-body .master-page .master-strategy-head {
  grid-template-columns: 1fr !important;
}

html body.master-body .master-page .master-form {
  background: var(--bc-panel, #202329) !important;
  background-image: none !important;
}

html body[data-page="calculators"] .tools-master-link .tools-master-cta,
html body[data-page="calculators"] .tools-master-link .card-open-btn,
html body[data-page="tools"] .tools-master-link .tools-master-cta,
html body[data-page="tools"] .tools-master-link .card-open-btn {
  width: 116px !important;
  min-width: 116px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 14px !important;
  background: #2b3038 !important;
  background-image: none !important;
  border: 1px solid #454c58 !important;
  border-radius: 10px !important;
  color: #f4f5f7 !important;
  text-align: center !important;
  box-shadow: none !important;
}

html body[data-page="calculators"] .tools-master-link .tools-master-cta:hover,
html body[data-page="calculators"] .tools-master-link .card-open-btn:hover,
html body[data-page="tools"] .tools-master-link .tools-master-cta:hover,
html body[data-page="tools"] .tools-master-link .card-open-btn:hover,
html body[data-page="calculators"] .tools-master-link .tools-master-cta:focus-visible,
html body[data-page="calculators"] .tools-master-link .card-open-btn:focus-visible,
html body[data-page="tools"] .tools-master-link .tools-master-cta:focus-visible,
html body[data-page="tools"] .tools-master-link .card-open-btn:focus-visible {
  background: #39404b !important;
  border-color: #687080 !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .20) !important;
}

@media (max-width: 720px) {
  html body[data-page="home"] #faq .faq-grid {
    grid-template-columns: 1fr !important;
  }
}
/* /BitClac v145 FAQ center and master cleanup */


/* BitClac v146 home workspace first screen fit */
html body[data-page="home"] .platform-hero {
  min-height: calc(100vh - 64px) !important;
  padding-top: clamp(8px, 1.4vw, 18px) !important;
  padding-bottom: 14px !important;
  align-items: start !important;
  gap: clamp(18px, 2.4vw, 30px) !important;
}

html body[data-page="home"] .home-account-preview {
  align-self: start !important;
  margin-top: -18px !important;
}

html body[data-page="home"] .home-account-terminal {
  padding: 14px 18px 18px !important;
}

html body[data-page="home"] .home-account-terminal .terminal-bar {
  margin-bottom: 10px !important;
}

html body[data-page="home"] .home-workspace-board {
  gap: 10px !important;
  padding: 18px !important;
}

html body[data-page="home"] .home-workspace-head {
  margin-bottom: 2px !important;
}

html body[data-page="home"] .home-workspace-head a {
  padding: 9px 14px !important;
}

html body[data-page="home"] .home-workspace-grid {
  gap: 10px !important;
}

html body[data-page="home"] .home-workspace-main {
  min-height: 270px !important;
  gap: 10px !important;
}

html body[data-page="home"] .home-workspace-card {
  padding: 14px !important;
}

html body[data-page="home"] .home-workspace-grid > .home-workspace-card:not(.home-workspace-main) {
  min-height: 82px !important;
}

html body[data-page="home"] .home-workspace-value strong,
html body[data-page="home"] .home-workspace-card > strong {
  font-size: clamp(28px, 3.4vw, 40px) !important;
}

html body[data-page="home"] .home-workspace-bars {
  gap: 7px !important;
  margin: 2px 0 !important;
}

html body[data-page="home"] .home-workspace-bars span {
  height: 7px !important;
}

html body[data-page="home"] .home-workspace-row {
  padding-top: 9px !important;
}

html body[data-page="home"] .home-workspace-actions {
  gap: 10px !important;
}

html body[data-page="home"] .home-workspace-actions a {
  padding: 9px 12px !important;
}

@media (max-width: 1080px) {
  html body[data-page="home"] .home-account-preview {
    margin-top: 0 !important;
  }
}
/* /BitClac v146 home workspace first screen fit */


/* BitClac v147 home workspace vertical balance */
html body[data-page="home"] .platform-hero {
  padding-top: clamp(20px, 2.2vw, 34px) !important;
}

html body[data-page="home"] .home-account-preview {
  margin-top: clamp(18px, 2.1vw, 30px) !important;
}

@media (max-width: 1080px) {
  html body[data-page="home"] .home-account-preview {
    margin-top: 0 !important;
  }
}
/* /BitClac v147 home workspace vertical balance */


/* BitClac v148 master number inputs */
html body.master-body .master-page .master-form input[type="number"] {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  padding-right: 14px !important;
}

html body.master-body .master-page .master-form input[type="number"]::-webkit-outer-spin-button,
html body.master-body .master-page .master-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
}
/* /BitClac v148 master number inputs */


/* BitClac v149 mobile bottom nav and menu */
@media (max-width: 760px) {
  :root {
    --mobile-bottom-nav-height: 76px;
  }

  .mobile-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 7px max(10px, env(safe-area-inset-left, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px)) !important;
    background: rgba(18, 20, 24, .98) !important;
    border-top: 1px solid #303640 !important;
  }

  .mobile-bottom-nav__item,
  button.mobile-bottom-nav__item {
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #b9c0ca !important;
    font: inherit !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    cursor: pointer !important;
  }

  .mobile-bottom-nav__item svg {
    width: 23px !important;
    height: 23px !important;
  }

  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item:active {
    background: #2b3038 !important;
    color: #f7f8fa !important;
  }

  body[data-page="home"] .mobile-bottom-nav__item[data-mobile-nav="home"],
  body[data-page="account"] .mobile-bottom-nav__item[data-mobile-nav="futures"] {
    background: #2b3038 !important;
    color: #f7f8fa !important;
  }

  .mobile-menu-sheet[hidden] {
    display: none !important;
  }

  .mobile-menu-sheet {
    position: fixed;
    inset: 0;
    z-index: 220;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0 !important;
    background: rgba(0, 0, 0, .58) !important;
  }

  .mobile-menu-panel {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 10px);
    max-height: min(72vh, 540px);
    overflow: auto;
    padding: 14px;
    border: 1px solid #343a44;
    border-radius: 18px;
    background: #1f2228;
    box-shadow: 0 -18px 44px rgba(0, 0, 0, .40);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }

  .mobile-menu-head strong {
    color: #f6f7f9;
    font-size: 18px;
  }

  .mobile-menu-head button {
    min-height: 38px !important;
    padding: 8px 12px !important;
  }

  .mobile-menu-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-menu-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #343a44;
    border-radius: 12px;
    background: #262a31;
    color: #f2f4f7;
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-menu-open {
    overflow: hidden !important;
  }
}
/* /BitClac v149 mobile bottom nav and menu */


/* BitClac v150 mobile nav no active highlight */
@media (max-width: 760px) {
  html body .mobile-bottom-nav__item,
  html body .mobile-bottom-nav__item:hover,
  html body .mobile-bottom-nav__item:focus,
  html body .mobile-bottom-nav__item:focus-visible,
  html body .mobile-bottom-nav__item:active,
  html body .mobile-bottom-nav__item.is-active,
  html body .mobile-bottom-nav__item--primary,
  html body .mobile-bottom-nav__item--primary:hover,
  html body .mobile-bottom-nav__item--primary:focus-visible,
  html body .mobile-bottom-nav__item--primary:active,
  html body .mobile-bottom-nav__item--primary.is-active,
  html body .mobile-bottom-nav [data-mobile-menu-toggle].is-active,
  html body[data-page] .mobile-bottom-nav__item[data-mobile-nav] {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #b9c0ca !important;
    transform: none !important;
    filter: none !important;
  }

  html body .mobile-bottom-nav__item svg,
  html body .mobile-bottom-nav__item.is-active svg,
  html body[data-page] .mobile-bottom-nav__item[data-mobile-nav] svg {
    stroke: currentColor !important;
  }
}
/* /BitClac v150 mobile nav no active highlight */


/* BitClac v151 home hero copy balance */
@media (min-width: 1081px) {
  html body[data-page="home"] .platform-hero .hero-copy {
    margin-top: 26px !important;
  }
}

@media (max-width: 1080px) {
  html body[data-page="home"] .platform-hero .hero-copy {
    margin-top: 0 !important;
  }
}
/* /BitClac v151 home hero copy balance */


/* BitClac v152 home hero links alignment */
body[data-page="home"] .hero-copy .home-secondary-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-items: center !important;
  width: min(100%, 560px) !important;
  gap: 8px 18px !important;
  margin: 16px 0 14px !important;
}

body[data-page="home"] .hero-copy .home-secondary-links > *,
body[data-page="home"] .hero-copy .home-secondary-links a {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  text-align: center !important;
}

body[data-page="home"] .hero-copy .terminal-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 560px) !important;
  gap: 6px 0 !important;
  margin-top: 12px !important;
  text-align: center !important;
}

body[data-page="home"] .hero-copy .terminal-meta span {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  body[data-page="home"] .hero-copy .home-secondary-links {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    width: 100% !important;
  }

  body[data-page="home"] .hero-copy .terminal-meta {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}
/* /BitClac v152 home hero links alignment */

/* BitClac v157 cleanup: portfolio-first homepage and SEO pages */
html body[data-page="home"] .portfolio-choice-section {
  margin: clamp(42px, 5vw, 72px) 0;
}

html body[data-page="home"] .portfolio-choice-heading {
  max-width: 900px;
}

html body[data-page="home"] .portfolio-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

html body[data-page="home"] .portfolio-product-card {
  display: grid;
  gap: 16px;
  background: var(--bc-panel, #202329);
  border: 1px solid var(--bc-border, #353b46);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: none;
}

html body[data-page="home"] .portfolio-product-card h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

html body[data-page="home"] .portfolio-product-card p,
html body[data-page="home"] .portfolio-product-list {
  color: #b9c2cf;
}

html body[data-page="home"] .portfolio-product-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

html body[data-page="home"] .portfolio-product-metrics span {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--bc-border, #353b46);
  border-radius: 14px;
  background: #151920;
}

html body[data-page="home"] .portfolio-product-metrics b,
html body[data-page="home"] .portfolio-product-metrics small {
  display: block;
}

html body[data-page="home"] .portfolio-product-metrics small {
  color: #aeb7c5;
  margin-top: 4px;
}

html body[data-page="home"] .portfolio-product-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

html body[data-page="home"] .portfolio-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html body[data-page="home"] .portfolio-product-actions .btn {
  flex: 1 1 180px;
}

html body[data-page="home"] .portfolio-product-trust {
  margin: 16px 0 0;
  color: #aeb7c5;
}

html body[data-page="seo-portfolio"] .portfolio-seo-hero {
  text-align: left;
}

html body[data-page="seo-portfolio"] .portfolio-seo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html body[data-page="seo-portfolio"] .portfolio-seo-list li {
  padding: 14px 16px;
  border: 1px solid var(--bc-border, #353b46);
  border-radius: 14px;
  background: #151920;
  color: #d8dee8;
}

@media (max-width: 860px) {
  html body[data-page="home"] .portfolio-product-grid,
  html body[data-page="seo-portfolio"] .portfolio-seo-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html body[data-page="home"] .portfolio-product-metrics {
    grid-template-columns: 1fr;
  }
}


/* BitClac v159: tidy MEXC promo block on master pages */
html body.master-body .master-page .master-workspace > .mexc-next-step {
  align-items: center !important;
  gap: clamp(30px, 4vw, 48px) !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
  align-self: center !important;
  display: grid !important;
  align-content: start !important;
  justify-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
  position: static !important;
  width: min(100%, 260px) !important;
  min-height: 42px !important;
  margin: 0 !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.15 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-content,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-content--compact {
  align-self: center !important;
  min-width: 0 !important;
  padding-top: 0 !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-copy h3 {
  max-width: 720px !important;
  overflow-wrap: normal !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-benefits {
  max-width: 760px !important;
}

@media (max-width: 900px) {
  html body.master-body .master-page .master-workspace > .mexc-next-step {
    align-items: stretch !important;
  }

  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
    width: 100% !important;
    max-width: 360px !important;
  }
}


/* BitClac v160: portfolio nav links and master MEXC final fit */
html body .platform-header .bitclac-main-nav a::before,
html body .site-header .bitclac-main-nav a::before {
  -webkit-mask: var(--bc-nav-icon, url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m3 11 9-8 9 8%27/%3E%3Cpath d=%27M5 10v10h14V10%27/%3E%3Cpath d=%27M9 20v-6h6v6%27/%3E%3C/svg%3E")) center / 18px 18px no-repeat !important;
  mask: var(--bc-nav-icon, url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m3 11 9-8 9 8%27/%3E%3Cpath d=%27M5 10v10h14V10%27/%3E%3Cpath d=%27M9 20v-6h6v6%27/%3E%3C/svg%3E")) center / 18px 18px no-repeat !important;
}

html body .bitclac-main-nav a[href="/futures-portfolio.html"],
html body .bitclac-main-nav a[href*="intent=futures"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 18h18%27/%3E%3Cpath d=%27m5 15 4-5 4 3 6-8%27/%3E%3Cpath d=%27M16 5h3v3%27/%3E%3Cpath d=%27M7 21l2-3%27/%3E%3Cpath d=%27M17 21l-2-3%27/%3E%3C/svg%3E");
}

html body .bitclac-main-nav a[href="/futures-pnl.html"],
html body .bitclac-main-nav a[href*="intent=futures-pnl"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 4h14v16H5z%27/%3E%3Cpath d=%27M8 9h8%27/%3E%3Cpath d=%27M8 13h4%27/%3E%3Cpath d=%27m14 17 2-2 2 2%27/%3E%3C/svg%3E");
}

html body .bitclac-main-nav a[href="/spot-portfolio.html"],
html body .bitclac-main-nav a[href*="intent=spot"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 7h16v11H4z%27/%3E%3Cpath d=%27M7 7V5h10v2%27/%3E%3Ccircle cx=%2716%27 cy=%2712.5%27 r=%271.5%27/%3E%3C/svg%3E");
}

html body.master-body .master-page .master-workspace > .mexc-next-step {
  display: grid !important;
  grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr) !important;
  align-items: center !important;
  column-gap: clamp(42px, 5vw, 72px) !important;
  row-gap: 24px !important;
  padding-block: 18px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
  justify-self: end !important;
  align-self: center !important;
  gap: 24px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
  margin-top: 2px !important;
  width: min(100%, 280px) !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-content {
  justify-self: start !important;
  align-self: center !important;
  max-width: 760px !important;
}

html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-copy h3 {
  max-width: 760px !important;
}

@media (max-width: 980px) {
  html body.master-body .master-page .master-workspace > .mexc-next-step {
    grid-template-columns: 1fr !important;
    padding-block: 8px !important;
  }

  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-content {
    justify-self: stretch !important;
  }
}

/* BitClac market events menu item */
html body .bitclac-main-nav a[href="/market-events.html"],
html body .mobile-menu-links a[href="/market-events.html"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%274%27 width=%2718%27 height=%2717%27 rx=%272%27/%3E%3Cpath d=%27M8 2v4M16 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01%27/%3E%3C/svg%3E");
}

/* BitClac v176 trader journal menu icon */
html body .bitclac-main-nav a[href*="intent=journal"],
html body .mobile-menu-links a[href*="intent=journal"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M8 3h9a3 3 0 0 1 3 3v15H7a3 3 0 0 1-3-3V7a4 4 0 0 1 4-4Z%27/%3E%3Cpath d=%27M8 3v18%27/%3E%3Cpath d=%27M11 8h5%27/%3E%3Cpath d=%27M11 12h5%27/%3E%3Cpath d=%27M11 16h3%27/%3E%3C/svg%3E");
}
/* BitClac v163 market calendar visibility */
html body .bitclac-main-nav a[href="/market-events.html"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* BitClac v164 market event nav hover */
html body .site-header .bitclac-main-nav a[href="/market-events.html"]:hover,
html body .site-header .bitclac-main-nav a[href="/market-events.html"]:focus-visible,
html body .platform-header .bitclac-main-nav a[href="/market-events.html"]:hover,
html body .platform-header .bitclac-main-nav a[href="/market-events.html"]:focus-visible {
  background: #303640 !important;
  color: #f7f8fa !important;
  box-shadow: none !important;
}
html body .site-header .bitclac-main-nav a[href="/market-events.html"].active,
html body .site-header .bitclac-main-nav a[href="/market-events.html"][aria-current="page"],
html body .platform-header .bitclac-main-nav a[href="/market-events.html"].active,
html body .platform-header .bitclac-main-nav a[href="/market-events.html"][aria-current="page"] {
  background: #2b3038 !important;
  color: #f7f8fa !important;
}


/* BitClac v166 market calendar persistence */
html body .bitclac-main-nav a[href="/market-events.html"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* BitClac v169 investor diary menu icon */
html body .bitclac-main-nav a[href*="intent=investor-journal"],
html body .mobile-menu-links a[href*="intent=investor-journal"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 3h10a3 3 0 0 1 3 3v15H7a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z%27/%3E%3Cpath d=%27M8 7h6M8 11h4M8 15h3%27/%3E%3Ccircle cx=%2716%27 cy=%2714%27 r=%273%27/%3E%3Cpath d=%27M16 12v4M14.4 13.2h3.2%27/%3E%3C/svg%3E");
}


/* BitClac v178 pre-upload layout audit fixes */
html body {
  overflow-x: clip;
}

html body .card-head {
  min-width: 0 !important;
}

html body .card-head > * {
  min-width: 0 !important;
}

html body .card-head .icon {
  width: auto !important;
  min-width: 44px !important;
  max-width: none !important;
  padding-inline: 8px !important;
  white-space: nowrap !important;
  font-size: clamp(13px, 1vw, 18px) !important;
}

html body .tool-intro,
html body .tool-intro h1,
html body .tool-intro .lead,
html body .tool-intro .tool-details,
html body main#top {
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .tool-intro h1,
html body .master-page .master-hero h1,
html body .master-page .master-hero h2,
html body .master-hero-copy {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

html body .master-hero-copy {
  min-width: 0 !important;
}

body[data-page=home] .hero-copy .home-secondary-links > *,
body[data-page=home] .hero-copy .home-secondary-links a {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html body .hub-tool-card,
html body .hub-tool-card > span,
html body .info-card,
html body .info-text {
  min-width: 0 !important;
}

html body .hub-tool-card .card-open-btn,
html body .info-card .card-open-btn {
  max-width: 100% !important;
  white-space: normal !important;
}

html body .table-wrap,
html body .trade-table-wrap {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

html body .table-wrap table,
html body .trade-table-wrap table {
  max-width: none !important;
}

@media (max-width: 760px) {
  html body .tool-intro h1 {
    font-size: clamp(32px, 10vw, 48px) !important;
  }

  html body .master-page .master-hero h1 {
    font-size: clamp(34px, 12vw, 56px) !important;
  }

  html body .hub-tool-card[data-static-card=true] {
    align-items: stretch !important;
  }

  html body .hub-tool-card .card-open-btn,
  html body .info-card .card-open-btn {
    align-self: flex-start !important;
  }
}


/* BitClac v178b investor intro card wrap */
html body .tool-intro .info-card {
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

html body .tool-intro .info-card .info-icon {
  flex: 0 0 auto !important;
}

html body .tool-intro .info-card .info-text {
  flex: 1 1 420px !important;
  min-width: min(100%, 240px) !important;
  overflow-wrap: anywhere !important;
}

html body .tool-intro .info-card .hub-tool-card {
  flex: 1 1 220px !important;
  min-width: min(100%, 220px) !important;
}

@media (max-width: 760px) {
  html body .tool-intro .info-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html body .tool-intro .info-card .hub-tool-card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}


/* BitClac v179 fullscreen mobile menu */
@media (max-width: 760px) {
  html body .mobile-menu-sheet {
    z-index: 360 !important;
  }

  html body .mobile-menu-backdrop {
    background: rgba(15, 17, 21, .92) !important;
  }

  html body .mobile-menu-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #1f2228 !important;
    box-shadow: none !important;
  }

  html body .mobile-menu-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    margin: -2px 0 14px !important;
    padding: 6px 0 12px !important;
    background: #1f2228 !important;
  }

  html body .mobile-menu-head strong {
    font-size: 22px !important;
  }

  html body .mobile-menu-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 10px !important;
  }

  html body .mobile-menu-links a {
    min-height: 64px !important;
    align-items: center !important;
    padding: 13px 14px !important;
    font-size: clamp(15px, 4.2vw, 19px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 430px) {
  html body .mobile-menu-links a {
    min-height: 58px !important;
    padding-inline: 12px !important;
    font-size: clamp(14px, 4vw, 17px) !important;
  }
}

/* BitClac v180 visual polish: MEXC CTA and investment master stats */
html body .mexc-next-step:not(.mexc-home-banner) {
  align-items: center !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap {
  align-self: center !important;
  justify-items: center !important;
  gap: 14px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual {
  min-height: clamp(230px, 25vw, 300px) !important;
  max-height: 330px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple {
  min-height: 0 !important;
  max-height: 300px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
  position: relative !important;
  z-index: 4 !important;
  width: min(100%, 280px) !important;
  min-height: 44px !important;
  margin: 0 !important;
  align-self: center !important;
  justify-content: center !important;
  white-space: normal !important;
  text-align: center !important;
}

html body:not(.master-body) .mexc-next-step {
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr) !important;
}

html body .master-invest-page .master-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr) !important;
}

html body .master-invest-page .master-hero h1 {
  font-size: clamp(46px, 5.7vw, 74px) !important;
  overflow-wrap: normal !important;
}

html body .master-invest-page .visual-stats.master-hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body .master-invest-page .visual-stats.master-hero-stats span {
  min-width: 0 !important;
  min-height: 68px !important;
  padding: 9px 10px !important;
  overflow: hidden !important;
}

html body .master-invest-page .visual-stats.master-hero-stats small,
html body .master-invest-page .visual-stats.master-hero-stats b {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

html body .master-invest-page .visual-stats.master-hero-stats small {
  font-size: 10px !important;
  line-height: 1.1 !important;
}

html body .master-invest-page .visual-stats.master-hero-stats b {
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

html body .master-invest-page .master-visual-summary {
  min-width: 0 !important;
}

html body .master-invest-page .master-visual-summary span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 980px) {
  html body:not(.master-body) .mexc-next-step {
    grid-template-columns: 1fr !important;
  }

  html body .master-invest-page .master-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
    width: min(100%, 360px) !important;
  }

  html body .master-invest-page .master-hero h1 {
    font-size: clamp(34px, 10.5vw, 52px) !important;
  }

  html body .master-invest-page .visual-stats.master-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* BitClac v181 investment master heading fit */
html body .master-invest-page .master-hero h1 {
  max-width: 100% !important;
  font-size: clamp(38px, 4.35vw, 58px) !important;
  line-height: 1.05 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body .master-invest-page .master-hero-copy {
  max-width: 100% !important;
  overflow: visible !important;
}

@media (max-width: 760px) {
  html body .master-invest-page .master-hero h1 {
    font-size: clamp(30px, 8.2vw, 38px) !important;
  }
}

/* BitClac v182 MEXC text and investment stats fit */
html body .mexc-next-step .bc-promo-stage--simple {
  gap: 12px !important;
  padding: clamp(18px, 2.4vw, 24px) !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-title {
  font-size: clamp(54px, 8.4vw, 74px) !important;
  line-height: .92 !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-benefits {
  width: min(100%, 240px) !important;
  gap: 10px !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-card {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 9px 12px !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-card b {
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 14px !important;
  line-height: 1.18 !important;
  text-align: left !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-check {
  width: 24px !important;
  height: 24px !important;
  display: inline-grid !important;
  place-items: center !important;
}

html body .master-invest-page .visual-stats.master-hero-stats {
  grid-template-columns: .88fr 1.22fr .9fr .9fr !important;
  gap: 8px !important;
}

html body .master-invest-page .visual-stats.master-hero-stats span {
  padding: 9px 9px !important;
}

html body .master-invest-page .visual-stats.master-hero-stats span:nth-child(2) b {
  font-size: clamp(16px, 1.16vw, 18px) !important;
  line-height: 1.05 !important;
}

html body .master-invest-page .visual-stats.master-hero-stats b {
  overflow: visible !important;
  text-overflow: clip !important;
}

@media (max-width: 760px) {
  html body .master-invest-page .visual-stats.master-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .master-invest-page .visual-stats.master-hero-stats span:nth-child(2) b {
    font-size: clamp(18px, 5.2vw, 22px) !important;
  }
}



/* BitClac v184 final MEXC card geometry */
html body .mexc-next-step .mexc-next-step-media-wrap,
html body .mexc-home-banner .mexc-next-step-media-wrap,
html body .mexc-home-media,
html body .exchange-hero-media {
  min-width: 0 !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
html body .mexc-home-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual {
  width: min(100%, 480px) !important;
  min-width: min(100%, 360px) !important;
  min-height: 320px !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid !important;
  place-items: center !important;
}

html body .mexc-next-step .bc-promo-stage--simple,
html body .mexc-home-media .bc-promo-stage--simple,
html body .exchange-hero-media .bc-promo-stage--simple,
html body .mexc-next-step-media .bc-promo-stage--simple {
  width: min(100%, 424px) !important;
  min-height: 268px !important;
  max-height: none !important;
  padding: 28px 30px 24px !important;
  gap: 11px !important;
  overflow: visible !important;
  border-radius: 22px !important;
}

html body .mexc-next-step .bc-promo-title,
html body .mexc-home-media .bc-promo-title,
html body .exchange-hero-media .bc-promo-title,
html body .mexc-next-step-media .bc-promo-title {
  font-size: clamp(48px, 7.1vw, 72px) !important;
  line-height: .9 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .bc-promo-benefits,
html body .mexc-home-media .bc-promo-benefits,
html body .exchange-hero-media .bc-promo-benefits,
html body .mexc-next-step-media .bc-promo-benefits {
  width: 100% !important;
  max-width: 365px !important;
  gap: 9px !important;
}

html body .mexc-next-step .bc-promo-card,
html body .mexc-home-media .bc-promo-card,
html body .exchange-hero-media .bc-promo-card,
html body .mexc-next-step-media .bc-promo-card {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
}

html body .mexc-next-step .bc-promo-card b,
html body .mexc-home-media .bc-promo-card b,
html body .exchange-hero-media .bc-promo-card b,
html body .mexc-next-step-media .bc-promo-card b {
  min-width: 0 !important;
  margin: 0 !important;
  color: #f6f7f9 !important;
  font-size: clamp(13px, 1.45vw, 15px) !important;
  line-height: 1.12 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body .mexc-next-step .bc-promo-check,
html body .mexc-home-media .bc-promo-check,
html body .exchange-hero-media .bc-promo-check,
html body .mexc-next-step-media .bc-promo-check {
  width: 23px !important;
  height: 23px !important;
  font-size: 14px !important;
}

html body .mexc-next-step .bc-promo-chips,
html body .mexc-home-media .bc-promo-chips,
html body .exchange-hero-media .bc-promo-chips,
html body .mexc-next-step-media .bc-promo-chips {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 330px !important;
  margin-top: 2px !important;
  overflow: visible !important;
}

html body .mexc-next-step .bc-promo-chips span,
html body .mexc-home-media .bc-promo-chips span,
html body .exchange-hero-media .bc-promo-chips span,
html body .mexc-next-step-media .bc-promo-chips span {
  min-width: 0 !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
  html body .mexc-home-media.bc-promo-visual,
  html body .exchange-hero-media.bc-promo-visual {
    width: min(100%, 360px) !important;
    min-width: 0 !important;
    min-height: 314px !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple,
  html body .mexc-home-media .bc-promo-stage--simple,
  html body .exchange-hero-media .bc-promo-stage--simple,
  html body .mexc-next-step-media .bc-promo-stage--simple {
    width: min(100%, 330px) !important;
    min-height: 274px !important;
    padding: 26px 28px 24px !important;
    border-radius: 20px !important;
  }

  html body .mexc-next-step .bc-promo-title,
  html body .mexc-home-media .bc-promo-title,
  html body .exchange-hero-media .bc-promo-title,
  html body .mexc-next-step-media .bc-promo-title {
    font-size: clamp(52px, 16vw, 70px) !important;
  }

  html body .mexc-next-step .bc-promo-benefits,
  html body .mexc-home-media .bc-promo-benefits,
  html body .exchange-hero-media .bc-promo-benefits,
  html body .mexc-next-step-media .bc-promo-benefits {
    max-width: 270px !important;
  }

  html body .mexc-next-step .bc-promo-card b,
  html body .mexc-home-media .bc-promo-card b,
  html body .exchange-hero-media .bc-promo-card b,
  html body .mexc-next-step-media .bc-promo-card b {
    font-size: 13px !important;
  }

  html body .mexc-next-step .bc-promo-chips,
  html body .mexc-home-media .bc-promo-chips,
  html body .exchange-hero-media .bc-promo-chips,
  html body .mexc-next-step-media .bc-promo-chips {
    max-width: 265px !important;
    gap: 5px !important;
  }

  html body .mexc-next-step .bc-promo-chips span,
  html body .mexc-home-media .bc-promo-chips span,
  html body .exchange-hero-media .bc-promo-chips span,
  html body .mexc-next-step-media .bc-promo-chips span {
    padding: 4px 7px !important;
    font-size: 9px !important;
  }
}


/* BitClac v185 hard fix for MEXC cards in masters and tools */
html body .mexc-next-step:not(.mexc-home-banner),
html body.master-body .master-page .master-workspace > .mexc-next-step {
  grid-template-columns: minmax(430px, 430px) minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 36px !important;
}

html body .mexc-next-step-media-wrap,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
  width: 430px !important;
  min-width: 430px !important;
  max-width: 430px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 16px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual,
html body .mexc-home-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual {
  width: 430px !important;
  min-width: 430px !important;
  max-width: 430px !important;
  height: 318px !important;
  min-height: 318px !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-stage--simple,
html body .mexc-home-media .bc-promo-stage--simple,
html body .exchange-hero-media .bc-promo-stage--simple,
html body .mexc-next-step-media .bc-promo-stage--simple,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
  width: 424px !important;
  min-width: 424px !important;
  max-width: 424px !important;
  height: 272px !important;
  min-height: 272px !important;
  max-height: none !important;
  padding: 30px 28px 24px !important;
  gap: 11px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
}

html body .mexc-next-step .bc-promo-title,
html body .mexc-home-media .bc-promo-title,
html body .exchange-hero-media .bc-promo-title,
html body .mexc-next-step-media .bc-promo-title,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-title {
  font-size: 72px !important;
  line-height: .86 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .bc-promo-benefits,
html body .mexc-home-media .bc-promo-benefits,
html body .exchange-hero-media .bc-promo-benefits,
html body .mexc-next-step-media .bc-promo-benefits,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-benefits {
  width: 365px !important;
  min-width: 365px !important;
  max-width: 365px !important;
  gap: 9px !important;
}

html body .mexc-next-step .bc-promo-card,
html body .mexc-home-media .bc-promo-card,
html body .exchange-hero-media .bc-promo-card,
html body .mexc-next-step-media .bc-promo-card,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-card b,
html body .mexc-home-media .bc-promo-card b,
html body .exchange-hero-media .bc-promo-card b,
html body .mexc-next-step-media .bc-promo-card b,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card b {
  min-width: 0 !important;
  margin: 0 !important;
  color: #f6f7f9 !important;
  font-size: 13.5px !important;
  line-height: 1.12 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body .mexc-next-step .bc-promo-check,
html body .mexc-home-media .bc-promo-check,
html body .exchange-hero-media .bc-promo-check,
html body .mexc-next-step-media .bc-promo-check,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-check {
  width: 23px !important;
  height: 23px !important;
  font-size: 14px !important;
}

html body .mexc-next-step .bc-promo-chips,
html body .mexc-home-media .bc-promo-chips,
html body .exchange-hero-media .bc-promo-chips,
html body .mexc-next-step-media .bc-promo-chips,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 330px !important;
  min-width: 330px !important;
  max-width: 330px !important;
  margin-top: 2px !important;
  overflow: visible !important;
}

html body .mexc-next-step .bc-promo-chips span,
html body .mexc-home-media .bc-promo-chips span,
html body .exchange-hero-media .bc-promo-chips span,
html body .mexc-next-step-media .bc-promo-chips span,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips span {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
  width: 280px !important;
  max-width: 100% !important;
}

@media (max-width: 900px) {
  html body .mexc-next-step:not(.mexc-home-banner),
  html body.master-body .master-page .master-workspace > .mexc-next-step {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
}

@media (max-width: 520px) {
  html body .mexc-next-step-media-wrap,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
    width: min(100%, 340px) !important;
    min-width: 0 !important;
    max-width: 340px !important;
  }

  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual,
  html body .mexc-home-media.bc-promo-visual,
  html body .exchange-hero-media.bc-promo-visual {
    width: min(100%, 340px) !important;
    min-width: 0 !important;
    max-width: 340px !important;
    height: 306px !important;
    min-height: 306px !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple,
  html body .mexc-home-media .bc-promo-stage--simple,
  html body .exchange-hero-media .bc-promo-stage--simple,
  html body .mexc-next-step-media .bc-promo-stage--simple,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
    width: min(100%, 330px) !important;
    min-width: 0 !important;
    max-width: 330px !important;
    height: 268px !important;
    min-height: 268px !important;
    padding: 26px 24px 22px !important;
  }

  html body .mexc-next-step .bc-promo-title,
  html body .mexc-home-media .bc-promo-title,
  html body .exchange-hero-media .bc-promo-title,
  html body .mexc-next-step-media .bc-promo-title,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-title {
    font-size: 60px !important;
  }

  html body .mexc-next-step .bc-promo-benefits,
  html body .mexc-home-media .bc-promo-benefits,
  html body .exchange-hero-media .bc-promo-benefits,
  html body .mexc-next-step-media .bc-promo-benefits,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-benefits {
    width: 280px !important;
    min-width: 0 !important;
    max-width: 280px !important;
  }

  html body .mexc-next-step .bc-promo-card b,
  html body .mexc-home-media .bc-promo-card b,
  html body .exchange-hero-media .bc-promo-card b,
  html body .mexc-next-step-media .bc-promo-card b,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card b {
    font-size: 12.5px !important;
    white-space: normal !important;
  }

  html body .mexc-next-step .bc-promo-chips,
  html body .mexc-home-media .bc-promo-chips,
  html body .exchange-hero-media .bc-promo-chips,
  html body .mexc-next-step-media .bc-promo-chips,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips {
    width: 265px !important;
    min-width: 0 !important;
    max-width: 265px !important;
    gap: 5px !important;
  }

  html body .mexc-next-step .bc-promo-chips span,
  html body .mexc-home-media .bc-promo-chips span,
  html body .exchange-hero-media .bc-promo-chips span,
  html body .mexc-next-step-media .bc-promo-chips span,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips span {
    padding: 4px 7px !important;
    font-size: 9px !important;
  }
}


/* BitClac v186 verified MEXC card fit */
html body .mexc-next-step:not(.mexc-home-banner),
html body.master-body .master-page .master-workspace > .mexc-next-step {
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: clamp(28px, 4vw, 42px) !important;
}

html body .mexc-next-step-media-wrap,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
  width: min(100%, 460px) !important;
  min-width: 0 !important;
  max-width: 460px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 16px !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual,
html body .mexc-home-media.bc-promo-visual,
html body .exchange-hero-media.bc-promo-visual {
  width: min(100%, 460px) !important;
  min-width: 0 !important;
  max-width: 460px !important;
  height: auto !important;
  min-height: 360px !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-stage--simple,
html body .mexc-home-media .bc-promo-stage--simple,
html body .exchange-hero-media .bc-promo-stage--simple,
html body .mexc-next-step-media .bc-promo-stage--simple,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
  width: min(100%, 424px) !important;
  min-width: 0 !important;
  max-width: 424px !important;
  height: auto !important;
  min-height: 318px !important;
  max-height: none !important;
  padding: 32px 28px 26px !important;
  gap: 10px !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-title,
html body .mexc-home-media .bc-promo-title,
html body .exchange-hero-media .bc-promo-title,
html body .mexc-next-step-media .bc-promo-title,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-title {
  font-size: clamp(62px, 6.2vw, 72px) !important;
  line-height: .88 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .bc-promo-benefits,
html body .mexc-home-media .bc-promo-benefits,
html body .exchange-hero-media .bc-promo-benefits,
html body .mexc-next-step-media .bc-promo-benefits,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-benefits {
  width: min(100%, 365px) !important;
  min-width: 0 !important;
  max-width: 365px !important;
  gap: 9px !important;
}

html body .mexc-next-step .bc-promo-card,
html body .mexc-home-media .bc-promo-card,
html body .exchange-hero-media .bc-promo-card,
html body .mexc-next-step-media .bc-promo-card,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-card b,
html body .mexc-home-media .bc-promo-card b,
html body .exchange-hero-media .bc-promo-card b,
html body .mexc-next-step-media .bc-promo-card b,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card b {
  min-width: 0 !important;
  margin: 0 !important;
  color: #f6f7f9 !important;
  font-size: 13.5px !important;
  line-height: 1.14 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

html body .mexc-next-step .bc-promo-check,
html body .mexc-home-media .bc-promo-check,
html body .exchange-hero-media .bc-promo-check,
html body .mexc-next-step-media .bc-promo-check,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-check {
  width: 24px !important;
  height: 24px !important;
  flex-basis: 24px !important;
  font-size: 14px !important;
}

html body .mexc-next-step .bc-promo-chips,
html body .mexc-home-media .bc-promo-chips,
html body .exchange-hero-media .bc-promo-chips,
html body .mexc-next-step-media .bc-promo-chips,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips {
  width: min(100%, 330px) !important;
  min-width: 0 !important;
  max-width: 330px !important;
  flex-wrap: wrap !important;
  row-gap: 6px !important;
}

html body .mexc-next-step .bc-promo-chips span,
html body .mexc-home-media .bc-promo-chips span,
html body .exchange-hero-media .bc-promo-chips span,
html body .mexc-next-step-media .bc-promo-chips span,
html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-chips span {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn,
html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap .mexc-affiliate-btn {
  width: min(100%, 280px) !important;
  max-width: 100% !important;
}

@media (max-width: 900px) {
  html body .mexc-next-step:not(.mexc-home-banner),
  html body.master-body .master-page .master-workspace > .mexc-next-step {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
}

@media (max-width: 520px) {
  html body .mexc-next-step-media-wrap,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media-wrap {
    width: min(100%, 340px) !important;
    min-width: 0 !important;
    max-width: 340px !important;
  }

  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media,
  html body .mexc-next-step .mexc-next-step-media-wrap .mexc-next-step-media.bc-promo-visual,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media,
  html body.master-body .master-page .master-workspace > .mexc-next-step .mexc-next-step-media.bc-promo-visual,
  html body .mexc-home-media.bc-promo-visual,
  html body .exchange-hero-media.bc-promo-visual {
    width: min(100%, 340px) !important;
    min-height: 332px !important;
    max-width: 340px !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple,
  html body .mexc-home-media .bc-promo-stage--simple,
  html body .exchange-hero-media .bc-promo-stage--simple,
  html body .mexc-next-step-media .bc-promo-stage--simple,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-stage--simple {
    width: min(100%, 330px) !important;
    min-height: 292px !important;
    padding: 26px 24px 22px !important;
    border-radius: 20px !important;
  }

  html body .mexc-next-step .bc-promo-title,
  html body .mexc-home-media .bc-promo-title,
  html body .exchange-hero-media .bc-promo-title,
  html body .mexc-next-step-media .bc-promo-title,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-title {
    font-size: clamp(52px, 16vw, 60px) !important;
  }

  html body .mexc-next-step .bc-promo-benefits,
  html body .mexc-home-media .bc-promo-benefits,
  html body .exchange-hero-media .bc-promo-benefits,
  html body .mexc-next-step-media .bc-promo-benefits,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-benefits {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
  }

  html body .mexc-next-step .bc-promo-card,
  html body .mexc-home-media .bc-promo-card,
  html body .exchange-hero-media .bc-promo-card,
  html body .mexc-next-step-media .bc-promo-card,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card {
    min-height: 42px !important;
  }

  html body .mexc-next-step .bc-promo-card b,
  html body .mexc-home-media .bc-promo-card b,
  html body .exchange-hero-media .bc-promo-card b,
  html body .mexc-next-step-media .bc-promo-card b,
  html body.master-body .master-page .master-workspace > .mexc-next-step .bc-promo-card b {
    font-size: 12.5px !important;
  }
}


/* BitClac v187 MEXC exchange grid fit */
html body .exchange-hero.exchange-hero-v144 {
  grid-template-columns: minmax(430px, .96fr) minmax(0, 1.04fr) !important;
}

html body .exchange-hero-v144 .exchange-hero-media.bc-promo-visual {
  justify-self: center !important;
  width: min(100%, 460px) !important;
  min-width: 0 !important;
  max-width: 460px !important;
}

@media (max-width: 980px) {
  html body .exchange-hero.exchange-hero-v144 {
    grid-template-columns: 1fr !important;
  }

  html body .exchange-hero-v144 .exchange-hero-media.bc-promo-visual {
    width: min(100%, 460px) !important;
  }
}


/* BitClac v188 MEXC calculator result fit */
html body .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple,
html body.tool-page .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple {
  width: min(100%, 424px) !important;
  min-width: 0 !important;
  max-width: 424px !important;
  height: auto !important;
  min-height: 318px !important;
  max-height: none !important;
  padding: 32px 28px 26px !important;
  gap: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-title,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-title {
  font-size: clamp(62px, 6.2vw, 72px) !important;
  line-height: .88 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-benefits,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-benefits {
  width: min(100%, 365px) !important;
  min-width: 0 !important;
  max-width: 365px !important;
  gap: 9px !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-card,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-card {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 7px 12px !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-card b,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-card b {
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.14 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-check,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-check {
  width: 24px !important;
  height: 24px !important;
  flex-basis: 24px !important;
  font-size: 14px !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-chips,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-chips {
  width: min(100%, 330px) !important;
  min-width: 0 !important;
  max-width: 330px !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

html body .mexc-next-step .bc-promo-stage--simple .bc-promo-chips span,
html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-chips span {
  flex: 0 1 auto !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
  white-space: nowrap !important;
}

@media (max-width: 520px) {
  html body .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple,
  html body.tool-page .mexc-next-step .mexc-next-step-media-wrap .bc-promo-stage--simple {
    width: min(100%, 330px) !important;
    min-height: 292px !important;
    padding: 26px 24px 22px !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple .bc-promo-title,
  html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-title {
    font-size: clamp(52px, 16vw, 60px) !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple .bc-promo-benefits,
  html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-benefits {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
  }

  html body .mexc-next-step .bc-promo-stage--simple .bc-promo-card b,
  html body.tool-page .mexc-next-step .bc-promo-stage--simple .bc-promo-card b {
    font-size: 12.5px !important;
  }
}

/* BitClac v193 crypto rates section */
html body[data-page="home"] .crypto-rates-section {
  margin: clamp(42px, 5vw, 74px) 0 clamp(54px, 6vw, 86px);
}

html body[data-page="home"] .crypto-rates-heading {
  max-width: 920px;
}

html body[data-page="home"] .crypto-rates-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.38fr);
  gap: clamp(16px, 2.2vw, 26px);
  align-items: start;
}

html body[data-page="home"] .crypto-rates-focus,
html body[data-page="home"] .crypto-rates-board {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .18);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(2, 6, 23, .62)),
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, .12), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(244, 184, 74, .10), transparent 30%);
  box-shadow: 0 26px 74px rgba(0, 0, 0, .32);
}

html body[data-page="home"] .crypto-rates-focus {
  position: sticky;
  top: 92px;
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: 24px;
  overflow: hidden;
}

html body[data-page="home"] .crypto-rates-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(34, 211, 238, .08), transparent 46%, rgba(244, 184, 74, .08));
}

html body[data-page="home"] .crypto-rates-focus > * {
  position: relative;
  z-index: 1;
}

html body[data-page="home"] .crypto-rates-board {
  padding: clamp(16px, 2vw, 22px);
  border-radius: 24px;
}

html body[data-page="home"] .crypto-rates-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, .55fr) auto;
  gap: 12px;
  align-items: end;
}

html body[data-page="home"] .crypto-rates-field {
  margin: 0;
}

html body[data-page="home"] .crypto-rates-field span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

html body[data-page="home"] .crypto-rates-field input,
html body[data-page="home"] .crypto-rates-field select {
  min-height: 46px;
  border-radius: 14px;
}

html body[data-page="home"] .crypto-rates-refresh {
  min-height: 46px;
  justify-content: center;
  white-space: nowrap;
}

html body[data-page="home"] .crypto-rates-status {
  min-height: 22px;
  margin: 14px 2px 12px;
  color: #a7b6c8;
  font-size: 13px;
  font-weight: 700;
}

html body[data-page="home"] .crypto-rates-status.is-error {
  color: #fca5a5;
}

html body[data-page="home"] .crypto-rates-status.is-cache {
  color: #fde68a;
}

html body[data-page="home"] .crypto-rates-list {
  display: grid;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: rgba(148, 163, 184, .42) transparent;
}

html body[data-page="home"] .crypto-rates-row {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(96px, auto) minmax(70px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  background: rgba(15, 23, 42, .52);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

html body[data-page="home"] .crypto-rates-row:hover,
html body[data-page="home"] .crypto-rates-row.is-active {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, .42);
  background: rgba(15, 23, 42, .78);
}

html body[data-page="home"] .crypto-rates-token,
html body[data-page="home"] .crypto-rates-logo {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(15, 23, 42, .82);
  border: 1px solid rgba(226, 232, 240, .16);
  color: #eef8ff;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
}

html body[data-page="home"] .crypto-rates-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  border-radius: inherit;
  background: #ffffff;
}

html body[data-page="home"] .crypto-rates-logo-text {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, .28), rgba(244, 184, 74, .24));
}

html body[data-page="home"] .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  display: grid;
}

html body[data-page="home"] .crypto-rates-name {
  min-width: 0;
  display: grid;
  gap: 3px;
}

html body[data-page="home"] .crypto-rates-name b,
html body[data-page="home"] .crypto-rates-name small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body[data-page="home"] .crypto-rates-name b {
  font-size: 14px;
  line-height: 1.2;
}

html body[data-page="home"] .crypto-rates-name small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

html body[data-page="home"] .crypto-rates-price {
  justify-self: end;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

html body[data-page="home"] .crypto-rates-change {
  justify-self: end;
  min-width: 66px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .10);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

html body[data-page="home"] .crypto-rates-change.is-positive {
  background: rgba(34, 197, 94, .14);
  color: #86efac;
}

html body[data-page="home"] .crypto-rates-change.is-negative {
  background: rgba(248, 113, 113, .14);
  color: #fca5a5;
}

html body[data-page="home"] .crypto-rates-main {
  display: grid;
  gap: 18px;
}

html body[data-page="home"] .crypto-rates-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

html body[data-page="home"] .crypto-rates-main-coin {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

html body[data-page="home"] .crypto-rates-main-coin .crypto-rates-token,
html body[data-page="home"] .crypto-rates-main-coin .crypto-rates-logo {
  width: 52px;
  height: 52px;
}

html body[data-page="home"] .crypto-rates-main-coin strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

html body[data-page="home"] .crypto-rates-main-coin span:last-child {
  display: grid;
  gap: 3px;
}

html body[data-page="home"] .crypto-rates-main-coin small,
html body[data-page="home"] .crypto-rates-source {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

html body[data-page="home"] .crypto-rates-big-price {
  display: grid;
  gap: 8px;
}

html body[data-page="home"] .crypto-rates-big-price strong {
  font-size: clamp(38px, 5vw, 64px);
  line-height: .95;
  color: #f8fafc;
}

html body[data-page="home"] .crypto-rates-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html body[data-page="home"] .crypto-rates-metric {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .13);
  background: rgba(2, 6, 23, .34);
}

html body[data-page="home"] .crypto-rates-metric span {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

html body[data-page="home"] .crypto-rates-metric b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8fafc;
}

html body[data-page="home"] .crypto-rates-skeleton,
html body[data-page="home"] .crypto-rates-empty,
html body[data-page="home"] .crypto-rates-more {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, .22);
  color: #a7b6c8;
}

html body[data-page="home"] .crypto-rates-skeleton {
  display: grid;
  gap: 10px;
}

html body[data-page="home"] .crypto-rates-skeleton span {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .18);
}

html body[data-page="home"] .crypto-rates-more {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  html body[data-page="home"] .crypto-rates-layout {
    grid-template-columns: 1fr;
  }

  html body[data-page="home"] .crypto-rates-focus {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: 1fr;
  }

  html body[data-page="home"] .crypto-rates-refresh {
    width: 100%;
  }

  html body[data-page="home"] .crypto-rates-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
  }

  html body[data-page="home"] .crypto-rates-row .crypto-rates-change {
    grid-column: 3;
  }

  html body[data-page="home"] .crypto-rates-price {
    grid-column: 2;
    justify-self: start;
    color: #cbd5e1;
  }

  html body[data-page="home"] .crypto-rates-metrics {
    grid-template-columns: 1fr;
  }
}
/* /BitClac v193 crypto rates section */
/* BitClac v196 rates-first homepage layout */
html body[data-page="home"] .platform-home {
  padding-top: clamp(14px, 2vw, 22px);
}

html body[data-page="home"] .crypto-rates-section {
  margin: clamp(12px, 2.2vw, 24px) 0 clamp(34px, 4.5vw, 58px);
}

html body[data-page="home"] .crypto-rates-heading {
  margin-bottom: clamp(16px, 2vw, 22px);
}

html body[data-page="home"] .crypto-rates-controls {
  grid-template-columns: minmax(118px, .58fr) minmax(220px, 1.18fr) auto;
  gap: 10px;
}

html body[data-page="home"] .crypto-rates-field:first-child input {
  min-width: 0;
}

html body[data-page="home"] .crypto-rates-field:nth-child(2) select {
  min-width: 220px;
}

html body[data-page="home"] .platform-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(24px, 4vw, 46px) 0 clamp(44px, 5vw, 68px);
}

html body[data-page="home"] .platform-hero .hero-copy {
  max-width: 920px;
}

html body[data-page="home"] .home-account-preview,
html body[data-page="home"] .terminal-preview.home-account-preview {
  display: none !important;
}

@media (max-width: 680px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: minmax(96px, .62fr) minmax(160px, 1.38fr) auto;
    gap: 8px;
  }

  html body[data-page="home"] .crypto-rates-field:nth-child(2) select {
    min-width: 160px;
  }

  html body[data-page="home"] .crypto-rates-refresh {
    width: auto;
    min-width: 92px;
    padding-inline: 12px;
  }
}

@media (max-width: 430px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  }

  html body[data-page="home"] .crypto-rates-refresh {
    grid-column: 1 / -1;
    width: 100%;
  }

  html body[data-page="home"] .crypto-rates-field:nth-child(2) select {
    min-width: 0;
  }
}
/* /BitClac v196 rates-first homepage layout */
/* BitClac v197 liquidation map */
html body[data-page="home"] .crypto-rates-layout {
  grid-template-columns: minmax(380px, 1fr) minmax(390px, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

html body[data-page="home"] .crypto-rates-list {
  max-height: 520px;
}

html body[data-page="home"] .crypto-rates-focus {
  padding: clamp(22px, 2.4vw, 32px);
}

.crypto-liquidation-panel {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.crypto-liquidation-loading,
.liq-unavailable {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, .24);
  color: #a7b6c8;
  background: rgba(2, 6, 23, .25);
}

.liq-unavailable strong {
  color: #e5eefc;
}

.liq-card-head,
.liq-map-axis,
.liq-map-labels,
.liq-side-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.liq-card-head span,
.liq-metrics small,
.liq-map-axis span,
.liq-map-labels span,
.liq-note {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.liq-card-head strong {
  display: block;
  color: #f8fafc;
  font-size: 18px;
}

.liq-card-head b {
  color: #cbd5e1;
  font-size: 12px;
}

.liq-map {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  background: rgba(2, 6, 23, .30);
}

.liq-map-axis b {
  color: #f8fafc;
  font-size: 13px;
}

.liq-map-track {
  position: relative;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(248, 113, 113, .22), rgba(148, 163, 184, .12) 48%, rgba(34, 197, 94, .22));
  border: 1px solid rgba(148, 163, 184, .15);
}

.liq-map-current {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: 0 0 18px rgba(248,250,252,.62);
  z-index: 3;
}

.liq-zone {
  position: absolute;
  top: 9px;
  bottom: 9px;
  min-width: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: .88;
}

.liq-zone.is-long {
  background: linear-gradient(90deg, rgba(248, 113, 113, .30), rgba(248, 113, 113, .82));
}

.liq-zone.is-short {
  background: linear-gradient(90deg, rgba(34, 197, 94, .82), rgba(34, 197, 94, .30));
}

.liq-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.liq-metrics span {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .13);
  background: rgba(15, 23, 42, .42);
}

.liq-metrics b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8fafc;
  font-size: 13px;
}

.liq-side-summary {
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .42);
  border: 1px solid rgba(148, 163, 184, .13);
  font-size: 12px;
  font-weight: 900;
}

.liq-side-summary .is-long { color: #fca5a5; }
.liq-side-summary .is-short { color: #86efac; }
.liq-side-summary b { color: #e5eefc; }
.liq-note { margin: 0; line-height: 1.45; }

.liquidation-map-page {
  padding-top: clamp(22px, 4vw, 48px);
}

.liquidation-map-hero {
  display: grid;
  gap: 20px;
}

.liquidation-map-heading {
  max-width: 960px;
}

.liquidation-map-heading h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.liquidation-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .55);
}

.liquidation-toolbar label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.liquidation-toolbar label span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.liquidation-toolbar select,
.liquidation-toolbar input,
.liquidation-toolbar button {
  min-height: 46px;
}

.liquidation-page-status {
  color: #a7b6c8;
  font-size: 13px;
  font-weight: 800;
}

.liquidation-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .55fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.liquidation-page-card,
.liquidation-symbol-panel,
.liquidation-map-info {
  min-width: 0;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(2, 6, 23, .62));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .30);
}

.liquidation-symbol-panel h2,
.liquidation-map-info h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.liquidation-symbol-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.liquidation-symbol-list button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .15);
  background: rgba(15, 23, 42, .62);
  color: #dbeafe;
  font-weight: 900;
  cursor: pointer;
}

.liquidation-symbol-list button.is-active,
.liquidation-symbol-list button:hover {
  border-color: rgba(34, 211, 238, .45);
  background: rgba(34, 211, 238, .12);
  color: #ffffff;
}

.liquidation-map-info {
  margin: clamp(26px, 4vw, 44px) 0 clamp(54px, 6vw, 80px);
}

.liquidation-map-info p {
  max-width: 980px;
  margin: 0;
  color: #a7b6c8;
  line-height: 1.7;
}

@media (max-width: 980px) {
  html body[data-page="home"] .crypto-rates-layout,
  .liquidation-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .liq-metrics,
  .liquidation-toolbar {
    grid-template-columns: 1fr;
  }

  .liquidation-symbol-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .liquidation-symbol-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* /BitClac v197 liquidation map */

/* BitClac v198 liquidation detail fixes */
html body[data-page="home"] .crypto-rates-heading {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-section {
  padding-top: clamp(18px, 3vw, 36px);
}

html body[data-page="home"] .crypto-rates-layout {
  grid-template-columns: minmax(410px, .92fr) minmax(420px, 1.08fr);
}

html body[data-page="home"] .crypto-rates-board {
  overflow: hidden;
}

html body[data-page="home"] .crypto-rates-controls {
  grid-template-columns: minmax(104px, .72fr) minmax(176px, 1fr) minmax(94px, auto) !important;
  gap: 10px !important;
}

html body[data-page="home"] .crypto-rates-field,
html body[data-page="home"] .crypto-rates-field input,
html body[data-page="home"] .crypto-rates-field select,
html body[data-page="home"] .crypto-rates-refresh {
  min-width: 0 !important;
}

html body[data-page="home"] .crypto-rates-refresh {
  width: 100%;
  padding-inline: 12px;
  white-space: nowrap;
}

html body[data-page="home"] .crypto-rates-field:first-child input {
  max-width: 100% !important;
}

html body[data-page="home"] .crypto-rates-field:nth-child(2) select {
  max-width: 100% !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-note {
  display: none !important;
}

.liq-card-head b {
  text-align: right;
  max-width: 52%;
}

.liq-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.liq-depth-card {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(15, 23, 42, .38);
}

.liq-depth-card h3 {
  margin: 0 0 2px;
  color: #e5eefc;
  font-size: 12px;
  line-height: 1.2;
}

.liq-depth-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(42px, .54fr) minmax(72px, .9fr) minmax(58px, .72fr) minmax(70px, .86fr);
  gap: 7px;
  align-items: center;
  font-size: 11px;
}

.liq-depth-main {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.liq-depth-main b,
.liq-depth-row strong,
.liq-depth-price {
  min-width: 0;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liq-depth-main small {
  color: #94a3b8;
  font-weight: 900;
}

.liq-depth-row strong {
  text-align: right;
}

.liq-depth-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .14);
}

.liq-depth-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.liq-depth-row.is-long .liq-depth-bar i {
  background: linear-gradient(90deg, rgba(248, 113, 113, .38), rgba(248, 113, 113, .95));
}

.liq-depth-row.is-short .liq-depth-bar i {
  background: linear-gradient(90deg, rgba(34, 197, 94, .95), rgba(34, 197, 94, .38));
}

.liquidation-toolbar select option {
  color: #111827;
}

.liquidation-symbol-list {
  grid-template-columns: 1fr !important;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.liquidation-symbol-list .liq-symbol-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  text-align: left;
}

.liquidation-symbol-list .liq-symbol-button span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.liquidation-symbol-list .liq-symbol-button b,
.liquidation-symbol-list .liq-symbol-button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liquidation-symbol-list .liq-symbol-button small {
  color: #94a3b8;
  font-size: 11px;
}

@media (max-width: 1120px) {
  html body[data-page="home"] .crypto-rates-layout {
    grid-template-columns: minmax(380px, .9fr) minmax(390px, 1.1fr);
  }

  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: minmax(96px, .68fr) minmax(152px, 1fr) minmax(90px, auto) !important;
  }
}

@media (max-width: 980px) {
  html body[data-page="home"] .crypto-rates-layout,
  .liq-depth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: 1fr 1fr !important;
  }

  html body[data-page="home"] .crypto-rates-refresh {
    grid-column: 1 / -1;
  }

  .liq-depth-row {
    grid-template-columns: minmax(38px, .5fr) minmax(70px, 1fr) minmax(56px, .7fr) minmax(66px, .8fr);
  }
}
/* /BitClac v198 liquidation detail fixes */

/* BitClac v199 wide shell and liquidation selector fixes */
@media (min-width: 1024px) {
  body[data-page="home"] main.wrap.platform-page.platform-home,
  body[data-page="home"] .platform-footer {
    width: calc(100vw - var(--bc-sidebar-width, 272px)) !important;
    max-width: none !important;
    margin-left: var(--bc-sidebar-width, 272px) !important;
    margin-right: 0 !important;
  }

  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero {
    width: min(100% - 32px, 1680px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    width: min(calc(100vw - var(--bc-shell-sidebar, 272px) - 32px), 1680px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body[data-page="liquidation-map"] .liquidation-page-grid {
    grid-template-columns: minmax(720px, 1.72fr) minmax(260px, .48fr) !important;
  }

  body[data-page="home"] .crypto-rates-layout {
    grid-template-columns: minmax(520px, .95fr) minmax(560px, 1.05fr) !important;
    gap: clamp(22px, 2vw, 34px) !important;
  }
}

body[data-page="liquidation-map"] .liquidation-toolbar {
  grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.2fr) minmax(108px, auto) !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-panel {
  padding: 18px !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  max-height: 620px !important;
  overflow: auto !important;
  padding-right: 6px !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button {
  width: 100% !important;
  min-height: 54px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  text-align: left !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(15, 23, 42, .88) !important;
  border: 1px solid rgba(226, 232, 240, .18) !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 3px !important;
  border-radius: inherit !important;
  background: #fff !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo-text {
  display: none !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center !important;
  font-size: 10px !important;
  color: #eef8ff !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  display: grid !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button > span:last-child {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button b,
body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button small {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-depth-grid {
  grid-template-columns: 1fr !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-depth-row {
  grid-template-columns: 42px minmax(76px, .85fr) minmax(80px, .95fr) minmax(82px, .8fr) !important;
  gap: 8px !important;
  font-size: 11px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-depth-card {
  padding: 11px !important;
}

@media (max-width: 1240px) and (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-layout,
  body[data-page="liquidation-map"] .liquidation-page-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  body[data-page="liquidation-map"] .liquidation-toolbar {
    grid-template-columns: 1fr !important;
  }
}
/* /BitClac v199 wide shell and liquidation selector fixes */

/* BitClac v200 clean home crypto/liquidation panel */
@media (min-width: 1024px) {
  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero {
    width: min(100% - 48px, 1680px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }

  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    width: min(calc(100vw - var(--bc-shell-sidebar, 272px) - 48px), 1680px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
}

html body[data-page="home"] .crypto-rates-source,
html body[data-page="home"] .crypto-rates-metric:nth-child(n+3) {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-metrics--market-only {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body[data-page="home"] .crypto-rates-focus .crypto-rates-main {
  gap: 22px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-metrics--top {
  order: 1;
}

html body[data-page="home"] .crypto-rates-focus .liq-map {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-side-summary {
  order: 2;
}

html body[data-page="home"] .crypto-rates-focus .liq-depth-grid {
  order: 3;
}

html body[data-page="home"] .crypto-rates-focus .liq-card-head {
  margin-bottom: 2px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-card-head b {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-depth-row {
  grid-template-columns: 44px minmax(86px, .85fr) minmax(90px, 1fr) minmax(88px, .85fr) !important;
}

body[data-page="liquidation-map"] .liq-metrics--top {
  margin-top: 4px;
}
/* /BitClac v200 clean home crypto/liquidation panel */

/* BitClac v201 readable liquidation map */
@media (min-width: 1024px) {
  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero,
  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    margin-left: 28px !important;
    margin-right: 28px !important;
  }

  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero {
    width: min(100% - 56px, 1700px) !important;
  }

  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    width: min(calc(100vw - var(--bc-shell-sidebar, 272px) - 56px), 1700px) !important;
  }
}

body[data-page="liquidation-map"] .liquidation-map-info,
body[data-page="liquidation-map"] .liq-note,
.liq-map {
  display: none !important;
}

body[data-page="liquidation-map"] .liquidation-map-heading,
body[data-page="liquidation-map"] .liquidation-map-heading h1,
body[data-page="liquidation-map"] .liquidation-map-heading .section-lead {
  width: 100% !important;
  max-width: none !important;
}

body[data-page="liquidation-map"] .liquidation-map-heading .section-lead {
  line-height: 1.65 !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select,
body[data-page="liquidation-map"] .liquidation-toolbar select option,
body[data-page="liquidation-map"] .liquidation-toolbar select optgroup {
  color: #f8fafc !important;
  background: #252a35 !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select option:checked {
  color: #ffffff !important;
  background: #2f6fdd !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select:focus,
body[data-page="liquidation-map"] .liquidation-toolbar input:focus {
  border-color: rgba(34, 211, 238, .58) !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12) !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button.is-active,
body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button:hover {
  border-color: rgba(34, 211, 238, .55) !important;
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(59, 130, 246, .14)) !important;
  box-shadow: inset 3px 0 0 rgba(34, 211, 238, .78) !important;
}

body[data-page="home"] .crypto-rates-layout {
  align-items: stretch !important;
}

body[data-page="home"] .crypto-rates-board {
  min-height: min(860px, calc(100vh - 118px)) !important;
  display: flex !important;
  flex-direction: column !important;
}

body[data-page="home"] .crypto-rates-list {
  flex: 1 1 auto !important;
  max-height: none !important;
  min-height: 620px !important;
}

body[data-page="home"] .crypto-rates-focus {
  align-self: start !important;
}

.liq-side-summary .is-long,
.liq-zone-row.is-long .liq-zone-money,
.liq-zone-row.is-long .liq-zone-name {
  color: #86efac !important;
}

.liq-side-summary .is-short,
.liq-zone-row.is-short .liq-zone-money,
.liq-zone-row.is-short .liq-zone-name {
  color: #fca5a5 !important;
}

.liq-depth-row.is-long .liq-depth-bar i,
.liq-zone-row.is-long .liq-zone-bar i {
  background: linear-gradient(90deg, rgba(34, 197, 94, .40), rgba(34, 197, 94, .96)) !important;
}

.liq-depth-row.is-short .liq-depth-bar i,
.liq-zone-row.is-short .liq-zone-bar i {
  background: linear-gradient(90deg, rgba(248, 113, 113, .40), rgba(248, 113, 113, .96)) !important;
}

.liq-zone-list {
  display: grid;
  gap: 10px;
}

.liq-zone-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, .55fr) minmax(130px, .55fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .13);
  background: rgba(15, 23, 42, .42);
}

.liq-zone-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.liq-zone-copy b,
.liq-zone-money,
.liq-zone-distance {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liq-zone-copy b {
  color: #f8fafc;
  font-size: 13px;
}

.liq-zone-copy small,
.liq-zone-distance {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
}

.liq-zone-money {
  justify-self: end;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
}

.liq-zone-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .14);
}

.liq-zone-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-list {
  gap: 8px;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(86px, .45fr) minmax(88px, .55fr);
  padding: 10px 11px;
  gap: 9px;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-copy b {
  font-size: 12px;
}

@media (max-width: 760px) {
  .liq-zone-row,
  html body[data-page="home"] .crypto-rates-focus .liq-zone-row {
    grid-template-columns: 1fr;
  }

  .liq-zone-money {
    justify-self: start;
  }
}
/* /BitClac v201 readable liquidation map */

/* BitClac v202 scroll and readable liquidation cleanup */
@media (min-width: 1024px) {
  body[data-page="home"] main.platform-home > :not(.platform-hero),
  body[data-page="home"] main.platform-home > .platform-hero {
    width: min(100% - 88px, 1700px) !important;
    margin-left: 32px !important;
    margin-right: 56px !important;
  }

  body:not([data-page="home"]) main.wrap,
  body:not([data-page="home"]) .site-footer .wrap,
  body:not([data-page="home"]) .platform-footer .wrap {
    width: min(calc(100vw - var(--bc-shell-sidebar, 272px) - 88px), 1700px) !important;
    margin-left: 32px !important;
    margin-right: 56px !important;
  }
}

body[data-page="home"] .crypto-rates-board {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  align-self: start !important;
}

body[data-page="home"] .crypto-rates-list {
  max-height: none !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  padding-right: 0 !important;
  scrollbar-width: none !important;
}

body[data-page="home"] .crypto-rates-list::-webkit-scrollbar {
  display: none !important;
}

body[data-page="home"] .crypto-rates-row {
  min-height: 58px !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar,
body[data-page="liquidation-map"] .liquidation-page-card,
body[data-page="liquidation-map"] .liquidation-symbol-panel,
body[data-page="home"] .crypto-rates-board,
body[data-page="home"] .crypto-rates-focus {
  border-color: rgba(148, 163, 184, .20) !important;
  background: linear-gradient(145deg, rgba(17, 24, 39, .90), rgba(7, 10, 18, .72)) !important;
  box-shadow: 0 24px 68px rgba(0, 0, 0, .28) !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select,
body[data-page="liquidation-map"] .liquidation-toolbar input,
body[data-page="home"] .crypto-rates-field input,
body[data-page="home"] .crypto-rates-field select {
  border-color: rgba(148, 163, 184, .28) !important;
  background: #282d36 !important;
  color: #f8fafc !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select:focus,
body[data-page="liquidation-map"] .liquidation-toolbar input:focus,
body[data-page="home"] .crypto-rates-field input:focus,
body[data-page="home"] .crypto-rates-field select:focus {
  border-color: rgba(226, 232, 240, .40) !important;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, .12) !important;
  outline: none !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select option {
  color: #111827 !important;
  background: #f8fafc !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar select option:checked {
  color: #ffffff !important;
  background: #343a44 !important;
}

body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button.is-active,
body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button:hover {
  border-color: rgba(226, 232, 240, .34) !important;
  background: #313741 !important;
  box-shadow: inset 3px 0 0 rgba(226, 232, 240, .62) !important;
}

.liq-side-summary .is-long,
.liq-zone-row.is-long .liq-zone-name {
  color: #86efac !important;
}

.liq-side-summary .is-short,
.liq-zone-row.is-short .liq-zone-name {
  color: #fca5a5 !important;
}

.liq-side-summary b,
.liq-side-summary .liq-side-amount,
.liq-zone-money,
.liq-zone-copy b,
.liq-zone-price {
  color: #f8fafc !important;
}

.liq-zone-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "copy money"
    "bar bar" !important;
  gap: 9px 14px !important;
  align-items: center !important;
  padding: 12px 14px !important;
}

.liq-zone-copy {
  grid-area: copy !important;
  min-width: 0 !important;
}

.liq-zone-copy b {
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.28 !important;
}

.liq-zone-copy small {
  display: block !important;
  margin-top: 2px !important;
  color: #9aa6b8 !important;
  line-height: 1.25 !important;
}

.liq-zone-money {
  grid-area: money !important;
  justify-self: end !important;
  max-width: 260px !important;
  text-align: right !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

.liq-zone-bar {
  grid-area: bar !important;
  width: 100% !important;
  max-width: none !important;
}

.liq-zone-row.is-long .liq-zone-bar i {
  background: linear-gradient(90deg, rgba(34, 197, 94, .22), rgba(34, 197, 94, .74)) !important;
}

.liq-zone-row.is-short .liq-zone-bar i {
  background: linear-gradient(90deg, rgba(248, 113, 113, .22), rgba(248, 113, 113, .74)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-row {
  grid-template-columns: minmax(0, 1fr) minmax(142px, auto) !important;
  padding: 10px 12px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-money {
  max-width: 180px !important;
  font-size: 12px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-copy b {
  font-size: 12px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-zone-copy small {
  font-size: 10.5px !important;
}

@media (max-width: 760px) {
  .liq-zone-row,
  html body[data-page="home"] .crypto-rates-focus .liq-zone-row {
    grid-template-columns: 1fr !important;
    grid-template-areas: "copy" "money" "bar" !important;
  }

  .liq-zone-money {
    justify-self: start !important;
    text-align: left !important;
  }
}
/* /BitClac v202 scroll and readable liquidation cleanup */

/* BitClac v203 align home panels */
@media (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-layout {
    align-items: start !important;
  }

  body[data-page="home"] .crypto-rates-focus {
    margin-top: 0 !important;
    align-self: start !important;
    transform: translateY(-28px) !important;
  }

  body[data-page="home"] .crypto-rates-board {
    margin-top: 0 !important;
  }
}

@media (max-width: 1240px) {
  body[data-page="home"] .crypto-rates-focus {
    transform: none !important;
  }
}
/* /BitClac v203 align home panels */

/* BitClac v204 token list scroll only on hover */
@media (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-board {
    position: sticky !important;
    top: 32px !important;
    max-height: calc(100vh - 64px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
  }

  body[data-page="home"] .crypto-rates-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    padding-right: 0 !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
  }

  body[data-page="home"] .crypto-rates-board:hover .crypto-rates-list,
  body[data-page="home"] .crypto-rates-board:focus-within .crypto-rates-list {
    overflow-y: auto !important;
    padding-right: 4px !important;
  }

  body[data-page="home"] .crypto-rates-list::-webkit-scrollbar {
    width: 0 !important;
  }

  body[data-page="home"] .crypto-rates-board:hover .crypto-rates-list::-webkit-scrollbar,
  body[data-page="home"] .crypto-rates-board:focus-within .crypto-rates-list::-webkit-scrollbar {
    width: 8px !important;
  }
}
/* /BitClac v204 token list scroll only on hover */

/* BitClac v205 compact left panel */
@media (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
  }

  body[data-page="home"] .crypto-rates-focus {
    width: 100% !important;
    min-height: 0 !important;
    transform: translateY(-28px) !important;
  }

  body[data-page="home"] .crypto-rates-board {
    width: 100% !important;
  }
}

html body[data-page="home"] .crypto-rates-metrics,
html body[data-page="home"] .crypto-rates-metrics--market-only,
html body[data-page="home"] .crypto-rates-source {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-focus .crypto-rates-main {
  gap: clamp(24px, 2.8vw, 34px) !important;
}

html body[data-page="home"] .crypto-rates-focus .crypto-liquidation-panel {
  margin-top: 6px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-card-head b,
html body[data-page="home"] .crypto-rates-focus .liq-side-summary,
html body[data-page="home"] .crypto-rates-focus .liq-depth-grid,
html body[data-page="home"] .crypto-rates-focus .liq-zone-list,
html body[data-page="home"] .crypto-rates-focus .liq-metrics:not(.liq-home-ratio) {
  display: none !important;
}

.liq-home-compact {
  display: grid;
  gap: 14px;
}

.liq-home-ratio {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .44);
}

.liq-home-ratio small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.liq-home-ratio strong {
  color: #f8fafc;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: 0;
}

.liq-map-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 14px !important;
  background: #2b3038 !important;
  border: 1px solid rgba(226, 232, 240, .18) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

.liq-map-button:hover,
.liq-map-button:focus-visible {
  background: #343a44 !important;
  border-color: rgba(226, 232, 240, .32) !important;
}
/* /BitClac v205 compact left panel */

/* BitClac v206 restore home liquidation map */
@media (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-layout {
    align-items: stretch !important;
  }

  body[data-page="home"] .crypto-rates-focus,
  body[data-page="home"] .crypto-rates-board {
    min-height: min(860px, calc(100vh - 64px)) !important;
  }

  body[data-page="home"] .crypto-rates-focus {
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-page="home"] .crypto-rates-focus [data-crypto-selected],
  body[data-page="home"] .crypto-rates-focus .crypto-rates-main {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body[data-page="home"] .crypto-rates-focus .crypto-liquidation-panel {
    margin-top: clamp(24px, 3vw, 38px) !important;
  }
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home {
  display: grid !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-track {
  height: 38px !important;
  background: linear-gradient(90deg, rgba(34, 197, 94, .22), rgba(148, 163, 184, .12) 50%, rgba(248, 113, 113, .22)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-zone.is-long {
  background: linear-gradient(90deg, rgba(34, 197, 94, .34), rgba(34, 197, 94, .88)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-zone.is-short {
  background: linear-gradient(90deg, rgba(248, 113, 113, .88), rgba(248, 113, 113, .34)) !important;
}

.liq-home-compact--map {
  gap: 12px !important;
}

.liq-home-open-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(43, 48, 56, .78);
}

.liq-home-open-panel span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.liq-home-open-panel small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.liq-home-open-panel strong {
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.1;
}

.liq-home-open-panel .liq-map-button {
  width: auto !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  flex: 0 0 auto !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-home-ratio strong,
html body[data-page="home"] .crypto-rates-focus .liq-map-axis b,
html body[data-page="home"] .crypto-rates-focus .liq-map-labels span {
  color: #f8fafc !important;
}
/* /BitClac v206 restore home liquidation map */

/* BitClac v207 home liquidation levels restored */
@media (min-width: 1024px) {
  body[data-page="home"] .crypto-rates-layout {
    align-items: stretch !important;
  }

  body[data-page="home"] .crypto-rates-focus,
  body[data-page="home"] .crypto-rates-board {
    min-height: min(880px, calc(100vh - 64px)) !important;
  }

  body[data-page="home"] .crypto-rates-focus {
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-page="home"] .crypto-rates-focus [data-crypto-selected],
  body[data-page="home"] .crypto-rates-focus .crypto-rates-main {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body[data-page="home"] .crypto-rates-focus .crypto-liquidation-panel {
    margin-top: clamp(18px, 2.4vw, 28px) !important;
  }
}

.liq-home-compact--levels {
  display: grid !important;
  gap: 12px !important;
}

.liq-home-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 0 2px 2px;
}

.liq-home-title {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.liq-home-title small,
.liq-home-ratio-pill small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.liq-home-title strong {
  color: #f8fafc;
  font-size: 19px;
  line-height: 1.05;
}

.liq-home-ratio-pill {
  min-height: 40px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .46);
}

.liq-home-ratio-pill b {
  color: #f8fafc !important;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.liq-home-head .liq-map-button {
  width: auto !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  flex: 0 0 auto !important;
  border-radius: 12px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home {
  display: grid !important;
  padding: 12px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-track {
  height: 38px !important;
  background: linear-gradient(90deg, rgba(34, 197, 94, .22), rgba(148, 163, 184, .12) 50%, rgba(248, 113, 113, .22)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-axis span:first-child {
  color: #86efac !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-axis span:last-child {
  color: #fca5a5 !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-axis b,
html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-map-labels span {
  color: #f8fafc !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-zone.is-long {
  background: linear-gradient(90deg, rgba(34, 197, 94, .34), rgba(34, 197, 94, .88)) !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--home .liq-zone.is-short {
  background: linear-gradient(90deg, rgba(248, 113, 113, .88), rgba(248, 113, 113, .34)) !important;
}

.liq-home-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.liq-home-levels section {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(15, 23, 42, .36);
}

.liq-home-levels h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.liq-home-level-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
  grid-template-areas:
    "copy money"
    "bar bar";
  gap: 6px 10px;
  padding: 9px 10px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(2, 6, 23, .22);
}

.liq-home-level-copy {
  grid-area: copy;
  min-width: 0;
}

.liq-home-level-copy b {
  display: block;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.25;
}

.liq-home-level-copy small {
  display: block;
  margin-top: 2px;
  color: #9aa6b8;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
}

.liq-home-level-row strong {
  grid-area: money;
  justify-self: end;
  color: #f8fafc !important;
  font-size: 11.5px;
  line-height: 1.25;
  text-align: right;
}

.liq-home-level-row i {
  grid-area: bar;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .14);
}

.liq-home-level-row em {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.liq-home-level-row.is-long .liq-home-level-copy span {
  color: #86efac;
}

.liq-home-level-row.is-short .liq-home-level-copy span {
  color: #fca5a5;
}

.liq-home-level-row.is-long em {
  background: linear-gradient(90deg, rgba(34, 197, 94, .28), rgba(34, 197, 94, .86));
}

.liq-home-level-row.is-short em {
  background: linear-gradient(90deg, rgba(248, 113, 113, .28), rgba(248, 113, 113, .86));
}

@media (max-width: 1320px) {
  .liq-home-levels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .liq-home-head,
  .liq-home-level-row {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .liq-home-level-copy,
  .liq-home-level-row strong,
  .liq-home-level-row i {
    grid-area: auto;
    justify-self: stretch;
    text-align: left;
  }
}
/* /BitClac v207 home liquidation levels restored */

/* BitClac v208 home market row and clean map shell */
html body[data-page="home"] .crypto-rates-status {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.liq-home-head--market {
  grid-template-columns: minmax(92px, 1fr) repeat(4, minmax(64px, auto)) minmax(92px, auto) auto !important;
  gap: 8px !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.liq-home-head--market .liq-home-title,
.liq-home-head--market .liq-home-stat,
.liq-home-head--market .liq-home-ratio-pill {
  min-height: 42px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .13);
  background: rgba(15, 23, 42, .32);
}

.liq-home-head--market .liq-home-title {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}

.liq-home-stat small {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.liq-home-stat b {
  color: #f8fafc !important;
  font-size: 12.5px;
  line-height: 1.05;
  white-space: nowrap;
}

.liq-home-stat.is-positive b {
  color: #86efac !important;
}

.liq-home-stat.is-negative b {
  color: #fca5a5 !important;
}

.liq-home-head--market .liq-home-ratio-pill {
  min-width: 92px;
}

.liq-home-head--market .liq-map-button,
.liq-home-head--market .liq-map-open,
html body[data-page="home"] .crypto-rates-focus .liq-map-button {
  min-height: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  padding: 0 18px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--bare,
html body[data-page="home"] .crypto-rates-focus .liq-map--home.liq-map--bare {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--bare .liq-map-axis,
html body[data-page="home"] .crypto-rates-focus .liq-map--bare .liq-map-labels {
  padding: 0 2px !important;
}

html body[data-page="home"] .crypto-rates-focus .liq-map--bare .liq-map-track {
  height: 38px !important;
}

@media (max-width: 1480px) {
  .liq-home-head--market {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto !important;
  }

  .liq-home-head--market .liq-home-title {
    grid-column: 1 / span 2;
  }

  .liq-home-head--market .liq-home-ratio-pill {
    grid-column: 3 / span 2;
  }
}

@media (max-width: 680px) {
  .liq-home-head--market {
    grid-template-columns: 1fr 1fr !important;
  }

  .liq-home-head--market .liq-home-title,
  .liq-home-head--market .liq-home-ratio-pill,
  .liq-home-head--market .liq-map-button {
    grid-column: 1 / -1 !important;
  }
}
/* /BitClac v208 home market row and clean map shell */

/* BitClac v209 market cap row and levels-only liquidation preview */
.liq-home-compact--no-map .liq-map--home,
html body[data-page="home"] .crypto-rates-focus .liq-home-compact--no-map .liq-map--home {
  display: none !important;
}

.liq-home-head--market .liq-home-title,
.liq-home-head--market .liq-home-stat,
.liq-home-head--market .liq-home-ratio-pill,
.liq-home-head--market .liq-map-button {
  min-height: 48px !important;
  height: 48px !important;
  box-sizing: border-box !important;
}

.liq-home-head--market .liq-home-title,
.liq-home-head--market .liq-home-stat,
.liq-home-head--market .liq-home-ratio-pill {
  align-content: center !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.liq-home-head--market .liq-map-button,
.liq-home-head--market .liq-map-open,
html body[data-page="home"] .crypto-rates-focus .liq-map-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle !important;
}

.liq-home-stat small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liq-home-stat b,
.liq-home-ratio-pill b {
  color: #f8fafc !important;
}

.liq-home-stat.is-positive b {
  color: #86efac !important;
}

.liq-home-stat.is-negative b {
  color: #fca5a5 !important;
}

@media (min-width: 1481px) {
  .liq-home-head--market {
    grid-template-columns: minmax(104px, 1fr) minmax(86px, auto) repeat(3, minmax(66px, auto)) minmax(100px, auto) auto !important;
  }
}

@media (max-width: 1480px) {
  .liq-home-head--market {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto !important;
  }

  .liq-home-head--market .liq-home-title {
    grid-column: 1 / span 2;
  }

  .liq-home-head--market .liq-home-ratio-pill {
    grid-column: 3 / span 2;
  }
}
/* /BitClac v209 market cap row and levels-only liquidation preview */

/* BitClac v210 aligned home market panels */
html body[data-page="home"] .crypto-rates-controls {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-bottom: 16px !important;
  grid-template-columns: minmax(170px, .62fr) minmax(250px, 1.38fr) minmax(98px, auto) !important;
}

html body[data-page="home"] .crypto-rates-list {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
}

@media (min-width: 1241px) {
  html body[data-page="home"] .crypto-rates-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
    gap: clamp(26px, 2vw, 36px) !important;
    align-items: start !important;
  }

  html body[data-page="home"] .crypto-rates-focus,
  html body[data-page="home"] .crypto-rates-board {
    width: 100% !important;
    margin-top: 0 !important;
    align-self: start !important;
    transform: none !important;
  }
}

@media (max-width: 1240px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: minmax(140px, .72fr) minmax(210px, 1.28fr) minmax(94px, auto) !important;
  }
}

@media (max-width: 680px) {
  html body[data-page="home"] .crypto-rates-controls {
    grid-template-columns: 1fr 1fr !important;
  }

  html body[data-page="home"] .crypto-rates-refresh {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 1241px) {
  html body[data-page="home"] .crypto-rates-focus .liq-home-head--market {
    grid-template-columns: minmax(70px, 1fr) minmax(66px, auto) repeat(3, minmax(44px, auto)) minmax(70px, auto) minmax(84px, auto) !important;
    gap: 4px !important;
  }

  html body[data-page="home"] .crypto-rates-focus .liq-home-head--market .liq-home-stat {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  html body[data-page="home"] .crypto-rates-focus .liq-home-head--market .liq-home-ratio-pill {
    min-width: 70px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  html body[data-page="home"] .crypto-rates-focus .liq-home-head--market .liq-map-button {
    min-width: 84px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
/* /BitClac v210 aligned home market panels */
/* BitClac v211 deeper liquidation zones */
@media (min-width: 1241px) {
  html body[data-page="home"] .crypto-rates-focus .crypto-liquidation-panel {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
  }

  html body[data-page="home"] .liq-home-compact--v211 {
    width: 100%;
    flex: 1 1 auto;
    grid-template-rows: auto minmax(0, 1fr);
  }

  html body[data-page="home"] .liq-home-compact--v211 .liq-home-levels {
    min-height: 0;
    align-items: stretch;
  }

  html body[data-page="home"] .liq-home-compact--v211 .liq-home-levels section {
    grid-template-rows: auto repeat(6, minmax(62px, 1fr));
  }

  html body[data-page="home"] .liq-home-compact--v211 .liq-home-level-row {
    height: 100%;
    align-content: center;
  }
}

html body[data-page="home"] .liq-home-compact--v211 .liq-home-levels h3 {
  color: #dce6f4;
}

body[data-page="liquidation-map"] .liq-card-v211 .liq-zone-list {
  gap: 8px;
}

body[data-page="liquidation-map"] .liq-card-v211 .liq-zone-row {
  min-height: 62px;
  padding: 10px 12px;
}

body[data-page="liquidation-map"] .liq-card-v211 .liq-depth-card h3 {
  color: #dce6f4;
}

@media (max-width: 1240px) {
  html body[data-page="home"] .liq-home-compact--v211 .liq-home-levels section {
    grid-template-rows: none;
  }
}
/* /BitClac v211 deeper liquidation zones */
/* BitClac v212 top 500 market and coin detail */
.crypto-market-section {
  width: 100%;
  margin: 34px 0 72px;
  scroll-margin-top: 24px;
}

.crypto-market-heading,
.crypto-market-toolbar,
.crypto-market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.crypto-market-heading {
  margin-bottom: 18px;
}

.crypto-market-heading h2 {
  margin: 4px 0 7px;
  color: #f8fafc;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.crypto-market-heading p,
.crypto-market-update span,
.crypto-market-counter,
.crypto-market-footer > span {
  margin: 0;
  color: #98a4b5;
  font-size: 13px;
  line-height: 1.45;
}

.crypto-market-update {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.crypto-market-refresh {
  min-height: 42px;
  padding: 0 18px !important;
}

.crypto-market-toolbar {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #111722;
}

.crypto-market-search {
  width: min(420px, 100%);
  display: grid;
  gap: 6px;
}

.crypto-market-search span {
  color: #9aa7b8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crypto-market-search input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 6px;
  color: #f8fafc;
  background: #272c35;
  outline: none;
}

.crypto-market-search input:focus {
  border-color: rgba(52, 211, 153, .62);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .10);
}

.crypto-market-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, .18);
  background: #0e131c;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.crypto-market-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
}

.crypto-market-table th,
.crypto-market-table td {
  min-width: 0;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .13);
  text-align: right;
  vertical-align: middle;
}

.crypto-market-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 46px;
  color: #9ca8b8;
  background: #151b25;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.crypto-market-table th button,
.crypto-market-table th > span {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.crypto-market-table th button::after {
  content: "";
  width: 0;
  height: 0;
  opacity: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}

.crypto-market-table th button.is-active[data-direction="asc"]::after {
  opacity: 1;
  border-bottom: 5px solid #34d399;
}

.crypto-market-table th button.is-active[data-direction="desc"]::after {
  opacity: 1;
  border-top: 5px solid #34d399;
}

.crypto-market-table th.is-rank,
.crypto-market-table td.market-rank {
  width: 46px;
  text-align: center;
}

.crypto-market-table th.is-coin,
.crypto-market-table td.market-coin-cell {
  width: 250px;
  text-align: left;
}

.crypto-market-table th.is-coin button {
  justify-content: flex-start;
}

.crypto-market-table th.is-chart,
.crypto-market-table td.market-chart-cell {
  width: 150px;
}

.crypto-market-table tbody tr {
  height: 62px;
  background: #101620;
  cursor: pointer;
  transition: background-color .16s ease;
}

.crypto-market-table tbody tr:nth-child(even) {
  background: #131923;
}

.crypto-market-table tbody tr:hover,
.crypto-market-table tbody tr:focus-visible {
  background: #222833;
  outline: none;
}

.crypto-market-table tbody tr:last-child td {
  border-bottom: 0;
}

.market-rank {
  color: #a7b1bf;
  font-size: 12px;
  font-weight: 800;
}

.market-coin-cell a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.market-coin-cell .crypto-rates-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.market-coin-cell a > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.market-coin-cell b,
.market-coin-cell small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-coin-cell b {
  color: #f4f7fb;
  font-size: 13px;
}

.market-coin-cell small {
  color: #8f9cac;
  font-size: 11px;
  font-weight: 800;
}

.market-price,
.market-value {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.market-pct {
  display: inline-flex;
  min-width: 58px;
  justify-content: flex-end;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.market-pct.is-positive,
.coin-detail-root .is-positive {
  color: #5ee6a8 !important;
}

.market-pct.is-negative,
.coin-detail-root .is-negative {
  color: #ff8d98 !important;
}

.market-pct.is-flat,
.coin-detail-root .is-flat {
  color: #c5ced9 !important;
}

.market-chart-cell {
  height: 54px;
}

.market-sparkline {
  width: 132px;
  height: 38px;
  display: block;
  margin-left: auto;
  overflow: visible;
}

.market-sparkline polyline {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.market-sparkline.is-positive polyline {
  stroke: #2fd38a;
}

.market-sparkline.is-negative polyline {
  stroke: #f76f7d;
}

.market-sparkline-empty {
  color: #6f7b8a;
}

.crypto-market-loading-row td {
  height: 150px;
  color: #9ca8b8;
  text-align: center !important;
}

.crypto-market-footer {
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #111722;
}

.crypto-market-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crypto-market-pagination button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 6px;
  color: #dbe2ec;
  background: #272c35;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.crypto-market-pagination button:hover,
.crypto-market-pagination button:focus-visible {
  border-color: rgba(52, 211, 153, .5);
  background: #303740;
  outline: none;
}

.crypto-market-pagination button.is-active {
  border-color: #34d399;
  color: #08130f;
  background: #5ee6a8;
}

.crypto-market-pagination button:disabled {
  opacity: .36;
  cursor: default;
}

/* Coin detail */
.coin-detail-page {
  width: min(calc(100vw - var(--bc-shell-sidebar, 272px) - 64px), 1600px) !important;
  max-width: none !important;
  margin-left: 32px !important;
  margin-right: 32px !important;
  padding-top: 28px;
  padding-bottom: 72px;
}

.coin-detail-root {
  width: 100%;
  min-width: 0;
}

.coin-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #8f9bab;
  font-size: 12px;
  font-weight: 800;
}

.coin-detail-breadcrumb a {
  color: #5ee6a8;
  text-decoration: none;
}

.coin-detail-loading,
.coin-detail-error {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #a7b2c1;
  text-align: center;
}

.coin-detail-loading > span {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(148, 163, 184, .18);
  border-top-color: #34d399;
  border-radius: 50%;
  animation: coin-spin-v212 .9s linear infinite;
}

@keyframes coin-spin-v212 {
  to { transform: rotate(360deg); }
}

.coin-detail-loading strong,
.coin-detail-error strong {
  color: #f8fafc;
  font-size: 18px;
}

.coin-detail-content {
  display: grid;
  gap: 22px;
}

.coin-detail-overview {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, auto) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(148, 163, 184, .16);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.coin-detail-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.coin-detail-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.coin-detail-logo .crypto-rates-logo {
  width: 72px;
  height: 72px;
}

.coin-detail-logo .crypto-rates-logo-text {
  font-size: 15px;
}

.coin-detail-identity h1 {
  margin: 4px 0 7px;
  color: #f8fafc;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.coin-detail-symbol {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 5px;
  color: #aab5c3;
  background: #242a33;
  font-size: 11px;
  font-weight: 900;
}

.coin-detail-price {
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 6px;
}

.coin-detail-price strong {
  color: #f8fafc;
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
}

.coin-detail-price span {
  font-size: 14px;
  font-weight: 900;
}

.coin-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-detail-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.coin-detail-liquidation-link {
  border-color: rgba(52, 211, 153, .38) !important;
}

.coin-detail-stats,
.coin-detail-periods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.coin-detail-stats article,
.coin-detail-periods article {
  min-width: 0;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 7px;
  background: #121823;
}

.coin-detail-stats span,
.coin-detail-periods span {
  color: #8f9cac;
  font-size: 11px;
  font-weight: 900;
}

.coin-detail-stats b,
.coin-detail-periods b {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: #0f151f;
}

.coin-chart-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.coin-chart-head h2 {
  margin: 4px 0 0;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.coin-chart-ranges {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, .17);
  border-radius: 7px;
  background: #202630;
}

.coin-chart-ranges button {
  min-width: 52px;
  height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  color: #aeb8c5;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.coin-chart-ranges button.is-active {
  color: #07130f;
  background: #5ee6a8;
}

.coin-chart-summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  color: #8f9cac;
  font-size: 11px;
  font-weight: 800;
}

.coin-chart-summary b {
  margin-left: 4px;
  color: #f8fafc;
  font-size: 12px;
}

.coin-chart-stage {
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
  border-radius: 6px;
  background: #0b1018;
}

.coin-price-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.coin-chart-grid line {
  stroke: rgba(148, 163, 184, .12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.coin-chart-area {
  fill: rgba(52, 211, 153, .09);
}

.coin-chart-line {
  fill: none;
  stroke: #39d894;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.coin-price-chart.is-negative .coin-chart-area {
  fill: rgba(248, 113, 113, .08);
}

.coin-price-chart.is-negative .coin-chart-line {
  stroke: #f47782;
}

.coin-chart-cursor {
  opacity: 0;
  stroke: rgba(226, 232, 240, .55);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.coin-chart-point {
  opacity: 0;
  fill: #f8fafc;
  stroke: #34d399;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.coin-chart-cursor.is-visible,
.coin-chart-point.is-visible {
  opacity: 1;
}

.coin-chart-tooltip {
  position: absolute;
  z-index: 4;
  min-width: 126px;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: 6px;
  color: #f8fafc;
  background: #242a33;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  pointer-events: none;
}

.coin-chart-tooltip b {
  font-size: 13px;
}

.coin-chart-tooltip span {
  color: #aab4c2;
  font-size: 10px;
}

.coin-chart-wait {
  height: 100%;
  display: grid;
  place-items: center;
  color: #8f9cac;
  font-size: 13px;
}

.coin-chart-status,
.coin-detail-source {
  margin: 10px 0 0;
  color: #7f8b9b;
  font-size: 11px;
  font-weight: 700;
}

.coin-detail-source {
  text-align: right;
}

@media (max-width: 1180px) {
  .crypto-market-heading,
  .crypto-market-toolbar {
    align-items: flex-start;
  }

  .coin-detail-overview {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .coin-detail-actions {
    grid-column: 1 / -1;
  }

  .coin-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .crypto-market-section {
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .crypto-market-heading,
  .crypto-market-toolbar,
  .crypto-market-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-market-update {
    justify-content: space-between;
  }

  .crypto-market-heading h2 {
    font-size: 25px;
  }

  .crypto-market-search {
    width: 100%;
  }

  .crypto-market-pagination {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .crypto-market-pagination button {
    flex: 0 0 38px;
  }

  .coin-detail-page {
    width: min(100% - 24px, 1600px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 18px;
  }

  .coin-detail-overview {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .coin-detail-price {
    justify-items: start;
  }

  .coin-detail-price strong {
    font-size: 32px;
  }

  .coin-detail-actions {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .coin-detail-stats,
  .coin-detail-periods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-chart-panel {
    padding: 14px;
  }

  .coin-chart-head {
    align-items: stretch;
    flex-direction: column;
  }

  .coin-chart-ranges {
    width: 100%;
    overflow-x: auto;
  }

  .coin-chart-ranges button {
    flex: 1 0 52px;
  }

  .coin-chart-summary {
    gap: 12px;
    overflow-x: auto;
  }

  .coin-chart-summary span {
    white-space: nowrap;
  }

  .coin-chart-stage {
    height: 290px;
  }
}

@media (max-width: 430px) {
  .coin-detail-stats,
  .coin-detail-periods {
    grid-template-columns: 1fr;
  }

  .coin-detail-identity {
    align-items: flex-start;
  }

  .coin-detail-identity h1 {
    font-size: 28px;
  }
}
/* /BitClac v212 top 500 market and coin detail */
/* BitClac v212.1 coin detail state fixes */
.coin-detail-root [hidden] {
  display: none !important;
}

.coin-detail-logo {
  display: block !important;
  overflow: visible;
}

.coin-detail-logo .crypto-rates-logo {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 232, 240, .24) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
}

.coin-detail-logo .crypto-rates-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  padding: 5px !important;
  border-radius: inherit !important;
  background: #ffffff !important;
}

.coin-detail-logo .crypto-rates-logo-text {
  width: 100% !important;
  height: 100% !important;
  display: none !important;
  place-items: center !important;
  color: #17202b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.coin-detail-logo .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  display: grid !important;
}
/* /BitClac v212.1 coin detail state fixes */
/* BitClac v212.2 mobile market access */
@media (max-width: 1023px) {
  html body[data-page="home"] .crypto-rates-board {
    max-height: none !important;
    overflow: hidden !important;
  }

  html body[data-page="home"] .crypto-rates-list {
    max-height: 520px !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding-right: 4px !important;
    scrollbar-width: thin !important;
  }
}
/* /BitClac v212.2 mobile market access */
/* BitClac v212.3 compact mobile coin metrics */
@media (max-width: 430px) {
  .coin-detail-stats,
  .coin-detail-periods {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .coin-detail-stats article,
  .coin-detail-periods article {
    min-height: 76px;
    padding: 12px;
  }

  .coin-detail-stats b,
  .coin-detail-periods b {
    font-size: 12.5px;
  }
}
/* /BitClac v212.3 compact mobile coin metrics */
/* BitClac v213 unified crypto market */
:root {
  --market-v213-bg: #101316;
  --market-v213-panel: #171b20;
  --market-v213-raised: #242930;
  --market-v213-raised-hover: #2b3138;
  --market-v213-line: rgba(229, 234, 239, .12);
  --market-v213-line-strong: rgba(229, 234, 239, .2);
  --market-v213-text: #f4f6f8;
  --market-v213-muted: #99a2ad;
  --market-v213-green: #47d89a;
  --market-v213-green-soft: rgba(71, 216, 154, .14);
  --market-v213-red: #f17d87;
  --market-v213-red-soft: rgba(241, 125, 135, .14);
}

/* Market table: plain sortable labels, no header pills */
.crypto-market-section .eyebrow,
.coin-detail-page .eyebrow,
.liquidation-map-page .eyebrow {
  color: var(--market-v213-green) !important;
}

.crypto-market-toolbar,
.crypto-market-table-wrap {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-panel) !important;
}

.crypto-market-table th {
  color: var(--market-v213-muted) !important;
  background: #191d22 !important;
}

.crypto-market-table th button,
.crypto-market-table th > span {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  outline-offset: 5px;
  appearance: none;
}

.crypto-market-table tbody tr,
.crypto-market-table tbody tr:nth-child(even) {
  background: #15191e !important;
}

.crypto-market-table tbody tr:nth-child(even) {
  background: #191d22 !important;
}

.crypto-market-table tbody tr:hover,
.crypto-market-table tbody tr:focus-visible {
  background: var(--market-v213-raised) !important;
}

.crypto-market-table td,
.crypto-market-table th {
  border-color: var(--market-v213-line) !important;
}

.crypto-market-search input,
.crypto-market-pagination button,
.crypto-market-refresh {
  border-color: var(--market-v213-line-strong) !important;
  color: var(--market-v213-text) !important;
  background: var(--market-v213-raised) !important;
}

.crypto-market-pagination button.is-active {
  border-color: rgba(71, 216, 154, .55) !important;
  color: #07150f !important;
  background: var(--market-v213-green) !important;
}

.crypto-market-heading p,
.crypto-market-update span,
.crypto-market-counter,
.crypto-market-footer > span,
.crypto-market-search span {
  color: var(--market-v213-muted) !important;
}

/* Coin detail: one continuous page instead of a black hero panel */
body[data-page="coin-detail"] .coin-detail-overview {
  padding: 18px 0 28px !important;
  border-top: 0 !important;
  border-bottom-color: var(--market-v213-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.coin-detail-symbol,
.coin-detail-actions .btn,
.coin-detail-stats article,
.coin-detail-periods article,
.coin-tokenomics-grid article,
.coin-facts > div {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-panel) !important;
  box-shadow: none !important;
}

.coin-detail-actions .btn:hover {
  border-color: rgba(71, 216, 154, .45) !important;
  background: var(--market-v213-raised-hover) !important;
}

.coin-detail-stats span,
.coin-detail-periods span,
.coin-tokenomics-grid span,
.coin-facts dt {
  color: var(--market-v213-muted) !important;
}

.coin-detail-stats b,
.coin-detail-periods b {
  overflow: visible !important;
  line-height: 1.35;
  text-overflow: clip !important;
  white-space: normal !important;
}

.coin-chart-panel {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-panel) !important;
  box-shadow: none !important;
}

.coin-chart-ranges {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.coin-chart-ranges button {
  margin-left: 6px;
  border: 1px solid var(--market-v213-line-strong) !important;
  color: #c5cbd2 !important;
  background: var(--market-v213-raised) !important;
  box-shadow: none !important;
}

.coin-chart-ranges button:first-child {
  margin-left: 0;
}

.coin-chart-ranges button:hover {
  border-color: rgba(71, 216, 154, .42) !important;
  background: var(--market-v213-raised-hover) !important;
}

.coin-chart-ranges button.is-active {
  border-color: var(--market-v213-green) !important;
  color: #07150f !important;
  background: var(--market-v213-green) !important;
}

.coin-chart-stage {
  height: 420px !important;
  border: 1px solid rgba(229, 234, 239, .08);
  border-radius: 7px !important;
  background: #0f1215 !important;
}

.coin-chart-grid line {
  stroke: rgba(205, 213, 221, .12) !important;
}

.coin-chart-stop-start {
  stop-color: var(--market-v213-green);
  stop-opacity: .26;
}

.coin-chart-stop-end {
  stop-color: var(--market-v213-green);
  stop-opacity: .015;
}

.coin-price-chart.is-negative .coin-chart-stop-start {
  stop-color: var(--market-v213-red);
  stop-opacity: .24;
}

.coin-price-chart.is-negative .coin-chart-stop-end {
  stop-color: var(--market-v213-red);
  stop-opacity: .015;
}

.coin-chart-area {
  fill: url(#coin-chart-fill-v213) !important;
}

.coin-chart-line {
  stroke: var(--market-v213-green) !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coin-price-chart.is-negative .coin-chart-line {
  stroke: var(--market-v213-red) !important;
}

.coin-chart-current-guide {
  stroke: rgba(229, 234, 239, .2);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.coin-chart-endpoint {
  fill: #0f1215;
  stroke: var(--market-v213-green);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.coin-price-chart.is-negative .coin-chart-endpoint {
  stroke: var(--market-v213-red);
}

.coin-chart-y-axis {
  position: absolute;
  inset: 0 12px 0 auto;
  width: 74px;
  pointer-events: none;
}

.coin-chart-y-axis span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  color: #8f98a3;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.coin-chart-x-axis {
  position: absolute;
  right: 90px;
  bottom: 10px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  color: #7f8994;
  font-size: 11px;
  font-weight: 800;
}

.coin-chart-current-price {
  position: absolute;
  right: 8px;
  z-index: 2;
  min-width: 72px;
  padding: 5px 7px;
  transform: translateY(-50%);
  border-radius: 5px;
  color: #07150f;
  background: var(--market-v213-green);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  pointer-events: none;
}

.coin-price-chart.is-negative ~ .coin-chart-current-price {
  color: #21090d;
  background: var(--market-v213-red);
}

.coin-chart-tooltip {
  border-color: var(--market-v213-line-strong) !important;
  background: #242930 !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34) !important;
}

.coin-chart-status,
.coin-detail-source {
  color: var(--market-v213-muted) !important;
}

/* Per-coin information and tokenomics */
.coin-content-section {
  min-width: 0;
  padding: 28px 0 30px;
  border-top: 1px solid var(--market-v213-line);
}

.coin-content-heading {
  margin-bottom: 16px;
}

.coin-content-heading h2 {
  margin: 4px 0 0;
  color: var(--market-v213-text);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

/* Registry-backed futures summary on an ordinary coin page. */
.coin-futures-link {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--market-v213-line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 235, .09), rgba(20, 24, 29, .82) 52%);
}

.coin-futures-link .coin-content-heading { margin-bottom: 14px; }

.coin-futures-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.coin-futures-summary > span {
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--market-v213-line);
  border-radius: 8px;
  color: var(--market-v213-muted);
  font-size: 12px;
}

.coin-futures-summary b {
  color: var(--market-v213-text);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.coin-futures-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
}

.coin-futures-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.coin-futures-actions .coin-primary-link {
  padding: 10px 15px;
  border: 1px solid #68a7ff;
  border-radius: 8px;
  background: rgba(51, 121, 213, .22);
  color: #f4f8ff;
  font-weight: 800;
  text-decoration: none;
}

.coin-futures-actions .coin-primary-link:hover,
.coin-futures-actions .coin-primary-link:focus-visible {
  border-color: #9bc5ff;
  background: rgba(51, 121, 213, .34);
}

.coin-information-copy,
.coin-tokenomics-copy {
  max-width: 1080px;
  margin: 0;
  color: #b3bbc4;
  font-size: 15px;
  line-height: 1.75;
}

.coin-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.coin-facts > div {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 14px 16px;
  border: 1px solid var(--market-v213-line);
  border-radius: 7px;
}

.coin-facts dt,
.coin-facts dd {
  margin: 0;
}

.coin-facts dt,
.coin-tokenomics-grid span {
  font-size: 11px;
  font-weight: 900;
}

.coin-facts dd,
.coin-tokenomics-grid b {
  color: var(--market-v213-text);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.coin-tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.coin-tokenomics-grid article {
  min-width: 0;
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--market-v213-line);
  border-radius: 7px;
}

.coin-supply-progress {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--market-v213-line);
  border-radius: 7px;
  background: var(--market-v213-panel);
}

.coin-supply-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--market-v213-muted);
  font-size: 12px;
  font-weight: 800;
}

.coin-supply-progress > div b {
  color: var(--market-v213-text);
}

.coin-supply-progress > span {
  height: 8px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #2a3037;
}

.coin-supply-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--market-v213-green);
}

/* Main-page quote panel */
body[data-page="home"] .crypto-rates-focus,
body[data-page="home"] .crypto-rates-board {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-panel) !important;
  box-shadow: none !important;
}

body[data-page="home"] .crypto-rates-focus::before,
body[data-page="home"] .crypto-rates-focus::after,
body[data-page="home"] .crypto-rates-board::before,
body[data-page="home"] .crypto-rates-board::after {
  display: none !important;
}

body[data-page="home"] .crypto-rates-field span,
body[data-page="home"] .crypto-rates-status,
body[data-page="home"] .liq-home-title small,
body[data-page="home"] .liq-home-stat small,
body[data-page="home"] .liq-home-ratio-pill small,
body[data-page="home"] .liq-home-level-copy small {
  color: var(--market-v213-muted) !important;
}

body[data-page="home"] .crypto-rates-field input,
body[data-page="home"] .crypto-rates-field select,
body[data-page="home"] .crypto-rates-refresh,
body[data-page="home"] .crypto-rates-row,
body[data-page="home"] .liq-home-stat,
body[data-page="home"] .liq-home-ratio-pill,
body[data-page="home"] .liq-home-level-row,
body[data-page="home"] .liq-map-button {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-raised) !important;
  box-shadow: none !important;
}

body[data-page="home"] .crypto-rates-row:hover,
body[data-page="home"] .crypto-rates-row.is-selected {
  border-color: rgba(71, 216, 154, .38) !important;
  background: var(--market-v213-raised-hover) !important;
}

body[data-page="home"] .crypto-rates-field input:focus,
body[data-page="home"] .crypto-rates-field select:focus {
  border-color: rgba(71, 216, 154, .62) !important;
  box-shadow: 0 0 0 3px rgba(71, 216, 154, .1) !important;
}

body[data-page="home"] .crypto-liquidation-panel,
body[data-page="home"] .liq-home-compact,
body[data-page="home"] .liq-home-levels,
body[data-page="home"] .liq-depth-card {
  border-color: var(--market-v213-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="home"] .liq-home-title strong,
body[data-page="home"] .liq-home-stat b,
body[data-page="home"] .liq-home-ratio-pill b,
body[data-page="home"] .liq-home-level-copy b,
body[data-page="home"] .liq-zone-money {
  color: var(--market-v213-text) !important;
}

/* Full liquidation map */
body[data-page="liquidation-map"] .liquidation-toolbar,
body[data-page="liquidation-map"] .liquidation-page-card,
body[data-page="liquidation-map"] .liquidation-symbol-panel,
body[data-page="liquidation-map"] .liq-depth-card,
body[data-page="liquidation-map"] .liq-zone-row,
body[data-page="liquidation-map"] .liq-metrics > span,
body[data-page="liquidation-map"] .liq-side-summary,
body[data-page="liquidation-map"] .liquidation-map-info {
  border-color: var(--market-v213-line) !important;
  background: var(--market-v213-panel) !important;
  box-shadow: none !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar input,
body[data-page="liquidation-map"] .liquidation-toolbar select,
body[data-page="liquidation-map"] .liquidation-toolbar .btn,
body[data-page="liquidation-map"] .liq-symbol-button {
  border-color: var(--market-v213-line-strong) !important;
  color: var(--market-v213-text) !important;
  background: var(--market-v213-raised) !important;
  box-shadow: none !important;
}

body[data-page="liquidation-map"] .liquidation-toolbar input:focus,
body[data-page="liquidation-map"] .liquidation-toolbar select:focus,
body[data-page="liquidation-map"] .liq-symbol-button.is-active {
  border-color: var(--market-v213-green) !important;
  box-shadow: 0 0 0 3px rgba(71, 216, 154, .1) !important;
}

body[data-page="liquidation-map"] .liq-symbol-button.is-active {
  background: var(--market-v213-green-soft) !important;
}

body[data-page="liquidation-map"] .liquidation-page-status,
body[data-page="liquidation-map"] .liquidation-toolbar label > span,
body[data-page="liquidation-map"] .liq-card-head small,
body[data-page="liquidation-map"] .liq-depth-main small,
body[data-page="liquidation-map"] .liq-zone-copy small,
body[data-page="liquidation-map"] .liq-note {
  color: var(--market-v213-muted) !important;
}

body[data-page="liquidation-map"] .liq-card-head strong,
body[data-page="liquidation-map"] .liq-metrics b,
body[data-page="liquidation-map"] .liq-zone-price,
body[data-page="liquidation-map"] .liq-zone-money,
body[data-page="liquidation-map"] .liq-depth-price {
  color: var(--market-v213-text) !important;
}

.liq-depth-card.is-long .liq-zone-name,
.liq-depth-card.is-long .liq-depth-main b,
.liq-side-summary .is-long,
.liq-home-level-row.is-long .liq-home-level-copy > b > span {
  color: var(--market-v213-green) !important;
}

.liq-depth-card.is-short .liq-zone-name,
.liq-depth-card.is-short .liq-depth-main b,
.liq-side-summary .is-short,
.liq-home-level-row.is-short .liq-home-level-copy > b > span {
  color: var(--market-v213-red) !important;
}

.liq-zone-row.is-long .liq-zone-bar i,
.liq-depth-row.is-long .liq-depth-bar i,
.liq-home-level-row.is-long::after {
  background: var(--market-v213-green) !important;
}

.liq-zone-row.is-short .liq-zone-bar i,
.liq-depth-row.is-short .liq-depth-bar i,
.liq-home-level-row.is-short::after {
  background: var(--market-v213-red) !important;
}

@media (max-width: 900px) {
  .coin-facts,
  .coin-tokenomics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-chart-y-axis {
    right: 6px;
  }

  .coin-chart-x-axis {
    right: 74px;
  }
}

@media (max-width: 760px) {
  .coin-chart-stage {
    height: 310px !important;
  }

  .coin-chart-ranges {
    gap: 6px;
  }

  .coin-chart-ranges button {
    margin-left: 0;
  }

  .coin-chart-y-axis span,
  .coin-chart-x-axis {
    font-size: 9px;
  }

  .coin-information-copy,
  .coin-tokenomics-copy {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (max-width: 520px) {
  .coin-facts,
  .coin-tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .coin-content-section {
    padding-top: 23px;
    padding-bottom: 24px;
  }

  .coin-futures-link {
    margin: 18px 0;
    padding: 16px;
  }

  .coin-futures-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-futures-actions,
  .coin-futures-actions a { width: 100%; }

  .coin-futures-actions a { justify-content: center; }

  .coin-chart-current-price {
    min-width: 58px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 9px;
  }

  .coin-chart-y-axis {
    width: 58px;
  }

  .coin-chart-x-axis {
    right: 60px;
  }
}
/* /BitClac v213 unified crypto market */
/* BitClac v213.1 liquidation contrast */
body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button.is-active {
  border-color: var(--market-v213-green) !important;
  background: var(--market-v213-green-soft) !important;
  box-shadow: inset 3px 0 0 var(--market-v213-green) !important;
}

body[data-page="liquidation-map"] .liq-zone-row.is-long .liq-zone-money,
body[data-page="liquidation-map"] .liq-zone-row.is-short .liq-zone-money,
body[data-page="liquidation-map"] .liq-depth-row.is-long .liq-depth-price,
body[data-page="liquidation-map"] .liq-depth-row.is-short .liq-depth-price,
body[data-page="home"] .liq-home-level-row.is-long .liq-zone-money,
body[data-page="home"] .liq-home-level-row.is-short .liq-zone-money {
  color: var(--market-v213-text) !important;
}

body[data-page="liquidation-map"] .bitclac-main-nav a.active svg,
body[data-page="liquidation-map"] .bitclac-main-nav a[aria-current="page"] svg {
  color: var(--market-v213-green) !important;
  stroke: var(--market-v213-green) !important;
}
/* /BitClac v213.1 liquidation contrast */
.market-directory-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--market-v213-green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.market-directory-link:hover { text-decoration: underline; }

.coin-seo-article {
  max-width: 1120px;
  margin-top: 28px;
}
.coin-seo-article section {
  padding: 20px 0;
  border-top: 1px solid var(--market-v213-line);
}
.coin-seo-article h3 {
  margin: 0 0 9px;
  color: var(--market-v213-text);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}
.coin-seo-article p {
  max-width: 1020px;
  margin: 0;
  color: #b3bbc4;
  font-size: 15px;
  line-height: 1.75;
}

.coin-related-section {
  padding: 28px 0 32px;
  border-top: 1px solid var(--market-v213-line);
}
.coin-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.coin-related-card {
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--market-v213-line);
  border-radius: 7px;
  color: var(--market-v213-text);
  background: var(--market-v213-raised);
  text-decoration: none;
}
.coin-related-card:hover {
  border-color: rgba(71, 216, 154, .42);
  background: var(--market-v213-raised-hover);
}
.coin-related-card img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  object-fit: contain;
  background: #f4f5f6;
}
.coin-related-card span { min-width: 0; display: grid; gap: 3px; }
.coin-related-card b, .coin-related-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-related-card small { color: var(--market-v213-muted); font-size: 11px; font-weight: 800; }

.coin-directory-page { padding-top: 34px; padding-bottom: 56px; }
.coin-directory-head { max-width: 900px; margin-bottom: 28px; }
.coin-directory-head h1 {
  margin: 7px 0 10px;
  color: var(--market-v213-text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}
.coin-directory-head p { margin: 0; color: #b3bbc4; font-size: 16px; line-height: 1.65; }
.coin-directory-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.coin-directory-list a {
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--market-v213-line);
  border-radius: 7px;
  color: var(--market-v213-text);
  background: var(--market-v213-panel);
  text-decoration: none;
}
.coin-directory-list a:hover { border-color: rgba(71, 216, 154, .42); background: var(--market-v213-raised-hover); }
.coin-directory-list img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  object-fit: contain;
  background: #f4f5f6;
}
.coin-directory-list span { min-width: 0; display: grid; gap: 2px; }
.coin-directory-list b, .coin-directory-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-directory-list small { color: var(--market-v213-muted); font-size: 11px; }

@media (max-width: 1050px) {
  .coin-directory-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .coin-related-grid, .coin-directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .coin-seo-article h3 { font-size: 16px; }
  .coin-seo-article p { font-size: 14px; line-height: 1.65; }
  .coin-related-grid, .coin-directory-list { grid-template-columns: 1fr; }
}


/* BitClac v214 home scrollbar-width correction */
@media (min-width: 1024px) {
  body[data-page="home"] main.wrap.platform-page.platform-home,
  body[data-page="home"] .platform-footer {
    width: calc(100% - var(--bc-sidebar-width, 272px)) !important;
  }
}


/* BitClac v215 editorial coin pages */
.coin-tokenomics-explainer {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #30343b;
}

.coin-tokenomics-explainer h3,
.coin-editorial-article h3,
.coin-risk-section h3,
.coin-sources-section h3,
.coin-faq-section h3 {
  margin: 0 0 10px;
  color: #f4f5f7;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.25;
}

.coin-tokenomics-explainer p,
.coin-editorial-lead p,
.coin-editorial-article p,
.coin-sources-section p,
.coin-faq-list p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #c5c8cf;
  font-size: 16px;
  line-height: 1.72;
}

.coin-tokenomics-explainer p + p,
.coin-editorial-lead p + p,
.coin-editorial-article p + p {
  margin-top: 10px;
}

.coin-editorial-lead {
  width: 100%;
  margin-top: 4px;
}

.coin-editorial-lead p:first-child {
  color: #eceef2;
  font-size: 17px;
}

.coin-facts-editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.coin-editorial-article {
  margin-top: 26px;
  border-bottom: 1px solid #30343b;
}

.coin-editorial-article > section {
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid #30343b;
}

.coin-risk-section,
.coin-sources-section,
.coin-faq-section {
  width: 100%;
  padding-top: 26px;
}

.coin-risk-section ul,
.coin-sources-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.coin-risk-section li {
  position: relative;
  min-width: 0;
  padding: 14px 0 14px 20px;
  border-top: 1px solid #30343b;
  color: #d7d9de;
  line-height: 1.55;
}

.coin-risk-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8f9a;
}

.coin-sources-section {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  border-top: 1px solid #30343b;
}

.coin-sources-section ul {
  margin-top: 0;
}

.coin-sources-section li {
  border-top: 1px solid #30343b;
}

.coin-sources-section a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  color: #f2f3f5;
  text-decoration: none;
}

.coin-sources-section a:hover strong,
.coin-sources-section a:focus-visible strong {
  color: #75f0bc;
}

.coin-sources-section a span {
  color: #969ba5;
  font-size: 13px;
  text-align: right;
}

.coin-faq-section {
  border-top: 1px solid #30343b;
}

.coin-faq-list {
  margin-top: 12px;
  border-bottom: 1px solid #30343b;
}

.coin-faq-list details {
  border-top: 1px solid #30343b;
}

.coin-faq-list summary {
  position: relative;
  padding: 17px 38px 17px 0;
  color: #f1f2f4;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.coin-faq-list summary::-webkit-details-marker { display: none; }

.coin-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 13px;
  color: #75f0bc;
  font-size: 24px;
  font-weight: 500;
}

.coin-faq-list details[open] summary::after { content: "−"; }
.coin-faq-list details p { padding: 0 38px 18px 0; }

@media (max-width: 900px) {
  .coin-facts-editorial,
  .coin-risk-section ul,
  .coin-sources-section {
    grid-template-columns: 1fr;
  }

  .coin-sources-section ul { margin-top: 6px; }
}

@media (max-width: 600px) {
  .coin-tokenomics-explainer p,
  .coin-editorial-lead p,
  .coin-editorial-article p,
  .coin-sources-section p,
  .coin-faq-list p {
    font-size: 15px;
  }

  .coin-editorial-lead p:first-child { font-size: 16px; }
  .coin-sources-section a { align-items: flex-start; flex-direction: column; gap: 3px; }
  .coin-sources-section a span { text-align: left; }
}


/* BitClac v216 final unified surfaces */
:root {
  --bc-v216-bg: #101316;
  --bc-v216-sidebar: #191d22;
  --bc-v216-panel: #171b20;
  --bc-v216-control: #242930;
  --bc-v216-control-hover: #2b3138;
  --bc-v216-line: rgba(229, 234, 239, .13);
  --bc-v216-line-strong: rgba(229, 234, 239, .22);
  --bc-v216-text: #f4f6f8;
  --bc-v216-muted: #9aa3ad;
  --bc-v216-green: #47d89a;
  --bc-v216-green-soft: rgba(71, 216, 154, .13);
  --bc-v216-red: #f17d87;
  --bc-v216-icon: #79a9ff;
}

html,
body {
  background: var(--bc-v216-bg) !important;
}

body .platform-header,
body .site-header.platform-header {
  background: var(--bc-v216-sidebar) !important;
  border-color: var(--bc-v216-line) !important;
}

html body .bitclac-main-nav a::before,
html body .platform-header .bitclac-main-nav a::before,
html body .site-header .bitclac-main-nav a::before {
  color: var(--bc-v216-icon) !important;
  background: var(--bc-v216-icon) !important;
}

html body .bitclac-main-nav a svg {
  color: var(--bc-v216-icon) !important;
  stroke: var(--bc-v216-icon) !important;
}

html body .bitclac-main-nav a:hover,
html body .bitclac-main-nav a.active,
html body .bitclac-main-nav a[aria-current="page"] {
  color: var(--bc-v216-text) !important;
  background: var(--bc-v216-control-hover) !important;
}

body .card,
body .panel,
body .tool-card,
body .calculator-card,
body .dashboard-card,
body .portfolio-card,
body .journal-card,
body .academy-card,
body .article-card,
body .account-card,
body .workspace-card,
body .master-card,
body .mexc-next-step,
body .crypto-rates-focus,
body .crypto-rates-board,
body .crypto-market-toolbar,
body .crypto-market-table-wrap,
body .coin-chart-panel,
body .coin-detail-stats article,
body .coin-tokenomics-grid article,
body .coin-facts > div,
body .liquidation-toolbar,
body .liquidation-page-card,
body .liquidation-symbol-panel,
body .liquidation-map-info {
  border-color: var(--bc-v216-line) !important;
  background: var(--bc-v216-panel) !important;
  box-shadow: none !important;
}

body input,
body select,
body textarea,
body .btn,
body button:not(.crypto-rates-row):not(.liq-symbol-button) {
  border-color: var(--bc-v216-line-strong) !important;
  color: var(--bc-v216-text) !important;
  background-color: var(--bc-v216-control) !important;
  box-shadow: none !important;
}

body input:focus,
body select:focus,
body textarea:focus,
body .btn:focus-visible,
body button:focus-visible {
  border-color: var(--bc-v216-green) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(71, 216, 154, .11) !important;
}

body .btn:hover,
body button:not(:disabled):hover {
  border-color: rgba(71, 216, 154, .48) !important;
  background-color: var(--bc-v216-control-hover) !important;
}

body .tabs .active,
body .tabs [aria-selected="true"],
body .segmented .active,
body .segmented [aria-pressed="true"],
body .coin-chart-ranges button.is-active,
body .crypto-market-pagination button.is-active,
body .liq-symbol-button.is-active {
  border-color: var(--bc-v216-green) !important;
  color: #07150f !important;
  background: var(--bc-v216-green) !important;
  box-shadow: none !important;
}

.crypto-rates-logo img,
.coin-detail-logo img,
.market-coin-cell img,
.coin-directory-list img,
.coin-related-card img {
  display: block;
  object-fit: contain;
}

.market-buy-cell {
  width: 82px;
  text-align: center;
}

.market-buy-button,
.coin-directory-buy,
.coin-buy-button,
.home-mexc-buy {
  display: inline-flex !important;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px !important;
  border: 1px solid rgba(71, 216, 154, .52) !important;
  border-radius: 6px !important;
  color: var(--bc-v216-green) !important;
  background: var(--bc-v216-green-soft) !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.market-buy-button:hover,
.coin-directory-buy:hover,
.coin-buy-button:hover,
.home-mexc-buy:hover {
  border-color: var(--bc-v216-green) !important;
  color: #07150f !important;
  background: var(--bc-v216-green) !important;
}

.crypto-market-table {
  min-width: 1390px;
}

.coin-detail-actions {
  flex-wrap: wrap;
}

.coin-directory-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  border: 1px solid var(--bc-v216-line);
  border-radius: 7px;
  background: var(--bc-v216-panel);
}

.coin-directory-list .coin-directory-primary {
  border: 0 !important;
  background: transparent !important;
}

.coin-directory-list .coin-directory-buy {
  min-height: 30px;
  padding-inline: 10px !important;
}

body[data-page="home"] .crypto-rates-layout,
body[data-page="home"] .crypto-rates-focus,
body[data-page="home"] .crypto-rates-board {
  align-self: stretch;
}

body[data-page="home"] .crypto-rates-focus,
body[data-page="home"] .crypto-rates-board {
  border-color: var(--bc-v216-line) !important;
  background: var(--bc-v216-panel) !important;
}

body[data-page="home"] .crypto-rates-row,
body[data-page="liquidation-map"] .liq-symbol-button,
.liq-zone-row,
.liq-home-level-row {
  border-color: var(--bc-v216-line) !important;
  background: var(--bc-v216-control) !important;
}

body[data-page="home"] .crypto-rates-row:hover,
body[data-page="home"] .crypto-rates-row.is-active,
body[data-page="home"] .crypto-rates-row[aria-selected="true"] {
  border-color: rgba(71, 216, 154, .42) !important;
  background: var(--bc-v216-control-hover) !important;
}

.market-pct.is-positive,
.crypto-rates-change.is-positive,
.coin-detail-change.is-positive {
  color: var(--bc-v216-green) !important;
}

.market-pct.is-negative,
.crypto-rates-change.is-negative,
.coin-detail-change.is-negative {
  color: var(--bc-v216-red) !important;
}

@media (max-width: 760px) {
  .coin-directory-list li {
    padding-right: 8px;
  }

  .market-buy-button {
    min-height: 30px;
    padding-inline: 9px !important;
  }
}
/* /BitClac v216 final unified surfaces */

/* BitClac v216 affiliate button priority */
html body .coin-buy-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(71, 216, 154, 0.52) !important;
  background: #1d352c !important;
  color: #72e6b2 !important;
}

html body .coin-buy-button:hover,
html body .coin-buy-button:focus-visible {
  border-color: #47d89a !important;
  background: #25483a !important;
  color: #ffffff !important;
}
/* /BitClac v216 affiliate button priority */

/* BitClac v216 equal home panels */
@media (min-width: 1241px) {
  html body[data-page="home"] .crypto-rates-layout {
    align-items: stretch !important;
  }

  html body[data-page="home"] .crypto-rates-focus,
  html body[data-page="home"] .crypto-rates-board {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body[data-page="home"] .crypto-rates-board {
    display: flex !important;
    flex-direction: column !important;
  }

  html body[data-page="home"] .crypto-rates-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: hidden !important;
  }

  html body[data-page="home"] .crypto-rates-board:hover .crypto-rates-list,
  html body[data-page="home"] .crypto-rates-board:focus-within .crypto-rates-list {
    overflow-y: auto !important;
  }
}
/* /BitClac v216 equal home panels */


/* BitClac v217 home cleanup and navigation */
html body .bitclac-main-nav a,
html body .bitclac-main-nav a:visited {
  color: #c5cbd2 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body .bitclac-main-nav a:hover,
html body .bitclac-main-nav a:focus-visible,
html body .bitclac-main-nav a.active,
html body .bitclac-main-nav a[aria-current="page"] {
  color: var(--bc-v216-text) !important;
  background: var(--bc-v216-control-hover) !important;
}

body[data-page="home"] .crypto-market-footer {
  border-color: var(--bc-v216-line) !important;
  background: var(--bc-v216-panel) !important;
}

body[data-page="home"] .crypto-market-pagination button {
  border-color: var(--bc-v216-line-strong) !important;
  color: var(--bc-v216-text) !important;
  background: var(--bc-v216-control) !important;
}

body[data-page="home"] .crypto-market-pagination button.is-active {
  border-color: var(--bc-v216-green) !important;
  color: #07150f !important;
  background: var(--bc-v216-green) !important;
}

body[data-page="home"] .platform-hero {
  margin-bottom: 30px !important;
}

.home-footer-v217 {
  margin-top: 28px;
  padding: 34px 0 20px;
  border-top: 1px solid var(--bc-v216-line) !important;
  background: var(--bc-v216-panel) !important;
}

.home-footer-v217__main {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(440px, 1.65fr) auto;
  align-items: start;
  gap: 34px;
}

.home-footer-v217__brand p {
  max-width: 330px;
  margin: 12px 0 0;
  color: var(--bc-v216-muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-footer-v217__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px 24px;
}

.home-footer-v217__links a,
.home-footer-v217__meta a {
  color: #cbd1d7;
  text-decoration: none;
}

.home-footer-v217__links a:hover,
.home-footer-v217__meta a:hover {
  color: var(--bc-v216-green);
}

.home-footer-v217__meta {
  display: grid;
  gap: 10px;
  text-align: right;
}

.home-footer-v217__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bc-v216-line);
  color: var(--bc-v216-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-footer-v217__main { grid-template-columns: 1fr; gap: 24px; }
  .home-footer-v217__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
}

@media (max-width: 560px) {
  .home-footer-v217__links { grid-template-columns: 1fr 1fr; gap: 11px 16px; }
  .home-footer-v217__bottom { flex-direction: column; gap: 6px; }
}
/* /BitClac v217 home cleanup and navigation */


/* BitClac v218 logos, navigation and market layout */
html body[data-page="home"] .crypto-rates-liquidation-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 12px;
  color: var(--bc-v216-text);
}

html body[data-page="home"] .crypto-rates-liquidation-intro > span {
  width: 34px;
  height: 3px;
  flex: 0 0 34px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bc-v216-green) 0 50%, var(--bc-v216-red) 50% 100%);
}

html body[data-page="home"] .crypto-rates-liquidation-intro strong {
  font-size: 20px;
  line-height: 1.2;
}

html body .crypto-market-table thead th button,
html body .crypto-market-table thead th > span {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body[data-page="coin-detail"] .coin-detail-overview {
  grid-template-columns: minmax(250px, .8fr) minmax(330px, 1.15fr) minmax(185px, auto) auto !important;
  gap: 22px !important;
}

.coin-detail-overview-pulse {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--bc-v216-line);
  border-bottom: 1px solid var(--bc-v216-line);
}

.coin-detail-overview-pulse > span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 16px;
}

.coin-detail-overview-pulse > span + span {
  border-left: 1px solid var(--bc-v216-line);
}

.coin-detail-overview-pulse small {
  color: var(--bc-v216-muted);
  font-size: 11px;
  font-weight: 800;
}

.coin-detail-overview-pulse b {
  overflow: hidden;
  color: var(--bc-v216-text);
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-detail-overview-pulse b.is-positive,
.coin-detail-overview-pulse b.is-negative,
.coin-detail-overview-pulse b.is-flat {
  color: var(--bc-v216-text) !important;
}

@media (max-width: 1320px) {
  body[data-page="coin-detail"] .coin-detail-overview {
    grid-template-columns: minmax(250px, 1fr) minmax(180px, auto) !important;
  }

  body[data-page="coin-detail"] .coin-detail-overview-pulse {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body[data-page="coin-detail"] .coin-detail-actions {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 760px) {
  html body[data-page="home"] .crypto-rates-liquidation-intro {
    margin-top: 24px;
  }

  html body[data-page="home"] .crypto-rates-liquidation-intro strong {
    font-size: 17px;
  }

  body[data-page="coin-detail"] .coin-detail-overview {
    grid-template-columns: 1fr !important;
  }

  body[data-page="coin-detail"] .coin-detail-overview-pulse {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-page="coin-detail"] .coin-detail-actions {
    grid-column: auto;
    grid-row: auto;
  }

  .coin-detail-overview-pulse > span {
    padding: 10px 9px;
  }
}
/* /BitClac v218 logos, navigation and market layout */


/* BitClac v218 final table and mobile order */
html body[data-page="home"] .crypto-market-table thead th button:not(.crypto-rates-row):not(.liq-symbol-button),
html body[data-page="home"] .crypto-market-table thead th > span {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body[data-page="coin-detail"] .coin-detail-identity { grid-row: 1; }
  body[data-page="coin-detail"] .coin-detail-price { grid-row: 2; }
  body[data-page="coin-detail"] .coin-detail-overview-pulse { grid-row: 3; }
  body[data-page="coin-detail"] .coin-detail-actions { grid-row: 4; }
}
/* /BitClac v218 final table and mobile order */


/* BitClac v219 compact home liquidation heading */
@media (min-width: 1024px) {
  html body[data-page="home"] .crypto-rates-focus .crypto-rates-main {
    position: relative !important;
  }

  html body[data-page="home"] .crypto-rates-focus .crypto-rates-main-head {
    padding-right: 258px !important;
  }

  html body[data-page="home"] .crypto-rates-liquidation-intro {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 3;
    width: auto !important;
    max-width: 248px;
    justify-content: flex-end;
    margin: 0 !important;
    text-align: right;
  }

  html body[data-page="home"] .crypto-rates-liquidation-intro > span {
    width: 24px;
    flex-basis: 24px;
  }

  html body[data-page="home"] .crypto-rates-liquidation-intro strong {
    max-width: 205px;
    font-size: 16px;
    line-height: 1.25;
  }

  html body[data-page="home"] .crypto-rates-focus .crypto-liquidation-panel {
    margin-top: 0 !important;
  }
}

@media (max-width: 1023px) {
  html body[data-page="home"] .crypto-rates-liquidation-intro {
    width: fit-content;
    max-width: min(100%, 270px);
    justify-content: flex-end;
    align-self: flex-end;
    margin: 2px 0 0 auto;
    text-align: right;
  }

  html body[data-page="home"] .crypto-rates-liquidation-intro strong {
    max-width: 225px;
    font-size: 15px;
  }
}
/* /BitClac v219 compact home liquidation heading */


/* BitClac v220 neutral selected controls */
html body .coin-chart-ranges button.is-active,
html body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button.is-active {
  border-color: var(--bc-v216-line-strong) !important;
  color: var(--bc-v216-text) !important;
  background: var(--bc-v216-control-hover) !important;
  background-color: var(--bc-v216-control-hover) !important;
  box-shadow: inset 0 0 0 1px rgba(244, 246, 248, .08) !important;
}
/* /BitClac v220 neutral selected controls */


/* BitClac v225 objective audit and 360px fixes */
html body[data-page="home"] .crypto-rates-heading {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 430px) {
  body[data-page="liquidation-map"] .liquidation-map-hero,
  body[data-page="liquidation-map"] .liquidation-map-hero > *,
  body[data-page="liquidation-map"] .liquidation-page-grid,
  body[data-page="liquidation-map"] .liquidation-page-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="liquidation-map"] .liquidation-map-heading h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere;
  }
}


/* BitClac v225 mobile readability and touch targets */
@media (max-width: 760px) {
  html body[data-page="home"] .liq-home-stat small {
    display: block !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  html body .crypto-market-table thead th button {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .home-footer-v217__links > a,
  .home-footer-v217__meta > a,
  .site-footer .footer-col > a,
  .market-directory-link {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
  }
}
/* /BitClac v225 mobile readability and touch targets */


/* BitClac v225 mobile breadcrumb and footer targets */
@media (max-width: 760px) {
  .breadcrumbs a,
  .coin-detail-breadcrumb a,
  .site-footer .social-row a {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}
/* /BitClac v225 mobile breadcrumb and footer targets */

/* BitClac v226: calculated actions, masters, exchanges and mobile market */
:root {
  --bc-v226-bg: #101316;
  --bc-v226-panel: #171b20;
  --bc-v226-raised: #22272f;
  --bc-v226-line: #343b45;
  --bc-v226-text: #f4f6f8;
  --bc-v226-muted: #a9b0ba;
  --bc-v226-green: #43d39e;
  --bc-v226-green-dark: #173d31;
  --bc-v226-red: #ff7f8c;
}

html body .mexc-next-step.calculation-followup {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr) !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 18px 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0;
  transform: translateY(8px);
}

html body .mexc-next-step.calculation-followup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.calculation-next-card,
.calculation-history-card {
  min-width: 0;
  border: 1px solid var(--bc-v226-line);
  border-radius: 6px;
  background: var(--bc-v226-panel);
}

.calculation-next-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.calculation-ready-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--bc-v226-green);
  border-radius: 50%;
  color: var(--bc-v226-green);
  font-size: 20px;
  font-weight: 900;
}

.calculation-next-copy h3,
.calculation-history-head h3 {
  margin: 2px 0 6px;
  color: var(--bc-v226-text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.calculation-next-copy > p:last-child,
.calculation-history-empty {
  margin: 0;
  color: var(--bc-v226-muted);
  line-height: 1.5;
}

.calculation-next-eyebrow,
.calculation-history-head small {
  margin: 0;
  color: var(--bc-v226-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.calculation-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.calculation-next-actions .btn {
  min-height: 42px;
  white-space: nowrap;
}

.calculation-next-card > .mexc-disclaimer {
  grid-column: 2 / -1;
  margin: -6px 0 0;
  color: #818995;
  font-size: 11px;
}

.calculation-history-card {
  padding: 18px;
}

.calculation-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bc-v226-line);
}

.calculation-history-head h3 {
  font-size: 17px;
}

.calculation-history-head > a {
  color: var(--bc-v226-muted);
  font-size: 12px;
}

.calculation-history-list {
  display: grid;
}

.calculation-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  color: var(--bc-v226-text);
}

.calculation-history-item:last-child {
  border-bottom: 0;
}

.calculation-history-item span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.calculation-history-item strong {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.calculation-history-item small,
.calculation-history-item b {
  color: var(--bc-v226-muted);
  font-size: 11px;
}

html body.master-page .master-result-panel {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.master-page .master-result-panel > h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

html body.master-page .master-result-grid {
  display: block !important;
}

.master-step-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--bc-v226-line);
  border-radius: 6px 6px 0 0;
  background: var(--bc-v226-panel);
}

.master-step-track > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 66px;
  padding: 14px;
  color: var(--bc-v226-muted);
  font-weight: 800;
}

.master-step-track > div:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -14%;
  z-index: 2;
  width: 28%;
  height: 1px;
  background: var(--bc-v226-line);
}

.master-step-track b,
.master-step-track i {
  font-style: normal;
}

.master-step-track .is-complete,
.master-step-track .is-complete i {
  color: var(--bc-v226-green);
}

.master-report-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--bc-v226-line);
  border-bottom: 1px solid var(--bc-v226-line);
  border-left: 1px solid var(--bc-v226-line);
  background: var(--bc-v226-panel);
}

.master-report-section {
  min-width: 0;
}

.master-report-section + .master-report-section {
  border-left: 1px solid var(--bc-v226-line);
}

.master-report-section > h3 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--bc-v226-line);
  font-size: 19px;
}

.master-plan-row,
.master-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.master-plan-row:last-child,
.master-check-row:last-child {
  border-bottom: 0;
}

.master-plan-row span,
.master-check-row > span:not(.master-check-icon) {
  color: var(--bc-v226-muted);
}

.master-plan-row strong,
.master-check-row strong {
  color: var(--bc-v226-text);
  text-align: right;
}

.master-check-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.master-check-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--bc-v226-green);
  font-weight: 900;
}

.master-check-row.is-warn .master-check-icon,
.master-check-row.is-warn strong {
  color: #f6bf63;
}

.master-report-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto minmax(180px, .65fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--bc-v226-line);
  border-radius: 6px;
  background: var(--bc-v226-panel);
}

.master-report-actions h3,
.master-report-actions p {
  margin: 0;
}

.master-report-actions p,
.master-report-actions small {
  color: var(--bc-v226-muted);
  font-size: 12px;
}

html body.master-page .master-summary {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--bc-v226-green);
  color: var(--bc-v226-muted);
  background: var(--bc-v226-panel);
  line-height: 1.55;
}

.exchange-console {
  display: grid;
  gap: 18px;
  margin: 10px 0 44px;
}

.exchange-console-heading h1 {
  max-width: 820px;
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.exchange-console-heading > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--bc-v226-muted);
  line-height: 1.55;
}

.exchange-featured {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) repeat(3, minmax(150px, .8fr)) auto;
  align-items: center;
  min-height: 128px;
  padding: 20px 24px;
  border: 1px solid var(--bc-v226-line);
  border-radius: 6px;
  background: var(--bc-v226-panel);
}

.exchange-featured > * {
  min-width: 0;
}

.exchange-featured > * + * {
  padding-left: 24px;
  border-left: 1px solid var(--bc-v226-line);
}

.exchange-featured-brand,
.exchange-featured-stat {
  display: grid;
  gap: 5px;
}

.exchange-featured-brand strong {
  color: var(--bc-v226-text);
  font-size: 38px;
  line-height: 1;
}

.exchange-featured-stat strong {
  color: var(--bc-v226-text);
  font-size: 21px;
}

.exchange-featured span {
  color: var(--bc-v226-muted);
  font-size: 13px;
}

.exchange-table-shell {
  overflow: hidden;
  border: 1px solid var(--bc-v226-line);
  border-radius: 6px;
  background: var(--bc-v226-panel);
}

.exchange-table-row {
  display: grid;
  grid-template-columns: 1.15fr .65fr .8fr 1.15fr 1.6fr .7fr;
  align-items: center;
  min-height: 88px;
  padding: 12px 24px;
  border-top: 1px solid var(--bc-v226-line);
  gap: 16px;
}

.exchange-table-row > span,
.exchange-table-row > strong,
.exchange-table-row > a {
  min-width: 0;
}

.exchange-table-head {
  min-height: 54px;
  border-top: 0;
  color: var(--bc-v226-muted);
  font-size: 12px;
  font-weight: 800;
}

.exchange-table-row.is-featured {
  border-left: 3px solid var(--bc-v226-green);
  background: #1b201f;
}

.exchange-table-row small {
  display: block;
  margin-top: 4px;
  color: var(--bc-v226-muted);
}

.exchange-table-brand {
  font-size: 25px;
}

.exchange-availability {
  color: var(--bc-v226-green);
  font-size: 20px;
}

.exchange-table-row > a {
  color: var(--bc-v226-green);
  font-weight: 800;
}

.exchange-console-note {
  margin: -2px 0 0;
  color: #858d98;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .calculation-next-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .calculation-next-actions,
  .calculation-next-card > .mexc-disclaimer {
    grid-column: 2;
    justify-content: flex-start;
  }

  .master-report-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .master-report-actions > div,
  .master-report-actions > small {
    grid-column: 1 / -1;
  }

  .exchange-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .exchange-featured-brand,
  .exchange-featured > .btn {
    grid-column: span 3;
  }

  .exchange-featured > * + * {
    padding-left: 0;
    border-left: 0;
  }

  .exchange-featured-stat + .exchange-featured-stat {
    padding-left: 18px;
    border-left: 1px solid var(--bc-v226-line);
  }

  .exchange-featured > .btn {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  html body .mexc-next-step.calculation-followup,
  .master-report-columns {
    grid-template-columns: 1fr !important;
  }

  .master-report-section + .master-report-section {
    border-top: 1px solid var(--bc-v226-line);
    border-left: 0;
  }

  .exchange-table-head {
    display: none;
  }

  .exchange-table-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
  }

  .exchange-table-brand,
  .exchange-table-row > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  html body input[type="search"],
  html body .crypto-market-search input,
  html body [data-crypto-search],
  html body [data-market-search],
  html body [data-liquidation-search] {
    font-size: 16px !important;
  }

  html body .crypto-market-table-wrap {
    touch-action: pan-x pan-y;
    overscroll-behavior: auto;
  }

  html body .crypto-market-table thead th {
    position: static !important;
  }

  .calculation-next-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .calculation-ready-mark {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .calculation-next-copy h3 {
    font-size: 18px;
  }

  .calculation-next-actions,
  .calculation-next-card > .mexc-disclaimer {
    grid-column: 1 / -1;
  }

  .calculation-next-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .master-step-track > div {
    min-height: 56px;
    padding: 10px 6px;
    font-size: 12px;
    text-align: center;
  }

  .master-step-track > div:not(:last-child)::after {
    display: none;
  }

  .master-report-section > h3 {
    padding: 15px;
    font-size: 17px;
  }

  .master-plan-row,
  .master-check-row {
    padding: 10px 14px;
    font-size: 13px;
  }

  .master-check-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .master-check-row strong {
    grid-column: 2;
    text-align: left;
  }

  .master-report-actions {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .master-report-actions > * {
    grid-column: 1 !important;
    width: 100%;
  }

  .master-report-actions .btn {
    justify-content: center;
  }

  .exchange-featured {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .exchange-featured-brand,
  .exchange-featured > .btn {
    grid-column: 1;
  }

  .exchange-featured-stat,
  .exchange-featured-stat + .exchange-featured-stat {
    padding: 14px 0 0;
    border-top: 1px solid var(--bc-v226-line);
    border-left: 0;
  }

  .exchange-featured > .btn {
    width: 100%;
    justify-content: center;
  }

  .exchange-table-row {
    grid-template-columns: 1fr;
  }

  .exchange-table-brand,
  .exchange-table-row > a {
    grid-column: 1;
  }
}
/* /BitClac v226 */

/* BitClac v226 visual verification fixes */
html body .master-page .master-result-panel {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .master-page .master-result-panel > h2 {
  margin: 0 0 14px !important;
  font-size: 25px !important;
}

html body .master-page .master-result-grid {
  display: block !important;
  grid-template-columns: none !important;
}

html body .master-page .master-summary {
  margin: 14px 0 0 !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-left: 3px solid var(--bc-v226-green) !important;
  border-radius: 0 !important;
  color: var(--bc-v226-muted) !important;
  background: var(--bc-v226-panel) !important;
  line-height: 1.55 !important;
}

html body .exchange-featured .btn.primary,
html body .master-report-actions .btn.primary,
html body .calculation-next-actions .btn.primary {
  border-color: var(--bc-v226-green) !important;
  color: #07150f !important;
  background: var(--bc-v226-green) !important;
  box-shadow: none !important;
}

html body .exchange-featured .btn.primary:hover,
html body .master-report-actions .btn.primary:hover,
html body .calculation-next-actions .btn.primary:hover {
  border-color: #68e6b8 !important;
  background: #68e6b8 !important;
}
/* /BitClac v226 visual verification fixes */

/* BitClac v226 final responsive fit */
html body .calculation-next-card {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-content: start !important;
}

html body .calculation-next-actions,
html body .calculation-next-card > .mexc-disclaimer {
  grid-column: 2 !important;
  justify-content: flex-start !important;
}

@media (max-width: 620px) {
  html body .calculation-next-actions,
  html body .calculation-next-card > .mexc-disclaimer {
    grid-column: 1 / -1 !important;
  }

  html body[data-page="home"] .crypto-market-heading h2 {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }
}
/* /BitClac v226 final responsive fit */

@media (max-width: 620px) {
  html body .calculation-next-actions .mexc-affiliate-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* v233: interactive OHLC candlestick chart */
.coin-chart-stage {
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
}

.coin-chart-stage:focus-visible {
  outline: 2px solid rgba(71, 216, 154, .72);
  outline-offset: 3px;
}

.coin-price-chart {
  pointer-events: none;
}

.coin-chart-candles {
  shape-rendering: geometricPrecision;
}

.coin-candle {
  opacity: .9;
  transition: opacity .12s ease;
}

.coin-candle-wick {
  stroke: #47d89a;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.coin-candle-body {
  fill: #47d89a;
  stroke: #47d89a;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.coin-candle.is-down .coin-candle-wick,
.coin-candle.is-down .coin-candle-body {
  stroke: #f47782;
}

.coin-candle.is-down .coin-candle-body {
  fill: #f47782;
}

.coin-candle.is-flat .coin-candle-wick,
.coin-candle.is-flat .coin-candle-body {
  stroke: #a8b1bc;
}

.coin-candle.is-flat .coin-candle-body {
  fill: #a8b1bc;
}

.coin-candle.is-selected {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .34));
}

.coin-candle.is-selected .coin-candle-body {
  stroke: #fff;
  stroke-width: 1.6;
}

.coin-chart-cursor-x {
  stroke-dasharray: 2 6;
  opacity: 0;
}

.coin-chart-legend {
  position: absolute;
  top: 12px;
  left: 38px;
  z-index: 2;
  display: flex;
  gap: 12px;
  color: #9aa4af;
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
}

.coin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.coin-chart-legend span::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #47d89a;
  content: '';
}

.coin-chart-legend span.is-down::before {
  background: #f47782;
}

.coin-chart-tooltip[hidden] {
  display: none !important;
}

.coin-chart-tooltip {
  z-index: 6;
  width: 190px;
  min-width: 0;
  gap: 8px;
  padding: 11px 12px;
  transform: translateX(-50%);
  border-color: rgba(226, 232, 240, .2) !important;
  background: rgba(30, 35, 42, .97) !important;
  backdrop-filter: blur(8px);
}

.coin-chart-tooltip > strong {
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.35;
}

.coin-chart-tooltip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  align-items: baseline;
}

.coin-chart-tooltip-grid span {
  color: #9ba6b2;
  font-size: 10px;
  font-weight: 700;
}

.coin-chart-tooltip-grid b {
  color: #f5f7fa;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.coin-chart-tooltip.is-up .coin-chart-tooltip-change {
  color: #47d89a;
}

.coin-chart-tooltip.is-down .coin-chart-tooltip-change {
  color: #f47782;
}

@media (max-width: 760px) {
  .coin-chart-legend {
    top: 9px;
    left: 22px;
  }

  .coin-chart-tooltip {
    width: 176px;
    padding: 9px 10px;
  }
}


/* v234: exchange-style candle intervals */
.coin-chart-interval-controls {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.coin-chart-interval-label {
  color: #8f98a3;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.coin-chart-intervals {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.coin-chart-intervals button {
  min-width: 38px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(205, 213, 221, .18);
  border-radius: 5px;
  color: #b7c0ca;
  background: #1b2026;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.coin-chart-intervals button:hover {
  border-color: rgba(71, 216, 154, .48);
  color: #e7ebef;
  background: #222930;
}

.coin-chart-intervals button.is-active {
  border-color: #47d89a;
  color: #06150e;
  background: #47d89a;
}

.coin-chart-intervals button:focus-visible {
  outline: 2px solid rgba(71, 216, 154, .72);
  outline-offset: 2px;
}

.coin-chart-interval-controls small {
  margin-left: auto;
  color: #737f8b;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.coin-price-chart.is-dense .coin-candle-wick {
  stroke-width: .85;
}

.coin-price-chart.is-dense .coin-candle-body {
  stroke-width: .6;
}

.coin-price-chart.is-ultra-dense .coin-candle-wick {
  stroke-width: .55;
}

.coin-price-chart.is-ultra-dense .coin-candle-body {
  stroke-width: .35;
}

@media (max-width: 760px) {
  .coin-chart-interval-controls {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px 9px;
  }

  .coin-chart-interval-label {
    width: 100%;
  }

  .coin-chart-intervals {
    flex: 1 1 auto;
  }

  .coin-chart-intervals button {
    min-width: 36px;
    height: 27px;
    padding: 0 7px;
  }

  .coin-chart-interval-controls small {
    flex: 1 0 100%;
    margin-left: 0;
    text-align: left;
  }
}


/* BitClac v235 sidebar account and market navigation */
html body .bitclac-main-nav a[href="/spot-order-map.html"],
html body .bitclac-main-nav a[href="spot-order-map.html"],
html body .mobile-menu-links a[href="/spot-order-map.html"],
html body .mobile-menu-links a[href="spot-order-map.html"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 6h16M4 12h16M4 18h16%27/%3E%3Cpath d=%27M7 4v4M15 10v4M11 16v4%27/%3E%3C/svg%3E");
}

body[data-page="spot-order-map"] .bitclac-main-nav a[href="/spot-order-map.html"],
body[data-page="spot-order-map"] .bitclac-main-nav a[href="spot-order-map.html"] {
  color: var(--bc-v216-text, #fff) !important;
  background: var(--bc-v216-control-hover, #2b3138) !important;
}

.bitclac-sidebar-account {
  display: none;
}

@media (min-width: 1024px) {
  html body .platform-header .platform-nav {
    overflow: hidden !important;
  }

  html body .platform-header .bitclac-main-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(154, 163, 173, .36) transparent;
  }

  .bitclac-sidebar-account {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid var(--bc-v216-line, rgba(229, 234, 239, .13));
    border-radius: 12px;
    color: var(--bc-v216-text, #f4f6f8);
    background: var(--bc-v216-panel, #171b20);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
  }

  .bitclac-sidebar-account:hover,
  .bitclac-sidebar-account:focus-visible,
  .bitclac-sidebar-account.active {
    border-color: rgba(121, 169, 255, .58);
    background: var(--bc-v216-control-hover, #2b3138);
  }

  .bitclac-sidebar-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #07131f;
    background: #79b8f2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
  }

  .bitclac-sidebar-account-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .bitclac-sidebar-account-copy strong,
  .bitclac-sidebar-account-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bitclac-sidebar-account-copy strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.15;
  }

  .bitclac-sidebar-account-copy small {
    color: var(--bc-v216-muted, #9aa3ad);
    font-size: 10px;
    line-height: 1.2;
  }

  .bitclac-sidebar-account-arrow {
    color: var(--bc-v216-muted, #9aa3ad);
    font-size: 22px;
  }
}
/* /BitClac v235 sidebar account and market navigation */


/* BitClac v240 chart tooltip pointer clearance. */
.coin-chart-tooltip {
  transform: none;
  pointer-events: none;
}


/* BitClac v241: candle details live in a reserved dock below the plot. */
.coin-chart-stage {
  --coin-chart-plot-height: 420px;
  height: calc(var(--coin-chart-plot-height) + 112px) !important;
  overflow: hidden !important;
}

.coin-chart-stage .coin-price-chart {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--coin-chart-plot-height) !important;
}

.coin-chart-tooltip.is-docked {
  top: calc(var(--coin-chart-plot-height) + 8px) !important;
  right: 10px !important;
  bottom: auto !important;
  left: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 84px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 5.2fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-color: rgba(226, 232, 240, .14) !important;
  background: #171c22 !important;
  box-shadow: none !important;
  transform: none !important;
}

.coin-chart-tooltip.is-docked > strong {
  font-size: 12px;
  line-height: 1.35;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(66px, 1fr));
  gap: 8px;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat small {
  overflow: hidden;
  color: #8f9aa7;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat b {
  overflow: hidden;
  color: #f5f7fa;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .coin-chart-stage {
    --coin-chart-plot-height: 310px;
    height: calc(var(--coin-chart-plot-height) + 142px) !important;
  }

  .coin-chart-tooltip.is-docked {
    min-height: 116px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .coin-chart-tooltip.is-docked .coin-chart-tooltip-grid {
    grid-template-columns: repeat(3, minmax(66px, 1fr));
  }
}

@media (max-width: 430px) {
  .coin-chart-tooltip.is-docked {
    right: 7px !important;
    left: 7px !important;
    padding: 8px;
  }

  .coin-chart-tooltip.is-docked .coin-chart-tooltip-grid {
    gap: 6px;
  }
}


/* BitClac v243: compact OHLC inspector above the date axis. */
.coin-chart-stage {
  height: calc(var(--coin-chart-plot-height) + 104px) !important;
}

.coin-chart-tooltip.is-docked {
  top: auto !important;
  right: auto !important;
  bottom: 38px !important;
  left: 50% !important;
  width: min(820px, calc(100% - 36px)) !important;
  min-height: 68px !important;
  grid-template-columns: minmax(118px, .8fr) minmax(0, 5.2fr) !important;
  gap: 10px !important;
  padding: 8px 11px !important;
  transform: translateX(-50%) !important;
}

.coin-chart-tooltip-date {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.coin-chart-tooltip-date small {
  color: #8f9aa7;
  font-size: 9px;
  font-weight: 750;
}

.coin-chart-tooltip-date strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-grid {
  gap: 5px !important;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat {
  padding-left: 7px;
  border-left: 1px solid rgba(226, 232, 240, .11);
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat small {
  font-size: 8px;
}

.coin-chart-tooltip.is-docked .coin-chart-tooltip-stat b {
  font-size: 10px;
}

@media (max-width: 760px) {
  .coin-chart-stage {
    height: calc(var(--coin-chart-plot-height) + 146px) !important;
  }

  .coin-chart-tooltip.is-docked {
    bottom: 34px !important;
    min-height: 108px !important;
    grid-template-columns: 1fr !important;
  }
}

/* BitClac v244: full home liquidation map, trend glow and simpler coin search */
html body[data-page="home"] .crypto-rates-layout {
  display: block !important;
}

html body[data-page="home"] .crypto-rates-board {
  display: none !important;
}

html body[data-page="home"] .crypto-rates-focus {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  transform: none !important;
  overflow: visible !important;
}

html body[data-page="home"] .home-rates-main-v244 {
  display: grid !important;
  gap: 18px !important;
}

.home-coin-summary-v244 {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.home-coin-summary-v244 .crypto-rates-big-price {
  align-items: flex-end;
  margin: 0 !important;
}

.home-market-stats-v244 {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.home-market-stats-v244 > span {
  min-width: 118px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: #181e26;
}

.home-market-stats-v244 small,
.home-map-toolbar-v244 label > span,
.home-map-toolbar-v244 p small {
  color: #91a5bd;
  font-size: 11px;
  font-weight: 800;
}

.home-market-stats-v244 b {
  color: #f5f8fc;
  font-size: 13px;
}

.home-liquidation-shell-v244 {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 12px;
  background: #11161d;
}

.home-map-toolbar-v244 {
  display: grid;
  grid-template-columns: minmax(270px, 420px) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  background: #171c23;
}

.home-map-toolbar-v244 label,
.home-map-toolbar-v244 p {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
}

.home-map-toolbar-v244 input {
  width: 100%;
  min-height: 42px;
}

.home-map-toolbar-v244 p strong {
  color: #f4f7fb;
  font-size: 14px;
}

.home-map-open-v244 {
  min-height: 42px !important;
  white-space: nowrap;
}

.home-liquidation-map-v244 {
  min-height: 420px;
  padding: 14px;
}

.home-liquidation-shell-v244.is-loading {
  cursor: progress;
}

.home-liquidation-shell-v244.is-loading .mm-liquidation-map {
  opacity: .72;
  pointer-events: none;
}

/* Replace the white ring with a meaningful 24-hour trend glow. */
html body .crypto-rates-logo,
html body .market-coin-cell .crypto-rates-logo {
  border-color: rgba(148, 163, 184, .28) !important;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, .05) !important;
  transition: border-color .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) .crypto-rates-main-coin .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-row:has(.crypto-rates-change.is-positive) .crypto-rates-logo,
html body[data-page="home"] .crypto-market-table tbody tr:has(td:nth-child(6) .market-pct.is-positive) .crypto-rates-logo {
  border-color: rgba(71, 216, 154, .9) !important;
  box-shadow: 0 0 0 2px rgba(71, 216, 154, .12), 0 0 16px rgba(71, 216, 154, .32) !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) .crypto-rates-main-coin .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-row:has(.crypto-rates-change.is-negative) .crypto-rates-logo,
html body[data-page="home"] .crypto-market-table tbody tr:has(td:nth-child(6) .market-pct.is-negative) .crypto-rates-logo {
  border-color: rgba(241, 125, 135, .92) !important;
  box-shadow: 0 0 0 2px rgba(241, 125, 135, .12), 0 0 16px rgba(241, 125, 135, .3) !important;
}

html body[data-page="home"] .crypto-market-table tbody tr:hover .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-focus:hover .crypto-rates-main-coin .crypto-rates-logo {
  filter: saturate(1.12) brightness(1.06);
  transform: translateY(-1px) scale(1.035);
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) {
  border-color: rgba(71, 216, 154, .42) !important;
  box-shadow: 0 0 26px rgba(71, 216, 154, .08) !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) {
  border-color: rgba(241, 125, 135, .4) !important;
  box-shadow: 0 0 26px rgba(241, 125, 135, .07) !important;
}

/* The standalone limit-liquidity page uses the same single-field coin search. */
html body[data-page="spot-order-map"] .spot-order-toolbar {
  grid-template-columns: minmax(260px, 1fr) auto !important;
}

html body[data-page="spot-order-map"] .spot-order-toolbar label:has([data-spot-order-select]) {
  display: none !important;
}

html body[data-page="spot-order-map"] .spot-order-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body[data-page="spot-order-map"] .spot-order-symbol-panel {
  display: none !important;
}

@media (max-width: 860px) {
  .home-coin-summary-v244 {
    grid-template-columns: 1fr auto;
  }

  .home-market-stats-v244 {
    grid-column: 1 / -1;
  }

  .home-map-toolbar-v244 {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-map-toolbar-v244 p {
    display: none;
  }
}

@media (max-width: 620px) {
  .home-coin-summary-v244,
  .home-map-toolbar-v244,
  html body[data-page="spot-order-map"] .spot-order-toolbar {
    grid-template-columns: 1fr !important;
  }

  .home-market-stats-v244 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-market-stats-v244 > span {
    min-width: 0;
  }

  .home-map-open-v244 {
    width: 100%;
  }

  .home-liquidation-map-v244 {
    min-height: 360px;
    padding: 8px;
  }
}
/* /BitClac v244 */

/* BitClac v245: the home liquidation area is exactly two long compact surfaces. */
html body[data-page="home"] .crypto-rates-focus {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body[data-page="home"] .home-rates-main-v244 {
  gap: 10px !important;
}

/* Long block 1: coin, price and two market metrics. */
html body[data-page="home"] .home-coin-summary-v244 {
  min-height: 74px;
  grid-template-columns: minmax(190px, 1fr) auto auto !important;
  gap: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(148, 163, 184, .2) !important;
  border-radius: 10px !important;
  background: #171c23 !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin {
  gap: 10px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin .crypto-rates-logo {
  width: 42px !important;
  height: 42px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin strong {
  font-size: 18px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-big-price {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 10px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-big-price > strong {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1 !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-change {
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(148, 163, 184, .1) !important;
  white-space: nowrap;
}

html body[data-page="home"] .home-market-stats-v244 {
  gap: 0 !important;
}

html body[data-page="home"] .home-market-stats-v244 > span {
  min-width: 110px !important;
  padding: 3px 14px !important;
  border: 0 !important;
  border-left: 1px solid rgba(148, 163, 184, .2) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Long block 2: search, period, metrics, action and the two map columns. */
html body[data-page="home"] .home-liquidation-shell-v244 {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.15fr) minmax(150px, .62fr) minmax(310px, 1.35fr) auto;
  align-items: center;
  gap: 0 12px;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, .2) !important;
  border-radius: 10px !important;
  background: #11161d !important;
}

html body[data-page="home"] .home-map-toolbar-v244,
html body[data-page="home"] .home-liquidation-map-v244,
html body[data-page="home"] .home-liquidation-map-v244 > .mm-liquidation-map {
  display: contents !important;
}

html body[data-page="home"] .home-map-toolbar-v244 > label {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  justify-content: center;
  padding: 10px 0 10px 14px;
}

html body[data-page="home"] .home-map-toolbar-v244 > label > span {
  color: #a8b8ca !important;
}

html body[data-page="home"] .home-map-toolbar-v244 > p {
  display: none !important;
}

html body[data-page="home"] .home-map-toolbar-v244 > .home-map-open-v244 {
  grid-column: 4;
  grid-row: 1;
  min-height: 40px !important;
  margin-right: 14px;
  align-self: center;
}

html body[data-page="home"] .home-liquidation-map-v244 {
  min-height: 0 !important;
  padding: 0 !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-card-head,
html body[data-page="home"] .home-liquidation-map-v244 .mm-card-note {
  display: none !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 10px 0 10px 12px !important;
  border: 0 !important;
  border-left: 1px solid rgba(148, 163, 184, .18) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation label {
  width: 100%;
  gap: 5px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation label > span {
  color: #a8b8ca !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation select {
  width: 100% !important;
  min-height: 40px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation > p {
  display: none !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips {
  grid-column: 3;
  grid-row: 1;
  align-self: stretch;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0 !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-left: 1px solid rgba(148, 163, 184, .18);
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips > span {
  min-width: 0 !important;
  padding: 3px 10px !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, .16) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips small,
html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 !important;
  padding: 12px 14px 0 !important;
  border-top: 1px solid rgba(148, 163, 184, .2);
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map-summary {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 14px 10px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 > .mm-state {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 220px;
  border-top: 1px solid rgba(148, 163, 184, .2);
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-side-panel-head {
  min-height: 72px !important;
  padding: 10px 12px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-side-current,
html body[data-page="home"] .home-liquidation-map-v244 .mm-side-actions {
  padding-block: 7px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-price-scroll {
  height: 330px !important;
  max-height: 330px !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) {
  box-shadow: none !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) .home-coin-summary-v244 {
  border-color: rgba(71, 216, 154, .42) !important;
  box-shadow: 0 0 22px rgba(71, 216, 154, .07) !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) {
  box-shadow: none !important;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) .home-coin-summary-v244 {
  border-color: rgba(241, 125, 135, .4) !important;
  box-shadow: 0 0 22px rgba(241, 125, 135, .07) !important;
}

@media (max-width: 1120px) {
  html body[data-page="home"] .home-liquidation-shell-v244 {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, .7fr) auto;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips {
    grid-column: 1 / 3;
    grid-row: 2;
    padding: 7px 14px !important;
    border-top: 1px solid rgba(148, 163, 184, .18);
    border-left: 0;
  }

  html body[data-page="home"] .home-map-toolbar-v244 > .home-map-open-v244 {
    grid-column: 3;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map {
    grid-row: 3;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map-summary {
    grid-row: 4;
  }
}

@media (max-width: 760px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .home-market-stats-v244 {
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid rgba(148, 163, 184, .16);
  }

  html body[data-page="home"] .home-market-stats-v244 > span:first-child {
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  html body[data-page="home"] .home-liquidation-shell-v244 {
    grid-template-columns: 1fr 1fr;
  }

  html body[data-page="home"] .home-map-toolbar-v244 > label {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-right: 14px;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation {
    grid-column: 1;
    grid-row: 2;
    padding-left: 14px !important;
    border-top: 1px solid rgba(148, 163, 184, .18) !important;
    border-left: 0 !important;
  }

  html body[data-page="home"] .home-map-toolbar-v244 > .home-map-open-v244 {
    grid-column: 2;
    grid-row: 2;
    width: calc(100% - 14px);
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map {
    grid-row: 4;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map-summary {
    grid-row: 5;
  }
}

@media (max-width: 520px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 1fr !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-big-price {
    justify-content: space-between;
  }

  html body[data-page="home"] .home-market-stats-v244 {
    grid-column: 1 !important;
  }

  html body[data-page="home"] .home-liquidation-shell-v244 {
    grid-template-columns: 1fr;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-map-filter-bar--liquidation,
  html body[data-page="home"] .home-map-toolbar-v244 > .home-map-open-v244,
  html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips {
    grid-column: 1;
  }

  html body[data-page="home"] .home-map-toolbar-v244 > .home-map-open-v244 {
    grid-row: 3;
    width: auto;
    margin: 0 14px 10px;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-metric-chips {
    grid-row: 4;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map {
    grid-row: 5;
  }

  html body[data-page="home"] .home-liquidation-map-v244 .mm-split-map-summary {
    grid-row: 6;
  }
}
/* /BitClac v245 */

/* v245 compact-strip gap fix: neutralize the inherited section margin. */
html body[data-page="home"] .home-coin-summary-v244,
html body[data-page="home"] .home-liquidation-shell-v244 {
  margin: 0 !important;
}

/* v245 compact-strip final layout corrections. */
html body[data-page="home"] .crypto-rates-focus .home-rates-main-v244 {
  display: grid !important;
  flex: none !important;
  flex-direction: initial !important;
  gap: 10px !important;
}

html body[data-page="home"] .home-liquidation-map-v244 .mm-price-scroll {
  box-sizing: border-box !important;
  height: 330px !important;
  max-height: 330px !important;
}

/* v245: allow the compact panel height to override the legacy minimum. */
html body[data-page="home"] .home-liquidation-map-v244 [data-mm-price-scroll] {
  min-height: 0 !important;
  height: 330px !important;
  max-height: 330px !important;
  box-sizing: border-box !important;
}

/* BitClac v246: compact graphite token tiles with a restrained trend stripe. */
html body .crypto-rates-logo,
html body .market-coin-cell .crypto-rates-logo {
  --v246-token-direction: #697586;
  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  padding: 5px 5px 5px 8px !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(145deg, rgba(51, 59, 70, .94), rgba(30, 35, 43, .98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  filter: none !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease !important;
}

html body .crypto-rates-logo::before,
html body .market-coin-cell .crypto-rates-logo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 5px auto 5px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--v246-token-direction);
}

html body .crypto-rates-logo img,
html body .market-coin-cell .crypto-rates-logo img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

html body .crypto-rates-logo .crypto-rates-logo-text {
  position: relative;
  z-index: 1;
  border-radius: 6px !important;
}

/* One compact size for lists and market tables. */
html body .crypto-rates-row .crypto-rates-logo,
html body .crypto-market-table .market-coin-cell .crypto-rates-logo {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  flex: 0 0 42px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  flex: 0 0 38px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin .crypto-rates-logo {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  flex: 0 0 46px !important;
}

/* Direction is communicated only by the narrow stripe. */
html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) .crypto-rates-main-coin .crypto-rates-logo,
html body .crypto-rates-row:has(.crypto-rates-change.is-positive) .crypto-rates-logo,
html body .crypto-market-table tbody tr:has(.market-pct.is-positive) .crypto-rates-logo {
  --v246-token-direction: #47d89a;
}

html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) .crypto-rates-main-coin .crypto-rates-logo,
html body .crypto-rates-row:has(.crypto-rates-change.is-negative) .crypto-rates-logo,
html body .crypto-market-table tbody tr:has(.market-pct.is-negative) .crypto-rates-logo {
  --v246-token-direction: #f17d87;
}

/* Quiet interaction without returning the old halo. */
html body .crypto-market-table tbody tr:hover .crypto-rates-logo,
html body .crypto-market-table tbody tr:focus-visible .crypto-rates-logo,
html body .crypto-rates-row:hover .crypto-rates-logo,
html body .crypto-rates-row:focus-visible .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-focus:hover .crypto-rates-main-coin .crypto-rates-logo {
  border-color: rgba(203, 213, 225, .38) !important;
  background:
    linear-gradient(145deg, rgba(59, 68, 80, .98), rgba(34, 40, 49, 1)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
  filter: none !important;
  transform: translateY(-1px) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body .crypto-rates-logo,
  html body .market-coin-cell .crypto-rates-logo {
    transition: none !important;
  }
}
/* /BitClac v246 */

/* v246: override the former high-specificity trend halo rules. */
html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-positive) .crypto-rates-main-coin .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-row:has(.crypto-rates-change.is-positive) .crypto-rates-logo,
html body[data-page="home"] .crypto-market-table tbody tr:has(td:nth-child(6) .market-pct.is-positive) .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-focus:has(.crypto-rates-change.is-negative) .crypto-rates-main-coin .crypto-rates-logo,
html body[data-page="home"] .crypto-rates-row:has(.crypto-rates-change.is-negative) .crypto-rates-logo,
html body[data-page="home"] .crypto-market-table tbody tr:has(td:nth-child(6) .market-pct.is-negative) .crypto-rates-logo {
  border-color: rgba(148, 163, 184, .22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  filter: none !important;
}

/* BitClac v247: token alignment, expanded liquidation page and cleaner sidebar. */

/* Keep the logo optically centered; the trend stripe overlays the tile. */
html body .crypto-rates-logo,
html body .market-coin-cell .crypto-rates-logo {
  padding: 5px !important;
}

html body .crypto-rates-main-coin,
html body .market-coin-cell a,
html body .liq-symbol-button {
  align-items: center !important;
}

html body .crypto-rates-logo img,
html body .market-coin-cell .crypto-rates-logo img {
  align-self: center;
  justify-self: center;
}

/* A coin-detail hero uses the full round asset, not the compact list tile. */
html body .coin-detail-logo {
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

html body .coin-detail-logo .crypto-rates-logo {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  padding: 0 !important;
  border: 1px solid rgba(226, 232, 240, .24) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body .coin-detail-logo .crypto-rates-logo::before {
  display: none !important;
}

html body .coin-detail-logo .crypto-rates-logo img {
  width: 100% !important;
  height: 100% !important;
  padding: 5px !important;
  border-radius: 50% !important;
  background: transparent !important;
  object-fit: contain !important;
}

/* Secondary information stays in the footer, not in the left navigation. */
html body .bitclac-main-nav a[href="/learn.html"],
html body .bitclac-main-nav a[href="learn.html"],
html body .bitclac-main-nav a[href="/articles.html"],
html body .bitclac-main-nav a[href="articles.html"],
html body .bitclac-main-nav a[href="/about.html"],
html body .bitclac-main-nav a[href="about.html"],
html body .bitclac-main-nav a[href="/contact.html"],
html body .bitclac-main-nav a[href="contact.html"],
html body .mobile-menu-links a[href="/learn.html"],
html body .mobile-menu-links a[href="learn.html"],
html body .mobile-menu-links a[href="/articles.html"],
html body .mobile-menu-links a[href="articles.html"],
html body .mobile-menu-links a[href="/about.html"],
html body .mobile-menu-links a[href="about.html"],
html body .mobile-menu-links a[href="/contact.html"],
html body .mobile-menu-links a[href="contact.html"] {
  display: none !important;
}

@media (min-width: 1024px) {
  html body .bitclac-sidebar-account {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    min-height: 56px;
    padding: 9px 10px;
    border-color: rgba(148, 163, 184, .24);
    border-radius: 11px;
    background: linear-gradient(145deg, #20262e, #171c23);
    box-shadow: inset 3px 0 0 #79b8f2;
  }

  html body .bitclac-sidebar-account:hover,
  html body .bitclac-sidebar-account:focus-visible,
  html body .bitclac-sidebar-account.active {
    border-color: rgba(121, 184, 242, .58);
    background: linear-gradient(145deg, #27313b, #1d242c);
    box-shadow: inset 3px 0 0 #79b8f2;
  }

  html body .bitclac-sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #07131f;
    background: linear-gradient(145deg, #91c9f7, #63a9e5);
  }

  html body .bitclac-sidebar-account-arrow {
    justify-self: end;
    font-size: 20px;
  }
}

/* The standalone page now uses the same LONG/SHORT map as the home page. */
html body[data-page="liquidation-map"] .liquidation-map-page {
  padding-top: 22px !important;
}

html body[data-page="liquidation-map"] .liquidation-map-hero {
  gap: 14px !important;
}

html body[data-page="liquidation-map"] .liquidation-map-heading h1 {
  max-width: none !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.02 !important;
}

html body[data-page="liquidation-map"] .liquidation-map-heading .section-lead {
  margin-top: 8px !important;
}

html body[data-page="liquidation-map"] .liquidation-toolbar {
  grid-template-columns: minmax(280px, 1fr) auto !important;
  align-items: end !important;
  gap: 10px !important;
  padding: 12px !important;
}

html body[data-page="liquidation-map"] .liquidation-toolbar label:has([data-liquidation-select]) {
  display: none !important;
}

html body[data-page="liquidation-map"] .liquidation-page-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-panel {
  order: 1;
  padding: 10px 12px !important;
  border-radius: 12px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-panel h2 {
  margin: 0 0 8px !important;
  font-size: 13px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-list {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 0 3px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-list .liq-symbol-button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 142px !important;
  min-height: 50px !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 9px !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 5px !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(51, 59, 70, .94), rgba(30, 35, 43, .98)) !important;
}

html body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo img {
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card {
  order: 2;
  width: 100% !important;
  padding: 16px !important;
  border-radius: 14px !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-price-scroll {
  height: min(62vh, 620px) !important;
  min-height: 440px !important;
  max-height: 620px !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-card-note {
  display: block !important;
}

.v247-liquidation-details {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--mm-line, rgba(148, 163, 184, .18));
  border-radius: 10px;
  background: var(--mm-panel-soft, #171c23);
}

.v247-liquidation-details > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border-right: 1px solid var(--mm-line, rgba(148, 163, 184, .18));
}

.v247-liquidation-details > span:last-child {
  border-right: 0;
}

.v247-liquidation-details small {
  overflow: hidden;
  color: var(--mm-muted, #9aa3ad);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v247-liquidation-details b {
  overflow: hidden;
  color: var(--mm-text, #f4f6f8);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v247-liquidation-details .is-positive b {
  color: var(--mm-green, #47d89a);
}

.v247-liquidation-details .is-negative b {
  color: var(--mm-red, #f17d87);
}

html body[data-page="liquidation-map"].is-v247-map-loading .liquidation-page-card {
  cursor: progress;
}

@media (max-width: 1100px) {
  .v247-liquidation-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v247-liquidation-details > span:nth-child(3) {
    border-right: 0;
  }

  .v247-liquidation-details > span:nth-child(-n + 3) {
    border-bottom: 1px solid var(--mm-line, rgba(148, 163, 184, .18));
  }
}

@media (max-width: 680px) {
  html body[data-page="liquidation-map"] .liquidation-toolbar {
    grid-template-columns: 1fr !important;
  }

  html body[data-page="liquidation-map"] .liquidation-toolbar .btn {
    width: 100%;
  }

  html body[data-page="liquidation-map"] .liquidation-page-card {
    padding: 10px !important;
  }

  html body[data-page="liquidation-map"] .liquidation-page-card .mm-price-scroll {
    height: 390px !important;
    min-height: 340px !important;
  }

  .v247-liquidation-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v247-liquidation-details > span,
  .v247-liquidation-details > span:nth-child(3) {
    border-right: 1px solid var(--mm-line, rgba(148, 163, 184, .18));
    border-bottom: 1px solid var(--mm-line, rgba(148, 163, 184, .18));
  }

  .v247-liquidation-details > span:nth-child(even) {
    border-right: 0;
  }

  .v247-liquidation-details > span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
/* /BitClac v247 */

/* BitClac v248: icon-only home summary and compact standalone liquidation map. */

/* Home: keep only the selected coin icon in the first cell. */
html body[data-page="home"] .home-coin-summary-v244 {
  grid-template-columns: 50px minmax(220px, 1fr) auto !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin {
  width: 50px !important;
  min-width: 50px !important;
  justify-content: center !important;
  gap: 0 !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > span {
  display: none !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-big-price {
  justify-self: end !important;
}

/* Standalone page: the same simple entry point as the limit-liquidity map. */
html body[data-page="liquidation-map"] .liquidation-map-heading h1 {
  max-width: 1120px !important;
  font-size: clamp(32px, 4vw, 54px) !important;
  line-height: 1.02 !important;
}

html body[data-page="liquidation-map"] .liquidation-toolbar {
  grid-template-columns: minmax(280px, 1fr) auto !important;
  align-items: end !important;
}

html body[data-page="liquidation-map"] .liquidation-toolbar label:has([data-liquidation-select]),
html body[data-page="liquidation-map"] .liquidation-symbol-panel {
  display: none !important;
}

html body[data-page="liquidation-map"] .liquidation-page-grid {
  display: block !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card {
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-liquidation-map {
  padding: 20px !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-split-map {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-side-panel {
  min-width: 0 !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-side-panel .mm-price-scroll {
  box-sizing: border-box !important;
  height: 460px !important;
  min-height: 360px !important;
  max-height: 56vh !important;
}

html body[data-page="liquidation-map"] .liquidation-page-card .mm-card-note {
  margin-top: 10px !important;
}

@media (max-width: 880px) {
  html body[data-page="liquidation-map"] .liquidation-page-card .mm-split-map {
    grid-template-columns: 1fr !important;
  }

  html body[data-page="liquidation-map"] .liquidation-page-card .mm-side-panel .mm-price-scroll {
    height: 390px !important;
    min-height: 340px !important;
    max-height: none !important;
  }
}

@media (max-width: 760px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 50px minmax(0, 1fr) !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .home-market-stats-v244 {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 680px) {
  html body[data-page="liquidation-map"] .liquidation-toolbar {
    grid-template-columns: 1fr !important;
  }

  html body[data-page="liquidation-map"] .liquidation-page-card .mm-liquidation-map {
    padding: 12px !important;
  }
}

@media (max-width: 520px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin {
    width: 46px !important;
    min-width: 46px !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .home-market-stats-v244 {
    grid-column: 1 / -1 !important;
  }
}

/* /BitClac v248 */

/* BitClac v249: keep the selected token logo, hide only its text label. */
html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo {
  display: grid !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > span:not(.crypto-rates-logo) {
  display: none !important;
}
/* /BitClac v249 */

/* BitClac v250: larger selected token with no clipped fallback label. */
html body[data-page="home"] .home-coin-summary-v244 {
  grid-template-columns: 62px minmax(220px, 1fr) auto !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin {
  width: 62px !important;
  min-width: 62px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  flex: 0 0 58px !important;
  padding: 3px 3px 3px 6px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo img {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-logo:not(.is-fallback) .crypto-rates-logo-text {
  display: none !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  position: absolute !important;
  inset: 3px 3px 3px 6px !important;
  width: auto !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }
}

@media (max-width: 520px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin {
    width: 56px !important;
    min-width: 56px !important;
  }

  html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex-basis: 52px !important;
  }
}
/* /BitClac v250 */

/* BitClac v251: center the enlarged token inside its direction tile. */
html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo {
  padding: 3px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  inset: 3px !important;
}
/* /BitClac v251 */

/* BitClac v252: compact search surfaces, clean token tiles and visible 7d trends. */

/* Keep the graphite squares, remove the directional stripes. */
html body .crypto-rates-logo::before,
html body .market-coin-cell .crypto-rates-logo::before {
  display: none !important;
}

html body .crypto-rates-row .crypto-rates-logo,
html body .crypto-market-table .market-coin-cell .crypto-rates-logo,
html body[data-page="liquidation-map"] .liquidation-symbol-list .crypto-rates-logo {
  padding: 5px !important;
}

html body[data-page="home"] .home-coin-summary-v244 .crypto-rates-main-coin > .crypto-rates-logo {
  padding: 3px !important;
}

/* The standalone search panel no longer stretches to the page edge. */
html body[data-page="liquidation-map"] .liquidation-toolbar {
  width: min(980px, calc(100% - 28px)) !important;
  grid-template-columns: minmax(280px, 720px) auto !important;
  justify-content: start !important;
  margin-inline: 14px auto !important;
}

html body[data-page="liquidation-map"] .liquidation-toolbar label:has([data-liquidation-search]) {
  width: 100% !important;
  max-width: 720px !important;
}

html body[data-page="spot-order-map"] .spot-order-toolbar {
  width: min(980px, calc(100% - 28px)) !important;
  grid-template-columns: minmax(280px, 720px) auto !important;
  justify-content: start !important;
  margin-inline: 14px auto !important;
}

html body[data-page="spot-order-map"] .spot-order-toolbar label:has([data-spot-order-search]) {
  width: 100% !important;
  max-width: 720px !important;
}

html body[data-page="home"] .home-map-toolbar-v244 > label {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  justify-self: start !important;
}

/* Estimated fallbacks are visually distinct from exchange-provided history. */
.market-sparkline.is-estimated polyline {
  stroke-dasharray: 3 2;
  opacity: .82;
}

@media (max-width: 680px) {
  html body[data-page="liquidation-map"] .liquidation-toolbar,
  html body[data-page="spot-order-map"] .spot-order-toolbar {
    width: calc(100% - 16px) !important;
    grid-template-columns: 1fr !important;
    margin-inline: 8px !important;
  }

  html body[data-page="home"] .home-map-toolbar-v244 > label {
    width: calc(100% - 16px) !important;
    margin-inline: 8px !important;
  }
}

/* /BitClac v252 */


/* v284: Price / Market Cap chart modes */
.coin-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.coin-chart-modes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(205, 213, 221, .18);
  border-radius: 7px;
  background: #171c22;
}

.coin-chart-modes button {
  min-width: 62px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  color: #b9c3cd;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.coin-chart-modes button:last-child {
  min-width: 92px;
}

.coin-chart-modes button:hover {
  color: #f8fafc;
  background: #242b33;
}

.coin-chart-modes button.is-active {
  color: #07131c;
  background: #79bdf2;
}

.coin-chart-modes button:focus-visible {
  outline: 2px solid rgba(121, 189, 242, .8);
  outline-offset: 2px;
}

.coin-chart-interval-controls[hidden] {
  display: none !important;
}

.coin-market-cap-chart .coin-chart-area {
  fill: url(#coin-market-cap-fill-v284) !important;
}

.coin-market-cap-chart.is-negative .coin-chart-point {
  stroke: #f47782;
}

.coin-market-cap-chart.is-negative ~ .coin-chart-legend span::before {
  background: #f47782;
}

@media (max-width: 760px) {
  .coin-chart-toolbar {
    width: 100%;
    justify-content: flex-start;
    gap: 7px;
  }

  .coin-chart-modes,
  .coin-chart-ranges {
    max-width: 100%;
    overflow-x: auto;
  }

  .coin-chart-modes button {
    min-width: 58px;
    height: 34px;
    padding: 0 9px;
  }

  .coin-chart-modes button:last-child {
    min-width: 86px;
  }
}

/* BitClac v304 blue-only interactive controls */
:root {
  --bc-v304-action: #79bdf2;
  --bc-v304-action-soft: rgba(88, 166, 255, .12);
  --bc-v304-action-panel: #25384c;
}

body input:focus,
body select:focus,
body textarea:focus,
body .btn:focus-visible,
body button:focus-visible {
  border-color: var(--bc-v304-action) !important;
  outline: 2px solid rgba(121, 189, 242, .82) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

body .btn:hover,
body button:not(:disabled):hover {
  border-color: var(--bc-v304-action) !important;
  background-color: #2b3542 !important;
  box-shadow: 0 0 0 3px var(--bc-v304-action-soft) !important;
}

body .tabs .active,
body .tabs [aria-selected="true"],
body .segmented .active,
body .segmented [aria-pressed="true"],
body .coin-chart-ranges button.is-active,
body .crypto-market-pagination button.is-active,
body .liq-symbol-button.is-active {
  border-color: var(--bc-v304-action) !important;
  color: #edf8ff !important;
  background: var(--bc-v304-action-panel) !important;
  box-shadow: inset 0 0 0 1px rgba(121, 189, 242, .16) !important;
}

body[data-page="home"] .crypto-rates-row:hover,
body[data-page="home"] .crypto-rates-row.is-active,
body[data-page="home"] .crypto-rates-row[aria-selected="true"] {
  border-color: rgba(121, 189, 242, .62) !important;
  background: #202a36 !important;
  box-shadow: 0 0 0 3px var(--bc-v304-action-soft) !important;
}

.market-buy-button,
.coin-directory-buy,
.coin-buy-button,
.home-mexc-buy,
html body[data-page="coin-detail"] .coin-detail-actions .coin-buy-button {
  border-color: #4d6f91 !important;
  color: #dceeff !important;
  background: #263544 !important;
  box-shadow: none !important;
}

.market-buy-button:hover,
.market-buy-button:focus-visible,
.coin-directory-buy:hover,
.coin-directory-buy:focus-visible,
.coin-buy-button:hover,
.coin-buy-button:focus-visible,
.home-mexc-buy:hover,
.home-mexc-buy:focus-visible,
html body[data-page="coin-detail"] .coin-detail-actions .coin-buy-button:hover,
html body[data-page="coin-detail"] .coin-detail-actions .coin-buy-button:focus-visible {
  border-color: var(--bc-v304-action) !important;
  color: #ffffff !important;
  background: #2b4055 !important;
  box-shadow: 0 0 0 3px var(--bc-v304-action-soft) !important;
}

.coin-chart-stage:focus-visible {
  outline: 2px solid rgba(121, 189, 242, .82) !important;
  outline-offset: 3px !important;
}

html body[data-page="coin-detail"] .coin-chart-intervals button {
  border-color: #444b56 !important;
  color: #dbe4ee !important;
  background: #292d35 !important;
  box-shadow: none !important;
}

html body[data-page="coin-detail"] .coin-chart-intervals button:hover {
  border-color: var(--bc-v304-action) !important;
  color: #f6fbff !important;
  background: #2b3542 !important;
  box-shadow: 0 0 0 3px var(--bc-v304-action-soft) !important;
}

html body[data-page="coin-detail"] .coin-chart-intervals button.is-active {
  border-color: var(--bc-v304-action) !important;
  color: #edf8ff !important;
  background: var(--bc-v304-action-panel) !important;
  box-shadow: inset 0 0 0 1px rgba(121, 189, 242, .16) !important;
}

html body[data-page="coin-detail"] .coin-chart-intervals button:focus-visible {
  border-color: var(--bc-v304-action) !important;
  outline: 2px solid rgba(121, 189, 242, .82) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
/* /BitClac v304 blue-only interactive controls */


/* BitClac v305 mobile pre-release hardening */
@media (max-width: 430px) {
  body[data-page="coin-detail"] .coin-chart-ranges {
    width: 100%;
    overflow-x: visible;
  }

  body[data-page="coin-detail"] .coin-chart-ranges button {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 6px;
  }

  body[data-page="coin-detail"] .coin-chart-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    overflow-x: visible;
  }

  body[data-page="coin-detail"] .coin-chart-summary span {
    min-width: 0;
    white-space: normal;
  }
}

@media (pointer: coarse) {
  body[data-page="coin-detail"] .coin-chart-modes button,
  body[data-page="coin-detail"] .coin-chart-ranges button,
  body[data-page="coin-detail"] .coin-chart-intervals button {
    min-height: 44px;
  }
}
/* /BitClac v305 mobile pre-release hardening */


/* BitClac v342 tool futures actions */
.tool-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tool-filter-actions .card-open-btn {
  align-self: stretch !important;
  margin-top: 0 !important;
  min-height: 44px !important;
}


/* BitClac v342 futures crosslink touch targets */
[data-futures-analytics-link-v339] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
}

/* BitClac v367: liquidation heatmap navigation */
html body .bitclac-main-nav a[href="/futures-overheat"],
html body .bitclac-main-nav a[href="/futures-overheat.html"],
html body .mobile-menu-links a[href="/futures-overheat"],
html body .mobile-menu-links a[href="/futures-overheat.html"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 16h3l2-8 4 12 3-9 2 5h4%27/%3E%3Cpath d=%27M4 4h16v16H4z%27/%3E%3C/svg%3E");
}

html body .bitclac-main-nav a[href="/market-sectors"],
html body .bitclac-main-nav a[href="/market-sectors.html"],
html body .mobile-menu-links a[href="/market-sectors"],
html body .mobile-menu-links a[href="/market-sectors.html"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%278%27 height=%278%27 rx=%271%27/%3E%3Crect x=%2713%27 y=%273%27 width=%278%27 height=%275%27 rx=%271%27/%3E%3Crect x=%2713%27 y=%2710%27 width=%278%27 height=%2711%27 rx=%271%27/%3E%3Crect x=%273%27 y=%2713%27 width=%278%27 height=%278%27 rx=%271%27/%3E%3C/svg%3E");
}

html body .bitclac-main-nav a[href="/liquidation-heatmap"],
html body .mobile-menu-links a[href="/liquidation-heatmap"] {
  --bc-nav-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27%3E%3Cpath d=%27M4 5h4v4H4zM10 5h4v4h-4zM16 5h4v4h-4zM4 11h4v4H4zM10 11h4v4h-4zM16 11h4v4h-4zM4 17h4v3H4zM10 17h4v3h-4zM16 17h4v3h-4z%27/%3E%3C/svg%3E");
}

body[data-page="liquidation-heatmap"] .bitclac-main-nav a[href="/liquidation-heatmap"] {
  color: #fff !important;
  background: #2a2d33 !important;
}

/* BitClac v377: mobile clipping and touch-target audit fixes */
@media (max-width: 720px) {
  html body .tools.tool-single .card-head {
    flex-wrap: wrap;
  }

  html body .favorite-toolbar.favorite-toolbar-in-head {
    width: 100%;
    flex: 1 0 100%;
    margin: 8px 0 0 !important;
  }

  html body .favorite-toolbar.favorite-toolbar-in-head .favorite-toggle {
    min-height: 44px;
  }

  html body[data-page="home"] .crypto-market-table th.is-rank button[data-pulse-sort="rank"] {
    min-width: 44px !important;
    min-height: 44px !important;
    justify-content: center !important;
    padding: 0 10px !important;
  }

  html body[data-page="coin-detail"] .coin-detail-identity > div {
    min-width: 0;
  }

  html body[data-page="coin-detail"] .coin-detail-identity h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  html body[data-page="coin-detail"] header.coin-detail-overview {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    backdrop-filter: none !important;
  }

  html body[data-page="spot-order-map"] .mm-side-panel-foot > .bitclac-site-updated-row,
  html body[data-page="spot-order-map"] .mm-card-note > .bitclac-site-updated-row {
    display: none !important;
  }
}

@media (max-width: 760px) {
  html body .platform-nav > .price-alert-launcher-wrap-v262 {
    display: none !important;
  }

  html body .mobile-bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
/* /BitClac v377: mobile clipping and touch-target audit fixes */

/* BitClac v387 unified masters navigation */
.nav-masters-menu {
  position: relative;
  width: 100%;
  min-width: 0;
}

.nav-masters-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  color: #e6ebf2;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.nav-masters-trigger:hover,
.nav-masters-trigger:focus-visible,
.nav-masters-trigger[aria-expanded="true"] {
  color: #fff;
  background: #252b32;
}

.nav-masters-trigger::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: #79a9ff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m15 4 5 5L8 21H3v-5L15 4Z%27/%3E%3Cpath d=%27m13 6 5 5M5 3v4M3 5h4M19 16v5M16.5 18.5h5%27/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m15 4 5 5L8 21H3v-5L15 4Z%27/%3E%3Cpath d=%27m13 6 5 5M5 3v4M3 5h4M19 16v5M16.5 18.5h5%27/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.nav-masters-trigger::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-right: 1.5px solid #9fb8df;
  border-bottom: 1.5px solid #9fb8df;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform .15s ease;
}

.nav-masters-trigger[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.nav-masters-flyout[hidden] {
  display: none !important;
}

.nav-masters-flyout {
  position: fixed;
  z-index: 390;
  display: grid;
  gap: 7px;
  min-width: 264px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 13px;
  background: #20252c;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.nav-master-option,
.nav-master-option:visited {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-left: 3px solid #79a9ff;
  border-radius: 9px;
  color: #f7f9fc;
  background: #282e36;
  text-decoration: none;
  transition: border-color .14s ease, background-color .14s ease;
}

.nav-master-option.investing {
  border-left-color: #a78bfa;
}

.nav-master-option strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.nav-master-option small {
  color: #b9c3d1;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.nav-master-option:hover,
.nav-master-option:focus-visible,
.nav-master-option[aria-current="page"] {
  border-color: rgba(121, 169, 255, .58);
  background: #313944;
  outline: none;
}

.nav-master-option:focus-visible {
  outline: 2px solid #cbd5e1;
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu {
    flex: 0 0 auto;
  }

  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-left: 3px solid transparent !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger > span {
    min-width: 0;
    color: #fff !important;
  }

  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger:hover,
  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger:focus-visible,
  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger[aria-expanded="true"],
  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu.active > .nav-masters-trigger {
    color: #fff !important;
    background: #252b32 !important;
  }

  html body .site-header.platform-header .platform-nav .navlinks.bitclac-main-nav > .nav-masters-menu > .nav-masters-trigger:focus-visible {
    outline: 2px solid #cbd5e1 !important;
    outline-offset: 2px !important;
  }
}

@media (max-width: 760px) {
  html body .mobile-menu-links > .nav-masters-menu {
    grid-column: 1 / -1;
  }

  html body .mobile-menu-links .nav-masters-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 13px 14px;
    border: 1px solid #3b4552;
    border-radius: 12px;
    color: #fff;
    background: #29313a;
    font-size: clamp(15px, 4.2vw, 19px);
    font-weight: 850;
    line-height: 1.12;
  }

  html body .mobile-menu-links .nav-masters-trigger:hover,
  html body .mobile-menu-links .nav-masters-trigger:focus-visible,
  html body .mobile-menu-links .nav-masters-trigger[aria-expanded="true"] {
    border-color: rgba(121, 169, 255, .66);
    background: #313b47;
    outline: none;
  }

  html body .mobile-menu-links .nav-masters-trigger:focus-visible {
    outline: 2px solid #cbd5e1;
    outline-offset: 2px;
  }

  html body .nav-masters-flyout {
    z-index: 420;
  }
}

@media (max-width: 430px) {
  html body .mobile-menu-links .nav-masters-trigger {
    min-height: 58px;
    padding-inline: 12px;
    font-size: clamp(14px, 4vw, 17px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-masters-trigger::after,
  .nav-master-option {
    transition: none;
  }
}
/* /BitClac v387 unified masters navigation */
