:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #191c20;
  --panel-2: #20242a;
  --line: #30353c;
  --text: #f2f5f4;
  --muted: #9ba6a6;
  --green: #41d98d;
  --red: #ff5f66;
  --gold: #e8b84a;
  --cyan: #50c7e8;
  --violet: #a98cff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

button, input { font: inherit; }

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #14171a;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #41d98d, #50c7e8);
  color: #07100d;
  font-weight: 900;
}

.brand h1, .brand span, .topbar h2, .eyebrow, h3, p { margin: 0; }
.brand h1 { font-size: 20px; }
.brand span, .eyebrow, .metric-card p, .rules span, .section-heading span { color: var(--muted); font-size: 12px; }

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-list a {
  color: #cbd2d2;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 8px;
}

.nav-list a.active, .nav-list a:hover { background: #242930; color: var(--text); }
.nav-list span { color: var(--green); }

.node-card, .panel, .metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.node-card {
  margin-top: auto;
  padding: 16px;
}

.node-label { color: var(--muted); font-size: 12px; }
.node-card strong { display: block; margin: 8px 0 14px; }

.node-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.node-grid i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(65, 217, 141, .45);
}

.main {
  min-width: 0;
  padding: 24px;
  display: grid;
  gap: 20px;
}

.topbar, .section-heading, .top-actions, .status-row, .hero-metrics, .workspace {
  display: flex;
  align-items: center;
}

.topbar { justify-content: space-between; gap: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0; margin-bottom: 4px; color: var(--green); }
.topbar h2 { font-size: clamp(26px, 4vw, 42px); }
.top-actions { gap: 8px; }

.icon-button, .primary-button, .wide-button, .segmented button {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel-2);
  border-radius: 8px;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
}

.primary-button, .wide-button {
  height: 40px;
  padding: 0 16px;
  background: var(--green);
  color: #08120d;
  border-color: transparent;
  font-weight: 800;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 20px;
  align-items: stretch;
}

.chain-map {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at center, #263333 0, #171b1e 62%);
}

#pulseCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.map-overlay {
  position: absolute;
  inset: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.map-overlay span {
  background: rgba(10, 13, 15, .72);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.hero-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hero-copy p { color: #cbd5d3; line-height: 1.7; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.status-row { gap: 10px; }
.hero-metrics { gap: 10px; }
.hero-metrics div { flex: 1; background: #121518; border: 1px solid var(--line); border-radius: 8px; padding: 14px; min-width: 0; }
.hero-metrics strong { display: block; font-size: 24px; }
.hero-metrics span { color: var(--muted); font-size: 12px; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.view { display: none; }
.view.active { display: grid; }
.workspace.view.active { display: flex; }
.hero-panel.view.active { display: grid; }
.metrics-grid.view.active { display: grid; }

.metric-card { padding: 17px; border-left: 4px solid var(--green); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.metric-card:hover, .metric-card:focus { transform: translateY(-2px); background: #1d2228; outline: none; }
.metric-card strong { display: block; font-size: 32px; margin: 6px 0; }
.metric-card.critical { border-left-color: var(--red); }
.metric-card.whale { border-left-color: var(--gold); }
.metric-card.market { border-left-color: var(--cyan); }
.metric-card.mobile { border-left-color: var(--violet); }

.overview-alpha {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.overview-alpha-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 14px;
}

.overview-alpha-list {
  display: grid;
  gap: 8px;
}

.overview-alpha-card {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  color: var(--text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.overview-alpha-card:hover,
.overview-alpha-card.active {
  border-color: rgba(232, 184, 74, .6);
  background: #1d2228;
}

.overview-alpha-card b,
.overview-alpha-card small {
  display: block;
  overflow-wrap: anywhere;
}

.overview-alpha-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.overview-alpha-card strong,
.positive {
  color: var(--green);
}

.overview-alpha-card .negative,
.negative {
  color: var(--red);
}

.overview-alpha-detail {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.overview-alpha-chart {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 12px;
  overflow: hidden;
}

.overview-alpha-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.compact-market {
  margin-top: 0;
}

.overview-alpha-news {
  display: grid;
  gap: 8px;
}

.overview-alpha-news p {
  color: #cbd5d3;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 10px 12px;
}

.workspace {
  align-items: flex-start;
  gap: 20px;
}

.feed-column { flex: 1; min-width: 0; }
.side-column { width: 340px; display: grid; gap: 16px; }
.section-heading { justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-heading h3 { font-size: 18px; }
.section-heading.compact { margin-bottom: 16px; }

.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.segmented button {
  border: 0;
  border-radius: 0;
  padding: 8px 12px;
}

.segmented button.active { background: #e7f8ef; color: #07120c; }

.event-feed {
  display: grid;
  gap: 10px;
}

.event-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.severity {
  width: 76px;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
}

.severity.high { background: rgba(255, 95, 102, .18); color: #ff8f95; }
.severity.mid { background: rgba(232, 184, 74, .16); color: #ffd56b; }
.severity.low { background: rgba(80, 199, 232, .16); color: #80dcf1; }
.event-card h4 { margin: 0 0 5px; font-size: 15px; }
.event-card p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.event-time { color: var(--muted); font-size: 12px; white-space: nowrap; }

.panel { padding: 16px; }
.pill { border-radius: 999px; padding: 5px 9px; background: #2a3036; }
.pill.on { color: var(--green); }
.forward-list { display: grid; gap: 12px; margin-bottom: 16px; }
.forward-list label { display: flex; align-items: center; gap: 10px; color: #d7dddd; }
.forward-list input { accent-color: var(--green); width: 16px; height: 16px; }
.wide-button { width: 100%; }
.rules { display: grid; gap: 10px; }
.rules div { display: grid; gap: 4px; padding: 12px; background: #121518; border: 1px solid var(--line); border-radius: 8px; }
.rules b { font-size: 14px; }

.query-panel {
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.query-result {
  grid-column: 1 / -1;
  min-height: 0;
  display: none;
  border: 1px solid rgba(65, 217, 141, .35);
  background: rgba(65, 217, 141, .08);
  border-radius: 8px;
  padding: 12px 14px;
}

.query-result:not(:empty) {
  display: grid;
  gap: 4px;
}

.query-result span {
  color: var(--muted);
  font-size: 13px;
}

.query-panel p { margin-top: 6px; color: var(--muted); line-height: 1.55; }

.wallet-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px auto;
  gap: 10px;
}

.wallet-form input, .wallet-form select, .builder-grid input, .builder-grid select {
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111519;
  color: var(--text);
  padding: 0 12px;
}

.wallet-form input:focus, .wallet-form select:focus, .builder-grid input:focus, .builder-grid select:focus {
  outline: 2px solid rgba(65, 217, 141, .55);
  outline-offset: 1px;
}

.event-card { cursor: pointer; }
.event-card:hover { border-color: #53606c; background: #1d2228; }

.wallet-view, .rules-builder, .forwarding-view, .alpha-view {
  gap: 16px;
}

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

.wallet-row {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

.wallet-row span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.wallet-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-row strong { color: var(--green); }
.wallet-row.active, .wallet-row:hover { border-color: var(--green); }

.wallet-detail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.detail-head span, .detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.full-address {
  font-size: 17px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.detail-grid, .builder-grid, .device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rule-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rule-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #121518;
}

.rule-summary b { display: block; margin-bottom: 6px; }
.rule-summary span { color: var(--muted); font-size: 13px; line-height: 1.55; }

.detail-grid div, .device-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #121518;
}

.detail-grid b, .device-grid b {
  display: block;
  margin-top: 5px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.monitor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.secondary-button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.secondary-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.hyper-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.hyper-panel:empty {
  display: none;
}

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

.hyper-grid article, .hyper-fills div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #121518;
}

.hyper-grid span, .hyper-fills span {
  color: var(--muted);
  font-size: 12px;
}

.hyper-grid b, .hyper-fills b {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.hyper-fills {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #cbd5d3;
}

.alpha-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.api-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 10px 12px;
}

.alpha-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.alpha-tools label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.alpha-tools input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  color: var(--text);
  padding: 0 12px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #121518;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
}

.alpha-search-results {
  display: grid;
  gap: 8px;
}

.alpha-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 12px;
}

.alpha-result div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.alpha-result span, .alpha-result small {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.alpha-list { min-width: 0; }

.alpha-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090b0d;
}

.alpha-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.alpha-table th,
.alpha-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #252a30;
  text-align: left;
  vertical-align: middle;
}

.alpha-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  background: #0f1215;
  white-space: nowrap;
}

.alpha-table td {
  color: #dfe7e5;
  font-size: 14px;
}

.alpha-table td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.alpha-row {
  background: #050607;
  cursor: pointer;
}

.alpha-row.active,
.alpha-row:hover {
  background: #1b1f24;
}

.alpha-row.active td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}

.alpha-project-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  grid-template-columns: 20px 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.alpha-project-button b {
  display: block;
  font-size: 15px;
}

.alpha-project-button small {
  max-width: 280px;
}

.star {
  color: #7d858d;
  font-size: 22px;
}

.token-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8b84a, #41d98d);
  color: #070a08;
  font-size: 12px;
  font-weight: 900;
}

.fallback-token {
  display: grid;
  gap: 4px;
}

.fallback-token b {
  color: var(--text);
}

.fallback-token small {
  color: var(--muted);
}

.mini-trend {
  width: 120px;
  height: 60px;
  display: block;
}

.alpha-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #242930;
  color: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.mini-button:hover {
  border-color: var(--gold);
  background: #30353b;
}

.alpha-detail {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.alpha-verdict {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(80, 199, 232, .35);
  border-radius: 8px;
  background: rgba(80, 199, 232, .08);
}

.alpha-verdict.warn {
  border-color: rgba(232, 184, 74, .35);
  background: rgba(232, 184, 74, .08);
}

.alpha-verdict.danger {
  border-color: rgba(255, 95, 102, .35);
  background: rgba(255, 95, 102, .08);
}

.alpha-verdict span {
  color: var(--muted);
  font-size: 13px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.market-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 12px;
  min-width: 0;
}

.market-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.market-grid b {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.market-grid .positive { color: var(--green); }
.market-grid .negative { color: var(--red); }

.alpha-chart {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121518;
  padding: 12px;
  overflow: hidden;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.chart-head span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.alpha-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-grid line {
  stroke: rgba(255,255,255,.08);
}

.chart-grid text {
  fill: var(--muted);
  font-size: 11px;
}

.last-price-line {
  stroke: rgba(232, 184, 74, .75);
  stroke-dasharray: 4 5;
}

.chart-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.alpha-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.alpha-columns section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #121518;
}

.alpha-columns h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.alpha-columns p {
  color: #cbd5d3;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.alpha-columns .address-line {
  font-family: Consolas, "SFMono-Regular", monospace;
  overflow-wrap: anywhere;
}

.timeline div {
  display: flex;
  gap: 10px;
  color: #cbd5d3;
}

.timeline i {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.builder-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.device-grid article {
  display: grid;
  gap: 8px;
}

.device-grid span { color: var(--muted); font-size: 12px; }
.device-grid button {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
}

.drawer {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: flex-end;
  background: rgba(0,0,0,.48);
  z-index: 20;
}

.drawer.open { display: flex; }

.drawer-card {
  width: min(460px, 100%);
  min-height: 100%;
  background: #15191d;
  border-left: 1px solid var(--line);
  padding: 20px;
  position: relative;
}

.drawer-card .icon-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

#drawerContent {
  display: grid;
  gap: 16px;
  padding-top: 42px;
}

#drawerContent p { color: #cbd5d3; line-height: 1.65; }
#drawerContent dl { display: grid; gap: 10px; margin: 0; }
#drawerContent dl div { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
#drawerContent dt { color: var(--muted); font-size: 12px; }
#drawerContent dd { margin: 4px 0 0; }

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; align-items: center; overflow-x: auto; }
  .nav-list { display: flex; }
  .node-card { display: none; }
  .hero-panel, .metrics-grid, .query-panel, .watchlist, .detail-grid, .builder-grid, .device-grid, .rule-summary, .hyper-grid, .alpha-columns, .market-grid, .alpha-tools, .overview-alpha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alpha-layout { grid-template-columns: 1fr; }
  .alpha-tools .primary-button { grid-column: 1 / -1; }
  .workspace { flex-direction: column; }
  .side-column { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .main, .sidebar { padding: 16px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero-panel, .metrics-grid, .side-column, .query-panel, .watchlist, .detail-grid, .builder-grid, .device-grid, .wallet-form, .rule-summary, .hyper-grid, .alpha-columns, .market-grid, .alpha-tools, .overview-alpha-grid { grid-template-columns: 1fr; }
  .alpha-result { grid-template-columns: 1fr; }
  .chart-head { align-items: flex-start; flex-direction: column; }
  .chart-head span { text-align: left; }
  .hero-metrics { flex-direction: column; align-items: stretch; }
  .event-card { grid-template-columns: 1fr; align-items: flex-start; }
  .event-time { white-space: normal; }
  .nav-list a { white-space: nowrap; }
}
