:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #0a0a0a;
  --raise: #111111;
  --line: #262626;
  --line-strong: #333333;
  --text: #f4f4f5;
  --muted: #8d8d8d;
  --faint: #6f6f6f;
  --up: #3dd68c;
  --up-bg: #10291c;
  --up-line: #1c6b42;
  --down: #f05252;
  --down-bg: #2a1212;
  --down-line: #6b2c2c;
  --radius: 14px;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffffff; }
.app { min-height: 100dvh; display: flex; flex-direction: column; }

.top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #000;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  min-width: 148px; border: 0; background: transparent; padding: 0; text-align: left;
}
.brand strong { display: block; font-size: 15px; font-weight: 620; letter-spacing: -0.02em; }
.brand span { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }
.lookup { flex: 1; display: flex; gap: 8px; min-width: 0; }
.lookup input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: 13px;
}
.lookup input::placeholder { color: var(--faint); }
.lookup input:focus { outline: 1px solid var(--line-strong); outline-offset: 1px; }
.lookup button, .btn, .ghost {
  height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
}
.lookup button { font-weight: 600; }
.lookup button:disabled, .btn:disabled { opacity: 0.5; cursor: wait; }
.ghost.sm, .btn.sm { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 999px; }
.btn.danger { color: var(--down); border-color: var(--down-line); }

.shell { flex: 1; display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
.watch {
  border-right: 1px solid var(--line);
  background: #000;
  padding: 12px 10px;
  overflow: auto;
  scrollbar-width: none;
}
.watch::-webkit-scrollbar { width: 0; height: 0; }
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.watch-head h2 { font-size: 13px; font-weight: 620; color: var(--text); }
#watch-close { display: none; }
.watch-note { margin: 6px 0 14px; color: var(--faint); font-size: 12px; }
.side-link {
  display: block; width: 100%; margin: 0 0 4px; height: 32px; padding: 0 10px;
  text-align: left; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text);
}
#desk-link { margin-top: 8px; }
.side-link.on { border-color: var(--line-strong); }
.watch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.watch-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px; align-items: center;
  padding: 3px 2px 3px 4px; border: 1px solid transparent; border-radius: 8px; background: transparent;
}
.watch-item:hover { border-color: var(--line); background: var(--card); }
.watch-item.active { border-color: var(--line-strong); }
.watch-item button.open {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  text-align: left; background: none; border: 0; padding: 0; color: inherit; min-width: 0;
}
.avatar, .ph {
  width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: #000;
  display: grid; place-items: center; font-size: 11px; color: var(--muted);
  border: 1px solid var(--line);
}
.watch-item .meta { min-width: 0; }
.watch-item .meta strong, .watch-item .meta span { display: block; }
.watch-item .meta strong { font-size: 13px; font-weight: 620; }
.watch-item .meta span, .mint { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.watch-item .px { font-size: 12px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.watch-item .px.up { color: var(--up); }
.watch-item .px.down { color: var(--down); }
.icon-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--faint);
}
.icon-btn:hover { border-color: var(--line); color: var(--text); }
.empty-list { color: var(--muted); font-size: 13px; padding: 8px 2px; }

.desk { min-width: 0; overflow: auto; padding: 14px 16px 32px; scrollbar-width: none; }
.desk::-webkit-scrollbar { width: 0; height: 0; }
.workspace { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.quote {
  display: flex; align-items: center; gap: 18px; min-width: 0;
}
.quote-stats { display: flex; gap: 22px; flex: 1; min-width: 0; flex-wrap: wrap; }
.quote .metric strong { font-size: 22px; margin-top: 2px; }
.quote .metric span { font-size: 12px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: stretch; }
.rail .metrics { margin-top: 12px; gap: 14px 16px; }
.rail .metric strong { font-size: 18px; }
.narrative-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.narrative-item { border-top: 1px solid var(--line); padding-top: 10px; }
.narrative-item p { margin: 4px 0; }
.callout-draft, .narrative-ask {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}
.callout-draft { min-height: 220px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 13px;
}
.tabs button.on { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.tab-panel[hidden] { display: none; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.home-card {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center;
  text-align: left; width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: inherit;
}
.home-card strong, .home-card span { display: block; }
.home-card span { color: var(--faint); font-size: 12px; margin-top: 2px; }
.home-card em { grid-column: 2; font-style: normal; color: var(--text); font-size: 13px; }
.empty {
  max-width: 640px; padding: 28px 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.empty h1 { font-size: 28px; letter-spacing: -0.03em; font-weight: 620; margin: 6px 0 10px; }
.empty p { color: var(--muted); max-width: 54ch; }
.kicker { color: var(--faint); font-size: 12px; }

.token-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ident { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ident img, .ident .ph { width: 44px; height: 44px; border-radius: 10px; }
.ident h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 640; }
.ident h1 span { color: var(--muted); font-weight: 500; margin-left: 8px; }
.mint-line { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 8px; align-items: center; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h2 { font-size: 16px; font-weight: 640; letter-spacing: -0.02em; }
.card-head h2 { display: flex; align-items: center; }
td.up { color: var(--up); }
td.down { color: var(--down); }
.card-head p, .help, .fine { color: var(--faint); font-size: 12px; line-height: 1.45; }
.card-head p { margin-top: 4px; }
.card-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ok {
  width: 18px; height: 18px; margin-right: 8px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--up-bg); color: var(--up);
  font-size: 11px; line-height: 1;
}
.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raise);
  color: var(--muted); font-size: 12px; font-weight: 620;
}
.badge.up { color: var(--up); border-color: var(--up-line); background: var(--up-bg); }
.badge.down { color: var(--down); border-color: var(--down-line); background: var(--down-bg); }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 20px; }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric strong {
  display: block; margin-top: 6px; font-size: 28px; font-weight: 560;
  letter-spacing: -0.035em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric strong.up { color: var(--up); }
.metric strong.down { color: var(--down); }
.rule { height: 1px; background: var(--line); margin: 18px 0 0; }
.group-label { margin-top: 16px; color: var(--muted); font-size: 13px; }
.meter { margin-top: 16px; }
.meter-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--muted); font-size: 14px; }
.meter-row strong { color: var(--text); font-weight: 560; font-size: 14px; }
.meter-track { margin-top: 8px; height: 4px; border-radius: 99px; background: #2a2a2a; overflow: hidden; }
.meter-track span { display: block; height: 100%; background: var(--up); }

.chart-bar { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.intervals { display: flex; gap: 4px; flex-wrap: wrap; }
.intervals button {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 12px;
}
.intervals button.on { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.chart-wrap { position: relative; height: 460px; margin: 0 -8px; }
canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.tip {
  position: absolute; pointer-events: none; display: none;
  background: #000; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px;
  font-size: 12px; z-index: 2;
}
.chart-msg { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; }

.table-wrap { overflow: auto; margin-top: 14px; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-weight: 560; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
td:first-child, th:first-child, td.left, th.left { text-align: left; }
tr.primary td { background: #101010; }
.links { display: flex; gap: 14px; flex-wrap: wrap; }
.limits { margin: 8px 0 0; padding-left: 16px; color: var(--faint); }
.limits li { margin: 4px 0; }
.block { margin-top: 16px; }
.block h3 { font-size: 13px; font-weight: 620; margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.backdrop { display: none; }
.noscript { padding: 16px; }

@media (min-width: 901px) {
  #watch-toggle { display: none; }
}
@media (max-width: 900px) {
  .top { flex-wrap: wrap; padding: 12px; }
  .brand { min-width: 0; flex: 1; }
  .lookup { order: 3; flex-basis: 100%; }
  .shell { display: block; }
  .watch {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 340px);
    z-index: 40; transform: translateX(-105%); transition: transform 160ms ease;
    border-right: 1px solid var(--line); background: #000;
  }
  .watch.open { transform: none; }
  #watch-close { display: inline-flex; align-items: center; }
  .backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 35; display: block; }
  .backdrop[hidden] { display: none; }
  .desk { padding: 12px 12px 36px; }
  .quote { flex-direction: column; align-items: stretch; }
  .quote-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .stage { grid-template-columns: 1fr; }
  .token-head { flex-direction: column; }
  .ident h1 { font-size: 20px; }
  .metric strong { font-size: 22px; }
  .chart-wrap { height: 280px; }
  .card { padding: 16px 14px; }
}

.desk-bar {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 5; background: #000; padding-bottom: 8px;
}
.desk-bar h1 { font-size: 18px; font-weight: 620; letter-spacing: -0.03em; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.sort select {
  height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--card);
  padding: 0 8px; color: var(--text);
}
.wgrid {
  display: grid;
  gap: 8px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.wcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 8px;
  min-width: 0;
}
.wcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.wcard-id {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.wcard .avatar, .wcard .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.wcard-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcard-id .mint { display: block; margin-top: 1px; }
.wcard-tools { display: flex; align-items: center; gap: 0; flex: none; }
.wcard-tools .icon-btn { width: 28px; height: 28px; display: inline-grid; place-items: center; }
.wcard-tools .icon-btn.hot,
.wcard-tools .icon-btn[aria-expanded="true"] { color: var(--text); }
.wcard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 10px;
}
.wcard-metrics > div { min-width: 0; }
.wcard-metrics span {
  display: block; height: 14px; color: var(--muted); font-size: 11px; line-height: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-status {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  color: var(--muted); font-size: 12px; white-space: nowrap;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.live-status[data-state="live"] .live-dot { background: var(--up); }
.live-status[data-state="wait"] .live-dot { background: var(--down); }
.spark { display: block; width: 100%; height: 28px; margin-top: 8px; }
.metric strong.num-flash-up, .wcard-metrics strong.num-flash-up, .px.num-flash-up, .x-stat strong.num-flash-up {
  animation: td-flash-up 800ms ease;
}
.metric strong.num-flash-down, .wcard-metrics strong.num-flash-down, .px.num-flash-down, .x-stat strong.num-flash-down {
  animation: td-flash-down 800ms ease;
}
@keyframes td-flash-up { from { background: var(--up-bg); } to { background: transparent; } }
@keyframes td-flash-down { from { background: var(--down-bg); } to { background: transparent; } }
.wcard-metrics strong {
  display: block; height: 18px; margin-top: 1px; font-size: 14px; font-weight: 560;
  letter-spacing: -0.02em; line-height: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.wcard-metrics strong.up { color: var(--up); }
.wcard-metrics strong.down { color: var(--down); }
.wcard-metrics strong.quiet { color: var(--muted); font-weight: 520; }
.sig {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text);
  font-style: normal; font-size: 10px; font-weight: 600;
}
.wcard-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  min-height: 34px;
}
.wcard-status {
  min-width: 0; color: var(--muted); font-size: 11px; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-pill {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 12px;
  white-space: nowrap;
}
.research-link {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; padding: 0; color: var(--muted); font-size: 12px;
  white-space: nowrap;
}
.research-link:hover { color: var(--text); }
.alert-panel {
  display: none;
  position: absolute;
  z-index: 8;
  top: 40px;
  right: 8px;
  left: 8px;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.alert-panel.open { display: block; }
.alert-panel form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.alert-panel select, .alert-panel input {
  height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #000; color: var(--text); padding: 0 8px;
}
.alert-panel select { flex: 1 1 220px; min-width: 0; max-width: 100%; }
.alert-panel input { width: 110px; }
.alert-rules { list-style: none; margin: 0; padding: 0; }
.alert-rules li {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 6px 0; font-size: 12px; color: var(--muted);
}
.alert-log { list-style: none; margin: 8px 0 0; padding: 0; }
.alert-log li { padding: 6px 0; color: var(--muted); font-size: 12px; }
.alert-log div { color: var(--faint); margin-top: 2px; }
.danger-quiet { color: var(--down); margin-top: 10px; }
.empty-watch h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 620; }
.empty-watch p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.recent-strip {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  margin-top: 8px; color: var(--faint); font-size: 12px;
}
.section-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  min-height: 22px; margin-bottom: 8px;
}
.section-label h2 { font-size: 13px; font-weight: 620; color: var(--muted); letter-spacing: -0.01em; }
.desk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.desk-watch, .desk-calls, .desk-rail { min-width: 0; }
.desk-rail { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1321px) {
  .app:has(.desk-split) {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }
  .app:has(.desk-split) .shell {
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  .desk:has(.desk-split) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
  }
  .desk:has(.desk-split) > .workspace {
    flex: 1;
    min-height: 0;
  }
  .desk:has(.desk-split) .desk-split {
    flex: 1;
    min-height: 0;
    align-items: stretch;
  }
  .desk:has(.desk-split) .desk-watch,
  .desk:has(.desk-split) .desk-rail {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .desk:has(.desk-split) .desk-watch::-webkit-scrollbar,
  .desk:has(.desk-split) .desk-rail::-webkit-scrollbar { width: 0; height: 0; }
}
.call-list { display: flex; flex-direction: column; gap: 4px; }
.call-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "id move act" "thesis move act";
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.call-id {
  grid-area: id;
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.call-id .avatar, .call-id .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.call-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-id .mint { display: block; }
.call-thesis {
  grid-area: thesis;
  margin: 0; min-width: 0;
  color: var(--muted); font-size: 12px; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-move { grid-area: move; text-align: right; }
.call-move strong {
  display: block; font-size: 12px; font-weight: 560; letter-spacing: -0.02em;
  white-space: nowrap; line-height: 16px;
}
.call-move strong span { color: var(--faint); font-size: 10px; font-weight: 520; margin-right: 4px; }
.call-move strong.up { color: var(--up); }
.call-move strong.down { color: var(--down); }
.call-row > .ghost, .call-row > .watch-pill { grid-area: act; justify-self: end; }
.explore-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.explore-filters { display: flex; gap: 4px; }
.explore-filters button {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 12px;
}
.explore-filters button.on { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.explore-list { display: flex; flex-direction: column; gap: 4px; }
.xhead, .xrow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 360px 176px;
  gap: 12px;
  align-items: center;
}
.xhead {
  padding: 0 10px 2px;
  color: var(--faint); font-size: 11px; letter-spacing: 0.02em;
}
.xhead-stats, .x-stats {
  display: grid;
  grid-template-columns: 72px 72px 112px 80px;
  gap: 8px;
}
.xhead-stats { text-align: right; }
.xrow {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
}
.x-id {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.x-id .avatar, .x-id .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.x-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x-id .mint { display: block; }
.x-note { min-width: 0; }
.x-reason {
  margin: 0; color: var(--text); font-size: 13px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.x-meta {
  margin: 2px 0 0; color: var(--faint); font-size: 11px; line-height: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x-stat { position: relative; min-width: 0; text-align: right; }
.x-label { display: block; color: var(--faint); font-size: 10px; line-height: 12px; }
.x-stat strong {
  display: block; font-size: 13px; font-weight: 560; letter-spacing: -0.02em; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.x-stat strong.up { color: var(--up); }
.x-stat strong.down { color: var(--down); }
.x-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.recent-strip button {
  height: 26px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: 12px;
}
.recent-token { display: inline-flex; align-items: center; gap: 8px; }
.recent-token .ghost { height: 26px; }

@media (min-width: 1181px) {
  .x-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1321px) {
  .desk-watch .wgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
}
@media (max-width: 1320px) {
  .desk-split { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .xhead { display: none; }
  .xrow {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id act" "note note" "stats stats";
    align-items: start;
  }
  .x-id { grid-area: id; }
  .x-note { grid-area: note; }
  .x-stats { grid-area: stats; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x-stats.mig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-actions { grid-area: act; }
  .x-stat { text-align: left; }
}
@media (max-width: 900px) {
  .desk-bar { position: static; }
}
html.standalone body {
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
}
html.standalone .watch {
  top: env(safe-area-inset-top);
  bottom: env(safe-area-inset-bottom);
}
.access-gate {
  position: fixed; inset: 0; z-index: 80; background: #000;
  display: grid; place-items: center; padding: 24px;
}
.access-gate[hidden] { display: none; }
.access-card { width: min(420px, 100%); display: grid; gap: 12px; }
.access-card h1 { font-size: 28px; letter-spacing: -0.03em; }
.access-card p { color: var(--muted); }
.access-card input {
  height: 40px; padding: 0 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px;
}
.access-card button { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--raise); }
