﻿:root {
  --bg-1: #05070f;
  --bg-2: #0b1022;
  --panel: rgba(9, 15, 34, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f7fb;
  --muted: #a4acc5;
  --up: #24cc93;
  --down: #ef5a6f;
  --accent: #58a6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #1b2450 0%, var(--bg-1) 36%, #03040a 100%);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  padding-bottom: 96px;
}

@media (max-width: 991px) {
  .navbar-logo-center .w-nav-menu {
    display: none;
  }

  .navbar-logo-center .w-nav-menu.w--open {
    display: block;
  }
}

gecko-coin-price-marquee-widget {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

html.ai-intro-running,
html.ai-intro-running body {
  overflow: hidden;
}

.ai-intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(44, 102, 255, 0.18), rgba(44, 102, 255, 0) 42%),
    radial-gradient(circle at 50% 70%, rgba(79, 255, 220, 0.1), rgba(79, 255, 220, 0) 38%),
    linear-gradient(180deg, #02040c 0%, #000 100%);
  overflow: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ai-intro::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(170, 205, 255, 0) 0px,
      rgba(170, 205, 255, 0) 14px,
      rgba(170, 205, 255, 0.06) 15px,
      rgba(170, 205, 255, 0.06) 16px
    );
  animation: intro-grid-pan 6s linear infinite;
  pointer-events: none;
}

.ai-intro::after {
  content: "";
  position: absolute;
  width: min(48vmin, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(128, 182, 255, 0.45);
  box-shadow:
    0 0 42px rgba(90, 160, 255, 0.35),
    inset 0 0 42px rgba(90, 160, 255, 0.2);
  animation: intro-ring-spin 7s linear infinite;
}

.ai-intro-core {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 0.5rem;
}

.ai-intro-logo {
  width: min(130px, 28vw);
  margin: 0 auto 0.4rem;
  filter: drop-shadow(0 0 16px rgba(120, 186, 255, 0.55));
  animation: intro-logo-pulse 1.8s ease-in-out infinite;
}

.ai-intro-title {
  margin: 0;
  color: #dce8ff;
  letter-spacing: 0.22em;
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 700;
}

.ai-intro-sub {
  margin: 0;
  color: #95abcf;
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.ai-intro.done {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.dashboard-shell,
.satoshi-chat {
  animation: dashboard-rise 0.7s ease both;
  animation-delay: 0.15s;
}

@keyframes intro-grid-pan {
  from { transform: translateX(-4%) rotate(-6deg); }
  to { transform: translateX(4%) rotate(-6deg); }
}

@keyframes intro-ring-spin {
  from { transform: rotate(0deg) scale(0.96); }
  to { transform: rotate(360deg) scale(0.96); }
}

@keyframes intro-logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes dashboard-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#space-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 24px));
  margin: 2rem auto;
  display: grid;
  gap: 1rem;
}

.dashboard-shell > * {
  min-width: 0;
}

/* Keep core values readable without breaking state-based colors */
.dashboard-shell h1,
.dashboard-shell .price-card h2,
.dashboard-shell .stats-row strong,
.dashboard-shell .ohlc-item strong,
.dashboard-shell #oi-current,
.dashboard-shell #oi-ls-ratio,
.dashboard-shell #flow-in,
.dashboard-shell #flow-out,
.dashboard-shell #liq-long,
.dashboard-shell #liq-short,
.dashboard-shell #liq-total,
.dashboard-shell #stress-score,
.dashboard-shell #fomo-score,
.dashboard-shell #stress-funding,
.dashboard-shell #stress-oi,
.dashboard-shell #stress-liquidation,
.dashboard-shell #stress-volume,
.dashboard-shell #fomo-volume,
.dashboard-shell #fomo-search,
.dashboard-shell #fomo-green,
.dashboard-shell #whale-spot-threshold,
.dashboard-shell #whale-futures-threshold {
  color: var(--text) !important;
}

/* Preserve semantic status colors (red/green/orange/blue) */
.dashboard-shell .change.up,
.dashboard-shell #oi-change.up,
.dashboard-shell #flow-net.up,
.dashboard-shell .squeeze-alert.shorts,
.dashboard-shell .funding-value.shorts {
  color: var(--up) !important;
}

.dashboard-shell .change.down,
.dashboard-shell #oi-change.down,
.dashboard-shell #flow-net.down,
.dashboard-shell .squeeze-alert.longs,
.dashboard-shell .funding-value.longs {
  color: var(--down) !important;
}

.dashboard-shell #vol-spike-status.spike-high,
.dashboard-shell #funding-warning {
  color: #ffbf54 !important;
}

.dashboard-shell #vol-spike-status.spike-moderate {
  color: #8ec3ff !important;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.topbar {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kicker {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1 {
  margin: 0.2rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  overflow-wrap: anywhere;
}

.status-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  border-radius: 14px;
  padding: 1rem;
}

.symbol {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.price-card h2 {
  margin: 0.45rem 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.change {
  margin: 0;
  font-weight: 600;
}

.change.up {
  color: var(--up);
}

.change.down {
  color: var(--down);
}

.chart-panel {
  border-radius: 18px;
  padding: 1rem;
}

.chart-controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

label {
  color: var(--muted);
}

select {
  border: 1px solid var(--line);
  background: #0d1530;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  min-width: 180px;
  font-family: inherit;
}

.interval-group {
  margin-left: auto;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.interval-btn {
  border: 1px solid var(--line);
  background: #0e1733;
  color: var(--muted);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  min-height: 38px;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
}

.interval-btn.active {
  background: linear-gradient(135deg, #183069, #11439e);
  color: #fff;
  border-color: rgba(153, 195, 255, 0.42);
}

.chart-wrap {
  height: min(62vh, 560px);
}

#chart {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

#chart > div,
#chart canvas {
  max-width: 100% !important;
  display: block;
}

.chart-main {
  display: grid;
  gap: 0.8rem;
}

.chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: stretch;
}

.side-column {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.market-stats {
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.stats-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.market-stats h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.stats-row strong {
  color: var(--text);
  font-size: 1rem;
}

.funding-value.longs {
  color: var(--down);
}

.funding-value.shorts {
  color: var(--up);
}

.funding-warning {
  margin: -0.2rem 0 0;
  font-size: 0.84rem;
  color: #ffbf54;
}

.funding-unavailable {
  margin: -0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.hidden {
  display: none;
}

.oi-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.flow-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.liq-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.whale-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.whale-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.whale-controls label {
  color: var(--muted);
  font-size: 0.84rem;
}

.whale-controls select {
  min-width: 130px;
  padding: 0.35rem 0.55rem;
}

.whale-events {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.32rem;
  color: var(--text);
  font-size: 0.82rem;
  max-height: 140px;
  overflow-x: hidden;
  overflow-y: auto;
}

.news-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.news-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
}

.news-list li {
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-list a {
  color: #bcd8ff;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-list a:hover {
  text-decoration: underline;
}

.stress-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.fomo-panel {
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.stress-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

#stress-score {
  font-size: 1.55rem;
  font-family: "Sora", sans-serif;
}

.stress-meter {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 47, 0.45);
  overflow: hidden;
}

.stress-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #24cc93 0%, #ffbf54 55%, #ef5a6f 100%);
  box-shadow: 0 0 12px rgba(97, 162, 255, 0.35);
  transition: width 0.4s ease;
}

.stress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.oi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.oi-symbol {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.oi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.oi-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.25rem;
}

.oi-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.oi-item strong {
  font-size: 1rem;
}

#oi-change.up {
  color: var(--up);
}

#oi-change.down {
  color: var(--down);
}

#flow-net.up {
  color: var(--up);
}

#flow-net.down {
  color: var(--down);
}

#oi-trend {
  width: 100%;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 20, 47, 0.35);
}

.squeeze-alert {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.squeeze-alert.longs {
  color: var(--down);
}

.squeeze-alert.shorts {
  color: var(--up);
}

#vol-spike-status.spike-high {
  color: #ffbf54;
}

#vol-spike-status.spike-moderate {
  color: #8ec3ff;
}

.vol-spike-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.ohlc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ohlc-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.ohlc-item span {
  color: var(--muted);
  font-weight: 600;
}

.ohlc-item strong {
  color: var(--text);
  font-size: 0.95rem;
}

.satoshi-chat {
  position: fixed;
  right: 18px;
  bottom: 14px;
  width: min(430px, calc(100vw - 20px));
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 14, 34, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-height: calc(100vh - 24px);
  isolation: isolate;
}

.satoshi-chat:not(.collapsed) {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

/* Continuous animated AI edge aura */
.satoshi-chat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(
      from 0deg,
      rgba(88, 166, 255, 0.12) 0deg,
      rgba(88, 166, 255, 0.95) 80deg,
      rgba(109, 255, 233, 0.85) 145deg,
      rgba(88, 166, 255, 0.95) 220deg,
      rgba(88, 166, 255, 0.12) 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: satoshi-edge-spin 12s linear infinite;
}

.satoshi-chat::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(88, 166, 255, 0.34), rgba(88, 166, 255, 0) 62%);
  filter: blur(8px);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
  animation: satoshi-edge-breathe 6s ease-in-out infinite;
}

.satoshi-chat > * {
  position: relative;
  z-index: 1;
}

@keyframes satoshi-edge-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes satoshi-edge-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.015);
  }
}

.satoshi-toggle {
  width: 100%;
  border: 0;
  background: linear-gradient(120deg, rgba(20, 49, 112, 0.55), rgba(8, 20, 52, 0.55));
  color: var(--text);
  cursor: pointer;
  text-align: left;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.satoshi-toggle-copy {
  display: grid;
  gap: 0.15rem;
}

.satoshi-chevron {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease, color 0.2s ease;
}

.satoshi-toggle[aria-expanded="true"] .satoshi-chevron {
  transform: rotate(180deg);
  color: var(--text);
}

.satoshi-title {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.satoshi-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
}

.satoshi-body {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 360px;
}

.satoshi-chat.collapsed .satoshi-body {
  display: none;
}

.satoshi-messages {
  padding: 0.7rem 0.75rem;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
}

.satoshi-msg {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 95%;
}

.satoshi-msg.ai {
  background: rgba(19, 33, 70, 0.5);
  color: #d9e7ff;
  justify-self: start;
}

.satoshi-msg.user {
  background: rgba(16, 58, 49, 0.45);
  color: #d8fff3;
  justify-self: end;
}

.satoshi-form {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.65rem;
}

#satoshi-input {
  border: 1px solid var(--line);
  background: #0d1530;
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
}

#satoshi-send {
  border: 1px solid rgba(153, 195, 255, 0.42);
  background: linear-gradient(135deg, #183069, #11439e);
  color: #fff;
  border-radius: 10px;
  padding: 0.52rem 0.82rem;
  min-height: 38px;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .dashboard-shell {
    width: min(1280px, calc(100% - 20px));
  }

  .chart-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 900px) {
  .dashboard-shell {
    overflow-x: clip;
    margin: 1rem auto;
    gap: 0.75rem;
  }

  .chart-panel,
  .chart-layout,
  .chart-main,
  .side-column,
  .market-stats,
  .oi-panel,
  .flow-panel,
  .liq-panel,
  .whale-panel,
  .news-panel,
  .stress-panel,
  .fomo-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-panel {
    padding: 0.8rem;
  }

  .chart-controls {
    align-items: stretch;
  }

  .chart-controls label {
    align-self: center;
  }

  #asset-select {
    min-width: 0;
    width: min(100%, 340px);
  }

  .interval-group {
    margin-left: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }

  .chart-wrap {
    height: min(52vh, 460px);
  }

  .chart-layout {
    grid-template-columns: 1fr;
  }

  .chart-main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .chart-wrap {
    grid-column: 1 / -1;
  }

  .whale-panel {
    grid-column: 1 / -1;
  }

  .oi-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .side-column {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .market-stats,
  .news-panel {
    grid-column: 1 / -1;
  }

  .news-list {
    max-height: none;
  }

  .satoshi-chat {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .satoshi-body {
    height: 330px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 102px;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card {
    padding: 0.85rem;
  }

  .price-card h2 {
    font-size: clamp(1.15rem, 6vw, 1.7rem);
  }

  .chart-controls {
    gap: 0.55rem;
  }

  .chart-controls label {
    font-size: 0.95rem;
  }

  #asset-select {
    width: 100%;
    max-width: none;
  }

  .interval-btn {
    min-height: 40px;
    padding: 0.45rem 0.68rem;
    font-size: 0.92rem;
  }

  .chart-wrap {
    height: min(48vh, 380px);
  }

  .oi-metrics,
  .stress-grid {
    grid-template-columns: 1fr;
  }

  .oi-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .oi-symbol {
    font-size: 0.78rem;
  }

  .satoshi-chat {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .satoshi-body {
    height: min(62vh, 420px);
  }

  .satoshi-msg {
    max-width: 100%;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .stats-row,
  .oi-item,
  .vol-spike-detail,
  .squeeze-alert {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cards-grid,
  .chart-main,
  .side-column {
    grid-template-columns: 1fr;
  }

  .chart-wrap,
  .whale-panel,
  .market-stats,
  .news-panel {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .dashboard-shell {
    width: calc(100% - 12px);
  }

  .topbar {
    border-radius: 14px;
    padding: 0.82rem 0.88rem;
  }

  .kicker {
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(1.05rem, 6vw, 1.3rem);
  }

  .chart-panel,
  .price-card,
  .market-stats,
  .oi-panel,
  .flow-panel,
  .liq-panel,
  .whale-panel,
  .news-panel,
  .stress-panel,
  .fomo-panel {
    border-radius: 10px;
  }

  .chart-wrap {
    height: min(45vh, 320px);
  }

  .satoshi-toggle {
    padding: 0.72rem 0.78rem;
  }

  .satoshi-subtitle {
    font-size: 0.74rem;
  }

  .satoshi-form {
    grid-template-columns: 1fr;
  }

  #satoshi-send {
    width: 100%;
  }
}
