:root {
  --bg: #07090d;
  --bg-soft: #0e1218;
  --panel: rgba(18, 22, 30, 0.78);
  --panel-strong: #161c26;
  --line: rgba(255, 255, 255, 0.065);
  --line-strong: rgba(255, 255, 255, 0.11);
  --text: #f4f6fa;
  --text-secondary: #c2c9d6;
  --muted: #8a939f;
  --accent: #f3c01a;
  --accent-soft: rgba(243, 192, 26, 0.11);
  --success: #0ecb81;
  --warning: #f0b90b;
  --danger: #f6465d;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.26);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --radius: 22px;
  --radius-sm: 12px;
  --content-gap: 32px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  min-height: 100%;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(240, 185, 11, 0.09), transparent 52%),
    radial-gradient(circle at 88% 12%, rgba(99, 140, 255, 0.07), transparent 38%),
    radial-gradient(circle at 8% 72%, rgba(14, 203, 129, 0.05), transparent 34%),
    linear-gradient(180deg, #0a0d12 0%, #07090d 100%);
  background-attachment: fixed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: transparent;
  color: var(--text);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "liga" 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 56px;
  min-height: calc(100dvh - 32px);
}

.site-contact-footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.site-contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-contact-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.site-contact-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-contact-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition:
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.site-contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-contact-icon:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.site-contact-icon.is-telegram:hover {
  color: #2aabee;
  border-color: rgba(42, 171, 238, 0.35);
  background: rgba(42, 171, 238, 0.1);
}

.site-contact-icon.is-x:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.topbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 22px 14px;
  margin-bottom: var(--content-gap);
  background: linear-gradient(165deg, rgba(22, 28, 36, 0.88), rgba(12, 16, 22, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(28px) saturate(1.25);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  position: relative;
  z-index: 200;
  overflow: visible;
}

.topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-text {
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0b0e11;
  background: linear-gradient(145deg, #ffe066 0%, #f0b90b 55%, #d9a207 100%);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 560px;
}

.topnav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.topnav-link,
.topnav-group-toggle {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.22s var(--ease-out), background 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.topnav-group {
  position: relative;
}

.topnav-group-toggle .topnav-group-caret {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform 0.2s var(--ease-out);
}

.topnav-group.is-open .topnav-group-caret {
  transform: rotate(180deg);
}

.topnav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.topnav-group.is-open .topnav-dropdown {
  display: flex;
}

.topnav-dropdown-link {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.22s var(--ease-out), background 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.topnav-link:hover,
.topnav-group-toggle:hover,
.topnav-dropdown-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.topnav-link.active,
.topnav-group-toggle.active,
.topnav-dropdown-link.active,
.topnav-group.is-active > .topnav-group-toggle {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(240, 185, 11, 0.24);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  overflow: visible;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid rgba(240, 185, 11, 0.45);
  outline-offset: 2px;
}

.theme-toggle {
  flex-shrink: 0;
}

.theme-toggle .segmented-button {
  min-width: 52px;
  padding: 0 10px;
}

.topnav a {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.22s var(--ease-out), background 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.topnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.topnav a.active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(240, 185, 11, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.futures-realtime-section,
.futures-realtime-shell {
  width: 100%;
}

.futures-realtime-shell-head {
  align-items: flex-end;
}

.futures-single-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.futures-symbol-input-wrap {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.futures-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.futures-status-line span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.futures-status-line strong {
  color: var(--text);
}

.futures-status-extra {
  flex: 1;
  min-width: 260px;
}

.futures-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.futures-toolbar-field {
  display: grid;
  gap: 6px;
  min-width: 160px;
  color: var(--muted);
  font-size: 12px;
}

.futures-toolbar-select {
  min-width: 180px;
  height: 36px;
  font-size: 13px;
}

.futures-text-board {
  min-height: 260px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.26);
  color: #e8edf7;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.8;
}

.futures-alerts-wrap {
  overflow-x: auto;
}

.futures-error-banner {
  margin: 0 0 16px;
  color: var(--danger);
  font-size: 13px;
}

.futures-time-cell {
  white-space: nowrap;
  color: var(--muted);
}

.futures-message-cell {
  max-width: 680px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.rankings-shell {
  display: grid;
  gap: 18px;
}

.rankings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rankings-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.rankings-tab.active,
.rankings-tab:hover {
  color: #0b0e11;
  background: var(--accent);
  border-color: rgba(240, 185, 11, 0.55);
}

.rankings-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.rankings-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.rankings-meta strong {
  color: var(--text);
}

.rankings-error {
  color: var(--danger);
}

.yields-mark {
  background: linear-gradient(135deg, #67e8f9, #22d3ee 70%);
  color: #0b0e11;
}

.cex-yields-shell {
  display: grid;
  gap: 16px;
}

.cex-yields-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cex-yields-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.cex-yields-search span {
  color: var(--muted);
  font-size: 12px;
}

.cex-yields-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.cex-yields-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.cex-yields-meta strong {
  color: var(--text);
}

.cex-yields-status.is-error {
  color: var(--danger);
  border-color: rgba(246, 70, 93, 0.35);
}

.cex-yields-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cex-yields-note {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.cex-yields-note.is-ok {
  color: var(--success);
  border-color: rgba(14, 203, 129, 0.28);
}

.cex-yields-note.is-warn {
  color: var(--warning);
  border-color: rgba(240, 185, 11, 0.28);
}

.cex-yields-note.is-error {
  color: var(--danger);
  border-color: rgba(246, 70, 93, 0.28);
}

.cex-yields-table-wrap {
  min-height: 240px;
}

.cex-yields-table th:nth-child(4),
.cex-yields-table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cex-yield-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cex-yield-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.cex-yield-cap {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cex-yield-cap.is-muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.cex-yields-table th:nth-child(5),
.cex-yields-table td:nth-child(5) {
  min-width: 7.5rem;
}

.cex-yields-skeleton-row td {
  padding: 16px 12px;
}

.cex-channel-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.cex-channel-pill.is-api {
  color: #7dd3a8;
  border-color: rgba(125, 211, 168, 0.35);
  background: rgba(125, 211, 168, 0.08);
}

.cex-channel-pill.is-manual {
  color: #f0b86e;
  border-color: rgba(240, 184, 110, 0.35);
  background: rgba(240, 184, 110, 0.08);
}

.submit-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.submit-modal[hidden] {
  display: none;
}

.submit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(4px);
}

.submit-modal-panel {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  z-index: 1;
  padding: 28px 32px 24px;
}

.submit-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.submit-modal-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.submit-modal-head {
  text-align: center;
  margin-bottom: 22px;
  padding-right: 28px;
}

.submit-modal-head .eyebrow {
  display: inline-flex;
}

.submit-modal-head h2 {
  margin: 8px 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.submit-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.submit-modal-form {
  display: grid;
  gap: 14px;
}

.submit-field {
  display: grid;
  gap: 8px;
  margin: 0;
  cursor: default;
}

.submit-field-label {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.submit-field-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: center;
  outline: none;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.submit-field-input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.submit-field-input:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.submit-field-input:focus {
  border-color: rgba(240, 185, 11, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.1);
}

.submit-modal-feedback {
  text-align: center;
  margin: 0;
}

.submit-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 4px;
}

.submit-modal-actions .btn {
  min-width: 112px;
}

.wallet-picker-modal .wallet-picker-panel {
  width: min(420px, 100%);
}

.wallet-picker-list {
  display: grid;
  gap: 10px;
}

.wallet-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.wallet-picker-item:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.wallet-picker-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 32px;
}

.wallet-picker-fallback-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 18px;
  flex: 0 0 32px;
}

.wallet-picker-name {
  font-size: 0.98rem;
  font-weight: 600;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.rankings-grid-oi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rankings-grid-alpha {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rankings-grid-funding,
.rankings-grid-futuresVolume,
.rankings-grid-spotVolume {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rankings-grid-mentions {
  grid-template-columns: 1fr;
}

.rankings-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.rankings-grid-funding .rankings-card,
.rankings-grid-futuresVolume .rankings-card,
.rankings-grid-spotVolume .rankings-card,
.rankings-grid-mentions .rankings-card,
.rankings-grid-alpha .rankings-card {
  padding: 12px;
}

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

.rankings-grid-funding .rankings-card-head,
.rankings-grid-futuresVolume .rankings-card-head,
.rankings-grid-spotVolume .rankings-card-head,
.rankings-grid-mentions .rankings-card-head,
.rankings-grid-alpha .rankings-card-head {
  margin-bottom: 8px;
}

.rankings-card-head h2 {
  margin: 0;
  font-size: 16px;
}

.rankings-grid-funding .rankings-card-head h2,
.rankings-grid-futuresVolume .rankings-card-head h2,
.rankings-grid-spotVolume .rankings-card-head h2,
.rankings-grid-mentions .rankings-card-head h2,
.rankings-grid-alpha .rankings-card-head h2 {
  font-size: 14px;
}

.rankings-grid-alpha .rankings-card-head h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankings-card-head span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.rankings-table-wrap {
  overflow-x: auto;
}

.rankings-table th,
.rankings-table td {
  white-space: nowrap;
}

.rankings-grid-funding .rankings-table th,
.rankings-grid-funding .rankings-table td,
.rankings-grid-futuresVolume .rankings-table th,
.rankings-grid-futuresVolume .rankings-table td,
.rankings-grid-spotVolume .rankings-table th,
.rankings-grid-spotVolume .rankings-table td,
.rankings-grid-mentions .rankings-table th,
.rankings-grid-mentions .rankings-table td,
.rankings-grid-alpha .rankings-table th,
.rankings-grid-alpha .rankings-table td {
  padding: 8px 10px;
  font-size: 12px;
}

.rankings-grid-funding .rankings-table th,
.rankings-grid-futuresVolume .rankings-table th,
.rankings-grid-spotVolume .rankings-table th,
.rankings-grid-mentions .rankings-table th,
.rankings-grid-alpha .rankings-table th {
  font-size: 11px;
}

.rankings-grid-alpha .rankings-table-wrap {
  overflow: visible;
}

.rankings-grid-alpha .rankings-table {
  table-layout: fixed;
}

.rankings-grid-alpha .rankings-table th,
.rankings-grid-alpha .rankings-table td {
  overflow: hidden;
  padding: 7px 6px;
  text-overflow: ellipsis;
}

.rankings-grid-alpha .rankings-table th:nth-child(1),
.rankings-grid-alpha .rankings-table td:nth-child(1) {
  width: 28px;
}

.rankings-grid-alpha .rankings-table th:nth-child(2),
.rankings-grid-alpha .rankings-table td:nth-child(2) {
  width: 28%;
}

.rankings-grid-alpha .rankings-table th:nth-child(3),
.rankings-grid-alpha .rankings-table td:nth-child(3) {
  width: 28%;
}

.auth-user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.auth-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.auth-user-chip strong {
  color: var(--text);
  font-size: 13px;
}

.auth-gate {
  display: none;
}

body.auth-pending #page-content,
body.auth-locked #page-content {
  display: none;
}

body.auth-pending .auth-gate,
body.auth-locked .auth-gate {
  display: block;
}

body.auth-ready .auth-gate {
  display: none;
}

body.auth-ready #page-content {
  display: flex;
}

body[data-page^="ledger"].auth-pending #page-content,
body[data-page^="ledger"].auth-ready #page-content {
  display: flex;
}

body[data-page^="ledger"].auth-pending #auth-gate,
body[data-page^="ledger"].auth-ready #auth-gate {
  display: none;
}

body[data-page^="ledger"].auth-locked #page-content {
  display: none !important;
}

body[data-page^="ledger"].auth-locked #auth-gate {
  display: block;
}

body[data-page="holder-monitor"].holder-monitor-denied #page-content {
  display: none !important;
}

body[data-page="holder-monitor"] .holder-access-panel {
  display: none;
}

body[data-page="holder-monitor"].holder-monitor-denied .holder-access-panel {
  display: block;
}

.holder-access-panel .auth-gate-card {
  max-width: 560px;
  margin: 24px auto;
}

.holder-monitor-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.holder-monitor-config-card {
  padding-bottom: 14px;
}

.holder-monitor-config-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) auto;
  align-items: end;
}

.holder-monitor-import-field {
  margin-top: 14px;
}

.holder-monitor-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.holder-monitor-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

.holder-monitor-section-head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.holder-monitor-section-head p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.holder-monitor-transfer-section {
  margin-top: 22px;
}

[data-theme="light"] .holder-monitor-section {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .holder-monitor-section-head h3 {
  color: #0f172a;
}

[data-theme="light"] .holder-monitor-section-head p {
  color: #64748b;
}

.holder-monitor-main-card {
  min-height: 420px;
}

.holder-monitor-table-wrap {
  max-height: min(72vh, 760px);
  overflow: auto;
}

.holder-monitor-table {
  min-width: 1080px;
}

.holder-monitor-table th,
.holder-monitor-table td {
  white-space: nowrap;
}

.holder-monitor-table th.alpha-ranking-sortable,
.holder-monitor-table td:nth-child(7):not(.holder-monitor-detail-row td) {
  text-align: center;
}

.holder-monitor-transfer-table th.alpha-ranking-sortable,
.holder-monitor-transfer-table td:nth-child(6) {
  text-align: center;
}

.holder-monitor-table .alpha-ranking-sort-trigger {
  min-height: 32px;
  padding: 8px 6px;
  font-size: 13px;
}

[data-theme="light"] .holder-monitor-table .alpha-ranking-sort-trigger:hover {
  color: var(--accent);
}

.holder-monitor-table th:nth-child(3),
.holder-monitor-table td:nth-child(3) {
  min-width: 88px;
}

.holder-monitor-table:not(.holder-monitor-transfer-table) th:nth-child(7),
.holder-monitor-table:not(.holder-monitor-transfer-table) td:nth-child(7) {
  min-width: 56px;
  text-align: center;
}

.holder-monitor-table th:last-child,
.holder-monitor-table td:last-child {
  width: 1%;
  min-width: 68px;
}

.holder-monitor-table .btn-compact {
  white-space: nowrap;
}

.holder-monitor-table td .holder-monitor-note-display,
.holder-monitor-table td .holder-monitor-note-readonly {
  white-space: normal;
  word-break: break-word;
  max-width: 180px;
}

.holder-monitor-events-wrap {
  max-height: 360px;
  overflow: auto;
}

.holder-monitor-events-head {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.holder-monitor-events-head-main {
  flex: 1 1 320px;
  min-width: 0;
}

.holder-monitor-events-head-main h2 {
  margin: 0 0 4px;
  white-space: nowrap;
}

.holder-monitor-events-head-main p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.holder-monitor-events-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
  width: min(240px, 100%);
  margin-left: auto;
}

.holder-monitor-events-search-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.holder-monitor-events-card .holder-monitor-address-search-input {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.holder-monitor-table th:nth-child(1),
.holder-monitor-table td:nth-child(1) {
  width: 44px;
  text-align: center;
  color: var(--muted);
}

.holder-monitor-table th:nth-child(4),
.holder-monitor-table td:nth-child(4),
.holder-monitor-table th:nth-child(5),
.holder-monitor-table td:nth-child(5),
.holder-monitor-table th:nth-child(6),
.holder-monitor-table td:nth-child(6) {
  white-space: nowrap;
}

.holder-monitor-note-input {
  min-width: 120px;
  width: 100%;
  padding: 6px 8px;
  font-size: 13px;
}

.holder-monitor-note-display {
  display: inline-block;
  min-width: 72px;
  max-width: 220px;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  transition: background-color 0.15s ease;
}

.holder-monitor-note-display.is-empty {
  color: var(--muted);
}

.holder-monitor-note-display:hover {
  background: rgba(255, 255, 255, 0.06);
}

.holder-monitor-note-readonly {
  color: var(--muted);
  font-size: 13px;
}

.holder-monitor-expand-btn {
  white-space: nowrap;
}

.holder-monitor-detail-row td {
  padding: 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: none;
}

.holder-monitor-detail-inner {
  padding: 10px 14px 12px 58px;
}

.holder-monitor-detail-table {
  width: 100%;
  font-size: 12px;
}

.holder-monitor-detail-table th,
.holder-monitor-detail-table td {
  padding: 6px 8px;
}

.holder-monitor-detail-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .holder-monitor-detail-row td {
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .holder-monitor-detail-table tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .holder-monitor-note-display:hover {
  background: rgba(15, 23, 42, 0.06);
}

.holder-monitor-main-card .panel-head {
  flex-wrap: wrap;
}

.holder-monitor-panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.holder-monitor-address-search-input {
  width: min(240px, 100%);
  min-width: 160px;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
  flex: 0 0 auto;
}

.holder-monitor-events-card .panel-head .holder-monitor-address-search-input {
  flex-shrink: 0;
}

.holder-monitor-main-card .panel-head .btn + .btn {
  margin-left: 0;
}

.holder-monitor-blacklist-actions {
  gap: 10px;
}

.holder-monitor-blacklist-summary {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.holder-monitor-blacklist-wrap {
  max-height: 180px;
  overflow: auto;
  margin-top: 10px;
}

.holder-monitor-blacklist-table td:first-child {
  font-family: var(--mono, monospace);
  font-size: 12px;
}

@media (max-width: 960px) {
  .holder-monitor-config-grid {
    grid-template-columns: 1fr;
  }

  .holder-monitor-table-wrap {
    max-height: 56vh;
  }

  .holder-monitor-detail-inner {
    padding-left: 14px;
  }
}

.auth-gate-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px);
  gap: 24px;
  align-items: stretch;
}

.auth-gate-hero,
.auth-card {
  background: linear-gradient(165deg, rgba(28, 34, 42, 0.96), rgba(14, 18, 24, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.auth-gate-hero {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.auth-gate-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
}

.auth-gate-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.auth-gate-points {
  display: grid;
  gap: 12px;
}

.auth-gate-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.page-load-error {
  width: 100%;
  border-color: rgba(246, 70, 93, 0.45);
  background: rgba(246, 70, 93, 0.08);
}

.page-load-error strong {
  color: var(--danger);
}

.page-load-error p {
  margin: 8px 0 0;
  color: var(--muted);
}

.auth-gate-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(240, 185, 11, 0.1);
}

.auth-card {
  padding: 28px;
}

.auth-card-head {
  margin-bottom: 18px;
}

.auth-card-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.auth-card-head p {
  margin: 0;
  color: var(--muted);
}

.auth-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.auth-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.auth-form input:focus {
  border-color: rgba(240, 185, 11, 0.38);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.08);
}

.auth-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.auth-feedback {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.auth-feedback.is-error {
  color: var(--danger);
}

.auth-feedback.is-success {
  color: var(--success);
}

.page {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  position: relative;
  z-index: 1;
}

.hero,
.section-grid,
.page-header,
.alpha-top-grid {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel {
  background: linear-gradient(165deg, rgba(28, 34, 44, 0.9) 0%, rgba(12, 16, 22, 0.94) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  backdrop-filter: blur(24px) saturate(1.15);
}

.hero-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1,
.page-header h1 {
  margin: 12px 0 16px;
  line-height: 1.12;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy p,
.page-header p,
.panel-head p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-actions,
.page-header-actions,
.panel-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid rgba(240, 185, 11, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(145deg, #ffe066 0%, #f0b90b 48%, #d9a207 100%);
  color: #14181f;
  box-shadow: 0 6px 18px rgba(240, 185, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 10px 26px rgba(240, 185, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.hero-panel,
.panel {
  padding: 22px 24px;
}

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

.hero-panel-head {
  margin-bottom: 22px;
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(246, 70, 93, 0.12);
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(14, 203, 129, 0.12);
}

.hero-panel-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.stat-item,
.module-card,
.mock-post,
.rank-row {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.metric-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-card span,
.stat-item span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong,
.stat-item strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  word-break: break-word;
}

.metric-card small {
  color: var(--muted);
}

.metric-card.featured {
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.12), rgba(255, 255, 255, 0.02));
}

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

.page-header {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.page-header.panel.page-intro {
  padding: 28px 28px 24px;
}

.alpha-page-header h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.8vw, 40px);
}

.alpha-page-header p {
  max-width: 620px;
}

.alpha-page-header {
  margin-bottom: -4px;
}

.panel-head h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.alpha-shell-card,
.rankings-shell {
  border-radius: var(--radius);
}

/* —— 首页板块介绍 —— */
.page-dashboard {
  gap: 22px;
}

.home-hero {
  padding: 0;
  overflow: hidden;
}

.home-hero-inner {
  padding: 40px 36px 36px;
  max-width: 720px;
}

.home-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.home-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-quick-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-quick-link:hover {
  background: var(--accent-soft);
  border-color: rgba(240, 185, 11, 0.25);
  color: var(--text);
}

.home-showcase {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 1080px) {
  .home-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.showcase-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(26, 32, 42, 0.92) 0%, rgba(10, 14, 20, 0.96) 100%);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.showcase-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow), var(--shadow-inset);
}

.showcase-alpha {
  border-left: 3px solid rgba(240, 185, 11, 0.55);
}

.showcase-futures {
  border-left: 3px solid rgba(14, 203, 129, 0.5);
}

.showcase-rankings {
  border-left: 3px solid rgba(99, 140, 255, 0.5);
}

.showcase-yields {
  border-left: 3px solid rgba(34, 211, 238, 0.5);
}

.showcase-card-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.showcase-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(240, 185, 11, 0.14);
  color: var(--accent);
}

.showcase-icon.alt {
  background: rgba(14, 203, 129, 0.14);
  color: var(--success);
}

.showcase-icon.rankings {
  background: rgba(99, 140, 255, 0.16);
  color: #8eb4ff;
}

.showcase-icon.yields {
  background: rgba(34, 211, 238, 0.14);
  color: #5eead4;
}

.showcase-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.showcase-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.showcase-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.showcase-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.92;
}

.showcase-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.showcase-futures .showcase-features li::before {
  background: var(--success);
}

.showcase-rankings .showcase-features li::before {
  background: #8eb4ff;
}

.showcase-yields .showcase-features li::before {
  background: #5eead4;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 18px;
}

.showcase-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  margin-right: 6px;
}

.showcase-footer .btn {
  margin-left: auto;
}

.module-list,
.mock-post-list,
.asset-list,
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  transition: all 0.2s ease;
}

.module-card:hover {
  border-color: rgba(240, 185, 11, 0.35);
  transform: translateY(-1px);
}

.module-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(240, 185, 11, 0.14);
  color: var(--accent);
  font-weight: 800;
}

.module-icon.alt {
  background: rgba(14, 203, 129, 0.14);
  color: var(--success);
}

.module-card h3,
.mock-post h3 {
  margin: 0 0 8px;
}

.module-card p,
.mock-post p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.keyword-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.keyword-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.keyword-chip.active {
  color: var(--accent);
  border-color: rgba(240, 185, 11, 0.3);
  background: rgba(240, 185, 11, 0.08);
}

.keyword-chip button {
  margin-left: 8px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.success {
  color: var(--success);
  background: rgba(14, 203, 129, 0.12);
}

.pill.warning {
  color: var(--warning);
  background: rgba(240, 185, 11, 0.12);
}

.pill.danger {
  color: var(--danger);
  background: rgba(246, 70, 93, 0.12);
}

.asset-row,
.rank-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

.asset-row strong,
.rank-row strong {
  font-size: 16px;
}

.asset-meta,
.rank-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  background: transparent;
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(12, 16, 22, 0.94);
  backdrop-filter: blur(12px);
}

.data-table tbody tr {
  transition: background 0.18s var(--ease-out);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.search-input,
.compare-form input,
.keyword-form input,
.compare-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.search-input:focus,
.compare-form input:focus,
.keyword-form input:focus,
.compare-form select:focus {
  border-color: rgba(240, 185, 11, 0.35);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.08);
}

.compare-form,
.keyword-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-inline-grid {
  display: grid;
  gap: 12px;
}

.panel-inline-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-inline-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-inline-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-form span,
.keyword-form span {
  color: var(--muted);
  font-size: 13px;
}

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

.quick-button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-button-row .btn {
  min-height: 40px;
  padding: 0 14px;
}

.compare-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

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

.compare-box {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.compare-box .label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.compare-box .value {
  font-size: 18px;
  font-weight: 700;
  word-break: break-word;
}

.compare-box .sub {
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
}

.move-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.move-card-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.move-card-title {
  font-size: 15px;
  font-weight: 700;
}

.move-card-meta {
  color: var(--muted);
  font-size: 13px;
}

.move-card-value {
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.value-success {
  color: var(--success);
}

.value-warning {
  color: var(--warning);
}

.value-danger {
  color: var(--danger);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  text-align: center;
  color: var(--muted);
}

.table-state-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-block {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.12) 0%,
    rgba(148, 163, 184, 0.28) 50%,
    rgba(148, 163, 184, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-w-xs {
  width: 24px;
  margin: 0 auto;
}

.skeleton-w-sm {
  width: 56px;
  margin-left: auto;
}

.skeleton-w-lg {
  width: 88px;
}

.alpha-ranking-skeleton-row td {
  padding-top: 13px;
  padding-bottom: 13px;
}

.alpha-top-layout .table-wrap.is-loading {
  pointer-events: none;
}

.alpha-top-grid {
  grid-template-columns: 1.1fr 1fr;
}

.alpha-summary-grid {
  grid-template-columns: 1fr;
}

.alpha-top-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.alpha-top-stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.alpha-top-stat-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.alpha-top-stat-value {
  font-size: 18px;
  font-weight: 700;
  word-break: break-word;
}

.alpha-top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: stretch;
}

.alpha-top-layout > .alpha-shell-card:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
}

.alpha-focus-card {
  grid-column: 1;
  grid-row: 2;
}

.alpha-kline-side-card {
  grid-column: 2;
  grid-row: 2;
}

.alpha-bottom-layout {
  margin-top: 18px;
}

.alpha-alert-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.alpha-alert-section {
  min-width: 0;
}

.alpha-alert-events-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.alpha-alert-events-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.alpha-alert-events-head h3 {
  margin: 0;
  font-size: 15px;
}

.alpha-alert-events-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.alpha-alert-events-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alpha-shell-card {
  padding: 18px;
}

.alpha-top-layout > .alpha-shell-card,
.alpha-bottom-layout > .alpha-shell-card {
  min-width: 0;
}

.alpha-focus-card,
.alpha-kline-side-card {
  height: 100%;
}

.alpha-top-layout > .alpha-shell-card {
  overflow: hidden;
}

.alpha-compact-head {
  margin-bottom: 10px;
}

.alpha-token-name-cell strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpha-token-name-cell .asset-meta {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpha-token-name-cell .asset-meta:first-of-type {
  color: rgba(255, 255, 255, 0.72);
}

.alpha-token-name-cell .asset-meta:last-of-type {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.alpha-focus-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.alpha-focus-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.alpha-focus-subtitle {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.selected-token-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.selected-token-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.selected-token-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.selected-token-item span,
.control-label,
.alpha-mini-stat span {
  color: var(--muted);
  font-size: 13px;
}

.selected-token-item strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  word-break: break-word;
}

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

.alpha-control-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.alpha-control-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.018);
}

.segmented-control {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.segmented-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  cursor: pointer;
}

.segmented-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.segmented-control.compact {
  gap: 8px;
}

.segmented-control.compact .segmented-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.segmented-button.active {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #f8d12f, #f0b90b);
  font-weight: 700;
}

.alpha-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.alpha-mini-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.alpha-mini-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  word-break: break-word;
}

.alpha-chart-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 22, 29, 0.96), rgba(10, 13, 18, 0.96));
  min-height: 456px;
  padding: 16px;
  overflow: hidden;
}

.alpha-chart-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-chart-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alpha-chart-title-group strong {
  font-size: 17px;
  font-weight: 700;
}

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

.alpha-chart-token-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 2px;
}

.alpha-chart-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.alpha-chart-stat-item em {
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

.alpha-chart-stat-item strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.alpha-chart-stat-badge {
  display: inline-flex;
  align-items: center;
}

.alpha-chart-stat-badge .listing-badge {
  min-width: 48px;
  padding: 1px 8px;
  font-size: 10px;
}

.alpha-chart-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.alpha-chart-caption-row {
  padding: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.alpha-chart-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.alpha-chart-legend span {
  white-space: nowrap;
}

.alpha-chart-host {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 20, 27, 0.88), rgba(10, 13, 18, 0.88));
}

.alpha-chart-host .empty-state {
  min-height: 360px;
}

.alpha-kline-compact-table {
  min-width: 520px;
}

.alpha-kline-side-wrap {
  max-height: 620px;
  overflow: auto;
}

.alpha-kline-compact-table thead th {
  font-size: 11px;
  letter-spacing: 0.02em;
  background: rgba(18, 22, 29, 0.94);
  white-space: nowrap;
}

.alpha-kline-compact-table td,
.alpha-kline-compact-table th {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.alpha-kline-compact-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.alpha-kline-compact-table td:first-child,
.alpha-kline-compact-table th:first-child {
  width: 42%;
}

.alpha-kline-compact-table td:not(:first-child),
.alpha-kline-compact-table th:not(:first-child) {
  text-align: right;
}

.alpha-kline-compact-table td {
  font-size: 11px;
  border-bottom-color: rgba(255, 255, 255, 0.05);
  font-variant-numeric: tabular-nums;
}

.alpha-kline-compact-table td:first-child {
  color: var(--text);
}

.alpha-kline-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.alpha-alert-form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.alpha-alert-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.alpha-alert-form-grid input,
.alpha-alert-form-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.alpha-alert-form-actions {
  display: flex;
  align-items: flex-end;
  grid-column: span 1;
}

.alpha-watch-form-hint {
  color: var(--muted);
  font-size: 12px;
}

.alpha-watch-search-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 8px;
}

.alpha-watch-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.alpha-watch-search span {
  color: var(--muted);
  font-size: 12px;
}

.alpha-watch-search-input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.alpha-watch-search-results {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.alpha-watch-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.alpha-watch-search-item strong {
  font-size: 13px;
}

.alpha-watch-search-item span {
  color: var(--muted);
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.alpha-watch-search-item:hover,
.alpha-watch-search-item.is-active {
  border-color: rgba(240, 185, 11, 0.45);
  background: rgba(240, 185, 11, 0.08);
}

.alpha-watch-search-empty {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.alpha-watch-alert-picked {
  margin-bottom: 12px;
  font-size: 13px;
}

.alpha-alert-selected-token {
  grid-column: span 2;
}

.alpha-alert-selected-token-value {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: flex;
  align-items: center;
}

.alpha-watch-alert-list,
.alpha-alert-event-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.alpha-alert-events-panel .alpha-alert-event-list {
  max-height: 280px;
  overflow: auto;
  margin-top: 0;
}

.alpha-ranking-head {
  margin-bottom: 12px;
}

.alpha-ranking-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.alpha-ranking-meta-top {
  text-align: right;
  align-self: flex-start;
  max-width: 56%;
  line-height: 1.5;
}

.alpha-ranking-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 420px;
  min-width: 380px;
  max-width: 520px;
  margin-left: auto;
}

.alpha-ranking-search-label {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.alpha-ranking-search-input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 960px) {
  .alpha-ranking-meta-top {
    max-width: 100%;
    text-align: left;
  }

  .alpha-ranking-search {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    margin-left: 0;
  }
}

.alpha-ranking-meta {
  color: var(--muted);
  font-size: 12px;
}

.alpha-ranking-table {
  min-width: 1040px;
}

.alpha-top-layout .table-wrap {
  min-width: 0;
}

.alpha-top-layout .alpha-ranking-table {
  table-layout: fixed;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(1),
.alpha-top-layout .alpha-ranking-table td:nth-child(1) {
  width: 42px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(2),
.alpha-top-layout .alpha-ranking-table td:nth-child(2) {
  width: 18%;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(n + 3),
.alpha-top-layout .alpha-ranking-table td:nth-child(n + 3) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(3),
.alpha-top-layout .alpha-ranking-table td:nth-child(3) {
  width: 72px;
  text-align: center;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(4),
.alpha-top-layout .alpha-ranking-table td:nth-child(4) {
  width: 72px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(5),
.alpha-top-layout .alpha-ranking-table td:nth-child(5) {
  width: 76px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(6),
.alpha-top-layout .alpha-ranking-table td:nth-child(6) {
  width: 82px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(7),
.alpha-top-layout .alpha-ranking-table td:nth-child(7) {
  width: 68px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(8),
.alpha-top-layout .alpha-ranking-table td:nth-child(8) {
  width: 78px;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(9),
.alpha-top-layout .alpha-ranking-table td:nth-child(9) {
  width: 74px;
}

.listing-cell {
  text-align: center;
}

.alpha-listing-filter-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.alpha-top-layout .alpha-ranking-table th:nth-child(3) .alpha-listing-filter-head {
  justify-content: flex-end;
}

.alpha-listing-filter-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
  flex-shrink: 0;
}

.alpha-listing-filter-box input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.alpha-listing-filter-check {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.alpha-listing-filter-box input:checked + .alpha-listing-filter-check {
  background: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.85);
}

.alpha-listing-filter-box:hover {
  border-color: var(--accent);
}

:root[data-theme="light"] .alpha-listing-filter-box {
  background: #fff;
  border-color: rgba(100, 116, 139, 0.45);
}

:root[data-theme="light"] .alpha-listing-filter-box input:checked + .alpha-listing-filter-check {
  box-shadow: inset 0 0 0 2px #fff;
}

.listing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}

.listing-badge-yes {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}

.listing-badge-no {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.12);
}

:root[data-theme="light"] .listing-badge-yes {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

:root[data-theme="light"] .listing-badge-no {
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
}

.alpha-top-layout .alpha-ranking-table td:nth-child(2),
.alpha-top-layout .alpha-ranking-table th:nth-child(2) {
  min-width: 0;
}

.alpha-ranking-token-cell {
  display: grid;
  gap: 2px;
}

.alpha-copy-inline {
  cursor: pointer;
}

.alpha-copy-inline:hover {
  color: var(--accent);
}

.alpha-top-layout .alpha-ranking-table .asset-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-top-layout > .alpha-shell-card:first-child .table-wrap {
  max-height: 760px;
  min-height: 520px;
  overflow: auto;
}

.alpha-top-layout > .alpha-shell-card:first-child .table-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.alpha-ranking-table thead th {
  font-size: 12px;
  background: rgba(18, 22, 29, 0.94);
  white-space: nowrap;
}

.alpha-ranking-sortable {
  padding: 0;
  text-align: center;
}

.alpha-ranking-sort-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 36px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.alpha-top-layout .alpha-ranking-table th.alpha-ranking-sortable,
.alpha-top-layout .alpha-ranking-table td:nth-child(5),
.alpha-top-layout .alpha-ranking-table td:nth-child(7),
.alpha-top-layout .alpha-ranking-table td:nth-child(8) {
  text-align: center;
}

.alpha-ranking-sort-trigger:hover {
  color: var(--accent);
}

.alpha-sort-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.alpha-sort-arrow {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.15s ease;
}

.alpha-ranking-sort-trigger.is-sorted-asc .alpha-sort-arrow.up,
.alpha-ranking-sort-trigger.is-sorted-desc .alpha-sort-arrow.down {
  color: var(--accent);
}

.alpha-ranking-table th,
.alpha-ranking-table td {
  padding-left: 5px;
  padding-right: 5px;
}

.alpha-ranking-row {
  cursor: pointer;
}

.alpha-ranking-row td {
  padding-top: 8px;
  padding-bottom: 8px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.alpha-ranking-row:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.alpha-ranking-row.is-active td {
  background: rgba(240, 185, 11, 0.08);
}

.alpha-ranking-row.is-active td:first-child {
  box-shadow: inset 3px 0 0 rgba(240, 185, 11, 1);
}

.alpha-ranking-table td strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0;
}

.alpha-ranking-table td .asset-meta {
  margin-top: 0;
  font-size: 10px;
  line-height: 1.25;
}

.alpha-ranking-table td:nth-child(n + 3) {
  font-size: 13px;
}

.alpha-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  padding: 10px 16px;
  border: 1px solid rgba(240, 185, 11, 0.18);
  border-radius: 999px;
  background: rgba(16, 20, 27, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 50;
}

.alpha-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.alpha-watch-alert-item,
.alpha-alert-event-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.alpha-watch-alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.alpha-watch-alert-main,
.alpha-alert-event-main {
  display: grid;
  gap: 6px;
}

.alpha-watch-alert-main strong,
.alpha-alert-event-main strong {
  font-size: 14px;
}

.alpha-watch-alert-meta,
.alpha-alert-event-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.alpha-alert-unread-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(240, 185, 11, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.alpha-alert-event-item {
  padding: 14px 16px;
}

.alpha-alert-event-item.is-read {
  opacity: 0.72;
}

.alpha-alert-event-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.alpha-alert-event-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
}

.alpha-alert-event-metrics span {
  color: var(--muted);
}

.alpha-alert-scope-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
}

.alpha-alert-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.alpha-alert-action-row .btn {
  min-height: 36px;
  padding: 0 14px;
}

.auth-alert-chip {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.auth-alert-chip.is-active::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(246, 70, 93, 0.12);
}

.auth-alert-drawer {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 38, 48, 0.98), rgba(18, 23, 29, 0.98));
  box-shadow: var(--shadow);
  z-index: 400;
  display: none;
}

.auth-alert-drawer.is-open {
  display: grid;
  gap: 12px;
}

.auth-alert-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-alert-drawer-title {
  display: grid;
  gap: 4px;
}

.auth-alert-drawer-title strong {
  font-size: 14px;
}

.auth-alert-drawer-title span {
  color: var(--muted);
  font-size: 12px;
}

.auth-alert-drawer-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.auth-alert-drawer-item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.auth-alert-drawer-item.is-read {
  opacity: 0.72;
}

.auth-alert-drawer-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.auth-alert-drawer-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.auth-alert-drawer-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 2px;
}

@media (max-width: 1100px) {
  .auth-gate-shell {
    grid-template-columns: 1fr;
  }

  .rankings-grid-funding,
  .rankings-grid-futuresVolume,
  .rankings-grid-spotVolume,
  .rankings-grid-mentions,
  .rankings-grid-alpha {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .section-grid,
  .alpha-top-layout,
  .alpha-bottom-layout,
  .alpha-top-grid,
  .alpha-top-strip,
  .page-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1380px) {
  .alpha-top-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .alpha-top-layout > .alpha-shell-card:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .alpha-focus-card {
    grid-column: 1;
    grid-row: 2;
  }

  .alpha-kline-side-card {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 20px, 1440px);
    padding-top: 16px;
  }

  .rankings-grid-oi,
  .rankings-grid-alpha {
    grid-template-columns: 1fr;
  }

  .rankings-grid-funding,
  .rankings-grid-futuresVolume,
  .rankings-grid-spotVolume,
  .rankings-grid-mentions {
    grid-template-columns: 1fr;
  }

  .topbar,
  .hero-copy,
  .hero-panel,
  .panel {
    padding: 18px;
  }

  .hero-panel-grid,
  .stats-grid,
  .alpha-alert-form-grid,
  .alpha-top-strip,
  .selected-token-grid,
  .alpha-control-grid,
  .alpha-control-strip,
  .alpha-mini-stats,
  .compare-grid,
  .compare-result-grid,
  .panel-inline-grid-4,
  .panel-inline-grid-3,
  .panel-inline-grid-2 {
    grid-template-columns: 1fr;
  }

  .alpha-top-layout,
  .alpha-bottom-layout {
    gap: 14px;
  }

  .topbar {
    gap: 10px;
  }

  .topbar-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions,
  .topbar-right,
  .auth-user-bar {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-subtitle {
    white-space: normal;
  }

  .auth-card,
  .auth-gate-hero {
    padding: 22px;
  }

  .alpha-alert-selected-token {
    grid-column: span 1;
  }

  .alpha-alert-form-actions {
    grid-column: span 1;
  }

  .alpha-shell-card {
    padding: 20px;
  }

  .alpha-chart-card {
    padding: 16px;
  }

  .alpha-token-table {
    border-spacing: 0 6px;
  }

  .alpha-token-row td {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5f7;
  --bg-soft: #eceef2;
  --panel: #ffffff;
  --panel-strong: #f8f9fb;
  --line: rgba(16, 20, 26, 0.1);
  --text: #14181f;
  --muted: #667085;
  --accent: #b88900;
  --accent-soft: rgba(184, 137, 0, 0.12);
  --success: #0aa869;
  --warning: #c99400;
  --danger: #e03e51;
  --shadow: 0 18px 48px rgba(16, 20, 26, 0.08);
}

html[data-theme="light"] {
  color-scheme: light;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at top right, rgba(240, 185, 11, 0.1), transparent 24%),
    radial-gradient(circle at top left, rgba(246, 70, 93, 0.05), transparent 22%);
  background-attachment: scroll;
}

html[data-theme="light"] body {
  background-color: var(--bg);
}

:root[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .hero-copy,
:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .panel,
:root[data-theme="light"] .auth-card,
:root[data-theme="light"] .auth-gate-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 251, 0.98));
}

:root[data-theme="light"] .alpha-control-block,
:root[data-theme="light"] .selected-token-item,
:root[data-theme="light"] .metric-card,
:root[data-theme="light"] .compare-box,
:root[data-theme="light"] .module-card,
:root[data-theme="light"] .rankings-panel,
:root[data-theme="light"] .futures-side-card,
:root[data-theme="light"] .alpha-chart-card {
  background: rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .auth-user-chip,
:root[data-theme="light"] .segmented-button,
:root[data-theme="light"] .search-input,
:root[data-theme="light"] .btn-secondary {
  background: rgba(16, 20, 26, 0.04);
}

:root[data-theme="light"] .segmented-button.active {
  background: var(--accent-soft);
  color: var(--text);
  border-color: rgba(184, 137, 0, 0.28);
}

:root[data-theme="light"] .data-table thead th,
:root[data-theme="light"] .alpha-ranking-table thead th {
  background: rgba(244, 245, 247, 0.98);
}

:root[data-theme="light"] .alpha-ranking-row:hover td,
:root[data-theme="light"] .data-table tbody tr:hover td {
  background: rgba(16, 20, 26, 0.03);
}

:root[data-theme="light"] .alpha-ranking-row.is-active td {
  background: rgba(184, 137, 0, 0.1);
}

:root[data-theme="light"] .skeleton-block {
  background: linear-gradient(
    90deg,
    rgba(16, 20, 26, 0.06) 0%,
    rgba(16, 20, 26, 0.12) 50%,
    rgba(16, 20, 26, 0.06) 100%
  );
  background-size: 200% 100%;
}

:root[data-theme="light"] .alpha-token-name-cell .asset-meta {
  color: rgba(16, 20, 26, 0.56);
}

:root[data-theme="light"] .alpha-chart-host,
:root[data-theme="light"] .alpha-chart-card {
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.98), rgba(244, 245, 247, 0.98));
}

:root[data-theme="light"] .alpha-copy-toast,
:root[data-theme="light"] .auth-alert-drawer {
  background: rgba(255, 255, 255, 0.96);
}

.data-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.data-table tbody td {
  font-size: 13px;
}

.segmented-button {
  font-size: 13px;
}

:root[data-theme="light"] .showcase-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 251, 0.98));
}

:root[data-theme="light"] .home-quick-link {
  background: rgba(16, 20, 26, 0.04);
}

:root[data-theme="light"] .theme-toggle-btn {
  background: rgba(16, 20, 26, 0.04);
  border-color: rgba(16, 20, 26, 0.12);
  color: var(--text);
}

:root[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(16, 20, 26, 0.07);
}

:root[data-theme="light"] .brand-mark {
  color: #ffffff;
}

.page-admin .admin-hero {
  margin-bottom: 0;
}

.admin-settings-grid {
  align-items: stretch;
}

.admin-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.admin-setting-copy {
  display: grid;
  gap: 8px;
}

.admin-setting-copy strong {
  font-size: 16px;
}

.admin-setting-hint,
.admin-settings-key-block small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.admin-status-pill.is-open {
  color: var(--success);
  background: rgba(14, 203, 129, 0.12);
}

.admin-status-pill.is-wallet {
  color: var(--warning);
  background: rgba(240, 185, 11, 0.14);
}

.admin-toggle {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 32px;
  flex-shrink: 0;
}

.admin-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.admin-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
  cursor: pointer;
}

.admin-toggle-slider::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.admin-toggle input:checked + .admin-toggle-slider {
  background: rgba(240, 185, 11, 0.45);
}

.admin-toggle input:checked + .admin-toggle-slider::before {
  transform: translateX(24px);
}

.admin-settings-key-block {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-settings-key-block input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.admin-stats-grid {
  margin-bottom: 16px;
}

.admin-runtime-tips {
  margin-top: 4px;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-table-empty {
  text-align: center;
  color: var(--muted);
}

.admin-wallet-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.admin-user-agent-cell {
  max-width: 280px;
  color: var(--muted);
  word-break: break-all;
}

:root[data-theme="light"] .submit-field-input {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .submit-field-input:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.18);
}

:root[data-theme="light"] .submit-field-input:focus {
  background: #fff;
  border-color: rgba(240, 185, 11, 0.55);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.14);
}

:root[data-theme="light"] .site-contact-icon {
  background: rgba(16, 20, 26, 0.04);
  border-color: rgba(16, 20, 26, 0.1);
}

:root[data-theme="light"] .site-contact-icon:hover {
  background: rgba(16, 20, 26, 0.07);
}

:root[data-theme="light"] .submit-modal-close {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
}

.ledger-overview-grid {
  display: grid;
  gap: 16px;
}

.ledger-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
}

.ledger-overview-head h2 {
  margin: 0 0 4px;
}

.ledger-overview-head p {
  margin: 0;
}

.ledger-overview-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
}

.ledger-overview-filter label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ledger-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
}

.ledger-subnav a {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.ledger-subnav a.active {
  border-color: rgba(240, 185, 11, 0.35);
  background: rgba(240, 185, 11, 0.12);
  color: var(--accent);
}

.ledger-page-panel {
  display: grid;
  gap: 14px;
}

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

.ledger-overview-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.ledger-overview-card.is-total {
  border-color: rgba(240, 185, 11, 0.28);
  background: rgba(240, 185, 11, 0.06);
}

.ledger-overview-card-title {
  font-size: 14px;
  font-weight: 700;
}

.ledger-overview-card-meta {
  margin: 4px 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.ledger-overview-card-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-top: 6px;
}

.ledger-overview-chart {
  padding-top: 8px;
}

.ledger-overview-trend {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

.ledger-trend-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.ledger-trend-latest {
  display: grid;
  gap: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

.ledger-trend-latest strong {
  font-size: 18px;
  color: var(--text);
}

.ledger-trend-chart-wrap {
  overflow-x: auto;
}

.ledger-trend-chart {
  width: 100%;
  min-width: 640px;
  height: auto;
  display: block;
}

.ledger-trend-grid {
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1;
}

.ledger-trend-axis {
  fill: var(--muted);
  font-size: 11px;
}

.ledger-trend-area {
  fill: rgba(14, 203, 129, 0.12);
}

.ledger-trend-line {
  fill: none;
  stroke: rgba(14, 203, 129, 0.92);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ledger-trend-dot {
  fill: rgba(14, 203, 129, 0.95);
  stroke: rgba(15, 23, 42, 0.85);
  stroke-width: 1;
}

:root[data-theme="light"] .topnav-dropdown {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.project-db-mark {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(59, 130, 246, 0.85));
}

.project-db-shell {
  display: grid;
  gap: 16px;
}

.project-db-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.project-db-search-input {
  min-width: 0;
}

.project-db-results {
  display: grid;
  gap: 12px;
}

.project-db-card {
  display: grid;
  gap: 10px;
}

.project-db-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.project-db-card-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.project-db-card-ca {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.project-db-symbol {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.14);
  color: rgba(147, 197, 253, 0.95);
  font-size: 12px;
  font-weight: 700;
}

.project-db-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
  color: var(--muted);
}

.project-db-card-notes {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  display: grid;
  gap: 8px;
}

.project-db-notes-section {
  display: grid;
  gap: 6px;
}

.project-db-notes-section-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(147, 197, 253, 0.95);
  letter-spacing: 0.02em;
}

.project-db-note-line {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  word-break: break-word;
}

.project-db-notes-block {
  display: grid;
  gap: 14px;
}

.project-db-notes-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.project-db-notes-list li {
  line-height: 1.6;
  word-break: break-word;
}

.project-db-link {
  color: rgba(147, 197, 253, 0.98);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-db-link:hover {
  color: rgba(191, 219, 254, 1);
}

.project-db-detail-modal .submit-modal-head {
  text-align: left;
  margin-bottom: 12px;
  padding-right: 36px;
}

.project-db-detail-head h2 {
  margin-top: 6px;
}

.project-db-card.is-external {
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.project-db-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-db-source-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.project-db-source-badge.is-manual {
  background: rgba(14, 203, 129, 0.14);
  color: rgba(110, 231, 183, 0.95);
}

.project-db-source-badge.is-external {
  background: rgba(96, 165, 250, 0.16);
  color: rgba(147, 197, 253, 0.98);
}

.project-db-field-source {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}

.project-db-detail-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.project-db-source-note {
  font-size: 12px;
  color: var(--muted);
}

.project-db-card-actions {
  display: flex;
  justify-content: flex-end;
}

.project-db-detail-card {
  width: min(760px, calc(100vw - 32px));
}

.project-db-detail-body {
  display: grid;
  gap: 16px;
}

.project-db-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-db-detail-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
}

.project-db-detail-item span {
  font-size: 12px;
  color: var(--muted);
}

.project-db-detail-item strong,
.project-db-notes {
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-line;
}

.project-db-detail-span-2 {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .project-db-search-bar {
    grid-template-columns: 1fr;
  }

  .project-db-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-db-detail-span-2 {
    grid-column: span 1;
  }
}

.ledger-chart-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}

.ledger-chart-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 6px;
}

.ledger-chart-dot.is-invested {
  background: rgba(148, 163, 184, 0.85);
}

.ledger-chart-dot.is-current {
  background: rgba(14, 203, 129, 0.85);
}

.ledger-chart-bars {
  display: grid;
  gap: 12px;
}

.ledger-chart-group {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
}

.ledger-chart-label {
  font-size: 13px;
  font-weight: 600;
}

.ledger-chart-bar-wrap {
  display: grid;
  gap: 6px;
}

.ledger-chart-bar {
  height: 10px;
  border-radius: 999px;
  min-width: 2px;
}

.ledger-chart-bar.is-invested {
  background: rgba(148, 163, 184, 0.55);
}

.ledger-chart-bar.is-current {
  background: rgba(14, 203, 129, 0.72);
}

.ledger-chart-values {
  text-align: right;
  font-size: 12px;
}

.ledger-tabs {
  display: grid;
  gap: 16px;
}

.ledger-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ledger-tab-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.ledger-tab-btn.active {
  border-color: rgba(240, 185, 11, 0.35);
  background: rgba(240, 185, 11, 0.12);
  color: var(--accent);
}

.ledger-tab-panel {
  display: grid;
  gap: 14px;
}

.ledger-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

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

.ledger-form-span-2 {
  grid-column: span 2;
}

.ledger-form-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.ledger-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ledger-table-wrap {
  max-height: 420px;
  overflow: auto;
}

.ledger-table th,
.ledger-table td {
  white-space: nowrap;
}

.ledger-row.is-active {
  background: rgba(240, 185, 11, 0.05);
}

.ledger-row.is-completed {
  opacity: 0.78;
}

.ledger-row.is-pinned {
  background: rgba(59, 130, 246, 0.08);
}

.ledger-pin-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
}

.ledger-table th.alpha-ranking-sortable {
  padding: 0;
}

.ledger-table .alpha-ranking-sort-trigger {
  min-height: 32px;
  padding: 8px 6px;
  font-size: 13px;
}

.ledger-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.ledger-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.ledger-status-pill.is-active {
  color: #f0b90b;
  background: rgba(240, 185, 11, 0.12);
}

.ledger-status-pill.is-completed {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
}

.ledger-form-grid label select.search-input {
  min-height: 40px;
}

.ledger-page-progress {
  height: 3px;
  margin: 0 0 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

body.ledger-data-loading .ledger-page-progress {
  opacity: 1;
}

.ledger-page-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(240, 185, 11, 0.15), rgba(240, 185, 11, 0.95), rgba(240, 185, 11, 0.15));
  animation: ledger-progress-slide 0.85s ease-in-out infinite;
}

@keyframes ledger-progress-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

body.ledger-data-loading .ledger-overview-cards:empty,
body.ledger-data-loading .ledger-table-wrap .empty-state {
  position: relative;
}

body.ledger-data-loading .ledger-overview-cards:empty::after {
  content: "";
  display: block;
  min-height: 132px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.1) 0%,
    rgba(148, 163, 184, 0.22) 50%,
    rgba(148, 163, 184, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.ledger-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.ledger-dca-detail-panel {
  width: min(760px, 100%);
}

.ledger-dca-detail-panel .submit-modal-head {
  text-align: left;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .ledger-overview-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-overview-filter {
    width: 100%;
  }

  .ledger-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-form-span-2 {
    grid-column: span 2;
  }

  .ledger-chart-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ledger-overview-cards,
  .ledger-form-grid {
    grid-template-columns: 1fr;
  }

  .ledger-form-span-2 {
    grid-column: span 1;
  }
}

.wallet-hub-chip {
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.wallet-hub-drawer {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.wallet-hub-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.wallet-hub-head strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.wallet-hub-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.wallet-hub-section + .wallet-hub-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.wallet-hub-section-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-hub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.wallet-hub-row strong {
  color: var(--text);
}

.wallet-hub-meta,
.wallet-hub-empty {
  color: var(--muted);
  font-size: 12px;
}

.wallet-hub-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  text-decoration: none;
}

.wallet-hub-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.wallet-hub-quick-links a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  text-decoration: none;
}

.growth-shell {
  display: grid;
  gap: 16px;
}

.growth-stack {
  display: grid;
  gap: 16px;
}

.growth-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

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

.growth-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.growth-stat-grid > div {
  min-width: 0;
}

.growth-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.growth-stat-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  word-break: break-all;
}

.growth-stat-grid strong.is-up,
.growth-table .is-up,
.wallet-hub-row .is-up {
  color: #3ecf8e;
}

.growth-stat-grid strong.is-down,
.growth-table .is-down,
.wallet-hub-row .is-down {
  color: #ff6b6b;
}

.growth-table-wrap {
  overflow-x: auto;
}

.growth-table {
  width: 100%;
  border-collapse: collapse;
}

.growth-table th,
.growth-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.growth-subline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.growth-empty {
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

.growth-notes {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
}

.growth-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.growth-quick-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 768px) {
  .growth-card-head {
    flex-direction: column;
  }

  .wallet-hub-drawer {
    position: fixed;
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }

  .unlocks-timeline-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.unlocks-page {
  gap: 16px;
}

.unlocks-panel {
  display: grid;
  gap: 16px;
}

.unlocks-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.unlocks-intro strong {
  color: var(--text);
}

.unlocks-timeline {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.unlocks-timeline-month h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
}

.unlocks-timeline-row {
  display: grid;
  grid-template-columns: 88px 108px 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}

.unlocks-timeline-row strong {
  color: var(--text);
}

.unlocks-timeline-row span {
  color: var(--muted);
}

.unlocks-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.unlocks-table-root {
  min-height: 0;
}

.unlocks-table-root .growth-table-wrap {
  max-height: min(70vh, 720px);
  overflow: auto;
}

.launchpads-page {
  gap: 16px;
}

.launchpads-panel {
  display: grid;
  gap: 16px;
}

.launchpads-notes {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.launchpads-notes p {
  margin: 0;
}

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

.launchpad-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.launchpad-card:hover,
.launchpad-card.is-active {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.launchpad-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.launchpad-card-head strong {
  display: block;
  font-size: 15px;
}

.launchpad-card-head span {
  color: var(--muted);
  font-size: 12px;
}

.launchpad-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.launchpad-card-metrics > div {
  display: grid;
  gap: 4px;
}

.launchpad-card-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.launchpad-card-metrics strong {
  font-size: 13px;
}

.chain-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.02em;
  color: #fff;
}

.chain-icon[data-icon="bsc"] {
  background: linear-gradient(135deg, #f0b90b, #f8d12f);
  color: #111;
}

.chain-icon[data-icon="solana"] {
  background: linear-gradient(135deg, #9945ff, #14f195);
}

.chain-icon[data-icon="base"] {
  background: linear-gradient(135deg, #0052ff, #4c8dff);
}

.chain-icon[data-icon="eth"],
.chain-icon[data-icon="ethereum"] {
  background: linear-gradient(135deg, #627eea, #8c9eff);
}

.chain-icon[data-icon="robinhood"] {
  background: linear-gradient(135deg, #00c805, #008752);
}

.chain-icon[data-icon="xlayer"],
.chain-icon[data-icon="x-layer"] {
  background: linear-gradient(135deg, #ff5c00, #ff8a3d);
}

.chain-logo,
.platform-logo,
.platform-tab-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  box-sizing: border-box;
}

.chain-logo-lg,
.platform-logo-lg {
  width: 48px;
  height: 48px;
  padding: 4px;
}

.chain-logo.is-fallback,
.platform-logo.is-fallback,
.platform-tab-logo.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(120, 160, 255, 0.85), rgba(80, 120, 220, 0.85));
}

.launchpad-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.launchpad-platform-group {
  display: grid;
  gap: 8px;
}

.launchpad-platform-group-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launchpad-platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.launchpad-platform-tab:hover,
.launchpad-platform-tab.is-active {
  border-color: var(--accent);
  background: rgba(120, 160, 255, 0.12);
}

.launchpad-platform-tab.is-muted {
  opacity: 0.72;
}

.platform-tab-logo {
  width: 22px;
  height: 22px;
}

.launchpad-inline-note {
  margin: 6px 0 0;
  color: #f0b429;
  font-size: 12px;
}

.launchpads-detail {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.launchpads-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.launchpads-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launchpads-detail-title h2 {
  margin: 0;
  font-size: 18px;
}

.launchpads-detail-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.launchpads-detail-metrics {
  min-width: min(100%, 320px);
}

.launchpad-chart-wrap {
  display: grid;
  gap: 8px;
}

.launchpad-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

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

.launchpad-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  padding: 8px 4px 0;
  border-top: 1px solid var(--line);
}

.launchpad-bar {
  flex: 1;
  min-width: 4px;
  border-radius: 3px 3px 0 0;
  background: rgba(120, 160, 255, 0.55);
}

.launchpad-bar.is-up {
  background: rgba(46, 204, 113, 0.75);
}

.launchpad-bar.is-down {
  background: rgba(255, 99, 132, 0.75);
}

.launchpads-table td:nth-child(2),
.launchpads-table th:nth-child(2) {
  text-align: right;
}

.launchpads-table td:nth-child(3),
.launchpads-table th:nth-child(3) {
  text-align: right;
}

.launchpads-empty {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .launchpad-card-metrics {
    grid-template-columns: 1fr;
  }

  .launchpads-detail-head {
    flex-direction: column;
  }
}

.meme-monitor-address-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.meme-monitor-holder-rank {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

.meme-monitor-sold-badge {
  color: #d14343;
  font-size: 0.82em;
  font-weight: 700;
  white-space: nowrap;
}

.meme-monitor-contract-badge {
  color: #8a6bff;
  font-size: 0.82em;
  font-weight: 700;
  white-space: nowrap;
}

.meme-monitor-address-item.is-contract .meme-monitor-address-copy {
  color: var(--muted);
}

.meme-monitor-contract-sep {
  color: var(--muted);
}

.meme-monitor-token-cell {
  display: grid;
  gap: 4px;
}

.meme-monitor-token-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meme-monitor-token-sold-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(209, 67, 67, 0.12);
  color: #d14343;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.meme-monitor-auto-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(31, 157, 85, 0.12);
  color: #1f9d55;
}

.meme-monitor-auto-status.is-paused {
  background: rgba(209, 67, 67, 0.12);
  color: #d14343;
}

.meme-monitor-auto-status.is-off {
  background: rgba(120, 130, 150, 0.16);
  color: var(--muted);
}

.meme-monitor-hide-token-btn {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.2;
}

.meme-monitor-leaderboard-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.meme-monitor-select-col {
  width: 36px;
  text-align: center;
  vertical-align: middle;
}

.meme-monitor-select-col input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.meme-monitor-delta {
  display: inline-block;
  min-width: 2.2em;
  font-weight: 700;
  text-align: center;
}

.meme-monitor-delta.is-up {
  color: #1f9d55;
}

.meme-monitor-delta.is-down {
  color: #d14343;
}

