/* Four distinct statistics and a real token market. */
.stats-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 116px; min-width: 0; padding: 18px 25px; background: #fff; border-radius: 22px; box-shadow: 0 5px 18px #17171904; }
.stat>strong { font-size: clamp(32px,3.1vw,42px); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-unit { font-size: .78em; font-weight: 500; letter-spacing: -.04em; }
.stat-caption { font-size: 14px; line-height: 1.4; color: #6e6e73; letter-spacing: -.01em; }
.stat-accent { background: var(--accent); color: #13150d; }
.stat-accent .stat-caption { color: #526900; }
.stat-dark { background: #111212; color: var(--accent); }
.stat-dark .stat-caption { color: #a2a2a7; }
.stats-disclosure { font-size: 12px; color: #6e6e73; margin: 12px 4px 32px; }
.market-card { padding: 31px 35px 0; background: #fff; border: 1px solid #e8e8eb; border-radius: var(--radius); overflow: hidden; }
.market-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.market-identity { display: flex; align-items: center; gap: 13px; }
.token-emblem { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #171719; color: var(--accent); flex-shrink: 0; }
.token-emblem svg { display: block; width: 27px; height: 27px; fill: currentColor; }
.market-identity h2 { margin: 0; font-size: 22px; font-weight: 550; letter-spacing: -.035em; line-height: 1.25; }
.market-identity h2 span { color: #6e6e73; font-weight: 400; }
.market-identity p { margin: 3px 0 0; color: #6e6e73; font-size: 12px; }
.market-status { display: inline-flex; align-items: center; gap: 7px; color: #6e6e73; background: #f6f6f8; border: 1px solid #eaeaee; border-radius: 99px; font-size: 12px; padding: 6px 10px; line-height: 1.3; }
.market-status>span { width: 5px; height: 5px; border-radius: 50%; background: #9d9da3; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 25px 0 14px; }
.market-quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 15px; }
#market-price { font-size: 38px; font-weight: 500; letter-spacing: -.045em; line-height: 1.15; font-variant-numeric: tabular-nums; }
#market-change { color: #6e6e73; font-size: 12px; }
#market-change[data-direction=up] { color: #638800; }
#market-change[data-direction=down] { color: #bd5a57; }
.market-ranges { display: flex; align-items: center; gap: 2px; padding: 4px; background: #f4f4f6; border-radius: 99px; }
.market-ranges button { min-height: 33px; min-width: 44px; padding-inline: 9px; border: 0; border-radius: 99px; font-size: 12px; font-weight: 500; color: #6e6e73; background: transparent; }
.market-ranges button[aria-pressed=true] { background: #fff; color: #36363a; box-shadow: 0 1px 5px #1717190a; }
.market-ranges button:disabled { color: #aaaab0; }
.market-ranges button:not(:disabled):hover { background: #e8e8ec; }
.market-stage { width: 100%; height: 300px; position: relative; }
.market-stage>svg { display: block; width: 100%; height: 100%; overflow: visible; }
.market-axis { font: 12px var(--font); fill: #96969c; font-variant-numeric: tabular-nums; }
.market-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px 12px 29px; }
.empty-orbit { display: grid; place-items: center; margin-bottom: 19px; }
.empty-emblem { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #f2f2f5; color: #9a9aa0; box-shadow: inset 0 0 0 1px #e9e9ed; }
.empty-emblem svg { display: block; width: 33px; height: 33px; fill: currentColor; }
.market-empty h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.market-empty p { font-size: 14px; color: #6e6e73; line-height: 1.5; margin: 9px 0 0; }
#retry-market { background: transparent; border: 0; border-bottom: 1px solid #aaaab0; padding: 6px 0; margin-top: 9px; color: #626268; font-size: 13px; }
.market-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ededf0; min-height: 60px; padding: 17px 0; font-size: 12px; color: #6e6e73; }
.market-currency { color: #6e6e73; }
#market-source { color: #6e6e73; }
#market-source:hover { color: #171719; }
#market-source>span { padding-left: 5px; }
.market-tooltip { position: absolute; top: 4px; pointer-events: none; z-index: 2; background: #242427; color: #f4f4f6; padding: 10px 13px; border-radius: 9px; box-shadow: 0 6px 18px #00000012; font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; white-space: pre-line; }
#dashboard[data-market-state=live] .market-status { color: #638200; }
#dashboard[data-market-state=live] .market-status>span { background: #8eae2a; }
#dashboard[data-market-state=loading] .empty-emblem { animation: energy-pulse 1.5s ease-in-out infinite; }
@keyframes energy-pulse { 50% { opacity: .55; } }
@media (max-width: 1100px) {
  .stats-strip { gap: 15px; }
  .stat { padding: 17px 22px; border-radius: 21px; min-height: 110px; }
  .stat>strong { font-size: 37px; }
  .stat-caption { font-size: 13px; }
}
@media (max-width: 850px) {
  .stats-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .stat { min-height: 108px; padding: 17px 24px; }
  .stat>strong { font-size: 38px; }
  .stat-caption { font-size: 14px; }
  .market-card { padding: 28px 29px 0; }
}
@media (max-width: 620px) {
  .stats-strip { gap: 12px; }
  .stat { min-height: 104px; padding: 15px 18px; border-radius: 20px; gap: 6px; }
  .stat>strong { font-size: clamp(25px,7vw,36px); letter-spacing: -.05em; }
  .stat-unit { font-size: .68em; }
  .stat-caption { font-size: 12px; max-width: 150px; }
  .stats-disclosure { font-size: 12px; margin: 11px 3px 21px; }
  .market-card { border-radius: 24px; padding: 24px 23px 0; }
  .market-header { gap: 12px; }
  .market-identity { gap: 10px; }
  .token-emblem { width: 37px; height: 37px; }
  .token-emblem svg { width: 23px; height: 23px; }
  .market-identity h2 { font-size: 19px; }
  .market-status { font-size: 12px; padding: 5px 8px; }
  .market-toolbar { margin-top: 24px; gap: 15px; }
  .market-quote { flex-direction: column; align-items: flex-start; gap: 5px; }
  #market-price { font-size: 33px; }
  #market-change { font-size: 12px; }
  .market-ranges { padding: 3px; gap: 0; }
  .market-ranges button { min-width: 32px; min-height: 32px; font-size: 12px; padding-inline: 5px; }
  .market-stage { height: 274px; }
  .market-empty h3 { font-size: 22px; }
  .market-empty p { font-size: 13px; max-width: 250px; }
  .market-footer { gap: 14px; font-size: 12px; }
  #market-source { font-size: 12px; }
}
@media (max-width: 360px) {
  .stat { padding-inline: 15px; }
  .stat>strong { font-size: 25px; }
}
