@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #fff;
  --line: #dedede;
  --muted: #767676;
  --text: #202020;
  --lime: #b423cc;
  --buy: #bc20d6;
  --hold: #4395be;
  --sell: #bc801b;
  --exit: #d05d74;
  --mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid #222;
  height: 62px;
  background: #fff;
  position: relative;
  z-index: 2;
}
.brand {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1.4px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-mark {
  display: none;
}
.brand-period {
  color: var(--lime);
}
.workspace {
  display: none;
}
.nav-label,
.sidebar-bottom {
  display: none;
}
nav {
  display: flex;
  gap: 30px;
}
.nav-item {
  font-size: 12px;
  color: #777;
  padding: 23px 0 20px;
  border-bottom: 2px solid transparent;
}
.nav-item.active {
  color: #222;
  border-bottom-color: #222;
}
.nav-item > span {
  display: none;
}
.sidebar:after {
  content: "DART × SYSTEM ONE";
  font: 9px var(--mono);
  letter-spacing: 1px;
}
main {
  max-width: 1512px;
  margin: 0 auto;
}
.topbar {
  height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  font: 9px var(--mono);
  border-bottom: 1px solid var(--line);
  color: #717171;
}
.slash {
  padding: 0 12px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i,
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #b423cc;
  border-radius: 50%;
}
.connection.offline i {
  background: #999;
}
.divider {
  height: 12px;
  border-left: 1px solid #ccc;
}
.mode-badge {
  border: 1px solid #b6b6b6;
  padding: 4px 6px;
  font: 8px var(--mono);
  letter-spacing: 0.5px;
  color: #444;
}
.page-content {
  padding: 0 36px;
}
.page-heading {
  min-height: 266px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  padding: 30px 0 25px;
  isolation: isolate;
}
.page-heading:before {
  content: "";
  position: absolute;
  inset: 0 -36px;
  z-index: -2;
  background:
    radial-gradient(ellipse at 90% -20%, #f583f894 0, transparent 52%),
    radial-gradient(ellipse at 55% 0%, #d4ecff 0, transparent 55%),
    radial-gradient(ellipse at 6% -5%, #ff93f362 0, transparent 43%);
  mask-image: linear-gradient(#000, #0005 70%, transparent);
}
.page-heading:after {
  content: "";
  position: absolute;
  inset: 0 -36px;
  z-index: -1;
  background-image: radial-gradient(#fff 1px, transparent 1.2px);
  background-size: 3px 3px;
  opacity: 0.75;
  mask-image: linear-gradient(#000, transparent 95%);
  pointer-events: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 9px var(--mono);
  letter-spacing: 1.6px;
  color: #656565;
}
.eyebrow .live-dot {
  background: #222;
}
h1 {
  font-size: 65px;
  line-height: 0.97;
  letter-spacing: -4.4px;
  font-weight: 650;
  margin: 18px 0 17px;
  max-width: 780px;
}
.mobile-break {
  display: block;
}
.page-heading p {
  font-size: 12px;
  color: #737373;
  margin: 0;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 75px;
}
.button {
  border: 1px solid #242424;
  border-radius: 0;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px 15px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.primary {
  background: #222;
  color: #fff;
}
.secondary {
  background: #ffffffb5;
  color: #222;
}
.button:hover {
  box-shadow: 3px 3px 0 #f1bbf3;
  transform: translate(-1px, -1px);
}
.demo-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #f9f2fb;
  border: 1px solid #ead3ee;
  padding: 11px 14px;
  margin-bottom: 20px;
  font: 9px var(--mono);
  color: #785d80;
}
.demo-banner button {
  background: none;
  border: 0;
  padding: 0;
  font: 9px var(--mono);
  color: #743880;
  white-space: nowrap;
}
.notice {
  border: 1px solid #d68c8c;
  background: #fff3f2;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 25px;
  border: 1px solid var(--line);
  background: #fff;
}
.metric {
  padding: 20px 22px;
  position: relative;
  min-height: 127px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric-label {
  font-size: 10px;
  color: #767676;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metric-label > span {
  color: #999;
}
.metric-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 17px;
  font: 27px var(--mono);
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.metric-value small {
  font: 10px var(--mono);
  color: #888;
  letter-spacing: 0;
}
.metric-sub {
  font-size: 9px;
  color: #858585;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.neutral-pill {
  font: 8px var(--mono);
  background: #f4e8f7;
  color: #8a3a97;
  padding: 3px 4px;
  margin-right: 5px;
}
.metric-spark {
  width: 100px;
  height: 38px;
  position: absolute;
  right: 0;
  bottom: 19px;
  opacity: 0.5;
}
.metric-spark path {
  stroke: #bc20d6;
  stroke-width: 1.5;
  fill: none;
}
.position-value {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: #fcfcfc;
}
.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
h2 {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
}
.section-index {
  font: 9px var(--mono);
  color: #929292;
}
.subtle-badge {
  font: 8px var(--mono);
  letter-spacing: 0.5px;
  border: 1px solid #d1d1d1;
  color: #666;
  padding: 4px 6px;
}
.coin-metadata {
  margin: 0 0 25px;
  border-top: 2px solid #222;
}
.metadata-empty {
  padding: 20px;
  color: #888;
  font-size: 11px;
}
.coin-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 23px;
}
.token-art {
  height: 57px;
  width: 57px;
  display: grid;
  place-items: center;
  background: #f5dafa;
  border: 1px solid #debce5;
  font-size: 28px;
  font-weight: 500;
  flex: none;
  overflow: hidden;
}
.token-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  grid-area: 1/1;
}
.token-art span {
  grid-area: 1/1;
}
.token-heading {
  min-width: 0;
}
.token-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.token-heading h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 6px 0;
}
.token-heading h2 small {
  font: 10px var(--mono);
  color: #888;
  margin-left: 9px;
  letter-spacing: 0;
}
.token-heading p {
  font-size: 10px;
  color: #777;
  margin: 0;
  line-height: 1.5;
  max-width: 630px;
}
.token-price {
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}
.token-price > span {
  display: block;
  font: 8px var(--mono);
  color: #777;
  letter-spacing: 1px;
}
.token-price strong {
  display: block;
  font: 24px var(--mono);
  margin: 7px 0;
  letter-spacing: -0.9px;
}
.token-price small {
  font: 9px var(--mono);
  color: #888;
}
.metadata-stats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--line);
}
.metadata-stats > div {
  padding: 15px 15px 17px;
  border-right: 1px solid var(--line);
}
.metadata-stats > div:last-child {
  border-right: 0;
}
.metadata-stats span {
  font: 8px var(--mono);
  color: #838383;
  display: block;
  white-space: nowrap;
}
.metadata-stats strong {
  display: block;
  font: 13px var(--mono);
  font-weight: 400;
  margin-top: 9px;
  white-space: nowrap;
}
.metadata-stats small {
  font-size: 8px;
  color: #888;
}
.metadata-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.mint-address {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mint-address > span {
  font: 8px var(--mono);
  color: #888;
  white-space: nowrap;
}
.mint-address code {
  font: 9px var(--mono);
  color: #606060;
  overflow-wrap: anywhere;
  min-width: 0;
}
.mint-address button {
  font-size: 9px;
}
#token-links {
  display: flex;
  gap: 15px;
  white-space: nowrap;
  font-size: 9px;
}
#token-links a:hover {
  text-decoration: underline;
}
.main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.agent-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 21px;
  background: radial-gradient(ellipse at 0 30%, #fce5fc, transparent 65%);
}
.agent-orb {
  position: relative;
  flex: none;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border: 1px solid #d5addc;
  border-radius: 50%;
}
.ring-two {
  inset: 7px;
  border-style: dotted;
}
.orb-core {
  width: 52px;
  height: 52px;
  border: 1px solid #bd7bc8;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fbe6fb, #efa8f5 50%, #d9ebff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 41px;
  letter-spacing: -6px;
  padding-right: 6px;
  padding-bottom: 10px;
  color: #46224c;
}
.orb-core span {
  font-size: 24px;
}
.orb-satellite {
  position: absolute;
  right: 8px;
  top: 12px;
  background: #bc20d6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.thinking .ring-one {
  animation: orbit 6s linear infinite;
  border-top-color: #bc20d6;
}
.thinking .orb-core {
  animation: breathe 2s ease-in-out infinite;
}
.agent-label {
  font: 8px var(--mono);
  letter-spacing: 1.2px;
  color: #93629c;
}
.agent-status h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 8px 0;
}
.agent-status p {
  font-size: 10px;
  color: #888;
  margin: 0;
  line-height: 1.6;
  max-width: 290px;
}
.stage-counter {
  margin-left: auto;
  text-align: right;
}
.stage-counter > span {
  font: 24px var(--mono);
  color: #b0a5b2;
}
.stage-counter small {
  font: 7px var(--mono);
  display: block;
  margin-top: 6px;
  color: #999;
}
.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px 22px;
  border-bottom: 1px solid var(--line);
}
.pipeline > span:not(.pipeline-line) {
  font: 8px var(--mono);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
}
.pipeline i {
  width: 5px;
  height: 5px;
  border: 1px solid #aaa;
  border-radius: 50%;
}
.pipeline .current {
  color: #9f28b3 !important;
}
.pipeline .current i {
  border-color: #bc20d6;
  background: #bc20d6;
}
.pipeline-line {
  height: 1px;
  background: #e5e5e5;
  flex: 1;
}
.decision-heading {
  display: flex;
  justify-content: space-between;
  padding: 19px 22px 15px;
  font-size: 10px;
  color: #777;
}
.decision-heading > span:last-child {
  font: 9px var(--mono);
  color: #888;
}
.probabilities {
  display: grid;
  gap: 15px;
  padding: 0 22px 16px;
}
.probability-row {
  display: grid;
  grid-template-columns: 87px 1fr 47px 33px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.probability-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.probability-name i {
  width: 5px;
  height: 5px;
  background: var(--action-color);
}
.bar-track {
  height: 7px;
  background: #f0f0f0;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--action-color);
  transition: width 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.probability-value {
  font: 11px var(--mono);
  text-align: right;
}
.probability-delta {
  font: 8px var(--mono);
  text-align: right;
  color: #888;
}
.confidence-footer {
  border-top: 1px solid var(--line);
  margin: 3px 22px 0;
  padding: 14px 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: #888;
}
.confidence-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.confidence-footer strong {
  font: 10px var(--mono);
  color: #333;
}
.confidence-footer > span:last-child {
  font: 8px var(--mono);
}
.model-note {
  font-size: 8px;
  line-height: 1.6;
  color: #929292;
  padding: 0 22px 16px;
}
.chart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 22px 0;
}
.chart-summary > span:first-child {
  font-size: 13px;
}
.chart-summary > span:last-child {
  font: 32px var(--mono);
  letter-spacing: -1px;
}
.chart-summary small {
  font-size: 14px;
  color: #aaa;
  margin-left: 4px;
}
.chart-legend {
  display: flex;
  gap: 15px;
  padding: 16px 22px 18px;
  font-size: 8px;
  color: #777;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chart-legend span:before {
  content: "";
  height: 2px;
  width: 12px;
  background: var(--buy);
}
.chart-legend .legend-hold:before {
  background: var(--hold);
}
.chart-legend .legend-sell:before {
  background: var(--sell);
}
.chart-legend .legend-exit:before {
  background: var(--exit);
}
.chart-wrap {
  margin: 0 20px;
  position: relative;
}
#signal-chart {
  width: 100%;
  height: 194px;
  display: block;
  overflow: visible;
}
.chart-grid path {
  stroke: #e5e5e5;
  stroke-dasharray: 3 5;
  fill: none;
}
.chart-grid text {
  fill: #999;
  font: 9px var(--mono);
}
#chart-lines path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#chart-lines circle {
  stroke: #fff;
  stroke-width: 2;
}
.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #999;
}
.chart-times {
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  color: #999;
  padding: 9px 27px 0 53px;
}
.signal-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 21px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.insight-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #f8ebfa;
  color: #a430b7;
  flex: none;
}
.signal-insight strong {
  font-size: 10px;
  font-weight: 500;
}
.signal-insight p {
  font-size: 9px;
  color: #888;
  margin: 6px 0 0;
  line-height: 1.6;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.text-button {
  font-size: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  white-space: nowrap;
}
.text-button:hover {
  color: #a32eb5;
}
.count-badge {
  font: 9px var(--mono);
  padding: 3px 5px;
  background: #eee;
  color: #777;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font: 8px var(--mono);
  color: #888;
  padding: 15px 17px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  font: 10px var(--mono);
  padding: 14px 17px;
  border-bottom: 1px solid #eee;
}
td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover,
tbody tr.selected {
  background: #fcf1ff;
}
.coin-icon {
  width: 29px;
  height: 29px;
  border: 1px solid #e4cce8;
  background: #f7e8fa;
  color: #7e5086;
  display: grid;
  place-items: center;
  font:
    12px "DM Sans",
    sans-serif;
  flex: none;
}
.coin-name {
  font:
    11px "DM Sans",
    sans-serif;
  font-weight: 550;
}
.coin-name small {
  font: 8px var(--mono);
  display: block;
  margin-top: 5px;
  color: #999;
}
.signal-pill {
  font: 8px var(--mono);
  padding: 4px 6px;
  background: #f2e6f5;
  color: #91419f;
}
.market-footer {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #888;
  font-size: 9px;
}
.market-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-indicator {
  font: 8px var(--mono);
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}
.activity-list {
  height: 292px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}
.activity-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #e6cde9;
  color: #a347b2;
  flex: none;
  font-size: 12px;
}
.activity-title {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.activity-description {
  font-size: 9px;
  color: #888;
  margin-top: 4px;
  line-height: 1.6;
}
.activity-item time {
  font: 8px var(--mono);
  color: #aaa;
  white-space: nowrap;
  margin-left: auto;
  padding-top: 3px;
}
.empty-state {
  padding: 33px 20px;
  text-align: center;
  color: #999;
}
.empty-state > span {
  font-size: 22px;
  color: #bd85c6;
}
.empty-state h3 {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin: 15px 0 8px;
}
.empty-state p {
  font-size: 10px;
  margin: 0;
  line-height: 1.7;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 27px 0 24px;
  font: 8px var(--mono);
  color: #999;
  letter-spacing: 0.3px;
}
.page-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mark {
  font-size: 19px;
  color: #333;
}
.positive {
  color: #14804a;
}
.negative {
  color: #c85262;
}
.trade-detail {
  border-top: 1px solid var(--line);
}
.trade-detail summary {
  padding: 13px 20px;
  cursor: pointer;
  font-size: 10px;
  color: #888;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.trade-detail summary::-webkit-details-marker {
  display: none;
}
#coin-facts {
  display: none;
}
#trade-rows {
  padding: 0 20px 12px;
}
#trade-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font: 9px var(--mono);
}
#trade-rows time {
  color: #999;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 28px #e090f344;
  }
}
@media (min-width: 1600px) {
  h1 {
    font-size: 74px;
  }
  .page-heading {
    min-height: 290px;
  }
  .metric-value {
    font-size: 29px;
  }
}
@media (max-width: 1150px) {
  h1 {
    font-size: 57px;
  }
  .metadata-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .metadata-stats > div:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }
  .metadata-stats > div:nth-child(4) {
    border-right: 0;
  }
  .stage-counter {
    display: none;
  }
  .bottom-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  th,
  td {
    padding-left: 11px;
    padding-right: 11px;
  }
  .agent-stage {
    gap: 12px;
  }
  .agent-status h3 {
    font-size: 18px;
  }
  .probability-row {
    grid-template-columns: 75px 1fr 43px 28px;
    gap: 7px;
  }
  .heading-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .token-heading p {
    max-width: 460px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    padding: 0 22px;
  }
  .sidebar:after {
    display: none;
  }
  nav {
    gap: 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .page-content {
    padding: 0 22px;
  }
  .page-heading:before,
  .page-heading:after {
    left: -22px;
    right: -22px;
  }
  .page-heading {
    min-height: 250px;
  }
  h1 {
    font-size: 54px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .agent-orb {
    width: 56px;
    height: 56px;
  }
  .orb-core {
    width: 40px;
    height: 40px;
    font-size: 31px;
  }
  .agent-stage {
    padding: 22px 15px;
    gap: 10px;
  }
  .agent-label {
    font-size: 7px;
  }
  .agent-status h3 {
    font-size: 17px;
  }
  .agent-status p {
    font-size: 9px;
  }
  .pipeline {
    padding: 0 15px 20px;
    gap: 5px;
  }
  .pipeline > span:not(.pipeline-line) {
    font-size: 7px;
  }
  .probabilities {
    padding: 0 15px 16px;
  }
  .probability-row {
    grid-template-columns: 67px 1fr 41px 25px;
    gap: 5px;
    font-size: 9px;
  }
  .probability-value {
    font-size: 10px;
  }
  .probability-delta {
    font-size: 7px;
  }
  .confidence-footer {
    flex-wrap: wrap;
  }
  .chart-legend {
    gap: 9px;
  }
  .token-price strong {
    font-size: 20px;
  }
  .metadata-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .token-heading p {
    max-width: 360px;
  }
  .panel-heading {
    padding: 16px;
  }
  .page-footer {
    font-size: 7px;
  }
  .activity-list {
    height: 250px;
  }
}
@media (max-width: 600px) {
  .sidebar {
    height: 54px;
    padding: 0 16px;
  }
  .brand {
    font-size: 24px;
  }
  nav {
    gap: 18px;
  }
  .nav-item {
    padding: 20px 0 17px;
    font-size: 10px;
  }
  .nav-item:nth-child(n + 3) {
    display: none;
  }
  .topbar {
    padding: 0 16px;
    height: 40px;
  }
  .topbar > div:first-child {
    display: none;
  }
  .topbar-right {
    justify-content: space-between;
    width: 100%;
  }
  .divider {
    display: none;
  }
  .page-content {
    padding: 0 16px;
  }
  .page-heading {
    display: block;
    padding: 34px 0 26px;
  }
  .page-heading:before,
  .page-heading:after {
    left: -16px;
    right: -16px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  h1 {
    font-size: 54px;
    letter-spacing: -3px;
    margin-top: 20px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 270px;
    line-height: 1.7;
  }
  .heading-actions {
    flex-direction: row;
    padding-top: 22px;
  }
  .button {
    flex: 1;
    justify-content: center;
    padding: 11px 10px;
    font-size: 10px;
  }
  .demo-banner {
    font-size: 8px;
    line-height: 1.7;
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 16px;
  }
  .demo-banner button {
    font-size: 8px;
  }
  .metrics {
    margin-bottom: 16px;
  }
  .metric {
    padding: 16px;
    min-height: 123px;
  }
  .metric-value {
    font-size: 23px;
  }
  .metric-sub {
    font-size: 8px;
  }
  .metric-spark {
    width: 60px;
  }
  .metric-label {
    font-size: 9px;
  }
  .coin-metadata {
    margin-bottom: 16px;
  }
  .coin-identity {
    padding: 18px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .token-art {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }
  .token-heading {
    flex: 1;
  }
  .token-heading h2 {
    font-size: 21px;
  }
  .token-heading p {
    font-size: 9px;
  }
  .token-price {
    margin-left: 58px;
    text-align: left;
  }
  .token-price strong {
    font-size: 22px;
  }
  .token-price > span {
    font-size: 7px;
  }
  .metadata-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .metadata-stats > div {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }
  .metadata-stats > div:nth-child(even) {
    border-right: 0;
  }
  .metadata-stats > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .metadata-stats span {
    font-size: 8px;
  }
  .metadata-stats strong {
    font-size: 14px;
  }
  .metadata-footer {
    padding: 12px 16px;
    gap: 10px;
  }
  .mint-address {
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
  }
  .mint-address code {
    font-size: 8px;
    max-width: 100%;
  }
  .mint-address > span {
    width: 100%;
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
  .agent-stage {
    padding: 22px 19px;
    gap: 15px;
  }
  .agent-orb {
    width: 72px;
    height: 72px;
  }
  .orb-core {
    width: 50px;
    height: 50px;
    font-size: 40px;
  }
  .agent-label {
    font-size: 8px;
  }
  .agent-status h3 {
    font-size: 20px;
  }
  .agent-status p {
    font-size: 10px;
  }
  .pipeline {
    padding: 0 20px 20px;
    gap: 7px;
  }
  .pipeline > span:not(.pipeline-line) {
    font-size: 8px;
  }
  .probabilities {
    padding: 0 20px 16px;
  }
  .probability-row {
    grid-template-columns: 80px 1fr 43px 28px;
    gap: 8px;
    font-size: 10px;
  }
  .probability-value {
    font-size: 11px;
  }
  .probability-delta {
    font-size: 8px;
  }
  .bottom-grid {
    margin-top: 16px;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  th,
  td {
    padding-left: 12px;
    padding-right: 12px;
  }
  .table-scroll {
    width: 100%;
  }
  .activity-list {
    height: 250px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.source-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #222;
  padding: 16px 0;
  margin-bottom: 5px;
}
.source-strip > div {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}
.source-label {
  font: 8px var(--mono);
  background: #eee;
  padding: 4px 6px;
  color: #666;
}
.source-strip strong {
  font-size: 12px;
  font-weight: 500;
}
#discovery-status {
  font: 9px var(--mono);
  color: #888;
}
.source-strip .button {
  font-size: 10px;
  padding: 9px 12px;
}
@media (max-width: 600px) {
  .source-strip {
    gap: 10px;
    align-items: flex-start;
  }
  .source-strip > div {
    gap: 7px;
  }
  .source-strip .button {
    flex: none;
  }
  #discovery-status {
    font-size: 8px;
    line-height: 1.6;
  }
}
.price-panel {
  margin-bottom: 22px;
}
.chart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 9px var(--mono);
  color: #888;
}
.chart-controls select {
  border: 1px solid #ccc;
  background: white;
  padding: 5px 8px;
  font: 10px var(--mono);
  color: #333;
}
.price-ohlc {
  padding: 12px 20px;
  font: 9px var(--mono);
  color: #777;
  white-space: pre-wrap;
}
.price-canvas-wrap {
  position: relative;
}
#price-canvas {
  height: 350px;
  width: 100%;
}
#price-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #999;
  font-size: 11px;
  pointer-events: none;
}
.price-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  gap: 15px;
  font: 9px var(--mono);
  color: #888;
}
.price-chart-footer > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fill-bubble {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font:
    700 11px Arial,
    sans-serif;
  color: white;
  flex: none;
}
.buy-bubble {
  background: #15945b;
}
.sell-bubble {
  background: #df3c50;
}
.fill-note {
  margin-left: 9px;
  color: #aaa;
}
.fill-list {
  display: flex;
  gap: 15px;
  padding: 0 20px 12px;
  overflow: auto;
}
.fill-list:empty {
  display: none;
}
.fill-record {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 8px var(--mono);
  white-space: nowrap;
  color: #888;
}
.fill-record .fill-bubble {
  height: 17px;
  width: 17px;
  font-size: 9px;
}
@media (max-width: 600px) {
  #price-canvas {
    height: 300px;
  }
  .price-chart-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 16px;
    font-size: 8px;
  }
  .fill-note {
    display: none;
  }
  .price-ohlc {
    padding: 10px 16px;
    font-size: 8px;
    line-height: 1.8;
  }
  .price-panel .panel-heading {
    flex-wrap: wrap;
  }
  .price-panel .subtle-badge {
    font-size: 7px;
  }
  .chart-controls {
    margin-left: auto;
  }
}
.market-panel .table-scroll {
  max-height: 440px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.market-panel thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}
.unit {
  font-size: 8px;
  color: #888;
}
@media (max-width: 600px) {
  .coin-identity {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
  }
  .token-art {
    align-self: start;
  }
  .token-heading {
    min-width: 0;
  }
  .token-price {
    grid-column: 2;
    margin-left: 0;
    margin-top: 4px;
  }
  .token-heading p {
    max-width: none;
  }
}
.chart-workspace {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
  align-items: stretch;
}
.chart-workspace .price-panel {
  margin-bottom: 0;
}
.candidate-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.candidate-panel .panel-heading {
  padding: 17px 15px;
}
#candidate-stage {
  font-size: 10px;
  color: #888;
  line-height: 1.6;
  margin: 12px 15px;
  min-height: 32px;
}
.candidate-search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 15px 12px;
  border: 1px solid #ddd;
  padding: 7px 9px;
  color: #999;
}
.candidate-search input {
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  font-size: 10px;
  background: transparent;
  color: #333;
}
.candidate-search:focus-within {
  outline: 1px solid #b423cc;
}
.candidate-columns {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font: 7px var(--mono);
  color: #999;
}
.candidate-list {
  height: 270px;
  flex: 1 1 270px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.candidate-row {
  border: 0;
  border-bottom: 1px solid #eee;
  background: white;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  color: #222;
}
.candidate-row:hover,
.candidate-row.inspected {
  background: #faf0fd;
}
.candidate-row.jev-pick {
  border-left: 3px solid #b423cc;
  padding-left: 11px;
}
.candidate-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.candidate-name strong {
  font-size: 11px;
  font-weight: 550;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.candidate-name small {
  font: 9px var(--mono);
  color: #888;
}
.candidate-result {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font: 9px var(--mono);
  white-space: nowrap;
  color: #777;
}
.candidate-result b {
  font: 7px var(--mono);
  color: #a22eb3;
  background: #f4e5f8;
  padding: 3px 4px;
}
.candidate-result small {
  font: 7px var(--mono);
  color: #999;
}
.candidate-result.comparing {
  color: #ad30c0;
  animation: compare-pulse 1s ease-in-out infinite;
}
.candidate-foot {
  padding: 12px 15px;
  border-top: 1px solid #eee;
  font-size: 8px;
  color: #999;
}
@keyframes compare-pulse {
  50% {
    opacity: 0.45;
  }
}
@media (max-width: 1100px) {
  .chart-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 14px;
  }
  .price-panel .panel-heading {
    flex-wrap: wrap;
  }
  .price-chart-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .chart-workspace {
    grid-template-columns: 1fr;
  }
  .candidate-list {
    height: 210px;
    flex-basis: 210px;
  }
  .candidate-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .candidate-name strong {
    max-width: none;
  }
  .candidate-panel {
    max-height: 380px;
  }
}

.coin-icon {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}
.coin-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.sound-toggle {
  border: 1px solid #ddd;
  background: white;
  padding: 7px 10px;
  font: 10px var(--mono);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.sound-toggle[aria-pressed="true"] {
  background: #f8e6ff;
  border-color: #d88fe6;
}
.decision-story {
  display: flex;
  gap: 18px;
  padding: 22px;
  margin: 0 0 24px;
  border: 1px solid #e4dbe7;
  background: linear-gradient(105deg, #fcf3ff, white 75%);
  align-items: center;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.decision-orb {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #dab5e7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: #f7e5fd;
}
.decision-copy {
  min-width: 0;
}
.decision-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font: 9px var(--mono);
  color: #87768e;
}
.decision-story h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 9px 0 6px;
}
.decision-story p {
  color: #716977;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  max-width: 950px;
}
.decision-story[data-side="buy"] {
  border-color: #9cd4b8;
  background: linear-gradient(105deg, #effbf4, white);
}
.decision-story[data-side="exit"],
.decision-story[data-side="sell_partial"] {
  border-color: #e7aab5;
  background: linear-gradient(105deg, #fff1f4, white);
}
.is-working .decision-orb {
  animation: decisionPulse 1.7s ease-in-out infinite;
}
@keyframes decisionPulse {
  50% {
    box-shadow: 0 0 0 7px #d785ef15;
    transform: scale(1.05);
  }
}
.activity-description {
  line-height: 1.7;
}
.candidate-row {
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.bar-fill {
  transition: width 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (max-width: 700px) {
  .decision-story {
    padding: 15px;
    gap: 12px;
    align-items: flex-start;
  }
  .decision-story h2 {
    font-size: 17px;
  }
  .topbar-right {
    flex-wrap: wrap;
    gap: 8px;
  }
  .sound-toggle {
    font-size: 9px;
    padding: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.coin-icon {
  width: 36px;
  height: 36px;
}
.coin-icon img,
.token-art img {
  opacity: 0;
  transition: opacity 0.2s;
}
.coin-icon img.image-ready,
.token-art img.image-ready {
  opacity: 1;
}
.token-art {
  position: relative;
  width: 64px;
  height: 64px;
}
.token-art img {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
}

/* A slightly larger reading scale, including controls and charts. */
html {
  zoom: 1.1;
}
@media (max-width: 700px) {
  html {
    zoom: 1.06;
  }
}

.jev-response-panel {
  margin-bottom: 20px;
  scroll-margin-top: 75px;
}
.jev-response-toolbar {
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font: 10px var(--mono);
  color: #806487;
}
.jev-response-toolbar label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.jev-response-toolbar select {
  padding: 8px;
  max-width: 260px;
  background: white;
  border: 1px solid #ded5e1;
  font: 11px var(--mono);
}
.jev-response-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 22px;
  border: 1px solid #e4dce7;
}
.jev-response-summary > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.jev-response-summary > div + div {
  border-left: 1px solid #e4dce7;
  background: #fcf8ff;
}
.jev-response-summary span {
  font: 10px var(--mono);
  color: #837089;
}
.jev-response-summary strong {
  font-size: 23px;
  letter-spacing: -0.5px;
}
.jev-response-summary small {
  font: 11px var(--mono);
  color: #837089;
}
#jev-response-why {
  margin: 18px 22px;
  color: #504755;
  font-size: 13px;
  line-height: 1.7;
  max-width: 1000px;
}
#jev-response-probabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 0 22px;
}
#jev-response-probabilities > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
#jev-response-probabilities span {
  min-width: 92px;
}
#jev-response-probabilities progress {
  flex: 1;
  min-width: 20px;
  height: 7px;
  accent-color: #b138cc;
}
#jev-response-probabilities strong {
  min-width: 45px;
  text-align: right;
  font: 11px var(--mono);
}
#jev-answer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 20px 22px;
}
#jev-answer-metrics > div {
  display: flex;
  gap: 10px;
  font-size: 12px;
  text-transform: capitalize;
}
#jev-response-reason {
  margin: 16px 22px;
  font: 10px var(--mono);
  color: #837089;
}
.jev-response-details {
  margin: 18px 22px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.jev-response-details summary {
  cursor: pointer;
  font-size: 12px;
}
.jev-response-details p {
  font-size: 11px;
  line-height: 1.6;
  color: #837089;
}
.jev-response-details pre {
  max-height: 340px;
  overflow: auto;
  padding: 16px;
  background: #f8f5fa;
  font: 11px/1.7 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.jev-response-foot {
  padding: 12px 22px;
  border-top: 1px solid #eee;
  font: 10px var(--mono);
  color: #837089;
}
.decision-response-link {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 12px;
  color: #a431bc;
}
@media (max-width: 700px) {
  .jev-response-summary {
    grid-template-columns: 1fr;
  }
  .jev-response-summary > div + div {
    border-left: 0;
    border-top: 1px solid #e4dce7;
  }
  .jev-response-summary strong {
    font-size: 20px;
  }
  #jev-response-probabilities {
    grid-template-columns: 1fr;
  }
  .jev-response-toolbar select {
    max-width: 210px;
  }
}

.trade-feed-status {
  font: 11px/1.7 var(--mono);
  padding: 12px 16px;
  border: 1px solid #ebdcef;
  background: #fcf7ff;
  color: #795184;
}

.holdings-panel {
  margin-top: 24px;
}
#holdings-status {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}
.holdings-scroll {
  overflow-x: auto;
}
.holdings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.holdings-table th,
.holdings-table td {
  padding: 16px;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}
.holdings-table th {
  font-weight: 500;
  font-size: 11px;
  color: #777;
}
.holdings-table small {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 7px;
}
.trade-toasts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(390px, calc(100vw - 48px));
  z-index: 200;
  display: grid;
  gap: 10px;
}
.trade-toast {
  position: relative;
  background: white;
  border: 1px solid #f2b4c3;
  border-left: 4px solid #d05d74;
  padding: 18px 35px 14px 18px;
  box-shadow: 0 8px 40px #0002;
  animation: toast-in 0.25s ease-out;
}
.trade-toast p {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
  color: #555;
}
.trade-toast button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .trade-toast {
    animation: none;
  }
}

#jev-response-probabilities > div {
  display: grid;
  grid-template-columns: 92px minmax(20px, 1fr) 52px;
}
.jev-probability-track {
  height: 7px;
  background: #f0eaf2;
  overflow: hidden;
}
.jev-probability-fill {
  height: 100%;
  width: 100%;
  background: #b138cc;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
#jev-response-probabilities strong,
.probability-value {
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .jev-probability-fill {
    transition: none;
  }
}

.purchase-celebration {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.purchase-celebration-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
  max-width: 100%;
  animation: purchase-enter 0.3s ease-out;
}
.purchase-badge {
  color: #14965c;
  font: 12px var(--mono);
  letter-spacing: 0.14em;
}
.purchase-celebration h2 {
  font-size: clamp(34px, 7vw, 90px);
  line-height: 1.05;
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.purchase-amount {
  display: block;
  font-size: clamp(30px, 5vw, 62px);
  color: #14965c;
  font-variant-numeric: tabular-nums;
}
.purchase-celebration p {
  font-size: 14px;
  margin: 20px 0;
}
.purchase-celebration small {
  color: #888;
  font: 11px var(--mono);
}
.purchase-confetti {
  position: absolute;
  left: var(--x);
  top: -20px;
  width: 8px;
  height: 14px;
  animation: purchase-fall 2.4s var(--delay) ease-in forwards;
  pointer-events: none;
}
@keyframes purchase-fall {
  to {
    transform: translateY(110vh) rotate(var(--spin));
  }
}
@keyframes purchase-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .purchase-celebration-card {
    animation: none;
  }
}

.purchase-celebration {
  inset: auto 22px 22px auto;
  width: min(380px, calc(100vw - 32px));
  height: auto;
  display: block;
  background: #fff;
  backdrop-filter: none;
  border: 1px solid #dfcce7;
  border-radius: 14px;
  box-shadow: 0 10px 40px #21132826;
  pointer-events: none;
}
.purchase-celebration-card {
  padding: 23px;
  text-align: left;
}
.purchase-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.purchase-celebration h2 {
  font-size: 28px;
  margin: 14px 0 10px;
}
.purchase-amount {
  font-size: 30px;
}
.purchase-celebration p {
  font-size: 12px;
  margin: 12px 0;
}
.purchase-celebration small {
  font-size: 10px;
}
.purchase-confetti {
  width: 5px;
  height: 9px;
  animation-name: purchase-card-fall;
}
@keyframes purchase-card-fall {
  to {
    transform: translateY(320px) rotate(var(--spin));
  }
}
@media (max-width: 600px) {
  .purchase-celebration {
    right: 16px;
    bottom: 16px;
  }
}

.chart-follow-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px 0;
  font-size: 11px;
  color: #777;
}
.chart-follow-control select {
  background: #fff;
  border: 1px solid #e5d7eb;
  border-radius: 5px;
  padding: 7px;
  font: 11px var(--mono);
  color: #51435a;
  max-width: 155px;
}

.candidate-result .bot-position-badge {
  background: #e8f7ee;
  color: #168858;
}

.response-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}
.response-details-column {
  min-width: 0;
  border-right: 1px solid var(--line);
}
.response-evolution {
  min-width: 0;
  position: sticky;
  top: 20px;
}
.response-evolution .panel-heading {
  min-height: 66px;
}
.response-workspace #jev-response-probabilities {
  grid-template-columns: 1fr;
}
.response-workspace .jev-response-summary strong {
  font-size: 24px;
}
.response-workspace .jev-response-toolbar {
  flex-wrap: wrap;
  gap: 12px;
}
#holdings {
  margin: 22px 0;
}
@media (max-width: 1100px) {
  .response-workspace {
    grid-template-columns: 1fr;
  }
  .response-details-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .response-evolution {
    position: static;
  }
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.decision-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  margin: 0 0 24px;
  border: 1px solid #e9d8ef;
  background: #fdf8ff;
}
.hero-wallet[hidden] {
  display: none;
}
.hero-wallet code {
  display: block;
  margin-top: 10px;
  font-size: clamp(12px, 1.1vw, 17px);
  overflow-wrap: anywhere;
  user-select: all;
}
.wallet-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .hero-wallet {
    align-items: flex-start;
    flex-direction: column;
  }
}

#price-canvas {
  position: relative;
}
.fill-tooltip {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  width: 250px;
  max-height: 280px;
  overflow: hidden;
  padding: 12px;
  background: #fff;
  border: 1px solid #dccce4;
  border-radius: 8px;
  box-shadow: 0 4px 22px #2222;
  white-space: pre-line;
  font: 11px/1.6 var(--mono);
  color: #242024;
}
.fill-tooltip[hidden] {
  display: none;
}

.price-panel .chart-metadata {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.chart-metadata .coin-identity {
  padding: 14px 18px;
  gap: 12px;
}
.chart-metadata .token-art {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.chart-metadata .token-heading h2 {
  font-size: 20px;
  margin: 3px 0;
}
.chart-metadata .token-heading .eyebrow {
  display: none;
}
.chart-metadata .token-heading p {
  margin: 3px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chart-metadata .token-price strong {
  font-size: 23px;
}
.chart-metadata .metadata-stats {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.chart-metadata .metadata-stats > div {
  padding: 9px 10px;
}
.chart-metadata .metadata-stats strong {
  margin-top: 5px;
  font-size: 11px;
}
.chart-metadata .metadata-footer {
  padding: 8px 14px;
  gap: 8px;
}
.price-panel > .panel-heading {
  padding-top: 10px;
  padding-bottom: 10px;
}
.price-panel #price-chart-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 1200px) {
  .chart-metadata .metadata-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .chart-metadata .coin-identity {
    flex-wrap: wrap;
    padding: 12px;
  }
  .chart-metadata .token-heading {
    flex: 1;
    min-width: 0;
  }
  .chart-metadata .token-price {
    width: auto;
    margin-left: 56px;
    text-align: left;
  }
  .chart-metadata .metadata-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-metadata .metadata-footer {
    flex-wrap: wrap;
  }
}
