:root {
  color-scheme: dark;
  /* ===== Narrative Engine v3 Theme Tokens ===== */
  --bg: #0b1020;
 /* --bg-radial: radial-gradient(circle at 10% 0%, #15223b 0%, #0b1020 38%, #070c17 100%);*/
 --bg-radial : #020c1a;
  --panel: #121a2b;
  --panel-2: #182238;
  --text: #e8edf7;
  --muted: #9db0d0;
  --line: #243149;
  --accent: #84ccff;
  --accent-2: #78d6ff;
  --accent-3: #8df6d1;
  --primary-gradient: linear-gradient(135deg, #78d6ff, #8df6d1);
  --glass-bg: rgba(9, 18, 38, 0.68);
  --glass-bg-strong: rgba(10, 20, 42, 0.84);
  --glass-line: rgba(120, 214, 255, 0.22);
  --glass-glow: 0 0 0 1px rgba(120, 214, 255, 0.08) inset, 0 12px 40px rgba(6, 14, 30, 0.42);
  --green: #9be7a7;
  --red: #ff9b9b;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

.copilot-entry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(141, 246, 209, 0.36);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(120, 214, 255, 0.24), rgba(141, 246, 209, 0.18)),
    rgba(7, 16, 31, 0.92);
  color: #ecfffb;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: 0 14px 34px rgba(20, 201, 213, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.copilot-entry-cta[hidden] {
  display: none !important;
}

.copilot-entry-cta:hover,
.copilot-entry-cta:focus-visible {
  border-color: rgba(141, 246, 209, 0.62);
  color: #ffffff;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(20, 201, 213, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.copilot-entry-icon {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(141, 246, 209, 0.12);
  color: #8df6d1;
  flex: 0 0 auto;
}

.copilot-entry-icon svg {
  width: 17px;
  height: 17px;
}

.copilot-entry-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.copilot-entry-copy strong {
  font-size: 13px;
}

.copilot-entry-copy small {
  color: rgba(218, 246, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.narrative-copilot-cta {
  min-height: 40px;
  padding: 8px 13px;
}

.copilot-page-body {
  min-height: 100vh;
  overflow: hidden;
}

.copilot-workspace {
  height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.copilot-sidebar,
.copilot-chat-panel {
  border: 1px solid rgba(120, 214, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.copilot-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  min-height: 0;
  overflow-y: auto;
}

.copilot-new-chat,
.copilot-composer button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #78d6ff, #8df6d1);
  color: #04111d;
  font-weight: 800;
  cursor: pointer;
}

.copilot-new-chat {
  min-height: 42px;
}

.copilot-new-chat--mobile {
  display: none;
}

.copilot-sidebar-section {
  display: grid;
  gap: 8px;
}

.copilot-sidebar-section h2 {
  margin: 0;
  color: #8df6d1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.copilot-recent-list {
  display: grid;
  gap: 8px;
}

.copilot-recent-list button,
.copilot-sidebar-muted span {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.58);
  color: #dbeafe;
  padding: 10px 11px;
  text-align: left;
  font: inherit;
  padding: 5px 10px;
  font-size: 13px;
}

.copilot-recent-list button {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.copilot-recent-list button:hover,
.copilot-recent-list button.is-active {
  border-color: rgba(120, 214, 255, 0.34);
  background: rgba(120, 214, 255, 0.1);
  transform: translateY(-1px);
}

.copilot-recent-list p {
  margin: 0;
  color: #8fa4c2;
  font-size: 13px;
}

.copilot-sidebar-muted span {
  color: #8395ad;
  opacity: 0.72;
  cursor: not-allowed;
}

.copilot-chat-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.copilot-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.copilot-chat-head h1 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}

.copilot-board-link {
  border: 1px solid rgba(120, 214, 255, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  color: #bff7ef;
  text-decoration: none;
  background: rgba(120, 214, 255, 0.08);
  white-space: nowrap;
  display:none !important;
}

.copilot-chat-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  scroll-behavior: smooth;
}

.copilot-empty-state {
  max-width: 680px;
  margin: 12vh auto 0;
  text-align: center;
  color: #c7d7ed;
}

.copilot-empty-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 16px;
  border: 1px solid rgba(120, 214, 255, 0.24);
  background: rgba(120, 214, 255, 0.1);
  color: #8df6d1;
  font-weight: 900;
}

.copilot-empty-state h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: 0;
}

.copilot-empty-state p {
  margin: 0;
  color: #9db0d0;
}

.copilot-empty-starters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.copilot-empty-starters button {
  border: 1px solid rgba(120, 214, 255, 0.24);
  border-radius: 999px;
  background: rgba(120, 214, 255, 0.08);
  color: #e3fbff;
  padding: 9px 13px;
  font: inherit;
  cursor: pointer;
}

.copilot-turn {
  max-width: 920px;
  margin: 0 auto 24px;
  display: grid;
  gap: 12px;
}

.copilot-user-message {
  justify-self: end;
  max-width: min(680px, 86%);
  border: 1px solid rgba(120, 214, 255, 0.2);
  border-radius: 14px 14px 4px 14px;
  background: rgba(69, 204, 243, 0.12);
  color: #ecfeff;
  padding: 12px 14px;
  line-height: 1.45;
}

.copilot-assistant-message {
  justify-self: start;
  width: min(900px, 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(13, 23, 40, 0.94), rgba(8, 15, 28, 0.9)),
    radial-gradient(circle at 0% 0%, rgba(120, 214, 255, 0.08), transparent 34%);
  padding: 12px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.copilot-answer-shell {
  display: grid;
  gap: 10px;
}

.copilot-scan-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(120, 214, 255, 0.16);
  border-radius: 999px;
  background: rgba(120, 214, 255, 0.06);
  color: #9db0d0;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
}

.copilot-scan-header span:first-child {
  color: #dffdfa;
  text-transform: capitalize;
}

.copilot-answer-section {
  display: grid;
  gap: 7px;
      align-content: baseline;
}

.copilot-answer-section h3 {
  margin: 0;
  color: #8df6d1;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.copilot-section-label {
  color: #8df6d1;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.copilot-quick-read {
  display: grid;
  gap: 5px;
  max-width: 760px;
  border: 1px solid rgba(141, 246, 209, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(141, 246, 209, 0.1), rgba(120, 214, 255, 0.05));
  padding: 10px 11px;
}

.copilot-quick-read p {
  margin: 0;
  color: #eef9ff;
  font-size: 14px;
  line-height: 1.45;
      font-weight: 400;
}

.copilot-top-opportunity {
  display: grid;
  gap: 6px;
}

.copilot-top-card {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(141, 246, 209, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(12, 22, 42, 0.96), rgba(11, 28, 42, 0.9)),
    radial-gradient(circle at 18% 0%, rgba(120, 214, 255, 0.16), transparent 30%);
  padding: 12px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.copilot-top-card:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 246, 209, 0.44);
}

.copilot-top-card.is-locked {
  border-color: rgba(120, 214, 255, 0.34);
  background: linear-gradient(135deg, rgba(8, 21, 39, 0.98), rgba(10, 32, 54, 0.9));
}

.copilot-top-card-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.copilot-top-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #9db0d0;
  font-size: 12px;
  text-transform: capitalize;
}

.copilot-top-kicker span,
.copilot-conviction {
  color: #8df6d1;
}

.copilot-conviction {
  border: 1px solid rgba(141, 246, 209, 0.22);
  border-radius: 999px;
  background: rgba(141, 246, 209, 0.08);
  padding: 2px 7px;
  font-weight: 900;
}

.copilot-top-card h3 {
  margin: 4px 0 0;
  color: #f7fcff;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: 0;
}

.copilot-top-card p {
  margin: 0;
  color: #cfe0f2;
  line-height: 1.42;
  font-size: 12px;
}

.copilot-top-cta {
  flex: 0 0 auto;
  border: 1px solid rgba(120, 214, 255, 0.26);
  border-radius: 999px;
  color: #dffdfa;
  background: rgba(120, 214, 255, 0.08);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.copilot-insight-list {
  display: grid;
  gap: 6px;
}

.copilot-insight-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  padding: 7px;
}

.copilot-insight-row span {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(120, 214, 255, 0.1);
  color: #8df6d1;
  font-size: 11px;
  font-weight: 900;
}

.copilot-insight-row p {
  margin: 0;
  color: #d7e2f0;
  line-height: 1.36;
  font-size: 13px;
}

.copilot-answer-section p,
.copilot-answer-section ul {
  margin: 0;
  color: #d7e2f0;
  line-height: 1.42;
}

.copilot-answer-section ul {
  padding-left: 18px;
}

.copilot-answer-section li + li {
  margin-top: 6px;
}

.copilot-result-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.copilot-result-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  padding: 9px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.copilot-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 214, 255, 0.3);
  background: rgba(17, 28, 48, 0.84);
}

.copilot-result-card.is-locked {
  border-color: rgba(120, 214, 255, 0.28);
  background: rgba(10, 25, 43, 0.78);
}

.copilot-result-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #f5fbff;
  text-decoration: none;
}

.copilot-result-title strong {
  font-size: 13px;
  line-height: 1.25;
}

.copilot-result-title span {
  color: #9db0d0;
  font-size: 11px;
  white-space: nowrap;
}

.copilot-result-metrics,
.copilot-followups,
.copilot-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copilot-result-metrics {
  margin-top: 0;
}

.copilot-result-metrics span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 4px 7px;
  color: #c7d7ed;
  font-size: 11px;
}

.copilot-result-metrics span b {
  margin-right: 4px;
  color: #8fa4c2;
  font-weight: 700;
}

.copilot-result-metrics .metric-deploy {
  border-color: rgba(141, 246, 209, 0.24);
  color: #dffdfa;
}

.copilot-result-metrics .metric-low {
  border-color: rgba(141, 246, 209, 0.24);
}

.copilot-result-metrics .metric-medium {
  border-color: rgba(250, 204, 21, 0.22);
}

.copilot-result-metrics .metric-high {
  border-color: rgba(248, 113, 113, 0.28);
}

.copilot-result-metrics .metric-movement {
  border-color: rgba(120, 214, 255, 0.26);
}

.copilot-result-card p {
  margin: 0;
  color: #aebfd5;
  line-height: 1.35;
  font-size: 12px;
}

.copilot-trending-row {
  gap: 5px;
  padding: 8px 9px;
}

.copilot-trending-row:hover {
  transform: translateY(-1px);
}

.copilot-followups button,
.copilot-followups a,
.copilot-liveboard-links a,
.copilot-prompt-chips button {
  border: 1px solid rgba(120, 214, 255, 0.24);
  border-radius: 999px;
  background: rgba(120, 214, 255, 0.08);
  color: #dffdfa;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.copilot-followups button:hover,
.copilot-followups a:hover,
.copilot-liveboard-links a:hover,
.copilot-prompt-chips button:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 246, 209, 0.48);
  background: rgba(141, 246, 209, 0.12);
}

.copilot-action-grid,
.copilot-liveboard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.copilot-action-button,
.copilot-action-grid button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(141, 246, 209, 0.22);
  border-radius: 999px;
  background: rgba(141, 246, 209, 0.07);
  color: #e9fffb;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.copilot-action-grid button span {
  color: #8df6d1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.copilot-action-button.is-primary,
.copilot-action-grid .is-primary {
  border-color: rgba(120, 214, 255, 0.34);
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.18), rgba(141, 246, 209, 0.1));
  color: #f1fffe;
  font-weight: 800;
}

.copilot-action-button.is-disabled,
.copilot-action-grid .is-disabled {
  opacity: 0.54;
  cursor: not-allowed;
}

.copilot-action-grid button:hover,
.copilot-action-button:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 246, 209, 0.46);
  background: rgba(141, 246, 209, 0.12);
}

.copilot-liveboard-links a {
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.16), rgba(141, 246, 209, 0.09));
  font-weight: 800;
}

.copilot-deeper-analysis {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 8px;
}

.copilot-deeper-analysis summary {
  cursor: pointer;
  color: #8df6d1;
  font-size: 12px;
  font-weight: 800;
}

.copilot-deeper-analysis[open] {
  display: grid;
  gap: 10px;
}

.copilot-thinking {
  max-width: 920px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8df6d1;
  border: 1px solid rgba(141, 246, 209, 0.18);
  border-radius: 14px;
  background: rgba(141, 246, 209, 0.07);
  padding: 14px 16px;
}

.copilot-loader {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  border: 2px solid rgba(120, 214, 255, 0.18);
  border-top-color: #78d6ff;
  border-right-color: #8df6d1;
  box-shadow: 0 0 16px rgba(120, 214, 255, 0.24), 0 0 20px rgba(141, 246, 209, 0.14);
  animation: copilot-loader-spin 0.8s linear infinite;
}

.copilot-thinking-text {
  min-width: 0;
}

@keyframes copilot-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .copilot-loader {
    animation: none;
  }
}

.copilot-composer-wrap {
  position: sticky;
  bottom: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 17, 31, 0.96);
  padding: 14px 20px 18px;
}

.copilot-prompt-chips {
  max-width: 920px;
  margin: 0 auto 10px;
}

.copilot-composer {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border: 1px solid rgba(120, 214, 255, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  padding: 10px;
}

.copilot-composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  max-height: 150px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: 1.45;
}

.copilot-composer button {
  min-height: 42px;
  padding: 0 18px;
}

.copilot-composer button:disabled,
.copilot-composer textarea:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .copilot-page-body {
    overflow: auto;
  }

  .copilot-workspace {
    height: auto;
    min-height: calc(100vh - 82px);
    grid-template-columns: 1fr !important;
    padding: 12px !important;
  }

  .copilot-new-chat--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
  }

  .copilot-sidebar {
    display: none;
  }

  .copilot-chat-panel {
    min-height: calc(100vh - 106px);
  }

  .copilot-chat-head,
  .copilot-chat-scroll {
    padding: 16px;
  }

  .copilot-chat-head {
    align-items: flex-start;
  }

  .copilot-composer-wrap {
    position: sticky;
    bottom: 0;
    padding: 12px;
  }

  .copilot-user-message {
    max-width: 94%;
  }
}

/* Polished full-page Copilot workspace */
.copilot-page-body {
  background:
    radial-gradient(circle at 20% -10%, rgba(120, 214, 255, 0.14), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(141, 246, 209, 0.10), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #08111f 45%, #050a12 100%);
}

.copilot-workspace {
  grid-template-columns: minmax(218px, 268px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
}

.copilot-sidebar,
.copilot-chat-panel {
  border-color: rgba(148, 163, 184, 0.10);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(11, 20, 35, 0.86), rgba(6, 12, 23, 0.88)),
    radial-gradient(circle at 0% 0%, rgba(120, 214, 255, 0.07), transparent 34%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.copilot-sidebar {
  gap: 20px;
  padding: 18px 14px;
}

.copilot-new-chat {
  min-height: 44px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(69, 204, 243, 0.16);
}

.copilot-sidebar-section {
  gap: 10px;
}

.copilot-sidebar-section h2 {
  color: #a9bbd4;
  font-size: 12px;
  font-weight: 750;
  text-transform: none;
}

.copilot-recent-list {
  gap: 6px;
}

.copilot-recent-list button,
.copilot-sidebar-muted span {
  min-width: 0;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
  padding: 9px 10px;
}

.copilot-recent-list button {
  overflow: hidden;
  color: #cdd9ea;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.copilot-recent-list button:hover {
  background: rgba(120, 214, 255, 0.07);
}

.copilot-recent-list button.is-active {
  border-color: rgba(120, 214, 255, 0.24);
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.15), rgba(141, 246, 209, 0.07));
  color: #f1fffe;
  box-shadow: inset 3px 0 0 rgba(141, 246, 209, 0.76);
}

.copilot-sidebar-muted span {
  color: #73839a;
}

.copilot-chat-panel {
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.82), rgba(5, 10, 19, 0.92)),
    radial-gradient(circle at 16% 0%, rgba(120, 214, 255, 0.10), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(141, 246, 209, 0.06), transparent 32%);
}

.copilot-chat-head {
  padding: 22px 28px;
  border-bottom-color: rgba(148, 163, 184, 0.09);
}

.copilot-chat-head h1 {
  font-size: clamp(26px, 3vw, 36px);
}

.copilot-board-link {
  border-color: rgba(141, 246, 209, 0.26);
  background: rgba(141, 246, 209, 0.08);
  font-weight: 800;
}

.copilot-chat-scroll {
  padding: 30px 24px 34px;
}

.copilot-turn,
.copilot-thinking {
  max-width: 1010px;
}

.copilot-user-message {
border-color: rgba(120, 214, 255, 0.18);
    border-radius: 16px 16px 5px 16px;
    background: linear-gradient(135deg, #8c5cff, #39d7f2);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    border: none;
}

.copilot-assistant-message {
  width: min(990px, 100%);
  border-color: rgba(148, 163, 184, 0.10);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(15, 26, 45, 0.96), rgba(8, 14, 26, 0.94) 54%, rgba(6, 16, 25, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(120, 214, 255, 0.13), transparent 38%),
    radial-gradient(circle at 100% 10%, rgba(141, 246, 209, 0.09), transparent 32%);
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.copilot-answer-shell {
  gap: 16px;
}

.copilot-scan-header {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 2px 2px;
  color: #8ea1ba;
  font-size: 12px;
}

.copilot-scan-header span:first-child {
  color: #bff7ef;
}

.copilot-section-label,
.copilot-answer-section h3 {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.copilot-quick-read {
  max-width: none;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(141, 246, 209, 0.15), rgba(120, 214, 255, 0.08)),
    rgba(8, 20, 31, 0.64);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.copilot-quick-read p {
  max-width: 880px;
  font-size: 14px;
  line-height: 1.62;
  color: #f3fbff;
}

.copilot-top-opportunity {
  gap: 9px;
}

.copilot-top-card {
  position: relative;
  overflow: hidden;
  gap: 14px;
  border-color: rgba(141, 246, 209, 0.30);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(13, 25, 44, 0.98), rgba(10, 35, 48, 0.94)),
    radial-gradient(circle at 12% -20%, rgba(120, 214, 255, 0.28), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(141, 246, 209, 0.18), transparent 32%);
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(141, 246, 209, 0.05);
}

.copilot-top-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(141, 246, 209, 0.52), rgba(120, 214, 255, 0.10), transparent 42%);
  opacity: 0.22;
}

.copilot-top-card:hover {
  border-color: rgba(141, 246, 209, 0.55);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), 0 0 34px rgba(69, 204, 243, 0.08);
}

.copilot-top-card-main,
.copilot-top-card p,
.copilot-top-metrics {
  position: relative;
}

.copilot-top-kicker {
  gap: 8px;
  color: #a9bbd4;
}

.copilot-conviction {
  border-color: rgba(141, 246, 209, 0.34);
  background: rgba(141, 246, 209, 0.14);
  padding: 4px 9px;
}

.copilot-top-card h3 {
  margin-top: 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  font-size:21px;
}

.copilot-top-card p {
  max-width: 850px;
  color: #d8e5f4;
  font-size: 12px;
  line-height: 1.55;
}

.copilot-top-cta {
  border-color: rgba(141, 246, 209, 0.42);
  background: linear-gradient(135deg, #78d6ff, #8df6d1);
  color: #04111d;
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(69, 204, 243, 0.18);
}

.copilot-top-metrics,
.copilot-result-metrics {
  gap: 7px;
}

.copilot-result-metrics span {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 5px 8px;
}

.copilot-analysis-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.copilot-light-panel {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.copilot-light-panel ul {
  padding-left: 17px;
}

.copilot-light-panel li,
.copilot-insight-row p {
  color: #cbd8e9;
      font-size: 13px;
}

.copilot-insight-row {
  grid-template-columns: 34px minmax(0, 1fr);
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 3px 0;
}

.copilot-insight-row span {
  min-height: 25px;
  background: rgba(120, 214, 255, 0.09);
  font-size: 10px;
}

.copilot-also-watching {
  gap: 9px;
}

.copilot-compact-list {
  gap: 8px;
}

.copilot-trending-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.9fr);
    gap: 8px 14px;
    align-items: center;
    border-color: transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    padding: 11px 12px;
    border-color: rgba(141, 246, 209, 0.2);
}

.copilot-trending-row .copilot-result-title,
.copilot-trending-row p {
  min-width: 0;
}

.copilot-trending-row .copilot-result-title {
  align-items: center;
}

.copilot-trending-row .copilot-result-title strong,
.copilot-trending-row p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.copilot-trending-row .copilot-result-title strong {
  font-size: 14px;
}

.copilot-trending-row p {
  grid-column: 1 / 2;
  color: #9fb0c6;
}

.copilot-trending-row .copilot-result-metrics {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  justify-content: flex-end;
}

.copilot-action-grid,
.copilot-liveboard-links {
  gap: 10px;
}

.copilot-action-button,
.copilot-action-grid button,
.copilot-liveboard-links a,
.copilot-followups button,
.copilot-followups a {
  min-height: 36px;
  border-color: rgba(120, 214, 255, 0.20);
  border-radius: 12px;
  background: rgba(120, 214, 255, 0.07);
  padding: 9px 12px;
  font-size: 13px;
}

.copilot-action-button.is-primary,
.copilot-action-grid .is-primary,
.copilot-liveboard-links a {
  border-color: rgba(141, 246, 209, 0.40);
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.24), rgba(141, 246, 209, 0.18));
  box-shadow: 0 12px 32px rgba(69, 204, 243, 0.12);
}

.copilot-direct-answer {
  gap: 14px;
  padding: 20px;
}

.copilot-direct-answer .copilot-quick-read {
  margin: 0;
}

.copilot-direct-answer .copilot-quick-read p {
  font-size: 14px;
}

.copilot-direct-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copilot-direct-metrics span {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.58);
  color: rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.copilot-direct-metrics b {
  color: rgba(148, 163, 184, 0.9);
  font-weight: 700;
  margin-right: 6px;
}

.copilot-narrative-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bff7ef;
    font-weight: inherit;
    text-decoration: none;
    border-bottom: none;
    text-shadow: 0 0 18px rgba(141, 246, 209, 0.14);
    transition: color 160ms ease, border-color 160ms ease, text-shadow 160ms ease;
}

.copilot-narrative-link:hover {
  color: #ffffff;
  border-color: rgba(141, 246, 209, 0.8);
  text-shadow: 0 0 24px rgba(120, 214, 255, 0.22);
}

.copilot-narrative-link span {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #a9bbd4;
  background: rgba(15, 23, 42, 0.7);
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.copilot-comparison-answer {
  gap: 14px;
}

.copilot-comparison-panel {
  gap: 10px;
}

.copilot-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.copilot-compare-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(141, 246, 209, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(13, 25, 44, 0.82), rgba(8, 20, 31, 0.58)),
    rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.copilot-compare-card.is-locked {
  border-color: rgba(245, 158, 11, 0.2);
}

.copilot-compare-title {
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
}

.copilot-deeper-analysis {
  border-top-color: rgba(148, 163, 184, 0.08);
  padding-top: 10px;
  display:none;
}

.copilot-deeper-analysis summary {
  width: fit-content;
  border-radius: 999px;
  color: #9fb0c6;
  padding: 4px 0;
  font-size: 13px;
}

.copilot-deeper-analysis summary:hover {
  color: #dffdfa;
}

.copilot-composer-wrap {
  border-top-color: rgba(148, 163, 184, 0.10);
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.70), rgba(5, 10, 19, 0.98)),
    rgba(8, 17, 31, 0.96);
  padding: 12px 22px 20px;
  backdrop-filter: blur(18px);
}

.copilot-prompt-chips {
  max-width: 990px;
  gap: 6px;
  margin-bottom: 9px;
}

.copilot-prompt-chips button {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #b9c8dc;
  padding: 5px 9px;
  font-size: 11px;
}

.copilot-composer {
  max-width: 990px;
  border-color: rgba(120, 214, 255, 0.18);
  border-radius: 16px;
  background: rgba(10, 19, 33, 0.95);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.copilot-composer textarea {
  min-height: 50px;
}

.copilot-composer button {
  min-height: 42px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .copilot-workspace {
    padding: 12px;
  }

  .copilot-chat-scroll {
    padding: 18px 14px 22px;
  }

  .copilot-assistant-message {
    padding: 14px;
    border-radius: 18px;
  }

  .copilot-analysis-pair,
  .copilot-compare-grid,
  .copilot-trending-row {
    grid-template-columns: 1fr;
  }

  .copilot-trending-row p,
  .copilot-trending-row .copilot-result-metrics {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }

  .copilot-trending-row .copilot-result-title {
    align-items: flex-start;
  }

  .copilot-top-card-main,
  .copilot-chat-head,
  .copilot-composer {
    flex-direction: column;
    align-items: stretch;
  }

  .copilot-top-cta {
    width: fit-content;
  }
}

.home-token-ca-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  margin: 0 auto 34px;
  padding: 24px 26px;
  max-width: 1120px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(120, 214, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 42%, rgba(120, 214, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(139, 124, 255, 0.24), transparent 34%),
    radial-gradient(circle at 72% 100%, rgba(141, 246, 209, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(12, 18, 36, 0.96), rgba(21, 25, 55, 0.92), rgba(8, 18, 30, 0.96));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(120, 214, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  display:none !important;
}

.pro-feature-preview-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1120px;
  margin: 18px auto;
  padding: 12px 16px;
  border: 1px solid rgba(141, 246, 209, 0.28);
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.pro-feature-preview-banner strong {
  color: var(--accent-3);
}

.pro-feature-preview-banner span {
  color: var(--muted);
}

.home-token-ca-box::before,
.home-token-ca-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.home-token-ca-box::before {
  opacity: 0.34;
  background:
    repeating-linear-gradient(115deg, transparent 0 34px, rgba(120, 214, 255, 0.08) 35px, transparent 36px),
    radial-gradient(ellipse at 68% 56%, transparent 0 28%, rgba(139, 124, 255, 0.16) 29%, transparent 31%, rgba(120, 214, 255, 0.08) 33%, transparent 36%);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 88%, transparent);
}

.home-token-ca-box::after {
  inset: auto -8% -62% 24%;
  height: 150px;
  border-top: 1px solid rgba(141, 246, 209, 0.2);
  border-radius: 50%;
  transform: rotate(-3deg);
  box-shadow:
    0 -18px 42px rgba(120, 214, 255, 0.08),
    inset 0 18px 42px rgba(139, 124, 255, 0.1);
}

.home-token-ca-badge {
  position: relative;
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 246, 209, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle, rgba(120, 214, 255, 0.2), rgba(139, 124, 255, 0.08) 58%, rgba(7, 12, 23, 0.94));
  box-shadow:
    0 0 0 7px rgba(120, 214, 255, 0.045),
    0 0 38px rgba(120, 214, 255, 0.22),
    inset 0 0 28px rgba(141, 246, 209, 0.12);
}

.home-token-ca-badge::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(139, 124, 255, 0.34);
  border-radius: inherit;
  background: conic-gradient(from 120deg, rgba(120, 214, 255, 0.2), rgba(141, 246, 209, 0.04), rgba(139, 124, 255, 0.22), rgba(120, 214, 255, 0.2));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.home-token-ca-badge span {
  color: #dffcff;
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(120, 214, 255, 0.65);
}

.home-token-ca-copy {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.home-token-ca-kicker {
  color: rgba(141, 246, 209, 0.88);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-token-ca-copy strong {
  color: #fff;
  font-size: clamp(1.36rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(120, 214, 255, 0.12);
}

.home-token-ca-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 720px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.9rem;
}

.home-token-ca-prefix {
  flex: 0 0 auto;
  color: rgba(141, 246, 209, 0.78);
  font-weight: 800;
}

.home-token-ca-value {
  min-width: 0;
  color: rgba(226, 232, 240, 0.74);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-token-ca-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.home-token-ca-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-radius: 999px;
  color: #e8f8ff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.home-token-ca-button:hover,
.home-token-ca-button:focus-visible {
  transform: translateY(-1px);
}

.home-token-ca-button--copy {
  border: 1px solid rgba(120, 214, 255, 0.24);
  background: rgba(5, 13, 28, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-token-ca-button--copy:hover,
.home-token-ca-button--copy:focus-visible {
  border-color: rgba(141, 246, 209, 0.42);
  box-shadow: 0 0 24px rgba(120, 214, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-token-ca-button--copy:disabled {
  cursor: not-allowed;
  opacity: 0.54;
  transform: none;
}

.home-token-ca-button--copy svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-token-ca-button--primary {
  border: 1px solid rgba(141, 246, 209, 0.58);
  background: linear-gradient(135deg, #78d6ff, #8df6d1);
  color: #061326;
  box-shadow: 0 12px 32px rgba(120, 214, 255, 0.16);
}

.home-token-ca-button--primary span {
  font-size: 1rem;
}

.home-token-ca-button--primary:hover,
.home-token-ca-button--primary:focus-visible {
  box-shadow: 0 14px 36px rgba(141, 246, 209, 0.22);
}

.token-access-page {
  display: grid;
  gap: 16px;
  padding: 24px 28px 0;
}

.token-access-hero,
.token-access-section,
.token-access-lower-grid,
.token-access-disclaimer {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.token-access-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.86fr);
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  padding: 34px 34px 36px;
  border: 1px solid rgba(120, 214, 255, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(circle at 11% 6%, rgba(16, 235, 234, 0.12), transparent 27%),
    radial-gradient(circle at 83% 24%, rgba(142, 92, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(4, 17, 32, 0.96), rgba(5, 10, 24, 0.98));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.token-access-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(rgba(120, 214, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 214, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 64% 34%, #000, transparent 68%);
}

.token-access-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 20px;
  max-width: 620px;
  overflow: visible;
}

.token-access-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(120, 214, 255, 0.22);
  border-radius: 7px;
  background: rgba(5, 22, 40, 0.72);
  color: #47fff0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 24px rgba(120, 214, 255, 0.08);
}

.token-access-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47fff0;
  box-shadow: 0 0 16px rgba(71, 255, 240, 0.7);
}

.token-access-hero h1 {
  max-width: 640px;
  margin: 0;
  padding: 0 0 0.08em;
  color: #fff;
  font-size: clamp(3rem, 5.1vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow: visible;
  text-wrap: balance;
}

.token-access-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #40fff0 0%, #78d6ff 46%, #a67cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  padding-bottom: 0.04em;
}

.token-access-hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: -4px 0 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 1.06rem;
  line-height: 1.55;
}

.token-access-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.token-access-hero .hero-actions .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 700;
  color:#000;
      font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.token-access-hero .hero-actions .button.secondary {
  border: 1px solid rgba(120, 214, 255, 0.14);
  background: rgba(8, 20, 37, 0.78);
  color: rgba(231, 245, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  line-height: 2.7;
  display: inline-flex;
    align-items: center;
    flex-direction: column;
}

.token-access-hero .hero-actions .button.secondary:hover,
.token-access-hero .hero-actions .button.secondary:focus-visible {
  border-color: rgba(71, 255, 240, 0.34);
  color: #fff;
  box-shadow: 0 0 22px rgba(120, 214, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.token-access-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.token-access-chip-row span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-width: 132px;
  color: rgba(226, 232, 240, 0.68);
}

.token-access-chip-row span::before {
  content: "";
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(120, 214, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(71, 255, 240, 0.16), transparent 58%),
    rgba(12, 25, 46, 0.9);
  box-shadow: 0 0 22px rgba(120, 214, 255, 0.14);
}

.token-access-chip-row strong {
  color: #47fff0;
  font-size: 0.76rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.token-access-chip-row small {
  font-size: 0.75rem;
  line-height: 1.25;
}

.token-access-hero-panel,
.token-access-section,
.token-access-disclaimer {
  border: 1px solid rgba(120, 214, 255, 0.13);
  border-radius: 10px;
  background: rgba(8, 16, 31, 0.72);
  backdrop-filter: blur(18px);
}

.token-access-hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 372px;
  overflow: hidden;
  padding: 28px;
  border-color: rgba(120, 214, 255, 0.2);
  background:
    radial-gradient(circle at 18% 18%, rgba(142, 92, 255, 0.22), transparent 32%),
    radial-gradient(circle at 94% 7%, rgba(64, 255, 240, 0.16), transparent 36%),
    rgba(7, 14, 29, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 0 34px rgba(142, 92, 255, 0.1);
}

.token-access-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(91, 55, 210, 0.13));
}

.token-access-token-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.token-access-token-head > div {
  display: grid;
  gap: 4px;
}

.token-access-token-head > div strong {
  color: #fff;
  font-size: clamp(2.15rem, 3.8vw, 2.85rem);
  line-height: 1;
}

.token-access-token-head span,
.token-access-token-head small {
  color: rgba(226, 232, 240, 0.86);
  font-weight: 760;
  line-height: 1.22;
}

.token-access-token-head small {
  color: rgba(226, 232, 240, 0.68);
}

.token-access-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  border: 1px solid rgba(120, 214, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle, rgba(70, 255, 239, 0.22), rgba(142, 92, 255, 0.38) 62%, rgba(5, 13, 29, 0.98));
  box-shadow: 0 0 0 8px rgba(120, 214, 255, 0.035), 0 0 34px rgba(142, 92, 255, 0.26);
}

.token-access-orbit strong {
  color: #4ff7ff;
  font-size: 2rem;
  font-weight: 950;
  text-shadow: 0 0 24px rgba(64, 255, 240, 0.65);
}

.token-access-facts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 0;
}

.token-access-fact {
  display: grid;
  grid-template-columns: minmax(148px, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: center;
  min-height: 50px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.76);
}

.token-access-fact:first-child {
  border-top: 0;
}

.token-access-fact dt {
  color: rgba(244, 248, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.25;
}

.token-access-fact dd {
  font-size: 0.94rem;
  letter-spacing: 0;
}

.token-access-fact:not(.token-access-fact--ca) dd {
  color: #fff;
  white-space: nowrap;
}

.token-access-fact dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.token-access-fact--ca dd {
  padding: 4px 0;
}

.token-access-fact code {
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-access-copy {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(120, 214, 255, 0.22);
  border-radius: 7px;
  background: rgba(8, 18, 34, 0.9);
  color: #dffcff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.token-access-copy:hover,
.token-access-copy:focus-visible {
  border-color: rgba(71, 255, 240, 0.44);
  box-shadow: 0 0 16px rgba(120, 214, 255, 0.14);
  transform: translateY(-1px);
}

.token-access-copy:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.token-access-copy svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.token-access-copy span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.token-access-section {
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.token-access-section h2 {
  margin: 0;
  color: #fff;
  font-size: 1.24rem;
  line-height: 1.2;
}

.token-access-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.token-access-section-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.9rem;
  line-height: 1.48;
}

.token-access-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.token-access-feature {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: grid;
  align-content: start;
  padding: 18px 18px 17px;
  border: 1px solid rgba(120, 214, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(120, 214, 255, 0.055), transparent 36%),
    linear-gradient(180deg, rgba(13, 27, 49, 0.72), rgba(7, 14, 28, 0.94)),
    rgba(7, 14, 29, 0.84);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.token-access-feature::after {
  content: "";
  position: absolute;
  inset: auto 10% -42px 10%;
  height: 70px;
  background: radial-gradient(ellipse, rgba(120, 214, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.token-access-feature:hover {
  border-color: rgba(71, 255, 240, 0.26);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16), 0 0 24px rgba(120, 214, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.token-access-feature:hover::after {
  opacity: 1;
}

.token-access-feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(120, 214, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(71, 255, 240, 0.08), transparent 58%),
    rgba(10, 24, 43, 0.78);
  color: #47fff0;
  box-shadow: 0 0 0 1px rgba(71, 255, 240, 0.02), 0 0 22px rgba(120, 214, 255, 0.075);
}

.token-access-feature-icon::before,
.token-access-feature-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.token-access-feature-icon--feed::before {
  width: 25px;
  height: 13px;
  border: solid currentColor;
  border-width: 0 0 2px;
  border-radius: 50%;
  transform: translateY(-2px);
}

.token-access-feature-icon--feed::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -10px 3px 0 rgba(71, 255, 240, 0.5), 10px -3px 0 rgba(71, 255, 240, 0.7);
}

.token-access-feature-icon--match::before {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-3px, -3px);
}

.token-access-feature-icon--match::after {
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(9px, 9px) rotate(45deg);
}

.token-access-feature-icon--score::before {
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.token-access-feature-icon--score::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 -11px 0 rgba(71, 255, 240, 0.75),
    11px 0 0 rgba(71, 255, 240, 0.55),
    0 11px 0 rgba(71, 255, 240, 0.35),
    -11px 0 0 rgba(71, 255, 240, 0.55);
}

.token-access-feature-icon--detail::before {
  width: 20px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.token-access-feature-icon--detail::after {
  width: 12px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 rgba(71, 255, 240, 0.55), 0 12px 0 rgba(71, 255, 240, 0.38);
  transform: translateY(-5px);
}

.token-access-feature-icon--signal::before {
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -8px 7px 0 rgba(71, 255, 240, 0.4), 8px -7px 0 rgba(71, 255, 240, 0.65);
}

.token-access-feature-icon--signal::after {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(71, 255, 240, 0.28);
}

.token-access-feature-icon--alerts::before {
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 45% 45%;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 78%);
}

.token-access-feature-icon--alerts::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 12px 0 rgba(71, 255, 240, 0.55);
}

.token-access-feature-icon--lab::before {
  width: 23px;
  height: 20px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  transform: translateY(4px);
}

.token-access-feature-icon--lab::after {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -8px 0 rgba(71, 255, 240, 0.48), 0 -14px 0 rgba(71, 255, 240, 0.3);
}

.token-access-feature-icon--future::before {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(71, 255, 240, 0.35);
  border-radius: 50%;
}

.token-access-feature-icon--future::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 -10px 0 rgba(71, 255, 240, 0.72),
    8px 6px 0 rgba(71, 255, 240, 0.52),
    -8px 6px 0 rgba(71, 255, 240, 0.52);
}

.token-access-feature h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.25;
}

.token-access-feature p {
  margin: 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.84rem;
  line-height: 1.48;
}

.token-access-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 14px;
}

.token-access-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.token-access-tier {
  min-height: 134px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(120, 214, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 24, 44, 0.68);
  text-align: center;
}

.token-access-tier--pro {
  border-color: rgba(71, 255, 240, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 255, 240, 0.13), transparent 50%),
    rgba(10, 27, 45, 0.86);
  box-shadow: 0 0 30px rgba(71, 255, 240, 0.08);
}

.token-access-tier span {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.88rem;
  font-weight: 850;
}

.token-access-tier--pro span {
  color: #47fff0;
}

.token-access-tier strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.token-access-tier p {
  margin: 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
}

.token-access-steps {
  position: relative;
  overflow: hidden;
}

.token-access-steps::after {
  content: "NE";
  position: absolute;
  right: 26px;
  bottom: 12px;
  color: rgba(71, 255, 240, 0.07);
  font-size: 7rem;
  font-weight: 950;
  line-height: 1;
}

.token-access-steps ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.token-access-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.token-access-steps li span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 214, 255, 0.16);
  border-radius: 50%;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
  background: rgba(8, 18, 34, 0.82);
}

.token-access-steps li p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.94rem;
  line-height: 1.35;
}

.token-access-steps li:last-child p {
  border-bottom: 0;
}

.token-access-disclaimer {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.9rem;
}

.token-access-disclaimer::before {
  content: "i";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(226, 232, 240, 0.26);
  border-radius: 50%;
  color: rgba(226, 232, 240, 0.8);
  font-family: Georgia, serif;
  font-style: italic;
}

.token-access-disclaimer strong {
  color: rgba(255, 255, 255, 0.86);
}

.token-access-disclaimer span {
  display: block;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .home-token-ca-box {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
    padding: 20px;
  }

  .home-token-ca-badge {
    width: 68px;
    height: 68px;
  }

  .home-token-ca-copy strong {
    font-size: 1.3rem;
  }

  .home-token-ca-line {
    max-width: 100%;
  }

  .home-token-ca-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-token-ca-actions {
    width: 100%;
    gap: 9px;
  }

  .home-token-ca-button {
    width: 100%;
  }

  .token-access-page {
    gap: 12px;
    padding: 12px 12px 0;
  }

  .token-access-hero,
  .token-access-lower-grid,
  .token-access-feature-grid,
  .token-access-tier-grid {
    grid-template-columns: 1fr;
  }

  .token-access-hero {
    gap: 22px;
    padding: 20px;
  }

  .token-access-hero-copy {
    gap: 18px;
  }

  .token-access-hero h1 {
    padding-bottom: 0.1em;
    font-size: clamp(2.55rem, 16vw, 4.25rem);
    line-height: 1.03;
  }

  .token-access-hero .hero-actions .button {
    width: 100%;
  }

  .token-access-chip-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .token-access-hero-panel {
    min-height: 0;
    padding: 20px;
  }

  .token-access-token-head {
    gap: 16px;
    margin-bottom: 18px;
  }

  .token-access-orbit {
    width: 78px;
    height: 78px;
  }

  .token-access-fact {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0;
  }

  .token-access-fact dd {
    justify-content: flex-start;
    text-align: left;
  }

  .token-access-fact code {
    max-width: calc(100vw - 120px);
  }

  .token-access-section {
    padding: 18px;
  }

  .token-access-section-head {
    display: grid;
    gap: 8px;
  }

  .token-access-feature {
    min-height: 0;
    padding: 17px;
  }

  .token-access-feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
  }

  .token-access-feature h3 {
    font-size: 0.93rem;
  }

  .token-access-disclaimer {
    align-items: flex-start;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .token-access-hero,
  .token-access-lower-grid {
    grid-template-columns: 1fr;
  }

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

  .token-access-hero h1 {
    line-height: 1.03;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg-radial);
  color: var(--text);
  min-height:100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px;
}

.topbar,
.actions,
.score-row,
.meta-row,
.post-top,
.detail-head,
.table-row,
.form-stack .actions {
  display: flex;
  gap: 12px;
}

.topbar,
.detail-head,
.table-row {
  justify-content: space-between;
  align-items: center;
}

.topbar {
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.eyebrow {
    color: #a6e0df;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-block;
    padding: 5px 10px;
    background:#061630;
}
.eyebrow:before {
  content:"";
  background-color:#4fe3f6;
  border-radius:100%;
  height:10px;
  width:10px;
  display:inline-block;
  margin-right:8px;
}

h1,
h2 {
  margin: 6px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card,
.panel,
.mini {
  background: rgba(18, 26, 43, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.page .panel {
  background:none;
}

.panel.section-panel {
    margin-top: 16px;
    border: 0px;
    padding: 0px;
}

.stat-card {
  padding: 14px;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
}
 
.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
}

.subhead {
  color: var(--muted);
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 18px;
}

.admin-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.panel {
  padding: 16px;
}

.panel-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 600;
    color: #f5f8ff;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 500;
}

.panel-title span {
      background: linear-gradient(90deg, #3bbdf0, #82f5d9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-top: -10px;
}

.summary-item.overview-signal-card .k {
    font-size: 13px;
    /* opacity: 0.85; */
    font-weight: 400;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 5px;
    color: rgba(232, 237, 247, 0.55);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.summary-item.overview-signal-card.overview-token-card .v-text {
  display:flex;
  gap:5px;
  color:#fff;
  font-weight:500;
}
.stack {
  display: grid;
  gap: 10px;
}

.overview-signal-card .overview-value-line:first-of-type {
  color:#fff;
  font-weight:500;
}

.narrative-card,
.post-card,
.empty,
.table-row,
.table-head {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.narrative-card {
  cursor: pointer;
  position: relative;
}

.narrative-card-link {
  color: inherit;
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.narrative-save-button {
  align-items: center;
  background: rgba(7, 18, 34, 0.86);
  border: 1px solid rgba(132, 204, 255, 0.28);
  border-radius: 8px;
  color: rgba(218, 230, 246, 0.78);
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  z-index: 2;
}

.narrative-save-button svg {
  height: 17px;
  width: 17px;
}

.narrative-save-button:hover,
.narrative-save-button.is-saved,
.narrative-card.is-saved .narrative-save-button {
  border-color: rgba(255, 209, 102, 0.72);
  color: #ffd166;
}

.narrative-save-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.narrative-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(132, 204, 255, 0.25) inset;
}

.title {
  font-weight: 700;
  margin-bottom: 8px;
}

.score-row,
.meta-row {
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(132, 204, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  text-transform:uppercase;
}

.badge-provisional {
  background: rgba(255, 214, 102, 0.1);
  border-color: rgba(255, 214, 102, 0.35);
  color: rgba(255, 230, 166, 0.95);
}

.small {
  color: var(--muted);
  font-size: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.mini {
  padding: 12px;
}

.mini .k {
  color: var(--muted);
  font-size: 12px;
}

.mini .v {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
}

.posts {
  display: grid;
  gap: 12px;
}

.post-text {
  line-height: 1.55;
  white-space: pre-wrap;
}

.scroll-panel {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.dense-link {
color: rgba(247, 251, 255, 0.9);
    text-decoration: none;
    text-decoration-color: rgba(185, 221, 255, 0.45);
    text-underline-offset: 2px;
}

.dense-link:hover {
  color: #d9efff;
}

.compact-subtext {
  font-size: 11px;
  line-height: 1.35;
}
.overview-signal-grid .small.compact-subtext {
  font-size:inherit;
  line-height:inherit;
}
.button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  background: var(--primary-gradient);
  color: #07111f;
  font-weight: 700;
}

.primary-cta-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(95, 235, 245, 0.5);
  border-radius: 9px;
  background: var(--primary-gradient);
  color: #f7fdff;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(31, 202, 235, 0.2);
  transition: transform 140ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.primary-cta-btn:hover,
.primary-cta-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 22px 48px rgba(31, 202, 235, 0.26);
  outline: none;
}

.primary-cta-btn .primary-cta-arrow,
.primary-cta-btn em svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.primary-cta-btn:hover .primary-cta-arrow,
.primary-cta-btn:focus-visible .primary-cta-arrow,
.primary-cta-btn:hover em svg,
.primary-cta-btn:focus-visible em svg {
  transform: translateX(3px);
}

.button.secondary {
  background: rgba(120, 214, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(120, 214, 255, 0.24);
}

.button.secondary:hover {
  background: rgba(120, 214, 255, 0.12);
  border-color: rgba(120, 214, 255, 0.4);
}

/* ===== Reusable UI primitives (phase 1) ===== */
.glass-panel {
  border: 1px solid var(--glass-line);
  background: var(--glass-bg);
  box-shadow: var(--glass-glow);
  backdrop-filter: blur(8px);
}

.glass-panel--strong {
  background: var(--glass-bg-strong);
}

.ui-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(120, 214, 255, 0.2);
  background: linear-gradient(180deg, rgba(120, 214, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 214, 255, 0.3);
  background: rgba(120, 214, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  color: #d4f5ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  background: #0d1422;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.table-head {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.table {
  display: grid;
  gap: 8px;
}

.table-row .left {
  display: grid;
  gap: 5px;
}

.table-row .right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

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

.ok {
  color: var(--green);
}

.bad {
  color: var(--red);
}

.narrative-toolbar {
  margin-bottom: 12px;
}

.toolbar-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
}

.narrative-table {
  gap: 8px;
}

.narrative-head {
  font-size: 12px;
}

.narrative-row {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.narrative-row:hover {
  background: rgba(132, 204, 255, 0.08);
}

.narrative-link-row {
  color: inherit;
  text-decoration: none;
}

.trend-cell {
  font-size: 18px;
  line-height: 1;
}

.score-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.score-hot {
  background: rgba(91, 231, 167, 0.12);
  color: var(--green);
}

.score-good {
  background: rgba(132, 204, 255, 0.12);
  color: var(--accent);
}

.score-mid {
  background: rgba(255, 214, 102, 0.12);
  color: #ffd666;
}

.score-low {
  background: rgba(255, 155, 155, 0.12);
  color: var(--red);
}

.status-green {
  background: rgba(91, 231, 167, 0.12);
  color: var(--green);
}

.status-blue {
  background: rgba(132, 204, 255, 0.12);
  color: var(--accent);
}

.status-amber {
  background: rgba(255, 214, 102, 0.12);
  color: #ffd666;
}

.status-purple {
  background: rgba(191, 144, 255, 0.14);
  color: #c79cff;
}

.status-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.detail-head-top {
  align-items: flex-start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.narrative-detail-shell {
  padding: 22px;
  border-color: rgba(61, 213, 245, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.92), rgba(2, 10, 22, 0.94)),
    rgba(5, 18, 35, 0.9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(132, 204, 255, 0.08);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  color: #51e9f5;
  font-size: 13px;
  font-weight: 650;
}

.detail-back-link:hover {
  color: #9cf4dc;
}

.detail-head h2 {
  margin-top: 0;
  max-width: 980px;
  color: #f7fbff;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform:capitalize;
}

.detail-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.detail-category-badge svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.detail-trait-badge {
  min-height: 23px;
}

.detail-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  text-align: left;
  color: rgba(232, 237, 247, 0.58);
}

.section-panel .panel-title {
  margin-bottom: 14px;
}

.compact-section {
  padding: 12px;
}

.compact-section-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.summary-item {
  background: linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.94)),
    rgba(5, 18, 35, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.summary-item .k {
color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.v-text {
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(232, 237, 247, 0.8);
    font-family: Inter;
}

.token-match-table {
  display: grid;
  gap: 8px;
}

.token-row {
  align-items: flex-start;
}

@media (max-width: 960px) {
  .grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-times {
    text-align: left;
  }
}

.detail-table {
  gap: 8px;
}

.compact-table {
  gap: 6px;
}

.compact-table-row {
  border-radius: 10px;
  padding: 8px 10px;
}

.compact-table-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1a253c;
}

.timeline {
  display: grid;
  gap: 8px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: start;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 7px;
  box-shadow: 0 0 0 3px rgba(132, 204, 255, 0.12);
}

.timeline-body {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  align-items: center;
  font-size: 13px;
}

.timeline-title-link strong {
  font-size: 13px;
}

.timeline-token .timeline-dot {
  background: #ffd666;
  box-shadow: 0 0 0 4px rgba(255, 214, 102, 0.12);
}

.timeline-amplifier .timeline-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(91, 231, 167, 0.12);
}

.timeline-post .timeline-dot {
  background: #c79cff;
  box-shadow: 0 0 0 4px rgba(199, 156, 255, 0.12);
}

@media (max-width: 960px) {
  .timeline-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.toolbar-grid-wide {
  grid-template-columns: 1.6fr 1fr 1fr;
}

.token-signal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.token-badge {
  background: rgba(132, 204, 255, 0.12);
}

.status-cyan {
  background: rgba(94, 234, 212, 0.14);
  color: #8ef6eb;
}

.token-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.token-intel-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.compact-token-card {
  border-radius: 12px;
  padding: 10px;
  color: inherit;
}

.token-title {
  font-size: 14px;
}

.token-meta-links {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.token-primary-link {
  color: rgba(185, 221, 255, 0.9);
  font-weight: 600;
}

.compact-nested-panel {
  margin-top: 10px;
  padding: 10px;
}

.token-reason,
.token-updated {
  margin-top: 8px;
}

.compact-post-card {
  border-radius: 10px;
  padding: 9px 10px;
}

.compact-post-card .post-top {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.compact-post-card .post-text {
  font-size: 13px;
  line-height: 1.4;
}

.post-foot {
  margin-top: 6px;
}

.posts-scroll {
  max-height: 520px;
}

.timeline-scroll {
  max-height: 420px;
}

.accounts-scroll {
  max-height: 360px;
}

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

.accounts-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.accounts-sort-button,
.accounts-filter-button {
  appearance: none;
  border: 1px solid rgba(132, 204, 255, 0.22);
  background: rgba(1, 10, 22, 0.58);
  color: rgba(247, 251, 255, 0.9);
  border-radius: 8px;
  min-height: 34px;
  cursor: pointer;
  font: inherit;
}

.accounts-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 12px;
}

.accounts-sort-button strong {
  color: #f7fbff;
  font-weight: 750;
}

.accounts-filter-button {
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9bdcff;
}

.accounts-filter-button svg {
  width: 16px;
  height: 16px;
}

.accounts-sort-button:hover,
.accounts-filter-button:hover {
  border-color: rgba(49, 223, 245, 0.46);
  background: rgba(49, 223, 245, 0.08);
}

.accounts-table {
  display: grid;
  gap: 7px;
}

.accounts-grid {
  display: grid;
  align-items: center;
  gap: 12px;
}

.accounts-grid--admin .accounts-grid {
  grid-template-columns: minmax(260px, 1.8fr) 70px minmax(130px, 0.7fr) minmax(120px, 0.8fr) 104px;
}

.accounts-grid--user .accounts-grid {
  grid-template-columns: minmax(260px, 1.8fr) 70px minmax(130px, 0.8fr) 104px;
}

.accounts-table-head {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(80, 149, 207, 0.16);
  border-radius: 8px;
  color: rgba(185, 221, 255, 0.7);
  background: rgba(1, 10, 22, 0.34);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.accounts-row {
  min-height: 62px;
  padding: 9px 16px;
  border: 1px solid rgba(80, 149, 207, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(22, 37, 63, 0.78), rgba(11, 23, 43, 0.84)),
    rgba(6, 15, 30, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.accounts-row:hover {
  border-color: rgba(49, 223, 245, 0.32);
  background:
    linear-gradient(180deg, rgba(25, 45, 76, 0.82), rgba(12, 26, 50, 0.88)),
    rgba(6, 15, 30, 0.94);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(132, 204, 255, 0.25);
  background: rgba(1, 10, 22, 0.7);
}

.account-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #31dff5;
  font-size: 14px;
  font-weight: 800;
  background: rgba(49, 223, 245, 0.09);
}

.account-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-handle-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
}

.account-handle {
  font-size: 13px;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.account-source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(49, 223, 245, 0.22);
  background: rgba(49, 223, 245, 0.08);
  color: rgba(185, 221, 255, 0.82);
  font-size: 10px;
  line-height: 1;
  text-transform: lowercase;
}

.account-followers {
  color: rgba(232, 237, 247, 0.62);
  font-size: 11px;
  line-height: 1.25;
}

.account-metric,
.account-engagement,
.account-role,
.account-last-seen {
  color: rgba(247, 251, 255, 0.9);
  font-size: 13px;
  min-width: 0;
}

.account-metric,
.account-engagement span {
  font-weight: 700;
}

.account-engagement {
  display: grid;
  gap: 6px;
}

.account-engagement-track {
  width: min(100%, 112px);
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(80, 149, 207, 0.16);
}

.account-engagement-fill {
  height: 100%;
  border-radius: inherit;
  background: #31dff5;
  box-shadow: 0 0 10px rgba(49, 223, 245, 0.28);
}

.account-role {
  color: rgba(185, 221, 255, 0.72);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.account-last-seen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(185, 221, 255, 0.78);
  white-space: nowrap;
}

.account-seen-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(185, 221, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(185, 221, 255, 0.06);
}

.account-last-seen--recent .account-seen-dot {
  background: #5be7a7;
  box-shadow: 0 0 0 3px rgba(91, 231, 167, 0.08);
}

.account-last-seen--stale .account-seen-dot {
  background: #ffd166;
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.08);
}

.account-last-seen--unknown .account-seen-dot {
  background: rgba(185, 221, 255, 0.35);
}

.accounts-footer {
  padding: 8px 0 0;
  color: rgba(185, 221, 255, 0.7);
  font-size: 12px;
}


#payment-history-section, #referrals {
  display:none !important;
}

@media (max-width: 760px) {
  .accounts-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .accounts-controls {
    width: 100%;
    justify-content: space-between;
  }

  .accounts-sort-button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .accounts-table-head {
    display: none;
  }

  .accounts-grid--admin .accounts-grid,
  .accounts-grid--user .accounts-grid {
    grid-template-columns: 1fr;
  }

  .accounts-row {
    align-items: start;
    gap: 10px;
    padding: 12px;
  }

  .account-metric,
  .account-engagement,
  .account-role,
  .account-last-seen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .account-metric::before,
  .account-engagement::before,
  .account-role::before,
  .account-last-seen::before {
    content: attr(data-label);
    color: rgba(185, 221, 255, 0.58);
    font-size: 11px;
    font-weight: 650;
    text-transform: uppercase;
  }

  .account-engagement {
    display: grid;
    grid-template-columns: minmax(72px, auto) 1fr;
  }

  .account-engagement::before {
    grid-column: 1 / 2;
  }

  .account-engagement span,
  .account-engagement-track {
    grid-column: 2 / 3;
    justify-self: end;
  }

  .account-engagement-track {
    width: min(100%, 148px);
  }
}

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

.token-intel-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.token-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .toolbar-grid-wide {
    grid-template-columns: 1fr;
  }

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

  .token-intel-badges {
    justify-content: flex-start;
  }
}

.shiller-signal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.shiller-badge {
  background: rgba(155, 231, 167, 0.10);
}

.status-red {
  background: rgba(255, 155, 155, 0.12);
  color: var(--red);
}

.status-cyan {
  background: rgba(94, 234, 212, 0.14);
  color: #8ef6eb;
}

.token-card-grid {
  display: grid;
  gap: 14px;
}

.token-intel-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

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

.token-intel-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.token-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .token-intel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .token-intel-badges {
    justify-content: flex-start;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.filters label {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.narrative-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.narrative-reasoning {
  margin-top: 8px;
}

.status-green {
  background: rgba(155, 231, 167, 0.12);
  border-color: rgba(155, 231, 167, 0.35);
}

.status-cyan {
  background: rgba(132, 204, 255, 0.12);
  border-color: rgba(132, 204, 255, 0.35);
}

.status-purple {
  background: rgba(186, 146, 255, 0.12);
  border-color: rgba(186, 146, 255, 0.35);
}

.status-amber {
  background: rgba(255, 201, 122, 0.12);
  border-color: rgba(255, 201, 122, 0.35);
}

.status-neutral {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.token-pfp {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 44px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
}

.token-pfp-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #999;
  background: #1a1a1a;
}

.token-filter-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 8px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(167, 91, 255, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 223, 245, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(8, 19, 39, 0.88), rgba(5, 14, 30, 0.82));
  box-shadow:
    0 0 0 1px rgba(49, 223, 245, 0.08) inset,
    0 0 26px rgba(167, 91, 255, 0.12);
}

.token-sort-control {
  flex: 0 0 252px;
  display: grid;
  gap: 7px;
  color: rgba(185, 221, 255, 0.72);
  font-size: 12px;
  line-height: 1;
}

.token-sort-control select {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(132, 204, 255, 0.18);
  background: rgba(1, 10, 22, 0.72);
  color: #f7fbff;
  font-family: Inter;
  font-size: 13px;
  font-weight: 600;
}

.token-filter-toggle-row {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}

.token-filter-toggle {
  position: relative;
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: 38px max-content 30px;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.72);
  font-family: Inter;
  cursor: pointer;
  white-space: nowrap;
}

.token-filter-toggle.has-divider {
  padding-left: 18px;
}

.token-filter-toggle.has-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(132, 204, 255, 0.16);
}

.token-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(49, 223, 245, 0.28);
  background: rgba(49, 223, 245, 0.06);
  color: #31dff5;
  box-shadow: 0 0 20px rgba(49, 223, 245, 0.08);
}

.token-filter-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.token-filter-label {
  color: rgba(247, 251, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.token-filter-switch {
  display: inline-flex;
  align-items: center;
  width: 28px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(125, 139, 160, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.token-filter-switch span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(232, 237, 247, 0.72);
  transform: translateX(0);
  transition: transform 160ms ease, background 160ms ease;
}

.token-filter-toggle.is-active .token-filter-switch {
  background: linear-gradient(90deg, rgba(49, 223, 245, 0.72), rgba(94, 234, 212, 0.78));
  box-shadow: 0 0 14px rgba(49, 223, 245, 0.22);
}

.token-filter-toggle.is-active .token-filter-switch span {
  transform: translateX(12px);
  background: #f7fbff;
}

.token-filter-toggle:hover .token-filter-icon {
  border-color: rgba(49, 223, 245, 0.52);
  box-shadow: 0 0 24px rgba(49, 223, 245, 0.14);
}

.token-count-note {
  margin: -6px 0 12px;
}

.token-match-section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
  color: var(--text);
}

.token-match-section-heading strong {
  font-size: 13px;
  letter-spacing: 0;
}

.token-match-section-heading--grid {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.token-active-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(132, 204, 255, 0.18);
  border-radius: 8px;
  background: rgba(132, 204, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.token-inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(49, 223, 245, 0.24);
  background: rgba(49, 223, 245, 0.06);
  color: #eafcff;
  font-family: Inter;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.token-inline-action:hover {
  border-color: rgba(49, 223, 245, 0.52);
  background: rgba(49, 223, 245, 0.12);
}

.token-list-reveal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 4px;
  color: rgba(185, 221, 255, 0.72);
  font-size: 12px;
}

.token-list-reveal-button {
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(49, 223, 245, 0.26);
  background: rgba(49, 223, 245, 0.06);
  color: #eafcff;
  font-family: Inter;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(49, 223, 245, 0.08);
}

.token-list-reveal-button:hover {
  border-color: rgba(49, 223, 245, 0.52);
  background: rgba(49, 223, 245, 0.12);
}

.token-v1-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.token-v1-card {
  padding: 12px;
  border-radius: 12px;
  display: grid;
  gap: 9px;
  min-width: 0;
  border-color: rgba(80, 149, 207, 0.2);
  background:
    linear-gradient(180deg, rgba(6, 24, 47, 0.84), rgba(2, 12, 25, 0.9)),
    rgba(5, 18, 35, 0.88);
}

.token-v1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.token-v1-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.token-v1-name-wrap {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.token-v1-card .token-title {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(247, 251, 255, 0.96);
  font-size: 14px;
  line-height: 1.25;
}

.token-v1-symbol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.25;
}

.token-v1-symbol .status-pill {
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1;
}

.token-v1-symbol .token-similar-pill {
  min-width: 0;
  font-family: Inter;
  cursor: pointer;
}

.token-v1-symbol .token-similar-pill:hover {
  border-color: rgba(255, 214, 102, 0.5);
  background: rgba(255, 214, 102, 0.18);
}

.token-contract-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  min-height: 26px;
  padding: 3px 7px;
  border: 1px solid rgba(132, 204, 255, 0.13);
  border-radius: 7px;
  background: rgba(1, 10, 22, 0.36);
  color: rgba(232, 237, 247, 0.68);
  cursor: pointer;
  font-size: 11px;
}

.token-contract-button:hover {
  border-color: rgba(49, 223, 245, 0.32);
  color: rgba(247, 251, 255, 0.88);
}

.token-contract-prefix {
  color: rgba(232, 237, 247, 0.52);
  font-weight: 700;
}

.token-contract-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 145px;
}

.token-contract-state {
  color: #31dff5;
  font-weight: 700;
}

.token-contract-button.is-copied .token-contract-state {
  color: rgba(155, 231, 167, 0.95);
}

.token-v1-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: stretch;
}

.token-v1-metrics .mini {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  border-color: rgba(80, 149, 207, 0.16);
  background: rgba(1, 10, 22, 0.32);
}

.token-v1-metrics .k {
  margin-bottom: 5px;
  font-size: 11px;
  color: rgba(185, 221, 255, 0.62);
  text-transform: none;
}

.token-v1-metric-main .v {
  font-size: 18px;
  font-weight: 800;
  color: #f7fbff;
  line-height: 1.1;
}

.token-v1-metric-main {
  order: 1;
}

.token-v1-metric-secondary {
  order: 4;
}

.token-v1-metric-secondary .v-text {
  margin-top: 0;
  font-size: 13px;
  font-weight: 650;
  color: rgba(247, 251, 255, 0.84);
  line-height: 1.25;
}

.token-v1-metric-age {
  order: 2;
}

.token-v1-metric-liquidity {
  order: 3;
}

.token-v1-links {
  margin-top: 1px;
  align-items: center;
  gap: 7px;
}

.token-link-chip {
display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    font-family: 'Inter';
    letter-spacing: 0.2px;
	cursor:pointer;
  border-color: rgba(96, 239, 255, 0.52);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 30px rgba(49, 223, 245, 0.14), 0 0 28px rgba(167, 139, 250, 0.12);
}

.token-link-chip:hover {
    border-color: rgba(49, 223, 245, 0.52);
    color: #31dff5;
}

.token-link-chip-primary {
  color: rgba(185, 221, 255, 0.95);
}

.token-v1-links .token-link-chip {
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 11px;
  text-transform:uppercase;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.token-v1-links .token-link-chip:hover {
  border-color: rgba(49, 223, 245, 0.58);
  box-shadow: 0 0 18px rgba(49, 223, 245, 0.12);
}

.token-v1-mobile-meta {
  display: none;
}

.token-open-link {
  margin-left: auto;
  background: rgba(132, 204, 255, 0.06);
}

.token-open-link svg,
.token-social-link svg {
  width: 13px;
  height: 13px;
  display: block;
}

.token-social-link {
  width: auto;
  padding-inline: 0;
  justify-content: center;
  color: rgba(232, 237, 247, 0.76);
}

.token-v1-updated {
  margin-top: 0;
  font-size: 11px;
  line-height: 1.35;
}

.meme-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meme-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 10px;
}

.meme-chip.is-selected {
  border-color: rgba(132, 204, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(132, 204, 255, 0.4) inset;
}

.meme-chip-main {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  font-size:12px;
}

@media (max-width: 1140px) {
  .token-v1-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .token-filter-rail {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .token-sort-control {
    flex: 1 1 240px;
  }

  .token-filter-toggle-row {
    flex: 1 1 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .token-v1-grid {
    grid-template-columns: 1fr;
  }

  .token-filter-rail {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .token-sort-control {
    width: 100%;
    flex-basis: auto;
  }

  .token-filter-toggle-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .token-filter-toggle,
  .token-filter-toggle.has-divider {
    width: 100%;
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    padding-left: 0;
  }

  .token-filter-toggle.has-divider::before {
    display: none;
  }

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

  .token-open-link {
    margin-left: 0;
  }
}



body.home-page {
  margin: 0;
 /* background:
    radial-gradient(
      ellipse at 16% 0%,
      rgba(19, 41, 84, 0.95) 0%,
      rgba(19, 41, 84, 0.62) 24%,
      rgba(1, 11, 24, 0.15) 58%,
      rgba(1, 11, 24, 0) 72%
    ),
    linear-gradient(
      180deg,
      #132954 0%,
      #061326 42%,
      #010b18 100%
    );
} */
 background-color: #020c1a;
  color: var(--text);
  max-width: 100%;
  overflow-x: hidden;
}

.site-shell--home {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 12px 56px;
  overflow-x: hidden;
}

.site-header,
.home-topbar {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  padding: 0px;
}

.site-brand,
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 1;
  gap: 10px;
  color: inherit;
}

.site-brand-mark,
.brand-mark {
  width: 42px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #042235;
}

.brand-mark svg {
  width:42px;
  height:32px;
}

.site-brand-text,
.brand-text {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-left: 5px;
}

.site-nav,
.home-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.site-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  grid-column: 2;
  margin-left: 0;
}

.site-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(80, 149, 207, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10, 32, 58, 0.86), rgba(3, 14, 29, 0.9));
  color: #d9f8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.site-menu-button:hover,
.site-menu-button[aria-expanded="true"] {
  border-color: rgba(77, 232, 219, 0.55);
  box-shadow: 0 10px 26px rgba(26, 184, 220, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-menu-button:focus-visible {
  outline: 2px solid rgba(74, 231, 224, 0.8);
  outline-offset: 3px;
}

.site-menu-button span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-panel {
  position: static;
  display: none;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-menu-panel[hidden] {
  display: none;
}

.site-menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.65);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}

.site-menu-link:hover {
  color: #e8edf7;
  background: transparent;
}

.site-menu-link.is-active {
  color: #e8edf7;
  background: transparent;
}

.site-menu-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #34b4eb, #8df6d1);
}

/* base link */
.site-nav-link,
.home-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.65);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

/* hover */
.site-nav-link:hover,
.home-nav-link:hover {
  color: #e8edf7;
}

/* active */
.site-nav-link.is-active,
.home-nav-link.is-active {
  color: #e8edf7;
}

/* underline */
.site-nav-link.is-active::after,
.home-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: linear-gradient(90deg, #34b4eb, #8df6d1);
  border-radius: 2px;
}

.home-cta-inline {
  white-space: nowrap;
}

.home-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-cta-inline::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.home-cta-inline:hover::after {
  transform: translateX(3px);
}

.home-cta-inline.primary-cta-btn::after {
  content: none;
}

.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
}

.ne-desktop-sidebar {
  display: none;
}


.site-header .site-brand {
      display: inline-flex;
}
@media (min-width: 1400px) {
  :root {
    --ne-sidebar-width: 252px;
  }

  html.ne-has-desktop-sidebar,
  body.ne-has-desktop-sidebar {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.ne-has-desktop-sidebar {
    padding-left: var(--ne-sidebar-width);
  }
.site-header .site-brand {
  display:none;
}


  .ne-desktop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: var(--ne-sidebar-width);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 18px;
    border-right: 1px solid rgba(80, 149, 207, 0.2);
    box-shadow: 16px 0 42px rgba(0, 0, 0, 0.2);
    color: var(--text);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .ne-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    color: #edfaff;
  }

  .ne-sidebar-mark {
    width: 38px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    color: #2ae9f1;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: -0.04em;
    text-shadow: 0 0 18px rgba(52, 229, 238, 0.34);
  }

  .ne-sidebar-brand-text {
    font-size: 13px;
    font-weight: 800;
    color: #f0f7ff;
  }

  .ne-sidebar-nav,
  .ne-sidebar-section {
    display: grid;
    gap: 7px;
  }

  .ne-sidebar-section {
    padding-top: 2px;
  }

  .ne-sidebar-section-title {
    margin: 4px 10px 6px;
    color: rgba(232, 237, 247, 0.52);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ne-sidebar-link {
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(232, 237, 247, 0.78);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  }

  .ne-sidebar-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ne-sidebar-link:hover {
    color: #effcff;
    border-color: rgba(77, 232, 219, 0.24);
    background: rgba(10, 34, 58, 0.58);
  }

  .ne-sidebar-link.is-active {
    color: #dffcff;
    border-color: rgba(77, 232, 219, 0.38);
    background:
      linear-gradient(90deg, rgba(28, 214, 216, 0.18), rgba(11, 33, 58, 0.7));
  }

  .ne-sidebar-link--shortcut {
    height: 38px;
    color: rgba(232, 237, 247, 0.68);
    font-size: 13px;
    font-weight: 650;
  }

  .ne-sidebar-pro-card {
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(137, 87, 255, 0.45);
    border-radius: 10px;
    background:
      radial-gradient(circle at 10% 0%, rgba(138, 83, 255, 0.22), transparent 46%),
      linear-gradient(180deg, rgba(22, 20, 59, 0.88), rgba(4, 21, 43, 0.92));
    box-shadow: 0 16px 38px rgba(30, 10, 90, 0.28);
  }

  .ne-sidebar-pro-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    color: #f0c94b;
  }

  .ne-sidebar-pro-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ne-sidebar-pro-title {
    margin-top: 8px;
    color: #f7fbff;
    font-size: 15px;
    font-weight: 850;
  }

  .ne-sidebar-pro-card p {
    margin: 8px 0 14px;
    color: rgba(232, 237, 247, 0.72);
    font-size: 12px;
    line-height: 1.45;
  }

  .ne-sidebar-pro-card .ne-sidebar-pro-note {
    margin-top: -6px;
    color: rgba(141, 246, 209, 0.78);
  }

  .ne-sidebar-pro-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8c5cff, #39d7f2);
    color: #061326;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 12px 30px rgba(64, 206, 241, 0.18);
  }

  .ne-sidebar-account {
    position: relative;
    min-height: 44px;
    padding-top: 2px;
    border-top: 1px solid rgba(80, 149, 207, 0.16);
  }

  .ne-sidebar-account .wallet-account-menu {
    top: auto;
    right: auto;
    left: 0;
    bottom: calc(100% + 10px);
    width: 100%;
  }

  .ne-sidebar-connect {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1399px) {
  body.ne-has-desktop-sidebar {
    padding-left: 0;
  }

  .home-topbar,
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .site-menu {
    order: 1;
    flex: 0 0 auto;
    margin-left: 0;
    grid-column: auto;
  }

  .site-header .site-brand {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-header-actions {
    order: 3;
    margin-left: auto;
  }

  .site-menu-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    padding: 0;
    border-color: transparent;
    border-radius: 8px;
    background: transparent;
    color: #e8fbff;
    cursor: pointer;
  }

  .site-menu-button span {
    width: 18px;
    height: 2px;
  }
}

.site-header .home-cta-inline {
  padding: 10px 16px;
}

.home-cta-inline:hover {
  box-shadow: 0 22px 48px rgba(31, 202, 235, 0.26);
  filter: brightness(1.03);
}

.site-header-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  grid-column: 3;
  gap: 10px;
  min-width: 0;
}

.site-header-search {
  width: clamp(190px, 20vw, 310px);
  min-width: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 999px;
  background: rgba(1, 10, 22, 0.74);
  color: rgba(232, 237, 247, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-header-search:focus-within {
  border-color: rgba(61, 213, 245, 0.58);
  box-shadow: 0 0 0 3px rgba(61, 213, 245, 0.09);
}

.site-header-search-icon,
.site-header-search-icon svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.site-header-search-icon {
  display: inline-flex;
  color: #35f0de;
}

.site-header-search-icon svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header-search input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f3f7ff;
  font-family: Inter;
  font-size: 13px;
  margin-top:0px;
}

.site-header-search input:focus {
  outline: none;
  box-shadow: none;
}

.site-header-search input::placeholder {
  color: rgba(232, 237, 247, 0.48);
}

.site-header-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.site-header-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 999px;
  background: rgba(1, 10, 22, 0.62);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.12s ease;
}

.site-header-social-link:hover {
  border-color: rgba(61, 213, 245, 0.58);
  background: rgba(9, 35, 62, 0.72);
  transform: translateY(-1px);
}

.site-header-social-link:focus-visible {
  outline: 2px solid rgba(74, 231, 224, 0.8);
  outline-offset: 3px;
}

.site-header-social-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.mobile-header-icon,
.mobile-menu-backdrop,
.mobile-search-overlay {
  display: none;
}

.site-footer {
  width: min(1600px, calc(100% - 48px));
  margin: 42px auto 0;
  padding: 0 0 24px;
  color: rgba(232, 237, 247, 0.78);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(260px, 1fr) minmax(180px, 0.75fr);
  gap: 26px;
  padding: 26px;
  border: 1px solid rgba(80, 149, 207, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 213, 245, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 20, 40, 0.94), rgba(2, 10, 22, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f7fbff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer-brand p {
  max-width: 320px;
  margin: 12px 0 0;
  color: rgba(185, 221, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer-title {
  margin-bottom: 12px;
  color: rgba(136, 249, 232, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.site-footer-link,
.site-footer-support {
  width: fit-content;
  color: rgba(232, 237, 247, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.site-footer-link:hover,
.site-footer-link.is-active,
.site-footer-support:hover {
  color: #88f9e8;
}

.site-footer-socials {
  display: flex;
  gap: 9px;
  margin-bottom: 14px;
}

.site-footer-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 999px;
  background: rgba(1, 10, 22, 0.62);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.12s ease;
}

.site-footer-social-link:hover {
  border-color: rgba(61, 213, 245, 0.58);
  background: rgba(9, 35, 62, 0.72);
  transform: translateY(-1px);
}

.site-footer-social-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 0;
  color: rgba(185, 221, 255, 0.48);
  font-size: 12px;
}

.static-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.static-hero {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(136, 249, 232, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 0%, rgba(69, 204, 243, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(14, 20, 38, 0.96), rgba(4, 12, 25, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.static-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #f7fbff;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.96;
}

.static-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(230, 244, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.static-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.static-section,
.faq-item,
.roadmap-item {
  padding: 20px;
  border: 1px solid rgba(80, 149, 207, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(8, 25, 48, 0.74), rgba(3, 12, 26, 0.88)),
    rgba(5, 18, 35, 0.88);
}

.static-section h2,
.faq-item h2,
.roadmap-item h2 {
  margin: 0 0 10px;
  color: #f7fbff;
  font-size: 20px;
  line-height: 1.25;
}

.static-section p,
.faq-item p,
.roadmap-item p,
.static-section li,
.roadmap-item li {
  color: rgba(232, 237, 247, 0.74);
  font-size: 14px;
  line-height: 1.65;
}

.static-section p,
.faq-item p,
.roadmap-item p {
  margin: 0;
}

.static-section ul,
.roadmap-item ul {
  margin: 0;
  padding-left: 18px;
}

.static-section--wide {
  grid-column: 1 / -1;
}

.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.roadmap-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(136, 249, 232, 0.24);
  border-radius: 999px;
  color: #88f9e8;
  background: rgba(136, 249, 232, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header button.home-cta-inline::after,
.ne-sidebar-connect::after {
  display: none;
}

.token-status {
  max-width: 100%;
}

.token-status--pending,
.token-status--checked-none,
.token-status--candidate-only,
.token-status--not-eligible {
  color: rgba(232, 237, 247, 0.66);
}

.token-status--fetching {
  color: #88f9e8;
}

.token-status-spinner {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 2px solid rgba(136, 249, 232, 0.22);
  border-top-color: #88f9e8;
  border-radius: 999px;
  animation: token-status-spin 0.9s linear infinite;
}

.token-status-message {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 10px;
  background: rgba(1, 10, 22, 0.34);
}

.token-status-message.is-compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.token-status-message-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edfaff;
  font-size: 13px;
  font-weight: 700;
}

.token-status-message-copy {
  color: rgba(232, 237, 247, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes token-status-spin {
  to { transform: rotate(360deg); }
}

@keyframes mobile-search-drop {
  to { transform: translateY(0); }
}

body.ne-mobile-overlay-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

.wallet-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(260px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid rgba(80, 149, 207, 0.3);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 0%, rgba(61, 213, 245, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(7, 22, 43, 0.98), rgba(2, 10, 24, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 28px rgba(40, 194, 224, 0.12);
}

.wallet-account-menu-status {
  display: grid;
  gap: 3px;
  padding: 9px 10px 11px;
  border-bottom: 1px solid rgba(80, 149, 207, 0.18);
}

.wallet-account-menu-status span {
  color: rgba(232, 237, 247, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-account-menu-status strong {
  color: #ecfbff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-account-menu-item {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(232, 237, 247, 0.82);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.wallet-account-menu-item:hover {
  color: #effcff;
  border-color: rgba(77, 232, 219, 0.24);
  background: rgba(10, 34, 58, 0.58);
}

.wallet-account-menu-signout {
  color: #ffc6c6;
}

.site-pulse {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(80, 149, 207, 0.26);
  background: rgba(4, 19, 38, 0.8);
  color: #35f0de;
}

.site-pulse svg {
  width: 18px;
  height: 18px;
}

.home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(286px, 348px);
  gap: 6px 22px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.home-hero {
  grid-column: 1;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(16px, 1.5vw, 24px);
  align-items: center;
  min-width: 0;
}

.home-hero-card {
  display: contents;
  min-width: 0;
}

.text_col,
.asset_col,
.signals_col {
  min-width: 0;
}

.signals_col {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: start;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 2px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(80, 149, 207, 0.5) transparent;
}

.signals_col::-webkit-scrollbar {
  width: 6px;
}

.signals_col::-webkit-scrollbar-track {
  background: transparent;
}

.signals_col::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(80, 149, 207, 0.44);
}

.text_col {
  align-self: center;
}

.asset_col {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
}

.asset_col img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-artwork {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  aspect-ratio: 1.96;
  isolation: isolate;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-artwork-fade 700ms ease-out both, hero-artwork-float 8s ease-in-out infinite;
}

.hero-artwork::before {
  content: "";
  position: absolute;
  inset: 5% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(178, 88, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 28%, rgba(61, 220, 246, 0.16), transparent 24%),
    radial-gradient(circle at 16% 28%, rgba(172, 104, 255, 0.14), transparent 24%),
    radial-gradient(circle at 16% 74%, rgba(87, 239, 181, 0.13), transparent 26%),
    radial-gradient(circle at 84% 74%, rgba(61, 220, 246, 0.12), transparent 26%);
  filter: blur(18px);
  opacity: 0.95;
}

.hero-artwork-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(520px, 56vw);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 26px rgba(70, 210, 235, 0.16));
}

@keyframes hero-artwork-fade {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-artwork-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-artwork {
    animation: none;
  }
}

.home-hero h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color:#fff
}

.home-hero h1 span {
  background: linear-gradient(90deg, #3bbdf0, #82f5d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display:block;
  margin-top: -4px;
}

.hero-text {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(232, 237, 247, 0.9);
    max-width: 460px;
    font-weight: 400;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom:15px;
}

.hero-actions .button:first-child {
    font-weight: 700;
    color: #000;
    border: 0px;
}

.hero-actions .button:first-child:hover {
  box-shadow: 0 22px 48px rgba(31, 202, 235, 0.26);
}

.home-copilot-cta {
  min-height: 48px;
  padding-inline: 17px;
}

.home-copilot-inline {
  min-height: 40px;
  padding: 8px 13px;
  display:none;
}


.top_signals {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(80, 149, 207, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 10px;
  padding: 16px 16px 18px;
  background:
    radial-gradient(circle at 12% 38%, rgba(49, 223, 245, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(5, 18, 35, 0.94), rgba(2, 12, 25, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 42px rgba(0, 0, 0, 0.18);
     display:none !important;
}
.top-signals-list {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  border-top: 1px solid rgba(80, 149, 207, 0.18);
  padding-top: 12px;
}
.top-signals-copy{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.top-signals-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  color: inherit;
}
.top-signals-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.top-signals-title-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  color: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.10);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.12);
  flex: 0 0 auto;
}
.top-signals-title-icon svg {
  width: 14px;
  height: 14px;
}
.top-signals-label {
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform:capitalize;
}
.top-signals-category {
  --category-accent: #35f0de;
  --category-bg: rgba(61, 213, 245, 0.14);
  --category-border: rgba(61, 213, 245, 0.30);
  color: var(--category-accent);
  background: linear-gradient(180deg, rgba(31, 45, 70, 0.98), rgba(12, 27, 50, 0.98));
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--category-border);
  display: inline-grid;
  place-items: center;
  height: 32px;
  width: 34px;
  background:
    radial-gradient(circle at 35% 25%, var(--category-bg), transparent 66%),
    linear-gradient(180deg, rgba(31, 45, 70, 0.98), rgba(12, 27, 50, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 18px color-mix(in srgb, var(--category-accent) 12%, transparent);
}
.top-signals-category svg {
  width: 18px;
  height: 18px;
}
.top-signals-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(202, 219, 235, 0.72);
  font-size: 11px;
  line-height: 1.32;
  padding-top: 3px;
  display:none !important;
}

.top-signals-trend,
.top-signals-score {
  display: none !important;
}

.top_signals .section-link {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding-top: 0;
  display: block;
  color: rgba(232, 237, 247, 0.86);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.box_title {
grid-column: 1;
    grid-row: 1;
    min-width: 0;
    color: #fff;
    letter-spacing: 0.6px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 750;
}
@media (max-width: 1520px) {
  #feed-emerging {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 780px) {
 .home-hero {
    flex-direction:column;
            align-items: flex-start;
  }
}

@media (min-width: 1024px) {
 .home-shortcuts {
display:none !important;
}
}
 .home-shortcuts {
display:none !important;
}

.home-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
  border: 1px solid rgba(80, 149, 207, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 18%, rgba(49, 223, 245, 0.065), transparent 28%),
    rgba(3, 14, 27, 0.5);
  overflow: visible;
  padding: 8px;
}

.home-shortcuts {
  grid-column: 1 / -1;
  margin: 8px 0 2px;
  padding: 12px;
  border: 1px solid rgba(80, 149, 207, 0.18);
  border-radius: 10px;
  background: rgba(3, 14, 27, 0.42);
}

.home-shortcuts-head {
  margin-bottom: 9px;
}

.home-shortcuts-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex-wrap:wrap;
}

.home-shortcuts-row::-webkit-scrollbar {
  display: none;
}

.home-stat-item {
  min-height: 74px;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid rgba(80, 149, 207, 0.12);
  background: rgba(2, 12, 25, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-stat-item:first-child {
  border-top: 1px solid rgba(80, 149, 207, 0.12);
}

.home-stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(51, 124, 220, 0.36);
  background: rgba(4, 19, 38, 0.9);
  color: #35f0de;
  box-shadow: 0 0 22px rgba(35, 206, 235, 0.12);
}

.home-stat-icon svg {
  width: 22px;
  height: 22px;
}

.home-stat-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-stat-value {
  font-size: 22px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: #f5f9ff;
}

.home-stat-label {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: #f3f7ff;
}

.home-stat-sub-label {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(232, 237, 247, 0.72);
}

@media (max-width: 1040px) {
  .home-main {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 18px;
  }

  .home-hero {
    grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr);
  }

  .asset_col {
    min-height: 290px;
  }

  .top_signals {
    padding: 16px;
  }

  .top-signals-item {
    min-height: 44px;
  }
}

@media (max-width: 960px) {
  .home-main {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .home-token-ca-box,
  .home-shortcuts,
  .signals_col,
  .signals_col > .top_signals,
  .signals_col > .home-stats,
  .feed-section,
  .home-memelab-promo {
    grid-column: 1;
  }

  .home-hero {
    order: 1;
  }

  .home-token-ca-box {
    order: 2;
  }

  .home-shortcuts {
    order: 3;
  }

  .signals_col {
    display: contents;
  }

  .signals_col > .home-stats {
    order: 4;
  }

  .feed-section--emerging {
    order: 5;
  }

  .signals_col > .top_signals {
    order: 6;
  }

  .feed-section:not(.feed-section--emerging),
  .home-memelab-promo {
    order: 7;
  }

  .signals_col {
    grid-row: auto;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    border: 0;
    background: transparent;
    overflow: visible;
    padding: 0;
  }

  .home-stat-item {
    min-height: 78px;
    border: 1px solid rgba(80, 149, 207, 0.18);
    border-radius: 8px;
    background:
      radial-gradient(circle at 20% 50%, rgba(45, 189, 240, 0.08), transparent 34%),
      rgba(3, 14, 27, 0.72);
  }
}

.home-pro-banner {
  display:none !important;
  min-height: 240px;
  padding: 26px;
  display: grid;
  grid-template-columns: 120px minmax(260px, 1.1fr) minmax(300px, 0.95fr) minmax(170px, 0.45fr);
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(55, 218, 223, 0.38);
  background:
    radial-gradient(circle at 8% 30%, rgba(148, 74, 232, 0.26), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(27, 219, 226, 0.17), transparent 28%),
    linear-gradient(135deg, rgba(5, 20, 40, 0.96), rgba(3, 13, 27, 0.96));
  box-shadow: 0 0 0 1px rgba(55, 218, 223, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-pro-banner[hidden] {
  display: none;
}

.app-pro-banner {
  margin: 18px 0 24px;
}

.home-pro-emblem,
.home-pro-status-mark {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  color: #e9f7ff;
  border-radius: 28px;
  border: 2px solid rgba(157, 95, 245, 0.72);
  background: rgba(31, 16, 62, 0.62);
  box-shadow: 0 0 32px rgba(116, 83, 248, 0.24);
}

.home-pro-crown,
.home-pro-status-mark span {
  padding: 5px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, #9162ff, #50e5f4);
  color: #061020;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-pro-copy h2,
.home-pro-status-copy h2 {
  margin: 0;
  color: #f5f9ff;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

.home-pro-copy h2 span {
  display: block;
  color: #55e8f1;
}

.home-pro-copy p,
.home-pro-status-copy p {
  margin: 12px 0 0;
  color: rgba(232, 237, 247, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.home-pro-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 8px;
  border: 1px solid rgba(76, 218, 234, 0.34);
  background: rgba(4, 18, 36, 0.72);
  overflow: hidden;
}

.home-pro-compare > div {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.home-pro-compare > div:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.home-pro-compare strong {
  color: #f6fbff;
  font-size: 12px;
  text-transform: uppercase;
}

.home-pro-positive,
.home-pro-negative {
  position: relative;
  padding-left: 22px;
  color: rgba(232, 237, 247, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.home-pro-positive::before,
.home-pro-negative::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.home-pro-positive::before {
  content: "+";
  color: #4cf5da;
}

.home-pro-negative::before {
  content: "-";
  color: #ff55c8;
}

.home-pro-price {
  display: grid;
  gap: 8px;
}

.home-pro-price-value {
  color: #8beaf5;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.95;
  font-weight: 850;
}

.home-pro-price-term {
  color: #b7f8ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-pro-price-note {
  color: rgba(232, 237, 247, 0.75);
  font-size: 13px;
  line-height: 1.45;
}

.home-pro-cta,
.home-pro-status-cta {
  margin-top: 8px;
  justify-self: start;
  font-weight: 800;
}

.home-pro-banner--active {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  min-height: 172px;
  border-color: rgba(101, 245, 198, 0.36);
  background:
    radial-gradient(circle at 10% 35%, rgba(45, 230, 185, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(4, 24, 35, 0.96), rgba(4, 13, 28, 0.96));
}

.home-pro-feed-card {
  position: relative;
  min-height: 286px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 13px;
  border-radius: 8px;
  border: 1px solid rgba(151, 94, 246, 0.72);
  background:
    radial-gradient(circle at 50% 34%, rgba(127, 87, 247, 0.34), transparent 24%),
    linear-gradient(180deg, rgba(17, 19, 56, 0.96), rgba(3, 17, 31, 0.96));
  color: var(--text);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.58), 0 0 24px rgba(103, 76, 238, 0.18);
  overflow: hidden;
}

.home-card-badge--pro {
  color: #f2e9ff;
  border-color: rgba(172, 116, 255, 0.6);
  background: rgba(145, 98, 255, 0.22);
}

.home-pro-feed-lock {
  width: 62px;
  height: 62px;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(156, 120, 255, 0.62);
  background: rgba(54, 33, 124, 0.74);
  color: #d9c8ff;
  box-shadow: 0 0 28px rgba(122, 88, 247, 0.42);
}

.home-pro-feed-lock svg {
  width: 30px;
  height: 30px;
}

.home-pro-feed-title {
  justify-self: center;
  max-width: 210px;
  color: #f7fbff;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 760;
  text-align: center;
}

.home-pro-feed-copy {
  color: rgba(232, 237, 247, 0.86);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.home-pro-feed-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
}

.home-pro-feed-metrics span {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: #f2fbff;
  font-size: 12px;
  line-height: 1.2;
}

.home-pro-feed-metrics svg {
  width: 15px;
  height: 15px;
  color: #54eaf1;
}

.home-pro-feed-metrics small {
  color: rgba(232, 237, 247, 0.68);
  font-size: 10px;
}

.home-pro-feed-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #9a5df5, #56e7f0);
  color: #061020;
  font-size: 13px;
  font-weight: 850;
}

.feed-section {
  grid-column: 1;
  margin-top: 8px;
  padding: 0px;
  min-width: 0;
  max-width: 100%;
}

.feed-section--emerging,
.feed-section--trending {
  grid-column: 1;
  display:none !important;
}

.feed-section--trending.is-temporarily-disabled {
  display: none !important;
}

.feed-section--trending {
  padding: 14px 16px 16px;
  border: 1px solid rgba(80, 149, 207, 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 12%, rgba(49, 223, 245, 0.045), transparent 30%),
    rgba(3, 14, 27, 0.38);
        grid-column: 1 / -1;
    margin-top: 0;
}

.section-head {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: start;
}

.section-title-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #46e7f5;
}

.section-title-icon svg {
  width: 100%;
  height: 100%;
}

.section-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: fit-content;
  color: rgba(232, 237, 247, 0.86);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.section-link:hover {
  text-decoration: underline;
}

.section-head h2 {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  grid-column: 1;
  color: rgba(232, 237, 247, 0.8);
  font-size: 14px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.feed-section--emerging .card-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 12px;
}

#feed-emerging.card-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.feed-section--emerging .home-emerging-card--compact.narrative-card.card-variant-compact {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 12px;
  gap: 10px;
  border-color: rgba(77, 161, 212, 0.28);
  background:
    radial-gradient(circle at 8% 0%, rgba(61, 213, 245, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.96));
}

.feed-section--emerging .home-emerging-card--compact .narrative-save-button {
  top: auto;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-narrative-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "tile meta"
    "title title";
  gap: 8px 10px;
  align-items: start;
}

.feed-section--emerging .home-emerging-card--compact .mobile-narrative-tile {
  grid-area: tile;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-narrative-tile svg {
  width: 21px;
  height: 21px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-narrative-head-copy {
  min-width: 0;
  display: contents;
}

.feed-section--emerging .home-emerging-card--compact .card-top {
  grid-area: meta;
  min-width: 0;
  align-items: start;
  gap: 8px;
}

.feed-section--emerging .home-emerging-card--compact .card-badges {
  gap: 5px;
}

.feed-section--emerging .home-emerging-card--compact .stage-badge,
.feed-section--emerging .home-emerging-card--compact .badge,
.feed-section--emerging .home-emerging-card--compact .momentum-badge {
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 9px;
}

.feed-section--emerging .home-emerging-card--compact .app-card-seen {
  font-size: 10px;
}

.feed-section--emerging .home-emerging-card--compact .card-title {
  grid-area: title;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.feed-section--emerging .home-emerging-narrative-card .card-description {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.42;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.feed-section--emerging .home-emerging-card--compact .app-card-signals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-right: 40px;
}

.feed-section--emerging .home-emerging-narrative-card .mobile-score-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.feed-section--emerging .home-emerging-card--compact .mobile-score-bars .narrative-list-score {
  min-width: 0;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(77, 161, 212, 0.18);
  border-radius: 8px;
  background: rgba(4, 16, 31, 0.46);
}

.feed-section--emerging .home-emerging-card--compact .mobile-score-bars .narrative-list-score span {
  color: rgba(185, 221, 255, 0.66);
  font-size: 10px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-score-bars .narrative-list-score strong {
  color: #effcff;
  font-size: 14px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-score-bars .narrative-list-score-track {
  height: 4px;
}

.feed-section--emerging .home-emerging-card--compact .signal-item,
.feed-section--emerging .home-emerging-card--compact .token-status {
  min-width: 0;
  font-size: 11px;
}

.feed-section--emerging .home-emerging-card--compact .mobile-score-signals > .token-status {
  justify-self: start;
  max-width: 100%;
}

.feed-section--emerging .home-emerging-card--compact .app-card-metrics {
  gap: 10px;
  padding-right: 40px;
  font-size: 11px;
}

.feed-section--emerging .home-emerging-card--compact .app-card-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.feed-section--emerging .home-emerging-card--compact .app-card-metrics svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: #35f0de;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-narrative-card {
  position: relative;
  min-height: 286px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid rgba(77, 161, 212, 0.24);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.94)),
    rgba(5, 18, 35, 0.9);
  color: var(--text);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.38);
  overflow: hidden;
}

.home-narrative-card:hover {
  border-color: rgba(61, 213, 245, 0.62);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.75), 0 14px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.home-card-badges,
.home-card-signals,
.home-card-counts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.home-card-badges {
  gap: 8px;
}

.home-card-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  border: 1px solid transparent;
  text-transform: uppercase;
}

.home-card-badge--stage {
  color: #ffe36a;
  border-color: rgba(255, 214, 33, 0.5);
  background: rgba(255, 214, 33, 0.08);
}

.home-card-badge--deploy {
  color: #4cf5da;
  border-color: rgba(57, 231, 210, 0.38);
  background: rgba(31, 218, 203, 0.08);
}

.home-card-seen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(232, 237, 247, 0.72);
  font-size: 12px;
}

.home-card-marker {
  font-size: 16px;
  line-height: 1;
}
.home-card-marker svg {
  height:16px;
  width:16px;
}

.home-card-title {
  color: #f5f8ff;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: 0;
  text-transform:capitalize
}

.home-card-description {
  color: rgba(232, 237, 247, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.home-card-signals {
  gap: 12px;
  color: #f0f6ff;
  font-size: 13px;
  line-height: 1.2;
}

.home-card-signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.home-card-signal svg {
  width: 16px;
  height: 16px;
  color: #31dff5;
}

.home-card-signal:first-child svg {
  color: #79f3ab;
}

.home-card-signal:last-child svg {
  color: #f4d64d;
}

.home-card-counts {
  gap: 6px;
  color: rgba(232, 237, 247, 0.82);
  font-size: 13px;
}

.home-card-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  border: 1px solid rgba(147, 186, 230, 0.28);
  background: rgba(6, 18, 36, 0.88);
  color: #f7fbff;
  font-size: 13px;
  font-weight: 600;
}

.feed-section--trending .section-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.feed-section--trending .section-head h2 {
  font-size: 16px;
  text-transform: none;
  margin-bottom:0px;
}

.feed-section--trending .section-head p {
  grid-column: auto;
  font-size: 11px;
  color: rgba(232, 237, 247, 0.56);
}

.feed-section--trending .section-link {
  grid-column: 3;
  grid-row: 1;
  font-size: 12px;
}

.feed-section--trending .card-grid--home {
  gap: 10px;
}

.feed-section--trending .home-narrative-card {
  min-height: 190px;
  padding: 12px;
  gap: 8px;
  grid-template-rows: auto auto auto auto auto;
}

.feed-section--trending .home-card-title {
  font-size: 15px;
  text-transform:capitalize;
  line-height: 1.25;
}

.feed-section--trending .home-card-description,
.feed-section--trending .home-card-button {
  display: none;
}

.feed-section--trending .home-card-signals,
.feed-section--trending .home-card-counts {
  font-size: 12px;
}

.home-narrative-card:hover .home-card-button {
  border-color: rgba(61, 213, 245, 0.6);
  background: rgba(9, 28, 53, 0.96);
}

.stage-badge--early {
  background: rgba(192, 226, 255, 0.1);
  color: #c8e4ff;
  border-color: rgba(192, 226, 255, 0.35);
}

.stage-badge--developing {
  background: rgba(143, 215, 255, 0.15);
  color: #95d8ff;
  border-color: rgba(143, 215, 255, 0.45);
}

.stage-badge--mature {
  background: rgba(141, 246, 209, 0.13);
  color: #9cf4dc;
  border-color: rgba(141, 246, 209, 0.4);
}

.card-grid--home .age {
  font-size: 12px;
  color: rgba(232, 237, 247, 0.75);
}

.card-grid--home .card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.card-grid--home .card-support {
  margin: 0;
  color: rgba(232, 237, 247, 0.75);
  font-size: 12px;
}

.card-signals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.signal-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

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

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

.metric {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

.metric-label {
  display: block;
  font-size: 12px;
  color: rgba(232, 237, 247, 0.78);
  margin-bottom: 4px;
}

.metric-value {
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.metric-icon {
  opacity: 0.9;
}

.card-grid--home .card-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-grid--home .context-item {
  font-size: 12px;
  color: rgba(232, 237, 247, 0.72);
  padding: 0;
}

.hidden {
  display: none;
}

.empty-state {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
}

.home-memelab-promo {
  position: relative;
  grid-column: 1 / -1;
  min-height: 260px;
  margin-top: 8px;
  padding: clamp(20px, 3.4vw, 34px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(132, 204, 255, 0.24);
  background:
    radial-gradient(circle at 64% 42%, rgba(61, 213, 245, 0.18), transparent 32%),
    radial-gradient(circle at 94% 16%, rgba(136, 249, 232, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(4, 12, 27, 0.96), rgba(9, 20, 42, 0.92) 58%, rgba(2, 9, 18, 0.98));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-memelab-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(80, 149, 207, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 149, 207, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 82%, transparent);
  pointer-events: none;
}

.home-narrativelab-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  display: grid;
  gap: 10px;
}

.home-narrativelab-pill {
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(136, 249, 232, 0.32);
  border-radius: 999px;
  background: rgba(136, 249, 232, 0.08);
  color: #88f9e8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.home-memelab-promo h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.95;
  letter-spacing: 0;
}

.home-memelab-promo p {
  margin: 0;
  color: rgba(232, 237, 247, 0.82);
  line-height: 1.48;
}

.home-memelab-promo-cta {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  padding: 11px 15px;
  font-weight: 800;
}

.home-narrativelab-visual {
  position: relative;
  z-index: 1;
  flex: 0 1 340px;
  min-width: 240px;
}

.home-narrativelab-visual img,
.narrativelab-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(132, 204, 255, 0.24);
  background: rgba(2, 10, 22, 0.6);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34), 0 0 36px rgba(61, 213, 245, 0.12);
  display:none !important;
}

.narrativelab-holding {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 72px;
}
.narrativelab-hero-visual {
  display:none !important;
}

.narrativelab-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid rgba(136, 249, 232, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 25%, rgba(69, 204, 243, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(14, 20, 38, 0.96), rgba(8, 12, 22, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.narrativelab-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.narrativelab-hero-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 380px);
}

.narrativelab-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 38%;
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(136, 249, 232, 0.16), rgba(69, 204, 243, 0.06));
  filter: blur(32px);
  pointer-events: none;
}

.narrativelab-status-pill {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(136, 249, 232, 0.28);
  border-radius: 999px;
  color: #88f9e8;
  background: rgba(136, 249, 232, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.narrativelab-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.6rem);
  line-height: 0.94;
}

.narrativelab-lede {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 0;
  color: rgba(230, 244, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.narrativelab-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.narrativelab-copy p {
  margin: 0;
  color: rgba(230, 244, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

.narrativelab-disabled-cta {
  position: relative;
  z-index: 1;
  width: fit-content;
  justify-self: start;
  opacity: 0.82;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .home-topbar,
  .site-header {
    grid-template-columns: minmax(120px, 1fr) auto minmax(170px, 1fr);
  }

  .site-header-search {
    display: none;
  }

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

  .home-pro-banner {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .home-pro-compare,
  .home-pro-price {
    grid-column: 1 / -1;
  }

  .home-pro-banner--active {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .home-pro-status-cta {
    grid-column: 2;
  }
}

@supports selector(html:has(body.home-page)) {
  html:has(body.home-page) {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 860px) {
  body.home-page {
    background:
      radial-gradient(circle at 18% 0%, rgba(43, 159, 209, 0.14), transparent 32%),
      #020c1a;
  }

  .home-topbar,
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .site-brand-text,
  .brand-text {
    font-size: 11px;
  }

  .site-header .home-cta-inline {
    padding: 9px 12px;
  }

  .site-header-actions {
    gap: 7px;
  }

  .site-header-socials {
    gap: 6px;
  }

  .site-header-social-link {
    width: 34px;
    height: 34px;
  }

  .site-header-social-link img {
    width: 16px;
    height: 16px;
  }

  .site-footer {
    width: min(100% - 24px, 1000px);
    margin-top: 28px;
    padding-bottom: 18px;
  }

  .site-footer-inner,
  .static-section-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    gap: 22px;
    padding: 20px;
    border-radius: 12px;
  }

  .site-footer-link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-bottom {
    flex-direction: column;
  }

  .static-page {
    width: min(100% - 24px, 760px);
    padding-top: 12px;
  }

  .static-hero {
    padding: 24px;
    border-radius: 14px;
  }

  .site-pulse,
  .site-header-socials {
    display: none;
  }

  .site-menu {
    order: 1;
    margin-left: 0;
    grid-column: auto;
  }

  .site-header .site-brand {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-brand,
  .brand {
    gap: 8px;
  }

  .site-brand-mark,
  .brand-mark {
    width: 38px;
    height: 28px;
  }

  .brand-mark svg {
    width: 38px;
    height: 28px;
  }

  .site-header-actions {
    order: 3;
    margin-left: auto;
    gap: 8px;
  }

  .mobile-header-icon,
  .site-menu-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(80, 149, 207, 0.24);
    border-radius: 999px;
    background: rgba(3, 17, 33, 0.68);
    color: #e8fbff;
    cursor: pointer;
  }

  .site-menu-button {
    gap: 4px;
    border-color: transparent;
    background: transparent;
    border-radius: 8px;
  }

  .site-menu-button span {
    width: 18px;
    height: 2px;
  }

  .mobile-header-icon svg,
  .mobile-menu-close svg,
  .mobile-search-close svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-header-icon:hover,
  .mobile-header-icon[aria-expanded="true"],
  .site-menu-button:hover,
  .site-menu-button[aria-expanded="true"] {
    border-color: rgba(61, 213, 245, 0.5);
    box-shadow: 0 0 22px rgba(61, 213, 245, 0.14);
  }

  .site-header .home-cta-inline {
    min-width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
  }

  .site-header .home-cta-inline[data-wallet-authed="true"] {
    width: 38px;
    padding: 0;
    font-size: 0;
    background: rgba(3, 17, 33, 0.68);
    border: 1px solid rgba(61, 213, 245, 0.44);
    box-shadow: inset 0 0 0 1px rgba(136, 249, 232, 0.08);
  }

  .site-header .home-cta-inline[data-wallet-authed="true"]::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #24f0c7;
    box-shadow: 0 0 16px rgba(36, 240, 199, 0.74);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 940;
    display: block;
    border: 0;
    background: rgba(1, 7, 17, 0.68);
    backdrop-filter: blur(4px);
  }

  .mobile-menu-backdrop[hidden] {
    display: none;
  }

  .site-menu-panel {
    position: fixed;
    inset: 10px auto 10px 10px;
    z-index: 950;
    width: min(84vw, 326px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(61, 213, 245, 0.28);
    border-radius: 0 22px 22px 0;
    background:
      radial-gradient(circle at 12% 0%, rgba(61, 213, 245, 0.14), transparent 32%),
      linear-gradient(180deg, rgba(7, 24, 45, 0.97), rgba(2, 10, 22, 0.98));
    box-shadow: 18px 0 54px rgba(0, 0, 0, 0.48), 0 0 34px rgba(40, 194, 224, 0.12);
    backdrop-filter: blur(18px);
    transform: translateX(-110%);
    transition: transform 0.18s ease;
  }

  .site-menu.is-open .site-menu-panel {
    transform: translateX(0);
  }

  .site-menu-panel[hidden] {
    display: none;
  }

  .mobile-menu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(80, 149, 207, 0.18);
  }

  .mobile-menu-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1fcff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-menu-brand .brand-mark {
    color: #2ae9f1;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 0 18px rgba(52, 229, 238, 0.34);
  }

  .mobile-menu-close,
  .mobile-search-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(80, 149, 207, 0.26);
    border-radius: 999px;
    background: rgba(1, 10, 22, 0.62);
    color: #e8fbff;
    cursor: pointer;
  }

  .mobile-menu-nav,
  .mobile-menu-section {
    display: grid;
    gap: 7px;
  }

  .mobile-menu-section-title,
  .mobile-search-title {
    color: rgba(136, 249, 232, 0.86);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-menu-link.mobile-menu-link {
    min-height: 42px;
    justify-content: flex-start;
    gap: 11px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(232, 237, 247, 0.78);
    font-size: 14px;
    font-weight: 760;
  }

  .site-menu-link.mobile-menu-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-menu-link.mobile-menu-link:hover,
  .site-menu-link.mobile-menu-link.is-active {
    color: #eafcff;
    border-color: rgba(61, 213, 245, 0.3);
    background: rgba(52, 180, 235, 0.12);
  }

  .site-menu-link.is-active::after,
  .site-menu-link.is-active::before {
    display: none;
  }

  .mobile-menu-link--shortcut {
    min-height: 38px;
    font-size: 13px;
  }

  .mobile-menu-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(80, 149, 207, 0.18);
  }

  .mobile-menu-social-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(80, 149, 207, 0.24);
    border-radius: 999px;
    background: rgba(1, 10, 22, 0.54);
    color: rgba(232, 237, 247, 0.86);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-menu-social-link img {
    width: 16px;
    height: 16px;
  }

  .mobile-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 960;
    display: block;
  }

  .mobile-search-overlay[hidden] {
    display: none;
  }

  .mobile-search-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(1, 7, 17, 0.64);
    backdrop-filter: blur(4px);
  }

  .mobile-search-panel {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(61, 213, 245, 0.32);
    border-radius: 0 0 22px 22px;
    background:
      radial-gradient(circle at 14% 0%, rgba(61, 213, 245, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(7, 24, 45, 0.98), rgba(2, 10, 22, 0.98));
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.48), 0 0 30px rgba(40, 194, 224, 0.12);
    backdrop-filter: blur(18px);
    transform: translateY(-8px);
    animation: mobile-search-drop 0.18s ease forwards;
  }

  .mobile-search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-search-form {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid rgba(80, 149, 207, 0.28);
    border-radius: 12px;
    background: rgba(1, 10, 22, 0.74);
  }

  .mobile-search-icon,
  .mobile-search-icon svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .mobile-search-icon {
    color: #35f0de;
  }

  .mobile-search-icon svg {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-search-form input {
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f3f7ff;
    font: 500 14px/1 Inter, system-ui, sans-serif;
  }

  .mobile-search-form input:focus {
    outline: none;
    box-shadow: none;
  }

  .mobile-search-form input::placeholder {
    color: rgba(232, 237, 247, 0.48);
  }

  .home-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
  }

  .home-hero-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 36%);
    gap: 12px;
    align-items: center;
    padding: 20px 16px;
    border: 1px solid rgba(80, 149, 207, 0.34);
    border-radius: 16px;
    background:
      radial-gradient(circle at 78% 26%, rgba(34, 220, 217, 0.13), transparent 30%),
      linear-gradient(145deg, rgba(5, 22, 43, 0.95), rgba(2, 12, 26, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  .home-hero .eyebrow {
    margin: 0 0 16px;
    padding: 5px 8px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.04;
  }

  .home-hero h1 span {
    margin-top: -2px;
  }

  .asset_col {
    align-self: center;
    justify-self: end;
    flex-basis: auto;
    min-height: 0;
  }

  .asset_col img {
    width: 100%;
    max-width: 210px;
    height: auto;
    max-height: 230px;
    object-fit: contain;
    object-position: center;
  }

  .hero-artwork {
    width: min(100%, 220px);
    min-width: 0;
    aspect-ratio: auto;
  }

  .hero-artwork-image {
    max-height: 230px;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(232, 237, 247, 0.86);
  }

  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 44px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero-actions .button:first-child {
    padding: 10px 14px;
  }

  .signals_col {
    width: 100%;
  }

  .top_signals {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 10px;
    padding: 16px;
    border-radius: 16px;
    border-color: rgba(80, 149, 207, 0.34);
    background:
      radial-gradient(circle at 8% 40%, rgba(32, 173, 232, 0.1), transparent 30%),
      linear-gradient(145deg, rgba(5, 22, 43, 0.94), rgba(2, 12, 26, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
   display:none !important;
  }

  .top_signals .box_title {
    min-width: 0;
    color: #24e5f4;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
  }

  .top_signals .section-link {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 0;
    color: rgba(247, 251, 255, 0.9);
    font-size: 13px;
    white-space: nowrap;
  }

  .top-signals-list {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
     
  }

  .top-signals-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 10px;
    border: 1px solid rgba(80, 149, 207, 0.22);
    border-radius: 10px;
    background: rgba(3, 18, 36, 0.72);
    color: inherit;
  }

  .top-signals-category {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    align-self: center;
    line-height: 1;
  }

  .top-signals-label {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .top-signals-description {
    font-size: 11px;
    line-height: 1.3;
    padding-top: 4px;
  }

  .top-signals-trend {
    display: none !important;
    align-self: center;
    width: 44px;
    height: 24px;
    background:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 44 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 20 L9 13 L15 17 L22 6 L29 12 L36 3 L36 9 M36 3 L42 3' fill='none' stroke='%2324e5f4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  .top-signals-score {
    display: none !important;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    color: rgba(247, 251, 255, 0.94);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }

  .top-signals-score::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 999px;
    background: #35f0de;
    box-shadow: 0 0 10px rgba(53, 240, 222, 0.65);
  }

  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-stat-item {
    min-height: 74px;
    padding: 11px 10px;
    gap: 9px;
    border-radius: 10px;
  }

  .home-stat-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .home-stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .home-stat-value {
    font-size: 22px;
  }

  .home-stat-label {
    font-size: 12px;
  }

  .home-stat-sub-label {
    font-size: 11px;
  }

  .home-pro-banner,
  .home-pro-banner--active {
    min-height: 0;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-pro-emblem,
  .home-pro-status-mark {
    width: 86px;
    height: 86px;
  }

  .home-pro-compare {
    grid-template-columns: 1fr;
  }

  .home-pro-compare > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .home-pro-price,
  .home-pro-status-cta {
    grid-column: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-link {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
  }

  .card-grid--home.card-strip-mobile {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 0 2px 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(80, 149, 207, 0.55) rgba(3, 14, 27, 0.5);
    -webkit-overflow-scrolling: touch;
  }

  .card-grid--home.card-strip-mobile::-webkit-scrollbar {
    height: 6px;
  }

  .card-grid--home.card-strip-mobile::-webkit-scrollbar-track {
    background: rgba(3, 14, 27, 0.5);
    border-radius: 999px;
  }

  .card-grid--home.card-strip-mobile::-webkit-scrollbar-thumb {
    background: rgba(80, 149, 207, 0.55);
    border-radius: 999px;
  }

  .card-grid--home.card-strip-mobile .home-narrative-card,
  .card-grid--home.card-strip-mobile .narrative-card,
  .card-grid--home.card-strip-mobile .home-pro-feed-card {
    flex: 0 0 clamp(238px, 68vw, 300px);
    min-width: 0;
    scroll-snap-align: start;
  }

  #feed-emerging.card-grid--home.card-strip-mobile .home-narrative-card {
    min-height: 150px;
    padding: 12px;
    gap: 10px;
    margin-bottom: 5px;
  }

  #feed-emerging.card-grid--home.card-strip-mobile .narrative-card.card-variant-compact {
    min-height: 0;
    padding: 12px;
    margin-bottom: 5px;
  }

  .feed-section--emerging .home-emerging-narrative-card .card-description {
    -webkit-line-clamp: 2;
  }

  .feed-section--emerging .home-emerging-narrative-card .app-card-metrics {
    gap: 7px;
    font-size: 11px;
  }

  #feed-emerging.card-grid--home.card-strip-mobile .empty-state {
    flex: 1 0 100%;
  }

  .home-memelab-promo {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .home-narrativelab-visual {
    width: 100%;
    max-width: 340px;
    height: 150px;
    align-self: center;
  }

  .home-narrativelab-cta {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .site-shell--home, .site-shell {
    padding: 18px 12px 56px;
  }
 

  .home-main {
    gap: 22px;
  }

  .home-hero {
    padding: 0;
    gap: 16px;
  }

  .home-hero-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 14px;
    gap: 10px;
  }

  .asset_col {
    display: flex;
    justify-self: center;
    width: 100%;
    min-height: 0;
    margin-top: 2px;
  }

  .hero-artwork {
    width: min(100%, 260px);
    aspect-ratio: auto;
  }

  .hero-artwork-image {
    max-height: 210px;
  }

  .home-hero .eyebrow {
    margin-bottom: 12px;
  }

  .home-hero h1 {
    font-size: clamp(26px, 7.6vw, 32px);
  }

  .hero-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 42px;
        font-size: 16px;
        width: 100%;
  }

  .hero-actions .button.secondary {
    padding-top: 9px;
    padding-bottom: 11px;
  }

  .top_signals {
    padding: 14px;
  }

  .top-signals-item {
    grid-template-columns: 38px minmax(0, 1fr) 38px 36px;
    gap: 8px;
    min-height: 58px;
    padding: 9px;
  }

  .top-signals-trend {
    width: 36px;
  }

  .home-stats {
    gap: 7px;
  }

  .home-stat-item {
    min-height: 68px;
    padding: 10px;
    gap: 8px;
  }

  .home-stat-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .home-stat-icon svg {
    width: 17px;
    height: 17px;
  }

  .home-stat-value {
    font-size: 19px;
  }

  .home-stat-label {
    font-size: 11px;
  }
}


@media (max-width: 436px) {
  .site-brand-text, .brand-text {
    width:70px;
  }
}


.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.status-slate {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line);
}

.app-page {
  max-width: 1600px;
  padding: 0;
}

.app-discovery-panel {
    padding: 0px;
    border-radius: 0px;
    border: none;
    background: none;
    box-shadow: none;
}

.app-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 18px;
}

.app-board-head .panel-title {
  margin-top: 12px;
  color: #f5f8ff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.app-top-stats {
  display: none;
}

.app-board-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
}

.app-filter-sidebar {
  position: static;
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.92), rgba(3, 14, 28, 0.9)),
    rgba(5, 18, 35, 0.9);
  padding: 14px;
  height: fit-content;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.app-filter-home {
  order: -1;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .app-board-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 292px);
  }

  .app-filter-home {
    order: 0;
  }

  .app-filter-sidebar {
    position: sticky;
    top: 18px;
  }
}

.signal-views-panel {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(80, 149, 207, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 213, 245, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(6, 21, 40, 0.82), rgba(3, 13, 27, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.12);
}

.signal-views-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}

.signal-views-head h1 {
  margin: 4px 0 0;
  color: #f5f8ff;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.signal-heading-mobile,
.signal-views-helper {
  display: none;
}

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

.signal-view-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(80, 149, 207, 0.2);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.66);
  color: rgba(232, 237, 247, 0.8);
  text-align: left;
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.signal-view-card:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 213, 245, 0.46);
  background: rgba(61, 213, 245, 0.08);
}

.signal-view-card.is-active {
  border-color: rgba(61, 213, 245, 0.68);
  background: linear-gradient(180deg, rgba(61, 213, 245, 0.16), rgba(61, 213, 245, 0.06));
  box-shadow: 0 0 28px rgba(61, 213, 245, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.signal-view-card-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(61, 213, 245, 0.1);
  color: #35f0de;
}

.signal-view-card-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-view-card-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.signal-view-card-copy strong {
  color: #f5f8ff;
  font-size: 13px;
  line-height: 1.15;
}

.signal-view-card-copy span {
  color: rgba(205, 226, 245, 0.74);
  font-size: 12px;
  line-height: 1.35;
}

.active-signal-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 18px;
  margin: 0 0 10px;
  padding: 16px 18px;
  border: 1px solid rgba(61, 213, 245, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 9% 12%, rgba(33, 231, 193, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(5, 48, 54, 0.72), rgba(4, 16, 33, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.12);
}

.active-signal-view-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.active-signal-view-copy .eyebrow {
  justify-self: start;
  color: #24f0c7;
}

.active-signal-view-copy h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #f7fbff;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.active-signal-view-copy p {
  margin: 0;
  color: rgba(205, 226, 245, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.active-signal-view-meta {
  min-width: 330px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "status count"
    "actions actions";
  justify-content: end;
  align-content: center;
  align-items: center;
  gap: 12px 20px;
}

.active-signal-status {
  grid-area: status;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: rgba(205, 226, 245, 0.76);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.active-signal-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #24f0c7;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.active-signal-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #24f0c7;
  box-shadow: 0 0 12px rgba(36, 240, 199, 0.8);
}

.active-signal-count {
  grid-area: count;
  display: grid;
  gap: 3px;
  padding-left: 18px;
  border-left: 1px solid rgba(80, 149, 207, 0.22);
  text-align: right;
}

.active-signal-count strong {
  color: #f5fbff;
  font-size: 28px;
  line-height: 1;
}

.active-signal-count span {
  color: rgba(232, 237, 247, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.active-signal-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.active-signal-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(80, 149, 207, 0.28);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.34);
  color: #ecfbff;
  font: 800 12px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.active-signal-action small {
  display: block;
  margin-top: 3px;
  color: rgba(205, 226, 245, 0.64);
  font-size: 10px;
  font-weight: 700;
}

.active-signal-action--secondary {
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 88px;
}

.active-signal-action--share {
  border-color: rgba(48, 221, 237, 0.56);
  background: linear-gradient(135deg, rgba(111, 246, 218, 0.95), rgba(42, 198, 242, 0.95));
  color: #041322;
}

.active-signal-action svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.active-signal-action:hover {
  border-color: rgba(61, 213, 245, 0.56);
  background: rgba(61, 213, 245, 0.1);
}

.active-signal-action--share:hover {
  border-color: rgba(128, 250, 233, 0.8);
  background: linear-gradient(135deg, rgba(135, 255, 235, 1), rgba(52, 215, 250, 1));
}

.signal-view-modified {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(244, 214, 77, 0.34);
  border-radius: 999px;
  color: #f4d64d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.view-filter-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.view-filter-summary span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(61, 213, 245, 0.22);
  border-radius: 999px;
  background: rgba(61, 213, 245, 0.07);
  color: rgba(223, 248, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.active-signal-pro-unlock {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(61, 213, 245, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 50%, rgba(45, 230, 185, 0.10), transparent 30%),
    linear-gradient(135deg, rgba(3, 22, 37, 0.68), rgba(1, 10, 22, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.active-signal-pro-unlock[hidden] {
  display: none;
}

.active-signal-pro-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.active-signal-pro-copy div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.active-signal-pro-lock {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(61, 213, 245, 0.24);
  border-radius: 8px;
  background: rgba(61, 213, 245, 0.08);
  color: #7df8f0;
}

.active-signal-pro-lock svg {
  width: 15px;
  height: 15px;
}

.active-signal-pro-unlock strong {
  color: #f5fbff;
  font-size: 13px;
  line-height: 1.2;
}

.active-signal-pro-unlock span {
  color: rgba(205, 226, 245, 0.72);
  font-size: 12px;
  line-height: 1.3;
}

.active-signal-pro-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.active-signal-pro-cta {
  min-height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(48, 221, 237, 0.58);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(111, 246, 218, 0.95), rgba(42, 198, 242, 0.95));
  color: #041322;
  font: 850 12px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(22, 198, 230, 0.12);
}

.active-signal-pro-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.active-signal-pro-cta:hover {
  border-color: rgba(128, 250, 233, 0.82);
  background: linear-gradient(135deg, rgba(135, 255, 235, 1), rgba(52, 215, 250, 1));
}

.active-signal-pro-pill {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(61, 213, 245, 0.24);
  border-radius: 999px;
  background: rgba(61, 213, 245, 0.07);
  color: #a9fbff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.advanced-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

.advanced-filter-heading strong {
  color: #f3f7ff;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-clear-filters {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.66);
  font: 700 12px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.app-clear-filters:hover {
  color: #35f0de;
}

.app-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  display:none !important;
}

.app-view-tab {
  appearance: none;
  border: 1px solid rgba(80, 149, 207, 0.2);
  background: rgba(1, 10, 22, 0.66);
  color: rgba(232, 237, 247, 0.82);
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  min-width: 86px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: capitalize;
  font-family: Inter;
}

.app-view-tab:hover {
  color: var(--text);
  background: rgba(61, 213, 245, 0.08);
}

.app-view-tab.is-active {
  color: #ecfbff;
  border-color: rgba(61, 213, 245, 0.62);
  background: rgba(61, 213, 245, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 18px rgba(61, 213, 245, 0.08);
}

.app-filters {
  margin-bottom: 0;
  gap: 11px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}

.app-filters label {
  min-width: 0;
  max-width: none;
  color: rgba(232, 237, 247, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  font-weight: 500;
  text-transform: capitalize;
  font-size: 11px;
}

.app-filter-label svg {
  width: 16px;
  height: 16px;
  color: #35f0de;
  flex: 0 0 16px;
}

.app-search-field {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  background: rgba(1, 10, 22, 0.82);
}

.app-search-field:focus-within {
  border-color: rgba(61, 213, 245, 0.64);
  box-shadow: 0 0 0 3px rgba(61, 213, 245, 0.1);
}

.app-search-field svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #35f0de;
}

.app-search-field input {
  margin: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.app-search-field input:focus {
  outline: none;
  box-shadow: none;
}

.app-filters input,
.app-filters select,
.app-mobile-controls input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border-radius: 8px;
  border-color: rgba(80, 149, 207, 0.26);
  background: rgba(1, 10, 22, 0.82);
  color: #f3f7ff;
  font-family: Inter;
}
..app-filters select {
  text-transform:capitalize;
}

.app-filters input:focus,
.app-filters select:focus,
.app-mobile-controls input:focus {
  outline: none;
  border-color: rgba(61, 213, 245, 0.64);
  box-shadow: 0 0 0 3px rgba(61, 213, 245, 0.1);
}

.app-search-field input,
.app-search-field input:focus {
  margin: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.active-filters {
  min-height: 28px;
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(232, 237, 247, 0.78);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
}

.active-filters-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: #35f0de;
  flex: 0 0 18px;
}

.active-filters-icon svg {
  width: 16px;
  height: 16px;
}

.active-filter-chip {
  border: 1px solid rgba(61, 213, 245, 0.32);
  background: rgba(61, 213, 245, 0.08);
  color: #cdeeff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.app-board-main {
  min-width: 0;
}

.app-mobile-controls {
  display: none;
  gap: 8px;
  margin-bottom: 10px;
}

.app-mobile-controls input {
  flex: 1;
}

.app-shortcuts-row {
  display: none;
  gap: 8px;
  margin: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-shortcuts-row::-webkit-scrollbar {
  display: none;
}

.app-shortcut-button,
.home-shortcut-pill {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(61, 213, 245, 0.24);
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.72);
  color: #dff8ff;
  font: 700 12px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.app-shortcut-button svg,
.home-shortcut-pill svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shortcut-button {
  cursor: pointer;
}

.app-shortcut-button.is-active,
.home-shortcut-pill:hover {
  border-color: rgba(61, 213, 245, 0.62);
  background: rgba(61, 213, 245, 0.12);
  color: #ffffff;
}

.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 22, 0.66);
  z-index: 50;
}

.filter-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 360px);
  height: 100%;
  padding: 14px;
  border-left: 1px solid rgba(132, 204, 255, 0.3);
  background: rgba(7, 16, 33, 0.95);
  backdrop-filter: blur(8px);
}

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

.app-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(80, 149, 207, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.44), rgba(3, 14, 28, 0.5)),
    rgba(5, 18, 35, 0.48);
}

.app-filter-range {
  display: none;
}

@media (min-width: 861px) {
  .app-filter-range {
    display: block;
    width: 100%;
    min-height: 18px;
    margin-top: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    accent-color: #35f0de;
  }
}

.app-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-pagination[hidden] {
  display: none;
}

.app-pagination-button {
  appearance: none;
  min-height: 36px;
  min-width: 92px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(61, 213, 245, 0.32);
  background: rgba(3, 14, 28, 0.84);
  color: #ecfbff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.app-pagination-button:hover:not(:disabled) {
  border-color: rgba(61, 213, 245, 0.62);
  background: rgba(61, 213, 245, 0.1);
}

.app-pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.app-pagination-status {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(80, 149, 207, 0.22);
  background: rgba(1, 10, 22, 0.72);
  color: rgba(232, 237, 247, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.app-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid rgba(77, 161, 212, 0.24);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.94)),
    rgba(5, 18, 35, 0.9);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.32);
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
  color: inherit;
}

.narrative-card.card-variant-hero,
.narrative-card.card-variant-compact {
  border-color: rgba(77, 161, 212, 0.24);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.94)),
    rgba(5, 18, 35, 0.9);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.32);
}

.narrative-card.card-variant-hero {
  border-radius: var(--radius-lg);
}

.narrative-card.card-variant-compact {
  padding: 13px;
  gap: 10px;
}

.app-card:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 213, 245, 0.62);
  box-shadow: inset 0 -1px 0 rgba(23, 210, 242, 0.75), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.narrative-card.card-variant-list {
  position: relative;
  display: block;
  min-height: 116px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(80, 149, 207, 0.16);
  border-radius: 0;
  background: rgba(1, 10, 22, 0.2);
  box-shadow: none;
}

.narrative-card.card-variant-list:last-child {
  border-bottom: 0;
}

.narrative-card.card-variant-list:hover {
  transform: none;
  background:
    linear-gradient(90deg, rgba(61, 213, 245, 0.08), rgba(1, 10, 22, 0.12));
  box-shadow: inset 3px 0 0 rgba(61, 213, 245, 0.7);
}

.narrative-list-link {
  min-height: 116px;
  display: grid;
  grid-template-columns: 50px minmax(220px, 1.42fr) minmax(118px, 0.42fr) minmax(230px, 0.74fr);
  gap: 14px;
  align-items: center;
  padding: 14px 52px 14px 14px;
  color: inherit;
}

.narrative-list-tile {
  --category-accent: #35f0de;
  --category-bg: rgba(61, 213, 245, 0.14);
  --category-border: rgba(61, 213, 245, 0.30);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--category-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 25%, var(--category-bg), transparent 62%),
    rgba(3, 18, 36, 0.82);
  color: var(--category-accent);
  box-shadow:
    inset 0 0 18px color-mix(in srgb, var(--category-accent) 10%, transparent),
    0 0 20px color-mix(in srgb, var(--category-accent) 12%, transparent);
}

.narrative-list-tile svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.narrative-list-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.narrative-list-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.narrative-list-title-row .badge {
  flex: 0 0 auto;
  text-transform: none;
}

.pro-lock-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(61, 213, 245, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(61, 213, 245, 0.16), rgba(112, 103, 255, 0.12)),
    rgba(2, 12, 24, 0.78);
  color: #9af7ff;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 0 18px rgba(61, 213, 245, 0.08);
}

.pro-lock-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7df8f0;
}

.pro-lock-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.narrative-card.is-locked {
  border-color: rgba(61, 213, 245, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 213, 245, 0.08), transparent 34%),
    rgba(1, 10, 22, 0.72);
}

.narrative-card.card-variant-list.is-locked {
  background:
    linear-gradient(90deg, rgba(61, 213, 245, 0.055), rgba(1, 10, 22, 0.18));
}

.locked-narrative-card-note {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(61, 213, 245, 0.18);
  border-radius: 8px;
  background: rgba(61, 213, 245, 0.07);
  color: rgba(205, 226, 245, 0.72);
  font-size: 11px;
  line-height: 1.2;
}

.locked-narrative-card-note strong {
  color: rgba(242, 253, 255, 0.92);
  font-weight: 800;
}

.narrative-list-title-row .card-title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: #f6fbff;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-variant-list .card-description {
  max-width: 100%;
  color: rgba(205, 226, 245, 0.72);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.narrative-list-metrics {
  gap: 12px;
  color: rgba(232, 237, 247, 0.7);
  font-size: 11px;
  align-items: center;
}

.narrative-list-metrics span,
.narrative-list-metrics .signal-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.narrative-list-metrics svg,
.narrative-list-metrics .signal-item svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: #9bc7dc;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.narrative-list-metrics .token-status {
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.68);
  font-size: 11px;
  font-weight: 700;
}

.narrative-list-badges {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 7px;
  align-content: center;
}

.momentum-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.momentum-badge--rising {
  border: 1px solid rgba(36, 240, 199, 0.32);
  background: rgba(36, 240, 199, 0.13);
  color: #24f0c7;
}

.momentum-badge--stable {
  border: 1px solid rgba(132, 204, 255, 0.24);
  background: rgba(132, 204, 255, 0.1);
  color: rgba(218, 230, 246, 0.84);
}

.momentum-badge--slowing {
  border: 1px solid rgba(255, 105, 105, 0.3);
  background: rgba(255, 105, 105, 0.12);
  color: #ff9f9f;
}

.narrative-category-badge {
  --category-accent: #35f0de;
  --category-bg: rgba(61, 213, 245, 0.10);
  --category-border: rgba(61, 213, 245, 0.34);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: var(--category-border);
  color: color-mix(in srgb, var(--category-accent) 88%, #ffffff);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--category-accent) 10%, transparent), rgba(4, 15, 28, 0.22)),
    var(--category-bg);
  white-space: nowrap;
}

.narrative-category-badge svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: var(--category-accent);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.narrative-trait-badge {
  border-color: rgba(34, 211, 238, 0.42);
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.10);
  white-space: nowrap;
  min-height:23px;
}

.narrative-list-metrics-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid rgba(80, 149, 207, 0.16);
}

.narrative-list-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(74px, 1fr));
  gap: 12px;
}

.narrative-list-score {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: start;
}

.narrative-list-score span {
  color: rgba(185, 221, 255, 0.62);
  font-size: 11px;
  line-height: 1.1;
}

.narrative-list-score strong {
  color: #effcff;
  font-size: 15px;
  line-height: 1;
}

.narrative-list-score-track {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(80, 149, 207, 0.16);
}

.narrative-list-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #19f0e6, #45ccf3);
}

.narrative-list-seen {
  display: flex;
  gap: 9px;
  color: rgba(185, 221, 255, 0.62);
  font-size: 11px;
}

.narrative-list-seen strong {
  margin-left: 4px;
  color: rgba(232, 237, 247, 0.82);
  font-weight: 700;
}

.narrative-list-save {
  top: 50%;
  right: 14px;
  bottom: auto;
  transform: translateY(-50%);
}

.narrative-card.card-variant-list:hover .narrative-list-save {
  border-color: rgba(61, 213, 245, 0.42);
}

.refine-feed-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.46);
}

.refine-feed-status-count {
  color: #f6fbff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

.refine-feed-status-copy {
  display: grid;
  gap: 4px;
  color: rgba(185, 221, 255, 0.64);
  font-size: 12px;
}

.refine-feed-status-copy strong {
  color: rgba(232, 237, 247, 0.86);
  font-size: 12px;
}

.refine-feed-status-copy span::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 999px;
  background: #24f0c7;
  box-shadow: 0 0 12px rgba(36, 240, 199, 0.72);
}

@media (min-width: 861px) {
  .app-board-head {
    margin-bottom: 14px;
  }

  .app-board-head .eyebrow {
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(61, 213, 245, 0.22);
    border-radius: 6px;
    background: rgba(61, 213, 245, 0.08);
    color: #a9fbff;
  }

  .app-board-head .panel-title {
    margin-top: 12px;
    color: #f5fbff;
    font-size: clamp(31px, 2.5vw, 42px);
  }

  .app-pro-banner {
    min-height: 0;
    margin: 0 0 16px;
    padding: 10px 14px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    border-color: rgba(80, 149, 207, 0.22);
    background:
      radial-gradient(circle at 8% 40%, rgba(45, 230, 185, 0.12), transparent 28%),
      linear-gradient(135deg, rgba(4, 24, 35, 0.82), rgba(4, 13, 28, 0.88));
  }

  .app-pro-banner .home-pro-status-mark,
  .app-pro-banner .home-pro-emblem {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .app-pro-banner .home-pro-status-mark span,
  .app-pro-banner .home-pro-crown {
    padding: 3px 6px;
    font-size: 10px;
  }

  .app-pro-banner .home-pro-status-copy,
  .app-pro-banner .home-pro-copy {
    min-width: 0;
  }

  .app-pro-banner .home-pro-status-copy .eyebrow,
  .app-pro-banner .home-pro-copy .eyebrow {
    margin: 0;
    font-size: 10px;
  }

  .app-pro-banner .home-pro-status-copy h2,
  .app-pro-banner .home-pro-copy h2 {
    margin: 2px 0 0;
    font-size: 15px;
    line-height: 1.2;
  }

  .app-pro-banner .home-pro-status-copy p,
  .app-pro-banner .home-pro-copy p {
    display: none;
  }

  .app-pro-banner .home-pro-compare,
  .app-pro-banner .home-pro-price {
    display: none;
  }

  .app-pro-banner .home-pro-status-cta,
  .app-pro-banner .home-pro-cta {
    min-height: 34px;
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
  }

  .signal-views-panel {
    margin-bottom: 12px;
    padding: 14px;
    border-color: rgba(80, 149, 207, 0.28);
    background:
      radial-gradient(circle at 8% 0%, rgba(61, 213, 245, 0.12), transparent 30%),
      linear-gradient(180deg, rgba(6, 21, 40, 0.9), rgba(3, 13, 27, 0.72));
  }

  .signal-views-head {
    align-items: center;
    margin-bottom: 12px;
  }

  .signal-views-head .eyebrow {
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(61, 213, 245, 0.1);
  }

  .signal-views-head h1 {
    color: #f5fbff;
    font-size: 18px;
    font-weight: 850;
  }

  .signal-view-grid {
    gap: 10px;
  }

  .signal-view-card {
    min-height: 118px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-color: rgba(80, 149, 207, 0.24);
    background:
      linear-gradient(180deg, rgba(6, 22, 42, 0.86), rgba(2, 11, 24, 0.84));
  }

  .signal-view-card.is-active {
    border-color: rgba(27, 238, 226, 0.82);
    background:
      radial-gradient(circle at 20% 20%, rgba(27, 238, 226, 0.2), transparent 44%),
      linear-gradient(180deg, rgba(8, 52, 69, 0.86), rgba(3, 19, 35, 0.9));
    box-shadow: 0 0 0 1px rgba(27, 238, 226, 0.22), 0 18px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .signal-view-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: rgba(61, 213, 245, 0.12);
  }

  .signal-view-card-icon svg {
    width: 23px;
    height: 23px;
  }

  .signal-view-card-copy {
    gap: 7px;
    padding-top: 1px;
  }

  .signal-view-card-copy strong {
    font-size: 15px;
  }

  .signal-view-card-copy span {
    font-size: 13px;
    line-height: 1.42;
  }

  .active-signal-view {
    min-height: 136px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, auto);
    gap: 22px;
    margin-bottom: 12px;
    padding: 18px 22px;
    border-color: rgba(61, 213, 245, 0.26);
    background:
      radial-gradient(circle at 8% 10%, rgba(33, 231, 193, 0.2), transparent 34%),
      linear-gradient(135deg, rgba(5, 48, 54, 0.72), rgba(4, 16, 33, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .active-signal-view-copy {
    display: grid;
    align-content: center;
    gap: 8px;
    min-width: 0;
  }

  .active-signal-view-copy .eyebrow {
    color: #24f0c7;
  }

  .active-signal-view-copy h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 30px;
  }

  .active-signal-view-copy p {
    max-width: 640px;
    font-size: 14px;
    line-height: 1.45;
  }

  .active-signal-view-meta {
    min-width: 360px;
  }

  .active-signal-count strong {
    font-size: 30px;
  }

  .view-filter-summary {
    justify-content: flex-start;
  }

  .view-filter-summary span,
  .active-filter-chip {
    min-height: 26px;
    border-radius: 8px;
    background: rgba(1, 10, 22, 0.38);
  }

  .app-view-tabs {
    margin: 0 0 8px;
    padding: 0 2px;
  }

  .app-card-grid {
    border-color: rgba(80, 149, 207, 0.24);
    background:
      linear-gradient(180deg, rgba(5, 22, 43, 0.6), rgba(3, 14, 28, 0.68)),
      rgba(5, 18, 35, 0.56);
  }

  .narrative-card.card-variant-list {
    min-height: 132px;
    background: rgba(1, 10, 22, 0.26);
  }

  .narrative-list-link {
    min-height: 132px;
    grid-template-columns: 58px minmax(240px, 1.5fr) minmax(70px, 0.32fr) minmax(252px, 0.78fr);
    gap: 16px;
    padding: 16px 70px 16px 16px;
  }

  .narrative-list-tile {
    width: 58px;
    height: 58px;
    border-color: rgba(61, 213, 245, 0.34);
    background:
      radial-gradient(circle at 38% 30%, rgba(61, 213, 245, 0.24), transparent 58%),
      linear-gradient(180deg, rgba(7, 40, 57, 0.86), rgba(3, 18, 36, 0.9));
    box-shadow: inset 0 0 0 1px rgba(61, 213, 245, 0.06), 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .narrative-list-tile svg {
    width: 28px;
    height: 28px;
  }

  .narrative-list-copy {
    gap: 7px;
  }

  .narrative-list-title-row {
    align-items: center;
    flex-wrap: wrap;
  }

  .narrative-list-title-row .card-title {
    font-size: 17px;
    font-weight: 850;
  }

  .card-variant-list .card-description {
    font-size: 13px;
    line-height: 1.42;
  }

  .narrative-list-metrics {
    gap: 15px;
    font-size: 12px;
    font-weight: 700;
  }

  .narrative-list-badges {
    align-content: center;
    gap: 8px;
  }

  .narrative-list-badges .stage-badge,
  .narrative-list-badges .badge,
  .narrative-list-badges .momentum-badge {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
  }

  .narrative-list-metrics-panel {
    gap: 11px;
    padding-left: 18px;
  }

  .narrative-list-scores {
    grid-template-columns: repeat(2, minmax(78px, 1fr));
    gap: 14px;
  }

  .narrative-list-score strong {
    font-size: 17px;
  }

  .narrative-list-score-track {
    height: 5px;
  }

  .narrative-list-seen {
    
    gap: 12px;
    font-size: 12px;
  }

  .narrative-list-save {
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .app-filter-sidebar {
    padding: 16px;
    border-color: rgba(80, 149, 207, 0.28);
    background:
      radial-gradient(circle at 18% 0%, rgba(61, 213, 245, 0.12), transparent 32%),
      linear-gradient(180deg, rgba(6, 23, 43, 0.94), rgba(3, 13, 27, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.16);
  }

  .advanced-filter-heading {
    margin-bottom: 14px;
  }

  .app-filters {
    gap: 13px;
  }

  .app-filter-label {
    color: rgba(185, 221, 255, 0.76);
    font-size: 11px;
    font-weight: 750;
  }

  .app-search-field,
  .app-filters input,
  .app-filters select {
    min-height: 44px;
    border-color: rgba(80, 149, 207, 0.28);
    background: rgba(1, 10, 22, 0.72);
  }

  .checkbox-filter {
    min-height: 34px;
    align-items: center;
  }

  .refine-feed-status {
    margin-top: 18px;
    padding: 16px;
    border-color: rgba(80, 149, 207, 0.26);
    background:
      radial-gradient(circle at 0% 0%, rgba(61, 213, 245, 0.12), transparent 40%),
      rgba(1, 10, 22, 0.58);
  }

  .refine-feed-status-count {
    font-size: 30px;
  }
}

.save-upgrade-modal {
  align-items: center;
  background: rgba(2, 8, 18, 0.72);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.save-upgrade-modal[hidden] {
  display: none;
}

.save-upgrade-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  max-width: 420px;
  padding: 22px;
  position: relative;
  width: min(100%, 420px);
}

.save-upgrade-panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 16px;
}

.save-upgrade-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 10px;
}

.account-page {
  display: grid;
  gap: 14px;
}

.account-panel {
  display: grid;
  gap: 16px;
  border-color: rgba(80, 149, 207, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.88), rgba(3, 14, 28, 0.9)),
    rgba(5, 18, 35, 0.9);
}

.account-shell-panel {
  padding: 18px;
}

.account-head,
.account-section-head,
.detail-head-actions {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.detail-head-actions {
  justify-content: flex-start;
  width: 100%;
}

.detail-action-icon {
  position: static;
  right: auto;
  bottom: auto;
  width: auto;
  min-width: 32px;
  gap: 7px;
  padding: 0 10px;
  text-decoration: none;
}

.detail-head-actions > * {
  flex: 1 1 0;
  justify-content: center;
}

.detail-action-icon svg {
  flex: 0 0 17px;
}

.detail-save-label,
.detail-share-label {
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.account-section-head p {
  color: rgba(202, 218, 243, 0.84);
  margin: 6px 0 0;
}

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

.account-summary-card {
  min-height: 138px;
  padding: 20px;
  border: 1px solid rgba(80, 149, 207, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 213, 245, 0.08), transparent 42%),
    rgba(2, 13, 29, 0.58);
}

.account-status-grid .account-summary-card:last-of-type {
  display:none !important;
}

.account-summary-card .k {
  color: #f5f8ff;
  font-size: 15px;
  font-weight: 800;
}

.account-summary-card .small {
  margin-top: 10px;
  color: rgba(202, 218, 243, 0.78);
  line-height: 1.5;
}

.account-card-topline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.account-connection-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(232, 237, 247, 0.64);
  font-size: 12px;
}

.account-connection-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(232, 237, 247, 0.36);
}

.account-connection-state.is-connected::before {
  background: #4df3b7;
  box-shadow: 0 0 12px rgba(77, 243, 183, 0.46);
}

.account-wallet-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.account-wallet-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(132, 95, 255, 0.58);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 39%, rgba(61, 213, 245, 0.8) 40% 60%, transparent 61%),
    linear-gradient(0deg, transparent 39%, rgba(118, 94, 255, 0.9) 40% 60%, transparent 61%),
    radial-gradient(circle, rgba(61, 213, 245, 0.84), rgba(91, 56, 210, 0.78));
  box-shadow: 0 0 24px rgba(117, 77, 255, 0.22);
}

.account-card-button {
  margin-top: 18px;
}

.account-wallet {
  overflow-wrap: anywhere;
}

.account-upgrade-panel {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(260px, 0.95fr) minmax(300px, 1.25fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(153, 78, 255, 0.72);
  border-radius: 12px;
  background:
    radial-gradient(circle at 4% 0%, rgba(125, 68, 255, 0.2), transparent 28%),
    radial-gradient(circle at 94% 0%, rgba(61, 213, 245, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(6, 18, 45, 0.94), rgba(2, 11, 27, 0.96));
  box-shadow: 0 0 34px rgba(126, 67, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.account-upgrade-panel[hidden] {
  display: none;
}

.account-upgrade-panel--coming-soon {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.account-upgrade-panel--coming-soon .account-upgrade-hero {
  width: 76px;
  border-radius: 16px;
}

.account-upgrade-panel--coming-soon .account-upgrade-copy .panel-title {
  font-size: 24px;
}

.account-upgrade-panel--coming-soon .account-upgrade-copy p {
  max-width: 680px;
  margin: 8px 0 0;
}

.account-upgrade-hero {
  width: 100px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(153, 78, 255, 0.72);
  border-radius: 20px;
  background: radial-gradient(circle, rgba(61, 213, 245, 0.16), rgba(89, 42, 177, 0.18));
}

.account-upgrade-hero span {
  padding: 7px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #8c5cff, #39d7f2);
  color: #061326;
  font-size: 12px;
  font-weight: 900;
}

.account-upgrade-copy {
  min-width: 0;
}

.account-upgrade-copy .panel-title {
  font-size: 26px;
  line-height: 1.1;
}

.account-upgrade-price {
  margin-top: 8px;
  color: #35f0de;
  font-size: 24px;
  font-weight: 900;
}

.account-upgrade-copy p,
.account-upgrade-instructions p {
  color: rgba(202, 218, 243, 0.84);
  line-height: 1.55;
}

.account-upgrade-benefits,
.account-upgrade-instructions {
  min-height: 100%;
  padding-left: 24px;
  border-left: 1px solid rgba(80, 149, 207, 0.2);
}

.account-upgrade-title {
  margin-bottom: 14px;
  color: #f7fbff;
  font-size: 15px;
  font-weight: 850;
}

.account-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 13px;
  color: rgba(202, 218, 243, 0.9);
  font-size: 13px;
}

.account-benefit span {
  color: #35f0de;
  font-weight: 900;
}

.account-upgrade-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-upgrade-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.account-upgrade-steps li > span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(80, 149, 207, 0.36);
  border-radius: 50%;
  color: rgba(232, 237, 247, 0.8);
  font-size: 12px;
}

.account-payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}

.account-payment-row input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.82);
  color: #f3f7ff;
  font-family: Inter;
  font-size: 13px;
  text-overflow: ellipsis;
}

.account-referral-code-field {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  color: rgba(202, 218, 243, 0.82);
  font-size: 12px;
  font-weight: 750;
}

.account-referral-code-field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.82);
  color: #f3f7ff;
  font-family: Inter;
}

.account-check-status {
  margin-top: 8px;
}

.account-check-message {
  min-height: 18px;
  margin-top: 8px;
  color: #35f0de;
}

.account-payment-note {
  margin-top: 16px;
}

.account-upgrade-panel--renew {
  grid-template-columns: 86px minmax(0, 1fr) minmax(220px, 0.78fr) minmax(280px, 1.05fr);
  gap: 16px;
  padding: 20px;
}

.account-upgrade-panel--renew .account-upgrade-hero {
  width: 74px;
  border-radius: 14px;
}

.account-upgrade-panel--renew .account-upgrade-copy .panel-title {
  font-size: 22px;
}

.account-upgrade-panel--renew .account-upgrade-price {
  margin-top: 5px;
  font-size: 20px;
}

.account-upgrade-panel--renew .account-upgrade-copy p,
.account-upgrade-panel--renew .account-upgrade-instructions p {
  margin: 8px 0;
  line-height: 1.4;
}

.account-upgrade-panel--renew .account-upgrade-benefits,
.account-upgrade-panel--renew .account-upgrade-instructions {
  padding-left: 16px;
}

.account-upgrade-panel--renew .account-upgrade-title {
  margin-bottom: 9px;
}

.account-upgrade-panel--renew .account-benefit {
  margin-bottom: 8px;
}

.account-upgrade-panel--renew .account-upgrade-steps {
  gap: 10px;
}

.account-upgrade-panel--renew .account-payment-note {
  margin-top: 10px;
}

.account-payment-history {
  margin-top: 14px;
}

.account-payment-history-list {
  display: grid;
  gap: 10px;
}

.account-payment-history-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(130px, 0.8fr) minmax(170px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(118, 247, 231, 0.13);
  border-radius: 12px;
  background: rgba(5, 17, 31, 0.78);
}

.account-payment-history-tx {
  color: var(--accent-cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.84rem;
}

.account-connect-panel {
  padding: 16px;
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 10px;
  background: rgba(1, 10, 22, 0.54);
}

.account-connect-panel p {
  margin: 0 0 14px;
}

.account-action-panel {
  padding: 20px;
}

.account-section-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.account-section-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 54px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 10px;
}

.account-section-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
}

.account-section-icon--purple {
  color: #c89cff;
  background: rgba(125, 68, 255, 0.18);
}

.account-section-icon--cyan {
  color: #a8fff3;
  background: rgba(23, 210, 242, 0.14);
}

.account-section-icon--teal {
  color: #d4fff8;
  background: rgba(22, 178, 171, 0.16);
}

.account-section-actions,
.account-section-button {
  flex: 0 0 auto;
}

.account-locked-state {
  margin-top: 12px;
  background: rgba(132, 204, 255, 0.06);
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 10px;
  padding: 18px;
}

.account-locked-state p {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 14px;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-narrative-row {
  align-items: center;
  background: rgba(1, 10, 22, 0.54);
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 8px;
  color: inherit;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
  text-decoration: none;
}

.account-narrative-row:hover {
  border-color: rgba(61, 213, 245, 0.5);
}

.account-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.account-empty-state {
  margin-top: 12px;
}

.account-saved-content.app-card-grid {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .account-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-upgrade-panel {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .account-upgrade-benefits,
  .account-upgrade-instructions {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(80, 149, 207, 0.2);
    padding-top: 18px;
  }

  .account-upgrade-panel--renew {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .account-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .account-upgrade-panel {
    grid-template-columns: 1fr;
  }

  .account-upgrade-panel--renew {
    gap: 12px;
    padding: 16px;
  }

  .account-upgrade-panel--renew .account-upgrade-hero {
    display: none;
  }

  .account-head,
  .account-section-head,
  .detail-head-actions,
  .account-narrative-row {
    align-items: stretch;
    flex-direction: column;
  }

  .account-section-copy {
    align-items: flex-start;
  }

  .account-summary-card {
    min-height: 0;
    padding: 12px;
    border-radius: 8px;
  }

  .account-summary-card .k {
    font-size: 11px;
    line-height: 1.15;
    color: rgba(185, 221, 255, 0.7);
    text-transform: uppercase;
  }

  .account-summary-card .v-text {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.2;
  }

  .account-summary-card .small {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.25;
  }

  .account-card-topline {
    display: grid;
    gap: 5px;
    align-items: start;
    justify-content: start;
  }

  .account-connection-state {
    gap: 5px;
    font-size: 11px;
  }

  .account-wallet-row {
    gap: 8px;
    margin-top: 8px;
  }

  .account-wallet-avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .account-summary-card--wallet .small {
    display: none;
  }

  .account-card-button {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .account-shell-panel {
    padding: 14px;
  }

  .account-status-grid {
    grid-template-columns: 1fr;
  }

  .account-upgrade-panel {
    padding: 18px;
  }

  .account-upgrade-panel--renew {
    padding: 14px;
  }

  .account-payment-row {
    grid-template-columns: 1fr;
  }

  .account-payment-history-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.referrals-page {
  display: grid;
  gap: 16px;
}
#show-possible-spam-toggle {
  width: 15px;
    height: 15px;
    min-height: 15px;
}
#show-possible-spam-toggle span {
      font-weight: 500;
    text-transform: capitalize;
    font-size: 11px;
}
.referrals-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border-color: rgba(80, 149, 207, 0.24);
  background:
    radial-gradient(circle at 4% 0%, rgba(61, 213, 245, 0.14), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(153, 78, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(5, 22, 43, 0.9), rgba(3, 14, 28, 0.93));
}

.referrals-hero-copy {
  min-width: 0;
}

.referrals-hero h1 {
  max-width: 860px;
  margin: 12px 0 14px;
  color: #f5f8ff;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.referrals-hero p {
  max-width: 760px;
  color: rgba(202, 218, 243, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

.referrals-hero-action {
  margin-top: 22px;
}

.referrals-link-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(153, 78, 255, 0.48);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(153, 78, 255, 0.2), transparent 45%),
    rgba(1, 10, 22, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.referrals-card-kicker {
  color: #35f0de;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referral-field {
  display: grid;
  gap: 7px;
}

.referral-field span {
  color: rgba(202, 218, 243, 0.78);
  font-size: 12px;
  font-weight: 750;
}

.referral-field div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.referral-field input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(80, 149, 207, 0.26);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.82);
  color: #f3f7ff;
  font-family: Inter;
  text-overflow: ellipsis;
}

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

.referrals-dashboard[hidden] {
  display: none;
}

.referral-stat-card,
.referral-step-card {
  padding: 18px;
  border: 1px solid rgba(80, 149, 207, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 0%, rgba(61, 213, 245, 0.08), transparent 42%),
    rgba(2, 13, 29, 0.66);
}

.referral-stat-card .k {
  color: rgba(202, 218, 243, 0.7);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.referral-stat-card .v-text {
  margin-top: 10px;
  color: #f5f8ff;
  font-size: 20px;
  font-weight: 850;
}

.referrals-table-panel {
  padding: 20px;
  border-color: rgba(80, 149, 207, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.88), rgba(3, 14, 28, 0.9)),
    rgba(5, 18, 35, 0.9);
}

.referral-table {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(80, 149, 207, 0.2);
  border-radius: 10px;
}

.referral-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid rgba(80, 149, 207, 0.14);
  color: rgba(232, 237, 247, 0.82);
  font-size: 13px;
}

.referral-table-row:first-child {
  border-top: 0;
}

.referral-table-head {
  color: rgba(202, 218, 243, 0.64);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(1, 10, 22, 0.5);
}

.referral-empty-state {
  margin-top: 12px;
}

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

.referral-step-card span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(61, 213, 245, 0.46);
  border-radius: 50%;
  color: #35f0de;
  font-size: 13px;
  font-weight: 900;
}

.referral-step-card strong {
  display: block;
  color: #f5f8ff;
  font-size: 15px;
}

.referral-step-card p {
  margin: 8px 0 0;
  color: rgba(202, 218, 243, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .referrals-hero,
  .referrals-dashboard,
  .referrals-mechanics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral-table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .referrals-hero,
  .referrals-dashboard,
  .referrals-mechanics {
    grid-template-columns: 1fr;
  }

  .referrals-hero {
    padding: 20px;
  }

  .referral-field div {
    grid-template-columns: 1fr;
  }

  .referral-table-head {
    display: none;
  }

  .referral-table-row {
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
  }
}

.referrals-page {
  gap: 18px;
}

.referrals-hero {
  position: relative;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.1fr) minmax(330px, 0.8fr);
  min-height: 330px;
  padding: 36px;
  overflow: hidden;
  border-color: rgba(153, 78, 255, 0.48);
  background:
    radial-gradient(circle at 16% 18%, rgba(153, 78, 255, 0.34), transparent 32%),
    radial-gradient(circle at 74% 14%, rgba(61, 213, 245, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(18, 14, 54, 0.96), rgba(3, 16, 34, 0.96) 58%, rgba(2, 10, 22, 0.98));
  box-shadow: 0 0 40px rgba(126, 67, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.referrals-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 28% 30%, black, transparent 62%);
  pointer-events: none;
}

.referrals-hero > * {
  position: relative;
  z-index: 1;
}

.referrals-hero-visual {
  min-height: 250px;
  display: grid;
  place-items: center;
}

.referrals-hero-image {
  width: min(100%, 340px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(199, 146, 255, 0.26);
  border-radius: 24px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(153, 78, 255, 0.18);
}

.referrals-gift {
  position: relative;
  width: 170px;
  height: 150px;
  transform: perspective(560px) rotateX(58deg) rotateZ(-38deg);
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.34));
}

.referrals-gift-box {
  position: absolute;
  inset: 38px 18px 8px;
  border: 1px solid rgba(199, 146, 255, 0.78);
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(216, 180, 255, 0.9) 43% 57%, transparent 58%),
    linear-gradient(180deg, rgba(182, 93, 255, 0.98), rgba(93, 45, 218, 0.95));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.12), 0 0 32px rgba(153, 78, 255, 0.34);
}

.referrals-gift-bow {
  position: absolute;
  left: 54px;
  top: 8px;
  width: 62px;
  height: 52px;
  border-radius: 50% 50% 10px 10px;
  border: 12px solid rgba(169, 87, 255, 0.96);
  box-shadow: 0 0 26px rgba(153, 78, 255, 0.34);
}

.referrals-gift-bow::after {
  content: "";
  position: absolute;
  left: 19px;
  top: -18px;
  width: 12px;
  height: 82px;
  border-radius: 999px;
  background: rgba(216, 180, 255, 0.9);
}

.referrals-coin,
.referrals-spark {
  position: absolute;
  display: grid;
  place-items: center;
}

.referrals-coin {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(199, 146, 255, 0.76);
  background: radial-gradient(circle at 35% 28%, #b98cff, #4c1e9b 72%);
  color: #e7d8ff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(153, 78, 255, 0.36);
}

.referrals-coin--one {
  left: 44px;
  top: 52px;
}

.referrals-coin--two {
  right: 38px;
  top: 44px;
}

.referrals-spark {
  width: 34px;
  height: 34px;
  color: #d8b4ff;
}

.referrals-spark::before,
.referrals-spark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px rgba(216, 180, 255, 0.68);
}

.referrals-spark::before {
  width: 5px;
  height: 34px;
}

.referrals-spark::after {
  width: 34px;
  height: 5px;
}

.referrals-spark--one {
  left: 75px;
  top: 28px;
  transform: rotate(45deg);
}

.referrals-spark--two {
  right: 64px;
  bottom: 76px;
  transform: rotate(45deg);
}

.referrals-hero-copy {
  align-self: center;
}

.referrals-hero .eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(61, 213, 245, 0.24);
  border-radius: 999px;
  background: rgba(61, 213, 245, 0.08);
  color: #35f0de;
}

.referrals-hero h1 {
  max-width: 650px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
}

.referrals-hero h1::first-line {
  color: #f5f8ff;
}

.referrals-hero h1 span {
  color: #35f0de;
}

.referrals-payout-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(202, 218, 243, 0.82);
  font-size: 13px;
}

.referrals-payout-note span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(80, 149, 207, 0.36);
  border-radius: 50%;
  color: #35f0de;
  font-size: 11px;
}

.referrals-hero-action {
  display: none;
}

.referrals-link-card {
  align-self: center;
  gap: 16px;
  min-height: 230px;
  border-color: rgba(80, 149, 207, 0.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 213, 245, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(5, 22, 43, 0.84), rgba(2, 12, 27, 0.94));
}

.referrals-link-card .panel-title {
  font-size: 17px;
}

.referrals-connect-button {
  width: 100%;
  justify-content: center;
}

.referral-field div {
  grid-template-columns: minmax(0, 1fr) 86px;
}

.referral-field input {
  min-height: 48px;
  border-radius: 9px;
  border-color: rgba(80, 149, 207, 0.3);
  background: rgba(1, 10, 22, 0.68);
  color: #f8fbff;
  font-size: 14px;
  font-weight: 700;
}

.referral-field .button {
  min-height: 48px;
  justify-content: center;
}

.referral-or-divider {
  position: relative;
  height: 18px;
  display: grid;
  place-items: center;
}

.referral-or-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(80, 149, 207, 0.18);
}

.referral-or-divider span {
  position: relative;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(80, 149, 207, 0.28);
  border-radius: 999px;
  background: #061427;
  color: rgba(202, 218, 243, 0.78);
  font-size: 10px;
  font-weight: 850;
}

.referrals-dashboard {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.referral-stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 106px;
  padding: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(61, 213, 245, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(5, 22, 43, 0.9), rgba(3, 14, 28, 0.94));
}

.referral-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 46px;
  border: 1px solid rgba(61, 213, 245, 0.26);
  border-radius: 14px;
  background: rgba(61, 213, 245, 0.1);
  color: #35f0de;
  font-size: 18px;
  font-weight: 950;
}

.referral-stat-card--user .referral-stat-icon {
  border-color: rgba(153, 78, 255, 0.34);
  background: rgba(153, 78, 255, 0.12);
  color: #b98cff;
}

.referral-stat-card--money .referral-stat-icon {
  border-color: rgba(77, 243, 183, 0.34);
  background: rgba(77, 243, 183, 0.12);
  color: #4df3b7;
}

.referral-stat-card--wallet .referral-stat-icon,
.referral-stat-card--calendar .referral-stat-icon {
  border-color: rgba(245, 197, 72, 0.36);
  background: rgba(245, 197, 72, 0.12);
  color: #f5c548;
}

.referral-stat-card .small {
  margin-top: 4px;
  color: rgba(202, 218, 243, 0.66);
  font-size: 12px;
}

.referral-stat-card .v-text {
  margin-top: 5px;
  font-size: 22px;
}

.referrals-table-panel {
  padding: 0;
  overflow: hidden;
}

.referrals-table-panel .account-section-head {
  padding: 20px 22px 0;
}

.referrals-table-panel .panel-title {
  font-size: 18px;
}

#referrals-table {
  padding: 14px;
}

.referral-table {
  border-color: rgba(80, 149, 207, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(61, 213, 245, 0.08), transparent 42%),
    rgba(1, 10, 22, 0.36);
}

.referral-table-row {
  grid-template-columns: 1.15fr 0.9fr 0.9fr 1fr 1fr 0.8fr;
  padding: 14px 20px;
}

.referral-table-head {
  background: rgba(1, 10, 22, 0.62);
}

.referral-empty-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  margin: 0;
  padding: 28px;
  text-align: center;
  color: rgba(202, 218, 243, 0.78);
}

.referral-empty-state strong {
  color: #f5f8ff;
  font-size: 17px;
}

.referral-empty-state p {
  margin: 0;
}

.referral-empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 213, 245, 0.36);
  border-radius: 50%;
  background: rgba(61, 213, 245, 0.08);
  color: #35f0de;
  font-size: 22px;
  font-weight: 900;
}

.referrals-mechanics-panel {
  display: grid;
  gap: 18px;
}

.referrals-mechanics-panel > .panel-title {
  font-size: 18px;
}

.referrals-mechanics {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.referrals-mechanics::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 56px;
  height: 1px;
  border-top: 1px dashed rgba(61, 213, 245, 0.28);
}

.referral-step-card {
  position: relative;
  min-height: 186px;
  padding: 28px 20px 22px;
  text-align: center;
  border-color: rgba(80, 149, 207, 0.24);
}

.referral-step-card > span {
  position: absolute;
  top: -13px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  background: #061427;
}

.referral-step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(61, 213, 245, 0.34);
  border-radius: 50%;
  background: rgba(61, 213, 245, 0.1);
  color: #35f0de;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(61, 213, 245, 0.1);
}

.referral-step-card--gift .referral-step-icon {
  border-color: rgba(153, 78, 255, 0.42);
  background: rgba(153, 78, 255, 0.12);
  color: #c88cff;
}

.referral-step-card--money .referral-step-icon {
  border-color: rgba(77, 243, 183, 0.42);
  background: rgba(77, 243, 183, 0.12);
  color: #4df3b7;
}

.referral-step-card--calendar .referral-step-icon {
  border-color: rgba(245, 197, 72, 0.42);
  background: rgba(245, 197, 72, 0.12);
  color: #f5c548;
}

.referrals-fair-note {
  display: flex;
  justify-content: center;
  color: rgba(202, 218, 243, 0.78);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .referrals-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .referrals-link-card {
    grid-column: 1 / -1;
  }

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

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

  .referrals-mechanics::before {
    display: none;
  }

  .referral-table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .referrals-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .referrals-hero-visual {
    min-height: 170px;
  }

  .referrals-hero-image {
    width: min(100%, 280px);
    border-radius: 18px;
  }

  .referrals-dashboard,
  .referrals-mechanics {
    grid-template-columns: 1fr;
  }

  .referral-field div {
    grid-template-columns: 1fr;
  }

  .referral-table-row {
    grid-template-columns: 1fr;
  }
}

.app-card .card-title {
  margin: 0;
  color: #f5f8ff;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 500;
  padding-right: 34px;
  text-transform:capitalize;
}

.app-card .card-description {
  color: rgba(218, 230, 246, 0.78);
  font-size: 12px;
  line-height: 1.4;
}

.narrative-detail-shell {
  display: grid;
  gap: 16px;
}

.page .narrative-detail-shell {
  /*background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.92), rgba(2, 10, 22, 0.94)),
    rgba(5, 18, 35, 0.9);*/
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 14px;
}

.detail-main-col,
.detail-side-col {
  min-width: 0;
}

.detail-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 4px;
  border-bottom: 1px solid rgba(132, 204, 255, 0.14);
}

.detail-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(232, 237, 247, 0.68);
  border-radius: 0;
  padding: 0 10px 13px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  font-family:Inter;
}

.detail-tab.is-active {
  background: transparent;
  border-color: transparent;
  color: #f7fbff;
}

.detail-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  height: 2px;
  border-radius: 999px;
  background: #31dff5;
  box-shadow: 0 0 14px rgba(49, 223, 245, 0.48);
}

.detail-tab.is-locked {
  color: rgba(232, 237, 247, 0.48);
}

.detail-tab:disabled {
  cursor: default;
  color: rgba(232, 237, 247, 0.38);
}

.pro-locked-tab {
  border-color: rgba(49, 223, 245, 0.28);
  background:
    linear-gradient(135deg, rgba(49, 223, 245, 0.07), rgba(167, 139, 250, 0.05)),
    rgba(3, 14, 28, 0.72);
  box-shadow: none;
  border-radius:0px !important
}
.section-panel.pro-locked-tab .panel-title {
  display:none;
}
.access-note {
  color: rgba(232, 237, 247, 0.72);
  font-size: 13px;
  margin-top: 6px;
}

.detail-tab-section {
  display: none;
  margin-top: 16px;
}

.detail-tab-section.is-active {
  display: block;
}

.narrative-detail-shell .detail-layout {
  display: block;
}

.detail-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}

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

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

.overview-signal-panel {
  display: none;
  gap: 10px;
  padding: 14px;
  border-color: rgba(80, 149, 207, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 22, 43, 0.9), rgba(2, 12, 25, 0.92)),
    rgba(5, 18, 35, 0.9);
  box-shadow: inset 0 1px 0 rgba(132, 204, 255, 0.08);
}

.overview-signal-card,
.overview-copy-card,
.overview-lifecycle-card {
  border-color: rgba(80, 149, 207, 0.2);
  background:
    linear-gradient(180deg, rgba(6, 24, 47, 0.86), rgba(2, 12, 25, 0.9)),
    rgba(5, 18, 35, 0.88);
  box-shadow: inset 0 1px 0 rgba(132, 204, 255, 0.06);
}

.overview-section-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.overview-section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(49, 223, 245, 0.18);
  background: rgba(49, 223, 245, 0.07);
  color: rgba(142, 247, 255, 0.88);
  box-shadow: 0 0 14px rgba(49, 223, 245, 0.08);
}

.overview-section-title-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.overview-signal-card {
    padding: 11px;
    border-radius: 6px;
    background: transparent;
}

.overview-token-card {
  grid-column: 1 / -1;
}

.overview-card-values {
  display: grid;
  gap: 4px;
}

.overview-value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(247, 251, 255, 0.9);
  font-size: 13px;
  line-height: 1.35;
}

.overview-value-line--muted {
  color: rgba(232, 237, 247, 0.62);
  font-size: 12px;
}

.overview-token-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 251, 255, 0.92);
}

.overview-token-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #f4d64d;
}

.overview-token-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

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

.overview-copy-card {
  min-height: 148px;
  padding: 18px;
}

.overview-copy-card .k,
.overview-lifecycle-card .k {
  margin-bottom: 12px;
}

.overview-lifecycle-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

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

.overview-lifecycle-grid div {
min-width: 0;
    padding: 10px;
    border-radius: 6px;
    border: 0;
    background: rgba(1, 10, 22, 0.36);
}

.overview-lifecycle-grid span {
  display: block;
  margin-bottom: 5px;
  color: rgba(232, 237, 247, 0.55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.overview-lifecycle-grid strong {
  display: block;
  color: rgba(247, 251, 255, 0.9);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.detail-preview-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(80, 149, 207, 0.18);
  background: rgba(3, 14, 28, 0.62);
}

.detail-preview-card.is-gated-preview {
  border-color: rgba(49, 223, 245, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 24, 45, 0.78), rgba(3, 14, 28, 0.72)),
    rgba(3, 14, 28, 0.62);
}

.pro-locked-tab {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.locked-preview-controls {
  opacity: 0.52;
  filter: saturate(0.72);
  pointer-events: none;
}

.locked-preview-controls button,
.locked-preview-controls select,
.token-filter-toggle.is-disabled {
  cursor: not-allowed;
}

.locked-preview-controls .token-filter-toggle {
  display: inline-flex;
  opacity: 1;
  min-height: 36px;
  border-color: rgba(132, 204, 255, 0.18);
  background: rgba(1, 10, 22, 0.42);
  color: rgba(232, 237, 247, 0.66);
}

.locked-preview-controls .token-filter-toggle .token-filter-icon {
  opacity: 0.72;
}

.locked-preview-controls .token-filter-toggle .token-filter-label {
  color: inherit;
}

.locked-pro-preview {
  position: relative;
  min-height: 280px;
  margin-top: 12px;
  border: 1px solid rgba(80, 149, 207, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 24, 45, 0.52), rgba(3, 14, 28, 0.64)),
    rgba(3, 14, 28, 0.62);
    max-height:300px;
}

.locked-pro-skeleton {
  padding: 14px;
  opacity: 0.5;
  filter: blur(1.2px) saturate(0.66);
  transform: scale(1.004);
  pointer-events: none;
}

.locked-pro-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(49, 223, 245, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(2, 10, 22, 0.18), rgba(2, 10, 22, 0.76));
  pointer-events: none;
}

.locked-pro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  text-align: center;
}

.locked-pro-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(96, 239, 255, 0.34);
  background: rgba(2, 10, 22, 0.76);
  color: #31dff5;
}

.locked-pro-icon svg {
  width: 20px;
  height: 20px;
}

.locked-pro-copy {
  max-width: 560px;
  display: grid;
  gap: 6px;
}

.locked-pro-title {
  color: rgba(247, 251, 255, 0.96);
  font-size: 17px;
  font-weight: 800;
}

.locked-pro-message {
  color: rgba(232, 237, 247, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.locked-pro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid rgba(96, 239, 255, 0.38);
  background: rgba(49, 223, 245, 0.12);
  color: #eafcff;
  font-size: 13px;
  font-weight: 800;
}

.locked-pro-button:hover {
  border-color: rgba(244, 211, 94, 0.46);
  color: #f4d35e;
}

.locked-skeleton-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.locked-skeleton-card {
  border-color: rgba(80, 149, 207, 0.13);
}

.locked-skeleton-row,
.locked-account-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.locked-skeleton-avatar,
.locked-skeleton-chip,
.locked-skeleton-pill,
.locked-skeleton-stat,
.locked-skeleton-lines i,
.locked-skeleton-metrics i,
.locked-skeleton-chips i {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(132, 204, 255, 0.08), rgba(132, 204, 255, 0.18), rgba(132, 204, 255, 0.08));
}

.locked-skeleton-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.locked-skeleton-lines {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}

.locked-skeleton-lines i {
  height: 10px;
}

.locked-skeleton-lines i:nth-child(2) {
  width: 72%;
}

.locked-skeleton-lines i:nth-child(3) {
  width: 54%;
}

.locked-skeleton-metrics,
.locked-skeleton-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.locked-skeleton-metrics i {
  height: 42px;
  border-radius: 8px;
}

.locked-skeleton-chips i,
.locked-skeleton-chip {
  height: 28px;
  border-radius: 7px;
}

.locked-skeleton-list {
  display: grid;
  gap: 10px;
}

.locked-skeleton-list--posts .overview-post-preview-row,
.locked-account-row {
  padding: 12px;
  border: 1px solid rgba(80, 149, 207, 0.13);
  border-radius: 10px;
  background: rgba(2, 10, 22, 0.44);
}

.locked-skeleton-stat {
  width: 58px;
  height: 30px;
  border-radius: 8px;
}

.locked-thread-groups {
  display: grid;
  gap: 14px;
}

.locked-thread-group {
  padding: 12px;
  border: 1px solid rgba(80, 149, 207, 0.13);
  border-radius: 10px;
  background: rgba(2, 10, 22, 0.36);
}

.locked-thread-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.locked-thread-group-title strong {
  color: rgba(232, 237, 247, 0.5);
  font-size: 12px;
  font-weight: 750;
}

.locked-skeleton-list--threads {
  gap: 8px;
}

.locked-thread-chip {
  min-width: 190px;
  border-color: rgba(80, 149, 207, 0.13);
  background: rgba(1, 10, 22, 0.34);
  color: rgba(232, 237, 247, 0.62);
}

.locked-thread-chip--wide {
  min-width: 260px;
}

.locked-skeleton-pill {
  width: 68px;
  height: 24px;
  border-radius: 999px;
}

.locked-thread-placeholder-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(132, 204, 255, 0.1);
  color: rgba(232, 237, 247, 0.68);
  font-size: 11px;
  font-weight: 750;
}

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

.detail-preview-head .panel-title {
  min-width: 0;
}

.detail-token-preview-list,
.detail-preview-list {
  display: grid;
}

.detail-preview-list {
  gap: 10px;
}

.detail-token-preview-list {
  gap: 10px;
}

.detail-token-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(80, 149, 207, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(13, 29, 48, 0.84), rgba(6, 14, 27, 0.72)),
    rgba(2, 10, 22, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  margin-bottom:10px;
}

.detail-token-preview:first-child {
  border-top: 1px solid rgba(80, 149, 207, 0.12);
}

.detail-token-preview:hover {
  background: rgba(49, 223, 245, 0.035);
}

.detail-token-preview-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-token-preview-copy span,
.detail-post-preview {
  color: rgba(232, 237, 247, 0.74);
  font-size: 12px;
  line-height: 1.45;
}

.detail-token-preview .token-pfp {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 999px;
  border-color: rgba(132, 204, 255, 0.2);
}

.detail-token-preview .token-pfp-fallback {
  color: #31dff5;
  background: rgba(49, 223, 245, 0.09);
}

.overview-token-ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(132, 204, 255, 0.12);
  border-radius: 7px;
  background: rgba(1, 10, 22, 0.34);
  color: rgba(232, 237, 247, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.overview-token-copy {
  border: 0;
  background: transparent;
  color: #31dff5;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  padding: 0;
}

.overview-token-copy:hover {
  color: #f4d35e;
}

.overview-token-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.overview-token-metrics div {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(132, 204, 255, 0.11);
  border-radius: 8px;
  background: rgba(1, 10, 22, 0.28);
}

.overview-token-metrics span {
  display: block;
  color: rgba(232, 237, 247, 0.52);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overview-token-metrics strong {
  display: block;
  margin-top: 2px;
  color: rgba(247, 251, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-token-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  justify-content: center;
}

.overview-token-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(132, 204, 255, 0.22);
  background: rgba(1, 10, 22, 0.42);
  color: rgba(247, 251, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.overview-token-open svg {
  width: 13px;
  height: 13px;
  display: block;
}

.overview-token-debug {
  color: rgba(232, 237, 247, 0.5);
  font-size: 11px;
  line-height: 1.4;
}

.overview-token-open:hover,
.overview-token-cta:hover {
  border-color: rgba(49, 223, 245, 0.52);
  color: #31dff5;
}

.locked-cta-wrap {
  display: inline-grid;
  justify-items: center;
  gap: 5px;
}

.detail-preview-head .locked-cta-wrap {
  flex: 0 0 auto;
}

.locked-cta-wrap--full {
  width: 100%;
}

.locked-upgrade-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(96, 239, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(49, 223, 245, 0.2), rgba(167, 139, 250, 0.16)),
    rgba(5, 18, 35, 0.92);
  color: rgba(247, 251, 255, 0.94);
  font-family: Inter;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 10px 26px rgba(49, 223, 245, 0.1),
    0 0 24px rgba(167, 139, 250, 0.08);
}

.locked-upgrade-cta:hover {
  border-color: rgba(96, 239, 255, 0.52);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 30px rgba(49, 223, 245, 0.14),
    0 0 28px rgba(167, 139, 250, 0.12);
}

.locked-upgrade-cta--inline {
  width: auto;
  min-width: 148px;
  text-decoration: none;
}

.locked-narrative-gate-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 223, 245, 0.12), transparent 34%),
    radial-gradient(circle at 18% 22%, rgba(167, 139, 250, 0.10), transparent 28%),
    #020a16;
}

.locked-narrative-gate {
  min-height: min(720px, calc(100vh - 120px));
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

.locked-narrative-gate-card {
  width: min(680px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(96, 239, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 223, 245, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(8, 24, 45, 0.88), rgba(2, 10, 22, 0.94));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.locked-narrative-gate-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(96, 239, 255, 0.36);
  border-radius: 16px;
  background: rgba(49, 223, 245, 0.10);
  color: #7df8f0;
  box-shadow: 0 0 28px rgba(49, 223, 245, 0.12);
}

.locked-narrative-gate-icon svg {
  width: 25px;
  height: 25px;
}

.locked-narrative-gate-kicker {
  margin: 0;
  color: #8ef7ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locked-narrative-gate-title {
  max-width: 620px;
  margin: 0;
  color: #f7fbff;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

.app-copilot-entry-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 2px;
}

.app-copilot-entry-button--mobile {
  display: none;
}

.locked-narrative-gate-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(232, 237, 247, 0.76);
  font-size: 15px;
  line-height: 1.55;
}

.locked-narrative-gate-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.locked-narrative-gate-meta span,
.locked-countdown {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(96, 239, 255, 0.18);
  border-radius: 999px;
  background: rgba(96, 239, 255, 0.07);
  color: rgba(236, 250, 255, 0.84);
  font-size: 12px;
  font-weight: 750;
}

.locked-countdown {
  border-color: rgba(96, 239, 255, 0.28);
  color: #b9fbff;
}

.locked-narrative-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.locked-narrative-back {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(148, 177, 203, 0.22);
  border-radius: 8px;
  background: rgba(6, 18, 32, 0.72);
  color: rgba(232, 237, 247, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.locked-narrative-back:hover {
  border-color: rgba(96, 239, 255, 0.34);
  color: #fff;
}

.locked-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: rgba(142, 247, 255, 0.96);
}

.locked-cta-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.locked-cta-helper {
  color: rgba(232, 237, 247, 0.54);
  font-size: 11px;
  line-height: 1.2;
}

.locked-cta-helper::after {
  content: "Pro";
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid rgba(49, 223, 245, 0.22);
  background: rgba(49, 223, 245, 0.07);
  color: rgba(142, 247, 255, 0.82);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-fade-frame {
  position: relative;
}

.is-gated-preview .preview-fade-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 14, 28, 0), rgba(3, 14, 28, 0.82));
}

.overview-token-cta {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid rgba(132, 204, 255, 0.22);
  cursor: pointer;
  font-weight: 400;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    font-family: 'Inter';
    letter-spacing: 0.2px;
    border-color: rgba(96, 239, 255, 0.52);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 30px rgba(49, 223, 245, 0.14), 0 0 28px rgba(167, 139, 250, 0.12);
}

.detail-post-preview {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(80, 149, 207, 0.14);
  background: rgba(1, 10, 22, 0.42);
}

.overview-post-preview-list {
  display: grid;
}

.overview-post-preview-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(80, 149, 207, 0.11);
}

.overview-post-preview-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.overview-post-avatar-wrap {
  align-self: start;
}

.overview-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(132, 204, 255, 0.22);
  background: rgba(1, 10, 22, 0.68);
}

.overview-post-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #31dff5;
  font-size: 13px;
  font-weight: 750;
  background: rgba(49, 223, 245, 0.09);
}

.overview-post-content {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.overview-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(232, 237, 247, 0.58);
  font-size: 11px;
  line-height: 1.25;
}

.overview-post-author {
  font-weight: 700;
}

.overview-post-badge {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(132, 204, 255, 0.16);
  background: rgba(132, 204, 255, 0.06);
  color: rgba(232, 237, 247, 0.68);
  font-size: 10px;
  text-transform: lowercase;
}

.overview-post-text {
  color: rgba(247, 251, 255, 0.88);
  font-size: 13px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.overview-post-preview-row--full .overview-post-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow-wrap: anywhere;
}

.overview-post-engagement {
  color: rgba(232, 237, 247, 0.5);
  font-size: 11px;
}

.overview-post-source {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 32px;
  color: rgba(232, 237, 247, 0.66);
  font-size: 10px;
  line-height: 1;
}

.overview-post-source:hover {
  color: #31dff5;
}

.overview-post-source svg,
.overview-post-source-img {
  width: 25px;
  height: 25px;
  display: block;
}
.overview-post-source span {
  display:none !important;
}

.overview-post-source-img {
  object-fit: contain;
  opacity: 0.9;
}

.overview-post-source:hover .overview-post-source-img {
  opacity: 1;
}

.overview-post-source-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(132, 204, 255, 0.2);
  color: #31dff5;
  font-size: 9px;
  font-weight: 800;
}

.overview-timeline-card {
  padding: 14px;
}

.overview-timeline-head {
  align-items: center;
}

.overview-timeline-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(232, 237, 247, 0.62);
  font-size: 11px;
}

.overview-timeline-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot--event {
  background: #31dff5;
  box-shadow: 0 0 0 3px rgba(49, 223, 245, 0.12);
}

.legend-dot--post {
  background: rgba(232, 237, 247, 0.42);
}

.overview-timeline-list {
  display: grid;
}

.overview-timeline-row {
  display: grid;
  grid-template-columns: 116px 36px minmax(0, 1fr) minmax(52px, auto);
  gap: 8px;
  align-items: start;
  min-height: 38px;
  padding: 7px 0;
  border-top: 1px solid rgba(80, 149, 207, 0.11);
}

.overview-timeline-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.overview-timeline-time {
  display: flex;
  padding-top:2px;
  gap: 2px;
  color: rgba(232, 237, 247, 0.58);
  font-size: 11px;
  line-height: 1.35;
  word-break: normal;
}

.overview-timeline-time span {
  display: block;
  white-space: nowrap;
}

.overview-timeline-marker {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  min-height: 28px;
}

.overview-timeline-marker::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -7px;
  width: 1px;
  background: rgba(80, 149, 207, 0.2);
}

.overview-timeline-row:first-child .overview-timeline-marker::before {
  top: 7px;
}

.overview-timeline-row:last-child .overview-timeline-marker::before {
  bottom: calc(100% - 7px);
}

.overview-timeline-marker span {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(232, 237, 247, 0.44);
  box-shadow: 0 0 0 4px rgba(232, 237, 247, 0.06);
}

.overview-timeline-row--highlight .overview-timeline-marker span,
.overview-timeline-row--event .overview-timeline-marker span {
  background: #31dff5;
  box-shadow: 0 0 0 4px rgba(49, 223, 245, 0.12), 0 0 12px rgba(49, 223, 245, 0.28);
}

.overview-timeline-row--highlight .overview-timeline-label,
.overview-timeline-row--event .overview-timeline-label {
  color: #8ef7ff;
}

.overview-timeline-row--post .overview-timeline-label {
  color: rgba(232, 237, 247, 0.72);
  font-weight: 600;
}

.overview-timeline-row--post .overview-timeline-detail {
  color: rgba(232, 237, 247, 0.48);
}

.overview-timeline-content {
  min-width: 0;
}

.overview-timeline-label {
  color: rgba(247, 251, 255, 0.9);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.overview-timeline-detail {
  margin-top: 3px;
  color: rgba(232, 237, 247, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.overview-timeline-value {
  color: rgba(232, 237, 247, 0.68);
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}

.overview-timeline-action {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(80, 149, 207, 0.1);
}

.overview-timeline-empty {
  padding: 14px 0;
  color: rgba(232, 237, 247, 0.58);
  font-size: 12px;
  text-align: center;
}

.detail-subsection-title {
  margin-top: 18px;
}

.detail-metrics-compact .mini .v {
  font-size: 18px;
}

.detail-metrics-compact {
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  margin: 6px 0 2px;
}

.detail-metric {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 72px;
  border-radius: 12px;
  border-color: rgba(80, 149, 207, 0.2);
  background:
    linear-gradient(180deg, rgba(6, 24, 47, 0.82), rgba(2, 12, 25, 0.88)),
    rgba(5, 18, 35, 0.86);
  box-shadow: inset 0 1px 0 rgba(132, 204, 255, 0.06);
}

.detail-metric-shortcut {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: default;
}

.detail-metric-shortcut:disabled {
  opacity: 1;
}

.detail-metric-body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.detail-metric--score {
  align-items: center;
}

.detail-metric-score {
  flex: 1 1 auto;
  min-width: 0;
}

.detail-metric-score.narrative-list-score {
  gap: 4px;
}

.detail-metric-score.narrative-list-score span {
  font-size: 12px;
}

.detail-metric-score.narrative-list-score strong {
  font-size: 18px;
}

.detail-metric-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(61, 213, 245, 0.08);
  color: #31dff5;
}

.detail-metric-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.detail-metric-icon--cyan {
  color: #31dff5;
}

.detail-metric-icon--yellow {
  color: #f4d64d;
  background: rgba(244, 214, 77, 0.08);
}

.detail-metric-icon--muted {
  color: rgba(232, 237, 247, 0.62);
  background: rgba(232, 237, 247, 0.06);
}

.detail-metric .k {
  margin-bottom: 3px;
}

.detail-metric .v,
.detail-metric .v-text {
  margin-top: 0;
}

.detail-metric .v {
  display: block;
}

.admin-section {
  border-color: rgba(255, 214, 102, 0.35);
  background: rgba(255, 214, 102, 0.04);
}

.app-card-type {
  margin-top: -2px;
  font-size: 11px;
  color: rgba(232, 237, 247, 0.66);
}

.app-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.app-card .card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-card .age {
  font-size: 11px;
  color: rgba(232, 237, 247, 0.7);
}

.app-card-seen {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.app-card .age-secondary {
  font-size: 10px;
  color: rgba(232, 237, 247, 0.56);
}

.app-card .stage-badge {
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.badge-new {
  border-color: rgba(61, 213, 245, 0.42);
  background: rgba(61, 213, 245, 0.1);
  color: #51e9f5;
}

.app-card-signals {
  gap: 10px;
  font-size: 12px;
  color: #f0f6ff;
  justify-content: space-between;
}

.app-card-signals .signal-item svg {
  width: 15px;
  height: 15px;
  color: #31dff5;
}

.app-card-signals .signal-item:first-child svg {
  color: #79f3ab;
}

.app-card-signals .signal-item:last-child svg {
  color: #f4d64d;
}

.app-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(232, 237, 247, 0.84);
  font-size: 12px;
}

@media (max-width: 1140px) {
  .signal-view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

 

  .app-card-grid {
    grid-template-columns: 1fr;
  }

  

  .narrative-list-seen {
    display:grid;
    grid-template-columns: repeat(2, max-content);
    gap: 16px;
  }
}
@media (max-width: 1024px) {
 .app-filters {
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr));
  }
  /*
  .narrative-list-link {
    grid-template-columns: 46px minmax(170px, 1.28fr) minmax(104px, 0.42fr) minmax(176px, 0.62fr);
    gap: 11px;
    padding-right: 44px;
  }
    */
}

@media (max-width: 860px) {
  .app-board-layout {
    grid-template-columns: 1fr;
  }

  .app-filter-sidebar {
    display: none;
  }

  .app-mobile-controls {
    display: flex;
  }

  .app-mobile-controls input {
    display: none;
  }

  .signal-views-panel {
    padding: 12px;
  }

  .signal-views-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .active-signal-view {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .active-signal-view-meta {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "status"
      "count"
      "actions";
    justify-content: stretch;
    justify-items: start;
  }

  .active-signal-status {
    justify-items: start;
  }

  .active-signal-count {
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .active-signal-actions {
    justify-content: flex-start;
  }

  .active-signal-pro-unlock {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: -2px;
  }

  .active-signal-pro-copy,
  .active-signal-pro-copy div {
    align-items: flex-start;
  }

  .active-signal-pro-copy div {
    display: grid;
    gap: 3px;
  }

  .active-signal-pro-actions {
    align-self: flex-start;
  }

  .view-filter-summary {
    justify-content: flex-start;
  }

  body.drawer-open {
    overflow: hidden;
  }

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

  .detail-metrics-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 0;
  }

  .detail-metric {
    min-height: 58px;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
  }

  .detail-metric-shortcut {
    cursor: pointer;
  }

  .detail-metric-shortcut:focus-visible {
    outline: 2px solid rgba(61, 213, 245, 0.75);
    outline-offset: 2px;
  }

  .detail-metric-shortcut:active {
    transform: translateY(1px);
  }

  .detail-metric-icon {
    width: 28px;
    height: 28px;
  }

  .detail-metric-icon svg {
    width: 14px;
    height: 14px;
  }

  .detail-metric .k {
    margin-bottom: 1px;
    font-size: 10px;
    line-height: 1.15;
  }

  .detail-metrics-compact .mini .v,
  .detail-metric .v-text {
    font-size: 13px;
    line-height: 1.2;
  }

  .detail-metric-score.narrative-list-score {
    gap: 3px;
  }

  .detail-metric-score.narrative-list-score span {
    font-size: 10px;
  }

  .detail-metric-score.narrative-list-score strong {
    font-size: 13px;
  }

  .token-v1-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .summary-item.overview-signal-card .k {
        margin-bottom: 1px;
    font-size: 10px;
    line-height: 1.15;
    text-transform: capitalize;
  }
.overview-value-line {
  font-size:12px;
}
.summary-item.overview-signal-card.overview-token-card .v-text {
  font-size:12px;
}


  .token-v1-card {
    padding: 10px;
    gap: 7px;
    border-radius: 10px;
  }

  .token-v1-header {
    display: block;
  }

  .token-v1-id {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
  }

  .token-v1-card .token-pfp,
  .token-v1-card .token-pfp-fallback {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .token-v1-name-wrap {
    gap: 3px;
    min-width: 0;
    margin-right:50px;
  }

  .token-v1-card .token-title {
    font-size: 13px;
    line-height: 1.2;
  }

  .token-v1-symbol {
    gap: 3px;
    font-size: 10px;
    line-height: 1.25;
    max-height: auto;
    overflow: hidden;
  }

  .token-v1-symbol .status-pill {
    padding: 2px 5px;
    font-size: 9px;
  }

  .token-contract-button {
    min-height: 24px;
    max-width: 100%;
    margin-top: 1px;
    padding: 3px 6px;
    gap: 5px;
    font-size: 10px;
  }

  .token-contract-label {
    max-width: 112px;
  }

  .token-v1-card {
    position:relative;
  }

  .token-v1-metrics {
   /* display: contents; */
            display: flex;
        flex-wrap: wrap;
  }

  .token-v1-metric-main {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
    text-align: right;
        position: absolute;
        top: 0px;
        right: 0px;
  }

  .token-v1-metric-main .k {
    margin-bottom: 1px;
    font-size: 9px;
    color: rgba(185, 221, 255, 0.58);
  }

  .token-v1-metric-main .v {
    font-size: 14px;
    line-height: 1.1;
  }

  .token-v1-metric-secondary {
    display: none;
  }

  .token-v1-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .token-v1-mobile-meta span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border: 1px solid rgba(132, 204, 255, 0.12);
    border-radius: 999px;
    background: rgba(1, 10, 22, 0.28);
    color: rgba(232, 237, 247, 0.74);
    font-size: 10px;
    line-height: 1.15;
  }

  .token-v1-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
  }

  .token-v1-links .token-link-chip {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .token-open-link {
    margin-left: 0;
  }

  .token-v1-updated {
    display: none;
  }

  .detail-token-preview {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border-radius: 10px;
  }

  .detail-token-preview .token-pfp {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .detail-token-preview-copy {
    gap: 4px;
  }

  .detail-token-preview-copy strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .overview-token-ca {
    padding: 4px 6px;
    gap: 6px;
    font-size: 10px;
  }

  .detail-tabs {
    gap: 18px;
  }

  .detail-overview-layout {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-overview-main,
  .detail-overview-side,
  .overview-copy-grid {
    display: contents;
  }

  .overview-signal-panel {
    order: 1;
  }

  .overview-summary-card {
    order: 2;
  }

  .overview-deployability-card {
    order: 3;
  }

  #tokens-overview {
    order: 4;
  }

  .overview-lifecycle-card {
    order: 5;
    width: 100%;
  }

  .overview-timeline-card {
    order: 6;
    width: 100%;
  }

  #posts-overview {
    order: 7;
  }

  .detail-overview-side > .detail-preview-card:not(#tokens-overview) {
    order: 8;
  }

  .overview-signal-grid,
  .overview-copy-grid,
  .overview-lifecycle-grid {
    grid-template-columns: 1fr;
  }

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

  .overview-timeline-row {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
  }

  .overview-timeline-time {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
    font-size: 10px;
    line-height: 1.3;
    color: rgba(232, 237, 247, 0.52);
    flex-wrap: wrap;
  }

  .overview-timeline-time span {
    white-space: normal;
  }

  .overview-timeline-marker {
    grid-column: 1;
    grid-row: 1 / span 3;
    min-height: 100%;
    justify-content: center;
  }

  .overview-timeline-marker span {
    margin-top: 4px;
  }

  .overview-timeline-content {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }

  .overview-timeline-label,
  .overview-timeline-detail {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .overview-timeline-value {
    grid-column: 2;
    grid-row: 3;
    margin-top: 3px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .overview-post-preview-row {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .overview-post-avatar {
    width: 34px;
    height: 34px;
  }

  .overview-post-source span {
    display: none;
  }

  .detail-token-preview {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .overview-token-actions {
    grid-column: 2;
    justify-self: start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .overview-token-metrics {
    grid-template-columns: 1fr;
    display: flex;
  }

  .detail-tab-section {
    display: none;
  }

  .detail-tab-section.is-active {
    display: block;
  }

  .app-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
}

@media (max-width: 620px) {
  .narrative-detail-shell {
    padding: 16px;
  }

  .detail-head h2 {
    font-size: 32px;
  }

  .detail-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .detail-metric {
    min-height: 54px;
    padding: 8px;
  }

  .detail-metric-icon {
    width: 26px;
    height: 26px;
  }

  .detail-metrics-compact .mini .v,
  .detail-metric .v-text {
    font-size: 12px;
  }

  .token-v1-id {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }

  .token-v1-card .token-pfp,
  .token-v1-card .token-pfp-fallback {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .token-contract-state {
    display: none;
  }

  .token-contract-label {
    max-width: 96px;
  }

  .app-card-grid {
    grid-template-columns: 1fr;
  }

  .app-view-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-view-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .signal-view-grid::-webkit-scrollbar {
    display: none;
  }

  .signal-view-card {
    flex: 0 0 min(82vw, 280px);
  }

  .app-view-tab {
    min-width: 0;
  }

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

@media (max-width: 860px) {
  .narrativelab-holding {
    width: min(100% - 24px, 720px);
    padding: 54px 0 44px;
  }

  .narrativelab-hero {
    grid-template-columns: 1fr;
  }

  .narrativelab-hero-visual {
    order: -1;
    width: min(100%, 320px);
  }

  .filter-drawer .app-filter-sidebar {
    position: static;
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .filter-drawer .app-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .narrativelab-hero {
    min-height: 360px;
    padding: 28px;
    border-radius: 18px;
  }

  .home-memelab-promo {
    padding: 20px;
    height:470px;
  }

  .app-top-stats {
    grid-template-columns: 1fr;
  }
}

.admin-layout { display:grid; grid-template-columns: 280px 1fr; gap: 12px; align-items:start; }
.admin-nav { position: sticky; top: 10px; max-height: calc(100vh - 40px); overflow:auto; }
@media (max-width: 1000px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; max-height: none; }
}
@media (max-width: 1024px) {
.feed-section--trending .section-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
}

@media (max-width: 1399px) {
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 940;
    display: block;
    border: 0;
    opacity: 0;
    background: rgba(1, 7, 17, 0.7);
    backdrop-filter: blur(0);
    transition: opacity 280ms ease, backdrop-filter 280ms ease;
  }

  .site-menu.is-open .mobile-menu-backdrop {
    opacity: 1;
    backdrop-filter: blur(5px);
  }

  .mobile-menu-backdrop[hidden] {
    display: none;
  }

  .site-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 950;
    width: min(calc(100vw - 24px), 400px);
    max-width: 400px;
    height: 100dvh;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 26px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: none;
    border-left: 0;
    border-radius: 0px;
    background:
      radial-gradient(circle at 0% 0%, rgba(32, 224, 237, 0.18), transparent 34%),
      linear-gradient(180deg, rgba(5, 21, 42, 0.98), rgba(1, 9, 21, 0.985));
    box-shadow:
      18px 0 62px rgba(0, 0, 0, 0.58),
      0 0 42px rgba(34, 221, 237, 0.18),
      inset -1px 0 0 rgba(139, 111, 255, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    transform: translateX(-100%);
    transition: transform 280ms cubic-bezier(0.22, 0.8, 0.22, 1);
    will-change: transform;
  }

  .site-menu.is-open .site-menu-panel {
    transform: translateX(0);
  }

  .site-menu-panel[hidden] {
    display: none;
  }

  .mobile-menu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0;
    border: 0;
  }

  .mobile-menu-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: #f6fbff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-menu-brand .brand-mark {
    width: 50px;
    height: 38px;
    color: #24eef4;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.08em;
    text-shadow: 0 0 24px rgba(36, 238, 244, 0.42);
  }

  .mobile-menu-close {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: rgba(238, 248, 255, 0.9);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
  }

  .mobile-menu-close:hover,
  .mobile-menu-close:focus-visible {
    border-color: rgba(88, 231, 241, 0.34);
    background: rgba(10, 36, 62, 0.62);
    color: #f7fdff;
    outline: none;
  }

  .mobile-menu-close svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-primary-cta {
    width: 100%;
    min-height: 52px;
  }

  .mobile-menu-primary-cta span,
  .mobile-menu-primary-cta em {
    display: inline-grid;
    place-items: center;
    font-style: normal;
  }

  .mobile-menu-primary-cta svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-primary-cta strong {
    min-width: 0;
    font-size: 16px;
            font-weight: 700;
        color: #000;
  }

  .mobile-menu-nav,
  .mobile-menu-section,
  .mobile-menu-community {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-section-title {
    margin: 0 0 8px;
    color: rgba(185, 205, 229, 0.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-menu-link.mobile-menu-link,
  .mobile-menu-social-link {
    position: relative;
    min-height: 52px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    gap: 14px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: rgba(241, 247, 255, 0.92);
    font-size: 17px;
    font-weight: 760;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  }

  .site-menu-link.mobile-menu-link::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    opacity: 0;
    background: #24f0f0;
    box-shadow: 0 0 18px rgba(36, 240, 240, 0.65);
  }

  .site-menu-link.mobile-menu-link svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: #22ecf2;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-menu-link.mobile-menu-link:hover,
  .site-menu-link.mobile-menu-link:focus-visible,
  .site-menu-link.mobile-menu-link.is-active {
    color: #f7fdff;
    border-color: rgba(88, 231, 241, 0.2);
    background: rgba(26, 74, 109, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    outline: none;
  }

  .site-menu-link.mobile-menu-link.is-active::before {
    opacity: 1;
  }

  .site-menu-link.is-active::after {
    display: none;
  }

  .mobile-menu-link--shortcut {
    min-height: 48px;
    font-size: 16px;
  }

  .mobile-menu-link-arrow,
  .mobile-menu-social-link em {
    display: inline-grid;
    place-items: center;
    color: rgba(222, 238, 255, 0.8);
    font-style: normal;
  }

  .mobile-menu-link-arrow svg,
  .mobile-menu-social-link em svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
  }

  .mobile-menu-card-grid {
    display: grid;
    gap: 12px;
    padding-top: 2px;
  }

  .mobile-menu-promo-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(95, 145, 188, 0.34);
    border-radius: 9px;
    background:
      radial-gradient(circle at 0% 0%, rgba(52, 180, 235, 0.12), transparent 38%),
      rgba(6, 24, 45, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .mobile-menu-promo-card--pro {
    border-color: rgba(91, 226, 242, 0.52);
    box-shadow: 0 0 24px rgba(75, 98, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .mobile-menu-promo-icon {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(105, 79, 225, 0.28);
    color: #8f6cff;
  }

  .mobile-menu-promo-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-promo-card strong {
    display: block;
    color: #f6fbff;
    font-size: 16px;
    font-weight: 850;
  }

  .mobile-menu-promo-card p {
    margin: 6px 0 12px;
    color: rgba(224, 237, 249, 0.78);
    font-size: 14px;
    line-height: 1.45;
  }

  .mobile-menu-promo-card a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(149, 181, 216, 0.38);
    border-radius: 8px;
    color: #f7fdff;
    font-size: 13px;
    font-weight: 850;
    transition: border-color 160ms ease, background 160ms ease;
  }

  .mobile-menu-promo-card--pro a {
    border: 0;
    background: linear-gradient(135deg, #22e4ef, #7a5cff);
    color: #031224;
  }

  .mobile-menu-promo-card a:hover,
  .mobile-menu-promo-card a:focus-visible {
    border-color: rgba(88, 231, 241, 0.56);
    background: rgba(38, 103, 142, 0.32);
    outline: none;
  }

  .mobile-menu-promo-card--pro a:hover,
  .mobile-menu-promo-card--pro a:focus-visible {
    background: linear-gradient(135deg, #5cf2f8, #9275ff);
  }

  .mobile-menu-promo-card a svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2;
  }

  .mobile-menu-community {
    padding-top: 4px;
  }

  .mobile-menu-socials {
    display: contents;
  }

  .mobile-menu-social-link {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 8px;
    background: transparent;
    font-size: 16px;
  }

  .mobile-menu-social-link img {
    width: 22px;
    height: 22px;
  }

  .mobile-menu-footer {
    display: grid;
    gap: 18px;
    margin-top: auto;
    padding: 18px 2px 4px;
    border-top: 1px solid rgba(92, 132, 171, 0.34);
    color: rgba(192, 210, 230, 0.76);
    font-size: 12px;
  }

  .mobile-menu-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
  }

  .mobile-menu-footer-links a {
    color: rgba(224, 237, 249, 0.84);
  }
}

@media (max-width: 600px) {
  .site-menu.is-open .mobile-menu-backdrop {
    backdrop-filter: blur(7px);
  }

  .site-menu-panel {
    width: min(calc(100vw - 28px), 340px);
    max-width: 340px;
    gap: 12px;
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
    border-color: rgba(88, 231, 241, 0.42);
    border-radius: 0 10px 10px 0;
    background:
      radial-gradient(circle at 0% 0%, rgba(32, 224, 237, 0.14), transparent 30%),
      linear-gradient(180deg, rgba(5, 21, 42, 0.985), rgba(1, 9, 21, 0.99));
    box-shadow:
      14px 0 42px rgba(0, 0, 0, 0.62),
      0 0 28px rgba(34, 221, 237, 0.14),
      inset -1px 0 0 rgba(139, 111, 255, 0.26);
    scrollbar-width: none;
  }

  .site-menu-panel::-webkit-scrollbar {
    display: none;
  }

  .mobile-menu-drawer-head {
    gap: 10px;
  }

  .mobile-menu-brand {
    gap: 8px;
    font-size: 11px;
  }

  .mobile-menu-brand .brand-mark {
    width: 36px;
    height: 28px;
  }

  .mobile-menu-brand .brand-mark svg {
    width: 36px;
    height: 28px;
    display: block;
  }

  .mobile-menu-close {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-close svg {
    width: 19px;
    height: 19px;
  }

  .mobile-menu-primary-cta {
    min-height: 48px;
    gap: 8px;
    padding: 0 14px;
    border-radius: 7px;
    box-shadow: none;
  }

  .mobile-menu-primary-cta strong {
    font-size: 15px;
  }

  .mobile-menu-primary-cta svg {
    width: 18px;
    height: 18px;
  }

  .mobile-menu-nav,
  .mobile-menu-section,
  .mobile-menu-community {
    gap: 4px;
  }

  .mobile-menu-section-title {
    margin: 2px 0 4px;
    font-size: 10px;
    letter-spacing: 0.075em;
  }

  .site-menu-link.mobile-menu-link,
  .mobile-menu-social-link {
    min-height: 42px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 14px;
  }

  .site-menu-link.mobile-menu-link::before {
    left: -4px;
    top: 9px;
    bottom: 9px;
    width: 2px;
  }

  .site-menu-link.mobile-menu-link svg {
    width: 17px;
    height: 17px;
  }

  .mobile-menu-link--shortcut {
    min-height: 40px;
    font-size: 14px;
  }

  .mobile-menu-link-arrow svg,
  .mobile-menu-social-link em svg {
    width: 15px;
    height: 15px;
  }

  .mobile-menu-card-grid {
    gap: 8px;
    padding-top: 0;
  }

  .mobile-menu-promo-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border-radius: 8px;
  }

  .mobile-menu-promo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .mobile-menu-promo-icon svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-promo-card strong {
    font-size: 14px;
  }

  .mobile-menu-promo-card p {
    margin: 3px 0 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  .mobile-menu-promo-card a {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 12px;
  }

  .mobile-menu-community {
    padding-top: 0;
  }

  .mobile-menu-social-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mobile-menu-social-link img {
    width: 17px;
    height: 17px;
  }

  .mobile-menu-footer {
    gap: 10px;
    padding: 10px 1px 2px;
    font-size: 10px;
  }

  .mobile-menu-footer-links {
    gap: 7px 10px;
  }
}

@media (max-width: 380px) {
  .site-menu-panel {
    width: calc(100vw - 22px);
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .mobile-menu-primary-cta {
    min-height: 46px;
  }

  .site-menu-link.mobile-menu-link,
  .mobile-menu-social-link {
    min-height: 40px;
  }
}

@media (max-width: 860px) {
  html,
  body,
  .site-shell,
  .app-page,
  .app-discovery-panel {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-board-head {
    display: none;
  }

  .app-board-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    overflow-x: hidden;
  }

  .app-board-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .app-pro-banner,
  .app-pro-banner.home-pro-banner--active {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border-color: rgba(80, 149, 207, 0.24);
    background:
      radial-gradient(circle at 8% 40%, rgba(45, 230, 185, 0.1), transparent 30%),
      linear-gradient(135deg, rgba(4, 24, 35, 0.86), rgba(4, 13, 28, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .app-pro-banner .home-pro-emblem,
  .app-pro-banner .home-pro-status-mark {
    width: 38px;
    height: 38px;
    border-width: 1px;
    border-radius: 10px;
  }

  .app-pro-banner .home-pro-crown,
  .app-pro-banner .home-pro-status-mark span {
    padding: 3px 6px;
    font-size: 9px;
  }

  .app-pro-banner .home-pro-copy,
  .app-pro-banner .home-pro-status-copy {
    min-width: 0;
  }

  .app-pro-banner .home-pro-copy .eyebrow,
  .app-pro-banner .home-pro-status-copy .eyebrow {
    margin: 0;
    font-size: 9px;
    line-height: 1.1;
  }

  .app-pro-banner .home-pro-copy h2,
  .app-pro-banner .home-pro-status-copy h2 {
    margin: 2px 0 0;
    color: #f5fbff;
    font-size: 13px;
    line-height: 1.2;
  }

  .app-pro-banner .home-pro-copy h2 span {
    display: inline;
  }

  .app-pro-banner .home-pro-copy p,
  .app-pro-banner .home-pro-status-copy p,
  .app-pro-banner .home-pro-compare,
  .app-pro-banner .home-pro-price-value,
  .app-pro-banner .home-pro-price-term,
  .app-pro-banner .home-pro-price-note {
    display: none;
  }

  .app-pro-banner .home-pro-price {
    display: flex;
    justify-content: flex-end;
  }

  .app-pro-banner .home-pro-cta,
  .app-pro-banner .home-pro-status-cta {
    min-height: 32px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1;
  }

  .app-board-main .signal-views-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 12px 0 10px;
  }

  .app-board-main .signal-views-head {
    padding: 0 12px;
  }

  .app-board-main .signal-view-grid[data-signal-views] {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 8px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-board-main .signal-view-grid[data-signal-views]::-webkit-scrollbar {
    display: none;
  }

  .app-board-main .signal-view-grid[data-signal-views] > .signal-view-card {
    flex: 0 0 clamp(220px, 72vw, 270px);
    width: auto;
    min-width: 0;
    min-height: 104px;
    scroll-snap-align: start;
  }
}

@media (max-width: 860px) {
  .app-board-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .signal-views-panel {
    order: 1;
  }

  .active-signal-view {
    order: 2;
  }

  .active-signal-pro-unlock {
    order: 3;
  }

  .app-mobile-controls {
    order: 4;
  }

  .app-view-tabs {
    order: 5;
  }

  .active-filters {
    order: 6;
  }

  #narrative-list {
    order: 7;
  }

  .app-pagination {
    order: 8;
  }

  .app-mobile-controls {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) minmax(72px, auto) auto;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px;
    border: 1px solid rgba(80, 149, 207, 0.28);
    border-radius: 999px;
    background:
      radial-gradient(circle at 20% 0%, rgba(61, 213, 245, 0.14), transparent 34%),
      rgba(2, 12, 25, 0.88);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
  }

  .app-mobile-controls .button {
    min-width: 0;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 12px;
  }

  .app-mobile-controls .button svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .app-board-head .app-copilot-entry-button {
    display: none;
  }

  .app-copilot-entry-button--mobile {
    order: 3;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    min-height: 42px;
    padding: 10px 12px;
    margin: 0;
    border-radius: 14px;
  }

  .app-copilot-entry-button--mobile .copilot-entry-icon,
  .app-copilot-entry-button--mobile .copilot-entry-copy small {
    display: none;
  }

  .app-copilot-entry-button--mobile .copilot-entry-copy strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .mobile-results-count {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 999px;
    color: #e7fbff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .app-board-main .signal-views-panel {
    margin: 0 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .app-board-main .signal-views-head {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
    padding: 0 2px;
  }

  .app-board-main .signal-views-head .eyebrow {
    display: none;
  }

  .app-board-main .signal-views-head h1 {
    margin: 0;
    color: #f5fbff;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.12;
  }

  .signal-heading-desktop {
    display: none;
  }

  .signal-heading-mobile {
    display: inline;
  }

  .signal-views-helper {
    display: block;
    margin: 0;
    color: rgba(205, 226, 245, 0.72);
    font-size: 12px;
    line-height: 1.35;
  }

  .app-board-main .signal-view-grid[data-signal-views] {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2px 12px;
    gap: 8px;
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    contain: inline-size;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-board-main .signal-view-grid[data-signal-views]::-webkit-scrollbar {
    display: none;
  }

  .app-board-main .signal-view-grid[data-signal-views] > .signal-view-card {
    flex: 0 0 clamp(78px, 22vw, 94px);
    width: clamp(78px, 22vw, 94px);
    min-width: 0;
    min-height: 82px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 7px;
    padding: 10px 8px;
    border-color: rgba(80, 149, 207, 0.3);
    border-radius: 10px;
    background: rgba(2, 13, 29, 0.72);
    color: rgba(205, 226, 245, 0.68);
    text-align: center;
    scroll-snap-align: start;
  }

  .app-board-main .signal-view-grid[data-signal-views] > .signal-view-card.is-active {
    border-color: rgba(37, 238, 231, 0.96);
    background:
      radial-gradient(circle at 50% 20%, rgba(37, 238, 231, 0.16), transparent 48%),
      rgba(3, 22, 39, 0.86);
    box-shadow: 0 0 0 1px rgba(37, 238, 231, 0.24), 0 0 24px rgba(37, 238, 231, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #eaffff;
  }

  .app-board-main .signal-view-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: transparent;
    color: rgba(87, 211, 216, 0.66);
  }

  .app-board-main .signal-view-card.is-active .signal-view-card-icon {
    color: #5ff9fb;
  }

  .app-board-main .signal-view-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .app-board-main .signal-view-card-copy {
    display: block;
    width: 100%;
  }

  .app-board-main .signal-view-card-copy strong {
    display: block;
    color: inherit;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.15;
  }

  .app-board-main .signal-view-card-copy span {
    display: none;
  }

  .active-signal-action[href*="#about"],
  .active-signal-action[data-about-signal],
  .active-signal-action--about {
    display: none;
  }

  .active-signal-view {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 13px;
    border-radius: 8px;
  }

  .active-signal-view-copy {
    gap: 7px;
  }

  .active-signal-view-copy h2 {
    justify-content: space-between;
    gap: 6px;
    font-size: 22px;
  }

  .active-signal-view-copy p {
    font-size: 12px;
  }

  .active-signal-view-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "status count"
      "actions actions";
    align-items: center;
    gap: 8px 12px;
  }

  .active-signal-status {
    justify-items: start;
    font-size: 10px;
  }

  .active-signal-count {
    justify-self: end;
    text-align: right;
  }

  .active-signal-count strong {
    font-size: 24px;
  }

  .active-signal-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .active-signal-action {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 11px;
  }

  .view-filter-summary {
    gap: 6px;
  }

  .view-filter-summary span {
    min-height: 23px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .app-view-tabs {
    width: 100%;
    margin: 0;
    padding: 3px;
    border-radius: 999px;
    background: rgba(1, 10, 22, 0.58);
  }

  .app-view-tab {
    min-height: 32px;
    border-radius: 999px;
    font-size: 12px;
  }

  .app-card-grid {
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .narrative-card.card-variant-compact {
    position: relative;
    padding: 12px;
    gap: 10px;
    border-color: rgba(77, 161, 212, 0.28);
    background:
      radial-gradient(circle at 8% 0%, rgba(61, 213, 245, 0.08), transparent 28%),
      linear-gradient(180deg, rgba(5, 22, 43, 0.94), rgba(3, 14, 28, 0.96));
  }

  .narrative-card.card-variant-compact .narrative-save-button {
    top: auto;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .mobile-narrative-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "tile meta"
      "title title";
    gap: 8px 10px;
    align-items: start;
  }

  .mobile-narrative-tile {
    grid-area: tile;
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .mobile-narrative-tile svg {
    width: 21px;
    height: 21px;
  }

  .mobile-narrative-head-copy {
    min-width: 0;
    display: contents;
  }

  .feed-section--emerging .home-emerging-card--compact .mobile-narrative-head-copy {
    display: contents;
  }

  .narrative-card.card-variant-compact .card-top {
    grid-area: meta;
    min-width: 0;
    align-items: start;
    gap: 8px;
  }

  .narrative-card.card-variant-compact .card-badges {
    gap: 5px;
  }

  .narrative-card.card-variant-compact .stage-badge,
  .narrative-card.card-variant-compact .badge,
  .narrative-card.card-variant-compact .momentum-badge {
    min-height: 22px;
    padding: 4px 7px;
    border-radius: 7px;
    font-size: 9px;
  }

  .narrative-card.card-variant-compact .app-card-seen {
    font-size: 10px;
  }

  .narrative-card.card-variant-compact .card-title {
    grid-area: title;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .narrative-card.card-variant-compact .card-description {
    font-size: 12px;
    line-height: 1.42;
  }

  .narrative-card.card-variant-compact .app-card-signals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 40px;
  }

  .narrative-card.card-variant-compact .mobile-score-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .narrative-card.card-variant-compact .mobile-score-bars .narrative-list-score {
    min-width: 0;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(77, 161, 212, 0.18);
    border-radius: 8px;
    background: rgba(4, 16, 31, 0.46);
  }

  .narrative-card.card-variant-compact .mobile-score-bars .narrative-list-score span {
    color: rgba(185, 221, 255, 0.66);
    font-size: 10px;
  }

  .narrative-card.card-variant-compact .mobile-score-bars .narrative-list-score strong {
    color: #effcff;
    font-size: 14px;
  }

  .narrative-card.card-variant-compact .mobile-score-bars .narrative-list-score-track {
    height: 4px;
  }

  .narrative-card.card-variant-compact .signal-item,
  .narrative-card.card-variant-compact .token-status {
    min-width: 0;
    font-size: 11px;
  }

  .narrative-card.card-variant-compact .mobile-score-signals > .token-status {
    justify-self: start;
    max-width: 100%;
  }

  .narrative-card.card-variant-compact .app-card-metrics {
    gap: 10px;
    padding-right: 40px;
    font-size: 11px;
  }

  .narrative-card.card-variant-compact .app-card-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }

  .narrative-card.card-variant-compact .app-card-metrics svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    color: #35f0de;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 430px) {
  .app-mobile-controls {
    left: 10px;
    right: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .app-mobile-controls .button {
    padding: 0 10px;
  }

  .mobile-results-count {
    font-size: 11px;
  }
}
