:root {
  /* Base palette (luxury dark) */
  --bg: #05040a;
  --bg-elev: rgba(12, 10, 22, 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f6f3ff;
  --muted: #a59bbf;
  --accent: #8b5cf6;
  --accent-dim: #6d28d9;
  --cyan: #22d3ee;
  --green: #34d399;
  --red: #fb7185;
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --kol-blue: #60a5fa;
  --kol-blue-dim: #3b82f6;
  --brand-mint: #9ee5d6;
  --brand-mint-dim: #6bc4b0;

  /* Luxury tokens */
  --lux-glass: rgba(12, 10, 22, 0.62);
  --lux-glass-2: rgba(18, 14, 32, 0.72);
  --lux-border: rgba(255, 255, 255, 0.12);
  --lux-border-2: rgba(158, 229, 214, 0.18);
  --lux-shadow-1: 0 14px 42px rgba(0, 0, 0, 0.55);
  --lux-shadow-2: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --lux-glow: 0 0 0 1px rgba(96, 165, 250, 0.12), 0 0 60px rgba(139, 92, 246, 0.18);
  --lux-ring: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 0 0 6px rgba(34, 211, 238, 0.1);
  --lux-grad-border: linear-gradient(135deg, rgba(96, 165, 250, 0.55), rgba(139, 92, 246, 0.55), rgba(158, 229, 214, 0.35));
  --lux-aurora-a: radial-gradient(ellipse 70% 50% at 18% 15%, rgba(139, 92, 246, 0.28), transparent 60%);
  --lux-aurora-b: radial-gradient(ellipse 55% 45% at 85% 35%, rgba(96, 165, 250, 0.22), transparent 62%);
  --lux-aurora-c: radial-gradient(ellipse 65% 55% at 55% 95%, rgba(34, 211, 238, 0.14), transparent 60%);
  --lux-noise-opacity: 0.08;
  --lux-scan-opacity: 0.08;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  position: relative;
  isolation: isolate;
  text-rendering: optimizeLegibility;
}

/* Luxury overlays (noise + scanlines) */
.kol-landing-body::before,
.dash-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0px,
      rgba(255, 255, 255, 0.022) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 4px
    ),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 40%, rgba(0, 0, 0, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(0, 0, 0, 0.28), transparent 60%);
  opacity: var(--lux-noise-opacity);
  mix-blend-mode: overlay;
  filter: contrast(130%) saturate(120%);
  animation: noiseDrift 6.5s steps(2) infinite;
}

.kol-landing-body::after,
.dash-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      rgba(0, 0, 0, 0) 3px,
      rgba(0, 0, 0, 0) 6px
    );
  opacity: var(--lux-scan-opacity);
  mix-blend-mode: soft-light;
  transform: translate3d(0, 0, 0);
  animation: scanMove 10s linear infinite;
}

@keyframes noiseDrift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-0.75%, 0.5%, 0); }
  50% { transform: translate3d(0.4%, -0.6%, 0); }
  75% { transform: translate3d(0.7%, 0.2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes scanMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .kol-landing-body::before,
  .dash-body::before,
  .kol-landing-body::after,
  .dash-body::after {
    animation: none !important;
    opacity: 0.04;
  }
}

/* —— Dashboard loading overlay —— */
.dash-loading {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(5, 4, 10, 0.84);
  backdrop-filter: blur(10px);
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.dash-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 15%, rgba(96, 165, 250, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 55% at 20% 85%, rgba(139, 92, 246, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 55% at 80% 85%, rgba(34, 211, 238, 0.1), transparent 60%),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    );
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 55%, transparent 78%);
}

.dash-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dash-loading-card {
  width: min(560px, 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(var(--lux-glass-2), var(--lux-glass-2)) padding-box,
    linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(255, 255, 255, 0.08)) border-box;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.dash-loading-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.0) 0%,
    rgba(34, 211, 238, 0.06) 45%,
    rgba(139, 92, 246, 0.0) 100%
  );
  opacity: 0.9;
  transform: translate3d(0, -55%, 0);
  animation: intelSweep 3.2s ease-in-out infinite;
}

.dash-loading-spinner {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--kol-blue);
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12), 0 0 30px rgba(34, 211, 238, 0.18);
}

.dash-loading-spinner::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  opacity: 0.9;
}

.dash-loading-spinner::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.12), transparent 60%);
  opacity: 0.7;
  animation: radarPulse 1.25s ease-in-out infinite;
}

@keyframes radarPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

.intel-kicker--dash {
  justify-content: flex-start;
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
}

.dash-load-steps {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.74rem;
  color: rgba(244, 243, 255, 0.82);
}

.dash-load-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-load-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(12, 10, 22, 0.25), rgba(12, 10, 22, 0.25)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.38), rgba(255, 255, 255, 0.08)) border-box;
  color: rgba(158, 229, 214, 0.95);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

@media (prefers-reduced-motion: reduce) {
  .dash-loading-card::after {
    animation: none !important;
    opacity: 0.35;
    transform: none;
  }
  .dash-loading-spinner::after {
    animation: none !important;
  }
}

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

.dash-loading-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.dash-loading-text .muted {
  display: block;
  font-size: 0.82rem;
}

.dash-skeleton {
  width: min(560px, 100%);
  display: grid;
  gap: 0.75rem;
}

.sk {
  height: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.06) 60%
  );
  background-size: 240% 100%;
  animation: shimmer 1.1s ease-in-out infinite;
}

.sk-wide {
  height: 18px;
}

.sk-mid {
  width: 76%;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.bg-glow {
  position: fixed;
  inset: -40% -20% auto -20%;
  height: 70vh;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.2), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 6, 12, 0.85);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-link:hover {
  color: var(--text);
  text-decoration: none;
}

.pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--cyan);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 44rem;
  margin: 0 auto 1rem;
}

.search-row input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  outline: none;
}
.search-row input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.search-row select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
}

.btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  color: white;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
}
.btn.primary:hover {
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn.ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn.sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

.hint code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--bg-elev);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.dashboard {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.35rem;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.muted {
  font-size: 0.8rem;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.stat {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.stat .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat .value {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trade-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(70vh, 640px);
  overflow-y: auto;
}

.trade-list::-webkit-scrollbar {
  width: 8px;
}
.trade-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.trade-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.35s ease both;
}
.trade-item:last-child {
  border-bottom: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.side-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-family: var(--mono);
}
.side-badge.buy {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
}
.side-badge.sell {
  background: rgba(251, 113, 133, 0.15);
  color: var(--red);
}

.trade-body .title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.trade-body .meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
  word-break: break-all;
}

.trade-price {
  text-align: right;
}

.trade-price .eth {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.trade-price .when {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.trade-item.placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  display: block;
  text-align: center;
  padding: 2rem 1rem;
}

.error-banner {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.foot {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* —— Kolscan-style landing —— */
.kol-landing-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* no page scroll on landing */
}

.kol-bg {
  position: fixed;
  inset: 0;
  background:
    var(--lux-aurora-a),
    var(--lux-aurora-b),
    var(--lux-aurora-c),
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(255, 255, 255, 0.02), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 55%);
  background-size: 130% 130%, 120% 120%, 140% 140%, 100% 100%, 100% 100%;
  background-position: 10% 0%, 90% 20%, 55% 100%, 50% 0%, 50% 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(0px) saturate(120%);
  animation: auroraShift 26s ease-in-out infinite;
}

@keyframes auroraShift {
  0% {
    background-position: 10% 0%, 90% 20%, 55% 100%, 50% 0%, 50% 50%;
    filter: saturate(120%) hue-rotate(0deg);
  }
  35% {
    background-position: 20% 12%, 70% 32%, 62% 92%, 50% 0%, 50% 50%;
    filter: saturate(135%) hue-rotate(10deg);
  }
  70% {
    background-position: 6% 22%, 92% 18%, 45% 88%, 50% 0%, 50% 50%;
    filter: saturate(125%) hue-rotate(-8deg);
  }
  100% {
    background-position: 10% 0%, 90% 20%, 55% 100%, 50% 0%, 50% 50%;
    filter: saturate(120%) hue-rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kol-bg {
    animation: none !important;
  }
}

.kol-topbar {
  position: relative;
  z-index: 2;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 4, 10, 0.55);
  backdrop-filter: blur(14px);
}

.brand-stack {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0;
  margin-right: auto;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.brand-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.025em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-title:hover {
  color: var(--brand-mint);
}

.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(34, 211, 238, 0.25));
  flex-shrink: 0;
}

.kol-title--mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(34, 211, 238, 0.28));
  flex-shrink: 0;
}

.brand-by {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kol-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.kol-logo-link:hover {
  color: var(--kol-blue);
  text-decoration: none;
}

.kol-logo-mark {
  color: var(--kol-blue);
  font-size: 1.1rem;
}

.kol-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.25rem;
  text-align: center;
  overflow: hidden;
}

/* Landing: big classified watermark + HUD grid */
.kol-hero::before {
  content: "CLASSIFIED";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  color: rgba(158, 229, 214, 0.08);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.kol-hero::after {
  content: "";
  position: absolute;
  inset: -1.5rem -1rem auto -1rem;
  height: 420px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(transparent 0%, rgba(0, 0, 0, 0.35) 85%, transparent 100%),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    );
  opacity: 0.12;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 55%, transparent 78%);
}

.kol-hero-intro,
.kol-form,
.kol-activity-section {
  position: relative;
  z-index: 1;
}

.kol-title {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.15;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.kol-title em {
  font-style: normal;
  color: var(--kol-blue);
}

.kol-sub {
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.kol-hero-intro {
  margin: 0 0 2rem;
}

.kol-title--hero {
  margin-bottom: 0.35rem;
}

.kol-hero-by {
  margin: 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Landing: intel / police style */
.intel-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 243, 255, 0.8);
}

.intel-sep {
  opacity: 0.55;
}

.intel-badge {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(12, 10, 22, 0.35), rgba(12, 10, 22, 0.35)) padding-box,
    linear-gradient(135deg, rgba(96, 165, 250, 0.7), rgba(34, 211, 238, 0.35)) border-box;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.intel-clearance {
  color: rgba(158, 229, 214, 0.9);
}

.intel-status {
  color: rgba(96, 165, 250, 0.95);
  position: relative;
}

.intel-status::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
  animation: intelPulse 1.1s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes intelPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 1; }
}

.intel-sub {
  margin: 0.65rem auto 1.05rem;
  max-width: 48ch;
  font-size: 0.95rem;
  color: rgba(244, 243, 255, 0.78);
  line-height: 1.55;
}

.intel-terminal {
  margin: 0 auto 1.15rem;
  width: min(620px, 100%);
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(8, 6, 14, 0.55), rgba(8, 6, 14, 0.55)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(96, 165, 250, 0.2), rgba(139, 92, 246, 0.12)) border-box;
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2);
  backdrop-filter: blur(16px);
  padding: 0.8rem 0.9rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.intel-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(139, 92, 246, 0.08), transparent 55%);
  opacity: 0.9;
}

.intel-terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.0) 0%,
    rgba(34, 211, 238, 0.05) 45%,
    rgba(139, 92, 246, 0.0) 100%
  );
  opacity: 0.9;
  transform: translate3d(0, -45%, 0);
  animation: intelSweep 3.6s ease-in-out infinite;
}

@keyframes intelSweep {
  0% { transform: translate3d(0, -55%, 0); opacity: 0.0; }
  25% { opacity: 0.65; }
  55% { opacity: 0.85; }
  100% { transform: translate3d(0, 55%, 0); opacity: 0.0; }
}

.intel-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(244, 243, 255, 0.86);
}

.intel-line + .intel-line {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.intel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.intel-dot.ok {
  background: rgba(52, 211, 153, 0.95);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.5);
}

.intel-dot.warn {
  background: rgba(251, 113, 133, 0.95);
  box-shadow: 0 0 14px rgba(251, 113, 133, 0.45);
}

.intel-muted {
  opacity: 0.55;
}

/* Typewriter status lines */
.intel-typed {
  display: inline-block;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  max-width: 100%;
  border-right: 1px solid rgba(34, 211, 238, 0.8);
  padding-right: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 243, 255, 0.9);
  animation:
    typeIn 1.15s steps(24, end) var(--td, 0s) forwards,
    caretBlink 0.75s steps(1, end) calc(var(--td, 0s) + 0.15s) infinite;
}

@keyframes typeIn {
  to { width: var(--tw, 24ch); }
}

@keyframes caretBlink {
  0%, 49% { border-right-color: rgba(34, 211, 238, 0.85); }
  50%, 100% { border-right-color: rgba(34, 211, 238, 0.0); }
}

/* HUD corner brackets for key panels */
.kol-form,
.kol-activity-box {
  position: relative;
}

.kol-form::before,
.kol-form::after,
.kol-activity-box::before,
.kol-activity-box::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.14));
}

.kol-form::before {
  left: -6px;
  top: -6px;
  border-right: none;
  border-bottom: none;
}
.kol-form::after {
  right: -6px;
  bottom: -6px;
  border-left: none;
  border-top: none;
}

.kol-activity-box::before {
  left: -6px;
  bottom: -6px;
  border-right: none;
  border-top: none;
}
.kol-activity-box::after {
  right: -6px;
  top: -6px;
  border-left: none;
  border-bottom: none;
}

@media (prefers-reduced-motion: reduce) {
  .intel-status::after {
    animation: none !important;
  }
  .intel-terminal::after {
    animation: none !important;
    opacity: 0.35;
    transform: none;
  }
  .intel-typed {
    animation: none !important;
    width: auto;
    border-right: none;
    padding-right: 0;
  }
}

/* On smaller screens, never clip intel lines */
@media (max-width: 520px) {
  .intel-terminal {
    width: min(620px, 100%);
  }
  .intel-typed {
    animation: none !important;
    width: auto !important;
    white-space: normal;
    overflow: visible;
    border-right: none;
    padding-right: 0;
  }
}

/* Dashboard: add the same intel watermark/HUD feel as landing */
.dash-main::before {
  content: "DOSSIER";
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%) rotate(-8deg);
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  color: rgba(158, 229, 214, 0.07);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.dash-main::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1100px, 100%);
  height: 360px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(transparent 0%, rgba(0, 0, 0, 0.35) 85%, transparent 100%),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0) 18px,
      rgba(0, 0, 0, 0) 22px
    );
  opacity: 0.1;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 55%, transparent 78%);
}

.dash-main > * {
  position: relative;
  z-index: 1;
}

.kol-form {
  text-align: left;
}

.kol-search-row {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--lux-glass-2), var(--lux-glass-2)) padding-box,
    var(--lux-grad-border) border-box;
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2);
  backdrop-filter: blur(14px);
  transform: translateZ(0);
}

.kol-search-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.95rem;
  padding: 1rem 1.1rem;
  outline: none;
}

.kol-search-row:focus-within {
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2), var(--lux-ring);
}

.kol-search-btn {
  width: 3.25rem;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(139, 92, 246, 0.9));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.kol-search-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05) saturate(1.05);
}

.kol-search-btn:active {
  transform: translateY(0px) scale(0.98);
}

.kol-filters-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.kol-filters-row select {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--lux-glass), var(--lux-glass)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)) border-box;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  color-scheme: dark;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.kol-filters-row select option,
.search-row select option {
  background: #0b0a14;
  color: var(--text);
}

.kol-filters-row select:focus {
  outline: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), var(--lux-ring);
}

.kol-activity-section {
  margin-top: 1.75rem;
  text-align: left;
}

.kol-activity-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.kol-activity-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.kol-activity-box {
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(var(--lux-glass), var(--lux-glass)) padding-box,
    linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(255, 255, 255, 0.08)) border-box;
  max-height: none;
  overflow: hidden;
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2);
  backdrop-filter: blur(16px);
}

.kol-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kol-activity-empty {
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.kol-activity-item {
  border-bottom: 1px solid var(--border);
}

.kol-activity-item:last-child {
  border-bottom: none;
}

.kol-activity-link {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
}

.kol-activity-link:hover {
  background: rgba(96, 165, 250, 0.07);
  text-decoration: none;
}

.kol-act-wallet {
  font-family: var(--mono);
  font-weight: 500;
}

.kol-act-chain {
  font-size: 0.75rem;
  color: var(--cyan);
}

.kol-act-range {
  font-size: 0.75rem;
  color: var(--muted);
}

.kol-act-net {
  font-family: var(--mono);
  font-weight: 600;
}

.kol-act-net.pos {
  color: var(--green);
}

.kol-act-net.neg {
  color: var(--red);
}

.kol-act-meta {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 480px) {
  .kol-activity-link {
    grid-template-columns: auto auto auto 1fr auto;
  }
  .kol-act-meta {
    grid-column: auto;
  }
}

.kol-foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  padding-bottom: 2.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Fixed X link: bottom-left, bird icon + label (landing + dashboard) */
.site-x-corner {
  position: fixed;
  left: 0.75rem;
  bottom: 0.65rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: rgba(10, 9, 16, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  max-width: calc(100vw - 1.5rem);
}

.site-x-corner:hover {
  color: var(--brand-mint);
  border-color: rgba(158, 229, 214, 0.35);
}

.site-x-bird {
  flex-shrink: 0;
  opacity: 0.9;
}

.site-x-label {
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Dashboard (second page) —— */
.dash-body {
  min-height: 100vh;
}

.dash-bg {
  opacity: 0.85;
}

.dash-brand-bar {
  position: relative;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 4, 10, 0.6);
  backdrop-filter: blur(16px);
}

.dash-brand-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: 1200px;
  margin: 0;
  margin-right: auto;
}

.dash-brand-home {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.dash-brand-home:hover .dash-brand-title {
  color: var(--brand-mint);
}

.dash-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.dash-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.dash-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dash-brand-by {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dash-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 4, 10, 0.55);
  backdrop-filter: blur(12px);
}

.dash-back {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.dash-back:hover {
  color: var(--kol-blue);
  text-decoration: none;
}

.dash-wallet-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex: 1;
  min-width: 0;
}

.dash-wallet-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dash-wallet {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  word-break: break-all;
}

.dash-wallet-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-mint);
  letter-spacing: 0.02em;
  max-width: 26ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-chain-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--lux-glass), var(--lux-glass)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.28), rgba(255, 255, 255, 0.06)) border-box;
  color: var(--cyan);
}

.dash-time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
}

@media (min-width: 900px) {
  .dash-time-pills {
    width: auto;
    flex: 0 1 auto;
  }
}

.dash-pill {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(12, 10, 22, 0.25), rgba(12, 10, 22, 0.25)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)) border-box;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, color 0.14s ease;
  backdrop-filter: blur(10px);
}

.dash-pill:hover {
  color: var(--text);
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.dash-pill.is-active {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.95), rgba(139, 92, 246, 0.88)) padding-box,
    linear-gradient(135deg, rgba(96, 165, 250, 0.65), rgba(158, 229, 214, 0.35)) border-box;
  color: white;
}

.dash-main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  padding-bottom: 3.5rem;
}

.dash-row-2 {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 900px) {
  .dash-row-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.dash-card {
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--lux-glass), var(--lux-glass)) padding-box,
    linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(139, 92, 246, 0.14), rgba(255, 255, 255, 0.06)) border-box;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2);
  backdrop-filter: blur(18px);
  transform: translateZ(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.dash-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lux-shadow-1), var(--lux-shadow-2), var(--lux-glow);
}

/* Trades: max-height set in JS to match Stats card on desktop; fallback caps list */
.dash-card-trades {
  max-height: min(640px, 75vh);
  overflow: hidden;
  min-height: 0;
}

.dash-card-title--trades {
  margin: 0 0 0.5rem;
  flex-shrink: 0;
}

.dash-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.dash-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.dash-scope {
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

.dash-stats-dl {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  overflow: visible;
}

.dash-stat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.dash-stat-row:last-child {
  border-bottom: none;
}

.dash-stat-row dt {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.dash-stat-row dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 500;
  text-align: right;
}

.dash-card-trades .dash-trade-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  /* override global .trade-list — avoid tall 70vh feed */
  max-height: unset;
}

.dash-card-trades .trade-item--dash {
  padding: 0.42rem 0;
  gap: 0.55rem;
  grid-template-columns: 36px auto 1fr auto;
}

.dash-card-trades .nft-avatar {
  width: 34px;
  height: 34px;
}

.dash-card-trades .trade-body .title {
  font-size: 0.84rem;
  line-height: 1.25;
}

.dash-card-trades .side-badge {
  font-size: 0.6rem;
  padding: 0.28rem 0.42rem;
}

.dash-token-section {
  margin-bottom: 3rem;
}

.dash-token-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.dash-token-card {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.dash-tok-row1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-tok-row1 .dash-tok-head {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.dash-tok-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.dash-tok-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.dash-tok-net {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}

.dash-tok-net.pos {
  color: var(--green);
}

.dash-tok-net.neg {
  color: var(--red);
}

.dash-tok-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.35rem 0 0.5rem;
}

.dash-tok-rows {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.tok-buy {
  color: var(--green);
}

.tok-sell {
  color: var(--red);
}

.tok-roi {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 0.15rem;
}

.tok-activity {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tok-act-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.74rem;
}

.tok-act-kind {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-family: var(--mono);
  border: 1px solid var(--border);
  color: var(--muted);
}

.tok-act-kind.mint {
  background: rgba(59, 130, 246, 0.18);
  color: var(--kol-blue);
  border-color: rgba(59, 130, 246, 0.25);
}

.tok-act-kind.in {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.18);
}

.tok-act-kind.out {
  background: rgba(251, 113, 133, 0.12);
  color: var(--red);
  border-color: rgba(251, 113, 133, 0.18);
}

.tok-act-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 500;
}

.tok-act-when {
  color: var(--muted);
  font-size: 0.72rem;
}

.tok-act-tx a {
  color: var(--cyan);
}

.tok-act-empty {
  font-size: 0.75rem;
}

.dash-legend {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 0.85rem;
}

.dash-legend strong {
  color: var(--text);
}

.dash-legend em {
  font-style: normal;
  color: #c4b5fd;
}

.dash-legend--tight {
  margin-top: -0.2rem;
  margin-bottom: 0.65rem;
  font-size: 0.76rem;
}

.dash-legend code {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.nft-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
}

.nft-avatar--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--muted);
  box-sizing: border-box;
}

.dash-trade-list .trade-item--dash {
  align-items: center;
}

.mono {
  font-family: var(--mono);
}

.token-empty {
  margin: 0;
  padding: 1rem 0;
}
