:root {
  color-scheme: dark;
  --bg: #060b12;
  --bg-elevated: #0d1420;
  --surface: rgba(18, 28, 43, 0.96);
  --surface-strong: rgba(20, 32, 50, 0.98);
  --surface-soft: rgba(53, 224, 255, 0.05);
  --text: #f3f7ff;
  --muted: #9fb0c7;
  --muted-strong: #d9e7fb;
  --line: rgba(53, 224, 255, 0.14);
  --line-strong: rgba(124, 92, 255, 0.18);
  --primary: #35e0ff;
  --primary-strong: #7c5cff;
  --success: #00ffa6;
  --warning: #7c5cff;
  --danger: #ff5c7a;
  --accent-cyan: #35e0ff;
  --accent-purple: #7c5cff;
  --accent-green: #00ffa6;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(3, 9, 24, 0.58);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 224, 255, 0.11), transparent 18%),
    radial-gradient(circle at 88% 14%, rgba(124, 92, 255, 0.12), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(0, 255, 166, 0.06), transparent 24%),
    linear-gradient(180deg, #070d16 0%, #060b12 44%, #05080d 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

body {
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(53, 224, 255, 0.06), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(124, 92, 255, 0.07), transparent 22%),
    radial-gradient(circle at 50% 84%, rgba(0, 255, 166, 0.04), transparent 20%);
  opacity: 0.9;
}

body::after {
  background-image:
    linear-gradient(rgba(159, 176, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 199, 0.03) 1px, transparent 1px);
  background-size: 100% 64px, 64px 100%;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, #000 42%, transparent 100%);
}

.app-shell,
.topbar,
.page {
  position: relative;
  z-index: 1;
}

body.is-authed {
  padding-bottom: 96px;
}

body.is-native-shell {
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button,
input,
select { font: inherit; }

.app-shell { min-height: 100vh; }

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(53, 224, 255, 0.16), transparent 20%),
    radial-gradient(circle at 40% 22%, rgba(124, 92, 255, 0.16), transparent 26%),
    radial-gradient(circle at 58% 68%, rgba(0, 255, 166, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(9, 16, 30, 0.985), rgba(5, 10, 18, 0.995));
  backdrop-filter: blur(10px);
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.app-splash.is-hidden,
.splash-skipped .app-splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash-center {
  display: grid;
  place-items: center;
}

.app-splash-logo {
  width: clamp(172px, 44vw, 300px);
  height: clamp(172px, 44vw, 300px);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.app-splash-credit,
.profile-footer-credit {
  color: rgba(236, 243, 252, 0.58);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.app-splash-credit {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 48px);
  text-align: center;
}

.page,
.topbar {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.88), rgba(6, 11, 18, 0.65));
  border-bottom: 1px solid rgba(53, 224, 255, 0.08);
}

.is-native-shell .topbar {
  padding-top: calc(18px + env(safe-area-inset-top));
}

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

.brand {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar-actions,
.hero-actions,
.listing-actions,
.toolbar-actions,
.section-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page {
  padding: 12px 0 40px;
}

.is-native-shell .page {
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.hero,
.auth-card,
.profile-card,
.detail-card,
.toolbar-card,
.admin-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 28, 43, 0.98), rgba(13, 20, 32, 0.98)),
    linear-gradient(135deg, rgba(53, 224, 255, 0.05), rgba(124, 92, 255, 0.04));
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 52px rgba(3, 9, 24, 0.42);
}

.hero::before,
.auth-card::before,
.profile-card::before,
.detail-card::before,
.toolbar-card::before,
.admin-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 255, 0.62), rgba(124, 92, 255, 0.54), rgba(0, 255, 166, 0.42), transparent);
  pointer-events: none;
  opacity: 0.85;
}

.hero {
  padding: 28px;
  margin-top: 6px;
}

.hero h1,
.section-header h1,
.profile-card h1,
.detail-content h1,
.auth-card h1 {
  margin: 10px 0 0;
  line-height: 1.02;
}

.auth-shell {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.auth-card-login {
  padding: 24px;
}

.auth-highlights {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.auth-preview {
  display: grid;
  place-items: center;
}

.preview-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 420px);
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(53, 224, 255, 0.12), transparent 28%),
    radial-gradient(circle at 32% 16%, rgba(124, 92, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(8, 13, 21, 0.98));
  box-shadow: 0 20px 54px rgba(3, 9, 24, 0.44);
}

.preview-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 255, 0.72), rgba(124, 92, 255, 0.46), rgba(0, 255, 166, 0.42), transparent);
  pointer-events: none;
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  max-width: 12ch;
}

.hero p,
.section-header p,
.muted,
.label,
.stat-card small,
.listing-time,
.brand-subtitle,
.eyebrow {
  color: var(--muted);
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0;
}

.hero-point,
.pill,
.badge,
.mini-stat,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 224, 255, 0.14);
  background: linear-gradient(135deg, rgba(18, 28, 43, 0.92), rgba(10, 16, 27, 0.92));
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.primary-button,
.ghost-button {
  appearance: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.primary-button {
  border: 1px solid rgba(53, 224, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(53, 224, 255, 0.16), rgba(124, 92, 255, 0.2)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(10, 16, 27, 0.98));
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(53, 224, 255, 0.14);
}

.ghost-button {
  border: 1px solid rgba(159, 176, 199, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.ghost-button[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
}

.ghost-button.is-active,
.push-enable-button.is-active {
  border-color: rgba(0, 255, 166, 0.34);
  background: rgba(0, 255, 166, 0.12);
  color: #e4fff5;
}

.push-enable-button.is-blocked {
  border-color: rgba(124, 92, 255, 0.28);
  background: rgba(124, 92, 255, 0.11);
  color: #efe9ff;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 12px 0 16px;
}

.section-header-feed {
  margin-top: 6px;
}

.section-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.feed-command-center {
  display: grid;
  gap: 14px;
  margin: 8px 0 16px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(53, 224, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.08), transparent 20%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.09), transparent 24%),
    radial-gradient(circle at bottom left, rgba(0, 255, 166, 0.04), transparent 22%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(7, 11, 18, 0.99));
  box-shadow: 0 22px 56px rgba(2, 8, 23, 0.44);
}

.feed-command-center-header {
  margin: 0;
  padding: 0;
}

.feed-command-center .live-radar-shell,
.feed-command-center .stats-strip {
  margin: 0;
}

.feed-command-center .live-radar-shell {
  border-radius: 22px;
}

.feed-command-center .stat-card {
  background: linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(9, 14, 23, 0.99));
}

.feed-command-center.is-radar-off {
  gap: 12px;
}

.vip-tab-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.vip-tab {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(53, 224, 255, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(53, 224, 255, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(18, 28, 43, 0.88), rgba(8, 13, 21, 0.92));
  color: #eef7ff;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 0 14px rgba(53, 224, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.07),
    0 0 24px rgba(53, 224, 255, 0.09),
    0 16px 34px rgba(2, 8, 23, 0.34);
}

.vip-tab::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 255, 0.84), rgba(124, 92, 255, 0.7), transparent);
  opacity: 0.62;
}

.vip-tab::after {
  content: "";
  position: absolute;
  inset: auto 18px 9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 166, 0.55), rgba(53, 224, 255, 0.72), transparent);
  opacity: 0.34;
  filter: drop-shadow(0 0 8px rgba(53, 224, 255, 0.22));
}

.vip-tab.is-active {
  color: #f7fbff;
  border-color: rgba(53, 224, 255, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 224, 255, 0.24), transparent 54%),
    radial-gradient(circle at 15% 20%, rgba(124, 92, 255, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(18, 28, 43, 0.98), rgba(8, 13, 21, 0.98));
  text-shadow:
    0 0 12px rgba(53, 224, 255, 0.35),
    0 0 24px rgba(124, 92, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(53, 224, 255, 0.22),
    0 0 26px rgba(53, 224, 255, 0.22),
    0 0 42px rgba(124, 92, 255, 0.16),
    0 20px 42px rgba(2, 8, 23, 0.42);
}

.vip-tab.is-active::before {
  opacity: 1;
}

.vip-tab.is-active::after {
  opacity: 0.92;
}

.feed-mode-smart {
  border-color: rgba(124, 92, 255, 0.22);
  background:
    radial-gradient(circle at 16% 0%, rgba(124, 92, 255, 0.15), transparent 22%),
    radial-gradient(circle at 88% 8%, rgba(53, 224, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(11, 12, 24, 0.99), rgba(6, 8, 16, 0.99));
}

.feed-mode-missed {
  border-color: rgba(255, 92, 92, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 90, 52, 0.12), transparent 22%),
    radial-gradient(circle at 86% 6%, rgba(255, 181, 70, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(16, 10, 13, 0.99), rgba(7, 8, 12, 0.99));
}

.public-dashboard-shell {
  margin-top: 0;
}

.public-dashboard-header p {
  max-width: 42rem;
}

.public-dashboard-grid {
  margin-top: 14px;
}

.free-telegram-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(0, 255, 166, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 255, 166, 0.08), rgba(53, 224, 255, 0.06) 42%, rgba(124, 92, 255, 0.08)),
    linear-gradient(180deg, rgba(12, 20, 31, 0.98), rgba(7, 12, 20, 0.98));
  box-shadow: 0 16px 42px rgba(2, 8, 23, 0.28);
}

.free-telegram-copy h2 {
  margin: 2px 0 0;
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  line-height: 1.16;
}

.free-telegram-copy p {
  margin: 8px 0 0;
  max-width: 58ch;
  color: var(--muted-strong);
  line-height: 1.55;
}

.telegram-free-button,
.telegram-free-nav-button {
  white-space: nowrap;
}

.telegram-free-button {
  border-color: rgba(42, 171, 238, 0.62);
  background:
    linear-gradient(135deg, #2aabee 0%, #229ed9 48%, #1677b8 100%);
  color: #ffffff;
  box-shadow:
    0 18px 42px rgba(34, 158, 217, 0.24),
    0 0 30px rgba(42, 171, 238, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.24);
}

.telegram-free-nav-button {
  border-color: rgba(42, 171, 238, 0.48);
  background:
    linear-gradient(135deg, rgba(42, 171, 238, 0.24), rgba(34, 158, 217, 0.14)),
    rgba(255, 255, 255, 0.03);
  color: #eaf8ff;
  box-shadow:
    0 10px 26px rgba(34, 158, 217, 0.16),
    0 0 18px rgba(42, 171, 238, 0.16);
}

.feed-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feed-hero-meta .mini-stat {
  background: rgba(53, 224, 255, 0.06);
  border-color: rgba(53, 224, 255, 0.16);
  color: #e9fcff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.live-radar-shell {
  display: grid;
  gap: 18px;
  margin: 12px 0 14px;
  padding: 18px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(8, 13, 21, 0.98));
  box-shadow: 0 16px 36px rgba(2, 8, 23, 0.34);
}

.live-radar-shell.is-disabled {
  display: none;
}

.live-radar-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(250px, 324px) minmax(120px, 1fr);
  gap: 16px;
  align-items: center;
}

.live-radar-link {
  position: absolute;
  top: 50%;
  height: 2px;
  width: calc(50% - 170px);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 166, 0.42), rgba(53, 224, 255, 0.18), transparent);
  filter: drop-shadow(0 0 10px rgba(0, 255, 166, 0.12));
}

.live-radar-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 88, 88, 0.95) 0 45%, rgba(255, 35, 35, 0.35) 70%, transparent 75%);
  box-shadow: 0 0 0 5px rgba(255, 68, 68, 0.12), 0 0 18px rgba(255, 68, 68, 0.34);
  opacity: 0;
  transform: translateY(-50%) scale(0.35);
  pointer-events: none;
}

.live-radar-link.is-active {
  opacity: 0.92;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 166, 0.65), rgba(53, 224, 255, 0.28), transparent);
  animation: radar-link-glow 420ms ease-out;
}

.live-radar-link.is-active::after {
  opacity: 1;
  animation: radar-link-ping 520ms ease-out forwards;
}

.live-radar-link-left {
  left: 50%;
  margin-left: -154px;
  transform-origin: right center;
}

.live-radar-link-left::after {
  right: -4px;
}

.live-radar-link-right {
  right: 50%;
  margin-right: -154px;
  transform-origin: left center;
}

.live-radar-link-right::after {
  left: -4px;
}

.live-radar-source-side {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.live-radar-source-side .source-pill {
  min-width: 128px;
  justify-content: center;
}

.live-radar-source-side.is-left {
  justify-content: flex-end;
}

.live-radar-source-side.is-right {
  justify-content: flex-start;
}

.live-radar-copy h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.live-radar-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

.live-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 166, 0.18);
  background: rgba(0, 255, 166, 0.08);
  color: #d8fff0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00ffa6;
  box-shadow: 0 0 0 6px rgba(0, 255, 166, 0.12);
  animation: live-dot-pulse 2.4s ease-in-out infinite;
}

.live-status-text {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.live-source-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.source-pill {
  --source-accent: var(--accent-cyan);
  --source-sheen: rgba(255, 255, 255, 0.12);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(53, 224, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(11, 16, 24, 0.92));
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(2, 8, 23, 0.22);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.source-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.04));
  opacity: 0.55;
  pointer-events: none;
}

.source-pill::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.45;
  pointer-events: none;
}

.source-pill[data-source-label="vinted"] {
  --source-accent: var(--accent-purple);
  --source-sheen: rgba(124, 92, 255, 0.18);
  border-color: rgba(124, 92, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.14), rgba(124, 92, 255, 0.03)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(11, 16, 24, 0.92));
  color: #f4efff;
}

.source-pill[data-source-label="ebay"] {
  --source-accent: var(--accent-cyan);
  --source-sheen: rgba(53, 224, 255, 0.18);
  border-color: rgba(53, 224, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(53, 224, 255, 0.14), rgba(53, 224, 255, 0.03)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(11, 16, 24, 0.92));
  color: #eafcff;
}

.source-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--source-accent);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 14px rgba(53, 224, 255, 0.28);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.06));
}

.source-pill[data-source-label="vinted"] .source-pill-dot {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 14px rgba(124, 92, 255, 0.28);
}

.source-pill[data-source-label="ebay"] .source-pill-dot {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 14px rgba(53, 224, 255, 0.28);
}

.source-pill-crosshair {
  position: absolute;
  inset: -4px;
  pointer-events: none;
  opacity: 0;
}

.source-pill-crosshair::before,
.source-pill-crosshair::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(90deg, transparent, var(--source-accent), transparent);
  opacity: 0;
}

.source-pill-crosshair::before {
  width: calc(100% + 12px);
  height: 1px;
  transform: translate(-50%, -50%) scaleX(0.5);
}

.source-pill-crosshair::after {
  width: 1px;
  height: calc(100% + 12px);
  transform: translate(-50%, -50%) scaleY(0.5);
  background: linear-gradient(180deg, transparent, var(--source-accent), transparent);
}

.source-pill.is-targeted {
  color: #f5fbff;
  transform: translateY(-1px) scale(1.045);
}

.source-pill.is-targeted .source-pill-dot {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(255, 255, 255, 0.24);
}

.source-pill[data-source-label="vinted"].is-targeted {
  border-color: rgba(124, 92, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.2), rgba(124, 92, 255, 0.06)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.97), rgba(11, 16, 24, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(124, 92, 255, 0.16),
    0 0 22px rgba(124, 92, 255, 0.22);
}

.source-pill[data-source-label="ebay"].is-targeted {
  border-color: rgba(53, 224, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(53, 224, 255, 0.2), rgba(53, 224, 255, 0.06)),
    linear-gradient(180deg, rgba(18, 28, 43, 0.97), rgba(11, 16, 24, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(53, 224, 255, 0.16),
    0 0 22px rgba(53, 224, 255, 0.22);
}

.source-pill.is-targeted .source-pill-crosshair {
  opacity: 1;
  animation: source-target-lock 420ms ease-out;
}

.source-pill.is-targeted .source-pill-crosshair::before,
.source-pill.is-targeted .source-pill-crosshair::after {
  opacity: 1;
}

@keyframes source-target-lock {
  0% { opacity: 0; transform: scale(0.85); }
  25% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.live-radar {
  position: relative;
  width: min(100%, 324px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background:
    radial-gradient(circle at center, rgba(53, 224, 255, 0.12), transparent 38%),
    radial-gradient(circle at center, rgba(124, 92, 255, 0.05), transparent 56%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 36%),
    rgba(6, 11, 18, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 12px 30px rgba(2, 8, 23, 0.22);
}

.live-radar-ring,
.live-radar-ring-2,
.live-radar-ring-3 {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(53, 224, 255, 0.12);
}

.live-radar-ring-2 {
  inset: 30%;
}

.live-radar-ring-3 {
  inset: 46%;
}

.live-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(0, 255, 166, 0.06), rgba(0, 255, 166, 0.46), rgba(53, 224, 255, 0.18), rgba(124, 92, 255, 0.1), transparent 72%);
  mask: radial-gradient(circle, transparent 41%, #000 42%);
  filter: drop-shadow(0 0 12px rgba(0, 255, 166, 0.22));
  animation: radar-sweep 4.3s linear infinite;
}

.live-radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #d9fff2;
  box-shadow: 0 0 0 6px rgba(0, 255, 166, 0.12), 0 0 18px rgba(53, 224, 255, 0.18);
}

.live-radar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 166, 0.14);
  transform: translate(-50%, -50%) scale(0.45);
  opacity: 0;
  pointer-events: none;
}

.live-radar.is-pulsing::after {
  animation: radar-center-pulse 240ms ease-out;
}

.live-radar.is-pulsing .live-radar-core {
  animation: radar-core-pulse 240ms ease-out;
}

.live-radar.is-pulsing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 166, 0.34);
  transform: translate(-50%, -50%) scale(0.4);
  box-shadow: 0 0 0 10px rgba(0, 255, 166, 0.05), 0 0 22px rgba(0, 255, 166, 0.22);
  animation: radar-center-echo 280ms ease-out;
  pointer-events: none;
}

.live-radar-blip {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.98), rgba(255, 36, 36, 0.78));
  box-shadow:
    0 0 0 5px rgba(255, 55, 55, 0.14),
    0 0 16px rgba(255, 64, 64, 0.34);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
}

.live-radar-blip.is-visible {
  animation: radar-blip 1.1s ease-out forwards;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-blip {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}

.live-radar-ping {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0 18%, rgba(255, 112, 112, 0.96) 28%, rgba(255, 52, 52, 0.92) 54%, rgba(255, 52, 52, 0.18) 76%, transparent 78%);
  box-shadow:
    0 0 0 5px rgba(255, 68, 68, 0.12),
    0 0 18px rgba(255, 68, 68, 0.34);
  will-change: transform, opacity;
}

.live-radar-ping.is-visible {
  animation: radar-ping-fade 980ms ease-out forwards;
}

@keyframes radar-ping-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--ping-dx, 0px)), calc(-50% + var(--ping-dy, 0px))) scale(1.15);
  }
}

@keyframes radar-center-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  30% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.96);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.26);
  }
}

@keyframes radar-core-pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(1.28); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes radar-center-echo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

@keyframes radar-link-glow {
  0% {
    opacity: 0.45;
    filter: drop-shadow(0 0 8px rgba(0, 255, 166, 0.1));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(0, 255, 166, 0.28));
  }
  100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(0, 255, 166, 0.12));
  }
}

@keyframes radar-link-ping {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.35);
  }
  22% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1.22);
  }
}

@keyframes live-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.82); opacity: 0.55; }
}

.listing-microcopy-row {
  margin-top: 8px;
}

.listing-microcopy {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background: rgba(53, 224, 255, 0.06);
  color: #d9f6ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-strip {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.stat-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 20, 36, 0.92), rgba(9, 16, 29, 0.96));
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.28);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
}

.toolbar-card,
.auth-card,
.profile-card,
.detail-card,
.admin-card {
  padding: 18px;
}

.download-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.download-hero-shell {
  display: grid;
  gap: 20px;
  align-items: center;
}

.landing-hero-shell {
  display: grid;
  gap: 22px;
  align-items: center;
}

.landing-hero-copy p {
  max-width: 40rem;
}

.landing-live-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.landing-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 160, 187, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-live-chip.is-live {
  border-color: rgba(0, 255, 166, 0.26);
  background: rgba(0, 255, 166, 0.11);
  color: #dbfff4;
}

.landing-hero-points {
  margin: 24px 0 18px;
}

.landing-hero-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background: linear-gradient(180deg, rgba(53, 224, 255, 0.08), rgba(7, 14, 25, 0.28));
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}

.landing-hero-preview {
  display: grid;
  place-items: center;
}

.landing-device-frame {
  width: min(100%, 420px);
}

.landing-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}

.landing-preview-stats span {
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.15;
}

.landing-preview-stats strong {
  display: block;
  color: #eef9ff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.preview-card-signal {
  background:
    radial-gradient(circle at top right, rgba(0, 255, 166, 0.1), transparent 30%),
    radial-gradient(circle at 28% 10%, rgba(124, 92, 255, 0.06), transparent 22%),
    rgba(255, 255, 255, 0.04);
}

.landing-proof-strip {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.landing-proof-card {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.96), rgba(8, 15, 27, 0.96));
  box-shadow: var(--shadow);
}

.landing-proof-card strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 1.05rem;
}

.landing-proof-card p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.landing-signals {
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 224, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(53, 224, 255, 0.1), transparent 28%),
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.94), rgba(8, 13, 21, 0.96));
  box-shadow: var(--shadow);
}

.landing-signals-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.landing-signals-header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.landing-signals-header p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.landing-signals-grid {
  display: grid;
  gap: 12px;
}

.landing-bottom-cta {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 224, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.96), rgba(8, 13, 21, 0.96));
  box-shadow: var(--shadow);
}

.landing-bottom-cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.landing-bottom-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.landing-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-signal-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(143, 160, 187, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.landing-signal-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.landing-signal-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: #35e0ff;
  box-shadow: 0 0 0 6px rgba(53, 224, 255, 0.12);
}

.signal-dot.is-accent {
  background: #00ffa6;
  box-shadow: 0 0 0 6px rgba(0, 255, 166, 0.12);
}

.signal-dot.is-warm {
  background: #7c5cff;
  box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.12);
}

.download-hero-copy p {
  max-width: 34rem;
}

.download-bullets {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.download-preview {
  display: grid;
  place-items: center;
}

.device-frame {
  position: relative;
  width: min(100%, 330px);
  padding: 14px;
  border-radius: 34px;
  border: 1px solid rgba(53, 224, 255, 0.2);
  background:
    radial-gradient(circle at top right, rgba(53, 224, 255, 0.12), transparent 24%),
    radial-gradient(circle at 28% 18%, rgba(124, 92, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(16, 26, 42, 0.98), rgba(8, 13, 21, 0.98));
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 20px;
  border-radius: 0 0 16px 16px;
  background: rgba(4, 10, 18, 0.96);
  z-index: 2;
}

.device-screen {
  min-height: 560px;
  padding: 26px 16px 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(53, 224, 255, 0.12), transparent 22%),
    radial-gradient(circle at 72% 18%, rgba(124, 92, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 13, 21, 1), rgba(4, 8, 15, 1));
  border: 1px solid rgba(53, 224, 255, 0.12);
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.preview-topbar-badge,
.preview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.preview-topbar-badge {
  background: rgba(53, 224, 255, 0.12);
  border: 1px solid rgba(53, 224, 255, 0.22);
  color: #defaff;
}

.preview-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(53, 224, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(10, 16, 27, 0.98)),
    linear-gradient(135deg, rgba(53, 224, 255, 0.05), rgba(124, 92, 255, 0.04));
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.2);
}

.preview-card-media {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.03);
}

.preview-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-card + .preview-card {
  margin-top: 12px;
}

.preview-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

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

.preview-pill {
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: #f0ebff;
}

.preview-price {
  margin-top: 12px;
  font-size: 1.55rem;
  font-weight: 800;
}

.preview-card-featured {
  background:
    radial-gradient(circle at top right, rgba(53, 224, 255, 0.12), transparent 30%),
    radial-gradient(circle at 24% 12%, rgba(124, 92, 255, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.04);
}

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

.download-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.96), rgba(8, 15, 27, 0.96));
  box-shadow: var(--shadow);
}

.download-card-primary {
  border-color: rgba(53, 224, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(53, 224, 255, 0.12), transparent 28%),
    radial-gradient(circle at 26% 14%, rgba(124, 92, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(8, 13, 21, 0.98));
}

.download-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
}

.download-card p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.download-meta div {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.download-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.download-steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted-strong);
}

.download-steps li + li {
  margin-top: 10px;
}

.toolbar-top,
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

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

.filter-grid input,
.filter-grid select,
.stack-form input,
.stack-form select,
.inline-search input,
.payment-filter-row select,
.admin-user-form input {
  width: 100%;
  background: rgba(7, 14, 25, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
}

.stack-form,
.admin-user-form {
  display: grid;
  gap: 14px;
}

.stack-form label,
.admin-user-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

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

.feed-live-banner {
  position: sticky;
  top: 76px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(53, 224, 255, 0.18);
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.96), rgba(8, 13, 21, 0.98));
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.28);
}

.feed-live-banner.is-hidden {
  display: none;
}

.feed-live-banner-copy {
  font-weight: 700;
  color: #f3f7ff;
}

.feed-live-banner-button {
  padding: 10px 14px;
  white-space: nowrap;
}

.listing-card.is-new-feed-item {
  animation: feed-card-pop 1.2s ease;
  border-color: rgba(53, 224, 255, 0.36);
}

@keyframes feed-card-pop {
  0% {
    transform: translateY(-8px);
    opacity: 0.2;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  55% {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 24px 48px rgba(53, 224, 255, 0.08);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 16px 40px rgba(2, 8, 23, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-radar-sweep,
  .live-status-dot,
  .live-radar-blip.is-visible,
  .live-radar-ping.is-visible,
  .live-radar-link.is-active,
  .source-pill.is-targeted,
  .listing-card.is-new-feed-item {
    animation: none !important;
  }
}

.listing-card {
  overflow: hidden;
  display: grid;
  gap: 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 28, 43, 0.98), rgba(12, 18, 29, 0.99)),
    linear-gradient(135deg, rgba(53, 224, 255, 0.05), rgba(124, 92, 255, 0.04), rgba(0, 255, 166, 0.03));
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(2, 8, 23, 0.34);
}

.listing-card-smart {
  border-color: rgba(124, 92, 255, 0.22);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.13), transparent 26%),
    radial-gradient(circle at bottom right, rgba(53, 224, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(15, 16, 32, 0.99), rgba(8, 10, 19, 0.99));
  box-shadow: 0 18px 44px rgba(5, 4, 24, 0.42), 0 0 28px rgba(124, 92, 255, 0.07);
}

.listing-card-smart.score-high,
.listing-card-smart.score-insane {
  border-color: rgba(53, 224, 255, 0.34);
}

.listing-card-smart.score-insane {
  box-shadow:
    0 18px 44px rgba(5, 4, 24, 0.46),
    0 0 0 1px rgba(53, 224, 255, 0.08),
    0 0 34px rgba(124, 92, 255, 0.12);
}

.listing-card-missed {
  border-color: rgba(255, 92, 92, 0.24);
  background:
    radial-gradient(circle at top left, rgba(255, 92, 52, 0.13), transparent 25%),
    radial-gradient(circle at bottom right, rgba(255, 181, 70, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(27, 16, 18, 0.99), rgba(10, 9, 12, 0.99));
  box-shadow: 0 18px 44px rgba(24, 4, 3, 0.4), 0 0 28px rgba(255, 92, 52, 0.08);
}

.listing-card-missed::before {
  background: linear-gradient(90deg, transparent, rgba(255, 92, 92, 0.66), rgba(255, 181, 70, 0.44), transparent);
}

.listing-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 255, 0.6), rgba(124, 92, 255, 0.48), rgba(0, 255, 166, 0.36), transparent);
  pointer-events: none;
}

.listing-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.12), transparent 20%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.1), transparent 22%),
    rgba(6, 11, 18, 0.88);
}

.listing-image,
.listing-image.placeholder {
  width: 100%;
  height: 100%;
}

.listing-image {
  object-fit: cover;
}

.listing-image.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.listing-overlay-top,
.listing-overlay-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.listing-overlay-top {
  top: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.listing-overlay-bottom {
  bottom: 12px;
}

.listing-age {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(6, 11, 18, 0.78);
  border: 1px solid rgba(53, 224, 255, 0.12);
  color: #edf7ff;
  font-size: 0.82rem;
}

.listing-edge-pill,
.listing-profit-pill {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(6, 11, 18, 0.78);
  border: 1px solid rgba(53, 224, 255, 0.12);
  color: #edf7ff;
  font-size: 0.82rem;
}

.listing-edge-pill {
  color: #ffd5ef;
  border-color: rgba(124, 92, 255, 0.24);
}

.listing-profit-pill {
  color: #d9fff4;
  border-color: rgba(0, 255, 166, 0.22);
}

.listing-body {
  padding: 16px;
}

.listing-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #35e0ff;
}

.listing-body h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.listing-marketplace {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.listing-marketplace-ebay .market-dot {
  background: #35e0ff;
  box-shadow: 0 0 0 4px rgba(53, 224, 255, 0.14);
}

.listing-marketplace-vinted .market-dot {
  background: #7c5cff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.listing-marketplace-wallapop .market-dot {
  background: #13c1ac;
  box-shadow: 0 0 0 4px rgba(19, 193, 172, 0.14);
}

.listing-marketplace-olx .market-dot {
  background: #00ffa6;
  box-shadow: 0 0 0 4px rgba(0, 255, 166, 0.14);
}

.listing-meta,
.listing-price-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.listing-price-row {
  margin-top: 14px;
  justify-content: space-between;
}

.listing-price {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: #f3f7ff;
  letter-spacing: -0.03em;
}

.listing-time {
  font-size: 0.85rem;
}

.listing-urgency {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

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

.listing-signal-grid > div,
.detail-insight-block {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 14, 25, 0.52);
  border: 1px solid rgba(53, 224, 255, 0.1);
}

.signal-label {
  display: block;
  font-size: 0.76rem;
  color: #9fb0c7;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-signal-grid strong {
  font-size: 0.94rem;
}

.favorite-toggle.is-saved {
  background: rgba(0, 255, 166, 0.12);
  border-color: rgba(0, 255, 166, 0.28);
  color: #ddfff5;
}

.badge-platform-ebay { background: rgba(53, 224, 255, 0.14); color: #dcfbff; border-color: rgba(53, 224, 255, 0.18); }
.badge-platform-vinted { background: rgba(124, 92, 255, 0.14); color: #efe8ff; border-color: rgba(124, 92, 255, 0.18); }
.badge-platform-wallapop { background: rgba(19, 193, 172, 0.14); color: #ddfff9; border-color: rgba(19, 193, 172, 0.22); }
.badge-off-market { background: rgba(255, 92, 122, 0.12); color: #ffe5ea; border-color: rgba(255, 92, 122, 0.18); }
.badge-strong { background: rgba(53, 224, 255, 0.12); color: #dffcff; border-color: rgba(53, 224, 255, 0.18); }
.badge-premium { background: rgba(124, 92, 255, 0.12); color: #f0eaff; border-color: rgba(124, 92, 255, 0.18); }
.badge-fresh { background: rgba(0, 255, 166, 0.12); color: #dbfff2; border-color: rgba(0, 255, 166, 0.18); }
.badge-hot { background: linear-gradient(135deg, rgba(53, 224, 255, 0.18), rgba(124, 92, 255, 0.16)); color: #f3fbff; border-color: rgba(53, 224, 255, 0.2); }
.badge-smart-level { background: rgba(124, 92, 255, 0.16); color: #f2ecff; border-color: rgba(124, 92, 255, 0.24); }
.badge-medium { background: rgba(53, 224, 255, 0.12); color: #dffcff; border-color: rgba(53, 224, 255, 0.2); }
.badge-high { background: rgba(0, 255, 166, 0.13); color: #dcfff4; border-color: rgba(0, 255, 166, 0.24); }
.badge-insane { background: linear-gradient(135deg, rgba(53, 224, 255, 0.2), rgba(124, 92, 255, 0.24)); color: #ffffff; border-color: rgba(53, 224, 255, 0.32); }
.badge-missed { background: rgba(255, 92, 92, 0.16); color: #ffe4df; border-color: rgba(255, 92, 92, 0.28); }
.listing-age-missed { color: #ffe5d1; border-color: rgba(255, 145, 70, 0.24); }
.listing-urgency-missed { color: #ffd9c7; }

@media (prefers-reduced-motion: no-preference) {
  .listing-card-smart.score-high::after,
  .listing-card-smart.score-insane::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(53, 224, 255, 0.16);
    opacity: 0.42;
    animation: smart-card-breathe 3.8s ease-in-out infinite;
  }

  .listing-card-smart.score-insane::after {
    border-color: rgba(124, 92, 255, 0.24);
    animation-duration: 3s;
  }
}

@keyframes smart-card-breathe {
  0%, 100% { opacity: 0.26; box-shadow: 0 0 0 rgba(53, 224, 255, 0); }
  50% { opacity: 0.58; box-shadow: 0 0 26px rgba(53, 224, 255, 0.09); }
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
}

.detail-card {
  display: grid;
  gap: 20px;
}

.detail-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(143, 160, 187, 0.08);
  aspect-ratio: 4 / 3;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.detail-price {
  margin: 0;
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.detail-urgency {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.24);
  color: #efe9ff;
  font-size: 0.9rem;
}

.detail-insight-block {
  margin-top: 18px;
}

.detail-insight-block h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.detail-insight-block p {
  margin: 0 0 12px;
}

.detail-insight-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.detail-meta-grid,
.profile-grid,
.admin-layout {
  display: grid;
  gap: 14px;
}

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

.meta-tile,
.profile-grid > div {
  padding: 16px;
  background: rgba(7, 14, 25, 0.48);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.meta-tile strong,
.profile-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

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

.profile-status-box {
  min-width: 180px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 14, 25, 0.56);
}

.profile-status-box.is-live {
  border-color: rgba(0, 255, 166, 0.26);
  background: rgba(0, 255, 166, 0.08);
}

.profile-status-box strong {
  display: block;
  font-size: 1.5rem;
  margin: 8px 0 4px;
}

.profile-status-box small {
  color: var(--muted);
}

.profile-footer-credit {
  margin: 20px 0 8px;
  text-align: center;
}

.billing-hero {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.billing-hero h1 {
  max-width: 13ch;
}

.billing-hero-copy p {
  max-width: 48rem;
}

.billing-hero-support {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background: linear-gradient(180deg, rgba(53, 224, 255, 0.08), rgba(7, 14, 25, 0.28));
  color: var(--muted-strong);
  line-height: 1.5;
}

.billing-hero-side {
  display: flex;
  align-items: stretch;
}

.billing-value-card,
.billing-benefit-card,
.plan-card,
.payment-card,
.billing-final-box,
.billing-confirm-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 26, 44, 0.96), rgba(10, 18, 31, 0.98));
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.3);
}

.billing-value-card {
  width: 100%;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.billing-value-card strong {
  font-size: 1.2rem;
  line-height: 1.3;
}

.billing-value-card p,
.billing-benefit-card p,
.plan-description,
.payment-card p,
.payment-link-preview {
  color: var(--muted);
}

.billing-value-meta,
.billing-current-strip,
.payment-card-flags,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.billing-benefits,
.plan-grid,
.payment-grid {
  display: grid;
  gap: 14px;
}

.billing-benefits {
  margin: 18px 0;
}

.billing-benefit-card {
  padding: 20px;
}

.billing-benefit-card h2,
.plan-card h3,
.payment-card h3,
.billing-final-box h2,
.billing-confirm-card h2 {
  margin: 14px 0 8px;
}

.billing-section {
  margin-top: 18px;
}

.plan-card {
  position: relative;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.plan-card.is-highlighted {
  border-color: rgba(53, 224, 255, 0.3);
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.98), rgba(12, 24, 42, 0.98));
  box-shadow: 0 22px 46px rgba(53, 224, 255, 0.18);
}

.plan-card.is-exclusive {
  border-color: rgba(168, 85, 247, 0.28);
}

.plan-card.is-selected {
  border-color: rgba(53, 224, 255, 0.58);
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(53, 224, 255, 0.2);
}

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

.plan-name {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
}

.plan-label {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.plan-price {
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
}

.plan-description {
  margin: 0;
  line-height: 1.5;
}

.plan-select-button {
  width: 100%;
}

.selected-plan-chip {
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 14, 25, 0.6);
}

.selected-plan-chip strong,
.selected-plan-chip small {
  display: block;
  margin-top: 6px;
}

.selected-plan-chip small {
  color: var(--muted);
}

.payment-card {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.payment-card.is-recommended {
  border-color: rgba(0, 255, 166, 0.28);
  background: linear-gradient(180deg, rgba(10, 28, 34, 0.96), rgba(10, 18, 31, 0.98));
}

.payment-card.is-selected {
  border-color: rgba(53, 224, 255, 0.48);
  box-shadow: 0 22px 44px rgba(53, 224, 255, 0.16);
}

.payment-card-header,
.payment-card-footer,
.billing-final-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.payment-method-line {
  display: grid;
  gap: 8px;
}

.payment-plan-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-plan-summary strong {
  font-size: 1.08rem;
}

.payment-plan-summary span {
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.payment-plan-note {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.payment-open-button,
.copy-trigger {
  flex: 1 1 auto;
}

.billing-final-box,
.billing-confirm-card {
  padding: 22px;
  margin-top: 18px;
}

.billing-final-box {
  border-color: rgba(53, 224, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.08), transparent 24%),
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.96), rgba(8, 13, 21, 0.98));
  align-items: center;
}

.billing-final-box p,
.billing-confirm-card p {
  max-width: 42rem;
}

.billing-confirm-card.is-hidden {
  display: none;
}

.readonly-field {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 14, 25, 0.8);
  color: var(--text);
}

.admin-layout {
  margin-top: 16px;
}

.admin-card {
  padding: 18px;
}

.admin-card h2 {
  margin: 0;
}

.admin-card-wide {
  grid-column: span 1;
}

.admin-user-list,
.admin-list {
  display: grid;
  gap: 12px;
}

.admin-user-item,
.admin-list-item {
  padding: 14px;
  background: rgba(7, 14, 25, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-user-summary,
.admin-user-main,
.admin-list-main,
.admin-list-side {
  display: grid;
  gap: 4px;
}

.admin-user-summary {
  margin-bottom: 12px;
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-search,
.payment-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-filter-row {
  justify-content: flex-end;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.admin-list-side {
  text-align: right;
}

.status-pill {
  width: fit-content;
  margin-left: auto;
}

.status-paid {
  background: rgba(0, 255, 166, 0.14);
  border-color: rgba(0, 255, 166, 0.3);
}

.status-pending {
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(124, 92, 255, 0.28);
}

.status-pending-confirmation {
  background: rgba(53, 224, 255, 0.14);
  border-color: rgba(53, 224, 255, 0.28);
}

.status-failed {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.3);
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.flash {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.85);
}

.flash-success { border-color: rgba(0, 255, 166, 0.36); }
.flash-error { border-color: rgba(251, 113, 133, 0.38); }
.flash-warning { border-color: rgba(124, 92, 255, 0.34); }

.empty-state {
  padding: 30px 20px;
  border-radius: 18px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at top left, rgba(53, 224, 255, 0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.05), transparent 24%),
    rgba(7, 14, 25, 0.36);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 24px));
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 14, 25, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.35);
  z-index: 30;
}

.bottom-nav-item {
  padding: 13px 10px;
  text-align: center;
  border-radius: 14px;
  color: var(--muted-strong);
  font-weight: 850;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(53, 224, 255, 0.13);
}

.bottom-nav-item.is-active {
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 224, 255, 0.2), transparent 62%),
    rgba(53, 224, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(53, 224, 255, 0.18),
    0 0 22px rgba(53, 224, 255, 0.16);
  color: #eef9ff;
}

@media (min-width: 720px) {
  .hero-points,
  .stats-strip,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-hero-shell {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .landing-hero-shell {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .billing-hero {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: stretch;
  }

  .billing-benefits,
  .plan-grid,
  .payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .filter-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr auto;
  }

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

  .detail-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .admin-layout {
    grid-template-columns: 1.5fr 1fr;
  }

  .admin-card-wide {
    grid-column: span 2;
  }

  .landing-proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .landing-bottom-cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .landing-bottom-cta-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1040px) {
  .stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 719px) {
  .free-telegram-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .free-telegram-strip .telegram-free-button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .vip-tab-nav {
    position: sticky;
    top: 82px;
    z-index: 14;
    grid-template-columns: 1fr;
  }

  .vip-tab {
    min-height: 52px;
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .topbar,
  .section-header,
  .toolbar-top,
  .admin-card-header,
  .profile-hero,
  .admin-list-item,
  .payment-card-header,
  .payment-card-footer,
  .billing-final-box {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header-actions,
  .topbar-actions {
    width: 100%;
  }

  .section-header-actions .primary-button,
  .section-header-actions .ghost-button,
  .topbar-actions .ghost-button {
    flex: 1 1 auto;
  }

  .hero {
    padding: 22px;
  }

  .live-radar-shell {
    grid-template-columns: 1fr;
  }

  .live-radar-stage {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
  }

  .live-radar-link {
    width: 38px;
    top: 52%;
    margin: 0;
  }

  .live-radar-link-left {
    left: calc(50% - 74px);
  }

  .live-radar-link-right {
    right: calc(50% - 74px);
  }

  .live-radar-source-side {
    width: 100%;
    justify-content: center;
  }

  .landing-hero-shell {
    grid-template-columns: 1fr;
  }

  .live-radar {
    width: min(100%, 244px);
  }

  .app-splash-credit {
    width: calc(100% - 32px);
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .detail-meta-grid,
  .profile-grid,
  .download-meta {
    grid-template-columns: 1fr;
  }

  .landing-proof-strip {
    grid-template-columns: 1fr;
  }

  .landing-signals-grid {
    grid-template-columns: 1fr;
  }

  .landing-bottom-cta-actions {
    width: 100%;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .device-screen {
    min-height: 500px;
  }

  .payment-card-footer .primary-button,
  .payment-card-footer .ghost-button,
  .billing-final-box .primary-button {
    width: 100%;
  }

  .admin-list-side {
    text-align: left;
  }
}

@media (min-width: 960px) {
  .bottom-nav {
    display: none;
  }

  body.is-authed {
    padding-bottom: 0;
  }
}

.seo-page {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.seo-hero {
  display: grid;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.seo-hero-copy h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  max-width: 12ch;
}

.seo-intro {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted-strong);
  font-size: 1.03rem;
  line-height: 1.7;
}

.seo-freshness {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.seo-freshness div {
  min-width: 0;
  padding: 12px;
  background: rgba(6, 11, 18, 0.44);
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: var(--radius-md);
}

.seo-freshness dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-freshness dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.seo-summary-card,
.seo-section-card,
.seo-related-card,
.seo-footer-note {
  background: linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(13, 20, 32, 0.98));
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.seo-summary-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.seo-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(159, 176, 199, 0.09);
}

.seo-summary-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.seo-summary-label {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-summary-line strong {
  color: var(--text);
  font-weight: 700;
}

.seo-sections {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.seo-section-card {
  padding: 22px;
}

.seo-section-card h2,
.seo-related h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.seo-section-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.72;
}

.seo-live-deals,
.seo-faq {
  display: grid;
  gap: 14px;
}

.seo-live-deals-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.seo-live-deals-header h2,
.seo-faq h2 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.seo-listing-grid {
  margin-top: 0;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.seo-faq-item {
  padding: 18px;
  background: linear-gradient(180deg, rgba(18, 28, 43, 0.94), rgba(13, 20, 32, 0.98));
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: var(--radius-md);
}

.seo-faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.seo-faq-item p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.seo-related {
  display: grid;
  gap: 14px;
}

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

.seo-related-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  min-height: 108px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-related-card:hover,
.seo-related-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 224, 255, 0.3);
  box-shadow: 0 20px 48px rgba(3, 9, 24, 0.54);
}

.seo-related-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-related-card strong {
  color: var(--text);
  line-height: 1.45;
}

.seo-footer-note {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.landing-seo-shell {
  margin-top: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 28, 43, 0.94), rgba(13, 20, 32, 0.98));
  border: 1px solid rgba(53, 224, 255, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.landing-seo-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.landing-seo-copy p {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--muted-strong);
  line-height: 1.72;
}

.landing-seo-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.landing-seo-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(159, 176, 199, 0.1);
  background: rgba(7, 12, 20, 0.34);
}

.landing-seo-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.landing-seo-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.68;
}

.landing-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 255, 0.16);
  background: rgba(53, 224, 255, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.seo-link-chip:hover,
.seo-link-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(53, 224, 255, 0.34);
  background: rgba(53, 224, 255, 0.1);
}

.ai-intel-inline-badge {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(124, 92, 255, 0.36);
  border-radius: 999px;
  color: #dcd6ff;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.16), rgba(53, 224, 255, 0.08));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ai-intel-page {
  display: grid;
  gap: 18px;
}

.ai-intel-hero,
.ai-market-direction,
.ai-intel-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(53, 224, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(0, 255, 166, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(13, 20, 32, 0.98), rgba(7, 12, 20, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.ai-intel-hero::before,
.ai-market-direction::before,
.ai-intel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 224, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 80%);
}

.ai-intel-hero {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.ai-intel-hero > *,
.ai-market-direction > *,
.ai-intel-section > * {
  position: relative;
  z-index: 1;
}

.ai-intel-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(53, 224, 255, 0.18);
  border-radius: 999px;
  color: #35e0ff;
  background: rgba(53, 224, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-intel-hero h1,
.ai-market-direction h2,
.ai-intel-section h2 {
  margin: 12px 0 0;
}

.ai-intel-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
  max-width: 9ch;
}

.ai-intel-hero p,
.ai-market-direction p {
  max-width: 62ch;
  color: var(--muted-strong);
  line-height: 1.65;
}

.ai-intel-meta-card {
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(124, 92, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(6, 11, 18, 0.64);
}

.ai-intel-meta-card span,
.ai-intel-meta-card small,
.ai-intel-meta-card em,
.ai-direction-grid span {
  color: var(--muted);
}

.ai-intel-meta-card strong {
  font-size: 1.4rem;
}

.ai-intel-meta-card em {
  font-style: normal;
  color: #ffca6a;
}

.ai-market-direction,
.ai-intel-section {
  padding: 22px;
}

.ai-direction-grid,
.ai-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ai-direction-grid > div,
.ai-signal-card,
.ai-empty-card {
  padding: 16px;
  border: 1px solid rgba(159, 176, 199, 0.12);
  border-radius: var(--radius-md);
  background: rgba(6, 11, 18, 0.58);
}

.ai-direction-grid strong,
.ai-signal-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
}

.ai-section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.ai-trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.ai-trend-card {
  overflow: hidden;
  border: 1px solid rgba(53, 224, 255, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(18, 28, 43, 0.96), rgba(8, 13, 22, 0.98));
}

.ai-snapshot-card {
  border-color: rgba(124, 92, 255, 0.28);
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.12);
}

.ai-bargain-card {
  border-color: rgba(0, 255, 166, 0.18);
}

.ai-trend-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 40%, rgba(53, 224, 255, 0.16), transparent 45%),
    rgba(3, 7, 12, 0.72);
}

.ai-trend-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.ai-snapshot-card .ai-trend-image {
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at 50% 8%, rgba(124, 92, 255, 0.16), transparent 36%),
    rgba(3, 7, 12, 0.9);
}

.ai-snapshot-card .ai-trend-image img {
  padding: 0;
  object-fit: contain;
}

.ai-trend-placeholder {
  color: rgba(243, 247, 255, 0.42);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ai-rank {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  min-width: 42px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(53, 224, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 11, 18, 0.78);
  color: var(--text);
  font-weight: 900;
}

.ai-trend-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.ai-trend-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-liquidity,
.ai-bargain-badge,
.ai-verdict {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ai-liquidity-fast {
  color: #001b12;
  background: #00ffa6;
}

.ai-liquidity-medium {
  color: #06121b;
  background: #35e0ff;
}

.ai-liquidity-slow {
  color: #f3f7ff;
  background: rgba(124, 92, 255, 0.42);
}

.ai-bargain-badge {
  color: #001b12;
  background: linear-gradient(90deg, #00ffa6, #35e0ff);
}

.ai-trend-body h3,
.ai-opportunity-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.ai-trend-body p,
.ai-opportunity-card p,
.ai-signal-card p,
.ai-empty-card {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.ai-opportunity-list {
  display: grid;
  gap: 12px;
}

.ai-opportunity-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(6, 11, 18, 0.58);
}

.ai-verdict {
  margin-bottom: 8px;
  color: #f3f7ff;
  background: rgba(124, 92, 255, 0.36);
}

.ai-opportunity-metrics {
  display: grid;
  gap: 3px;
}

.ai-opportunity-metrics span,
.ai-opportunity-metrics small {
  color: var(--muted);
}

.ai-opportunity-metrics strong {
  color: #00ffa6;
  font-size: 1.25rem;
}

@media (min-width: 760px) {
  .ai-intel-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.65fr);
    align-items: stretch;
  }

  .ai-snapshot-card {
    max-width: 420px;
  }

  .ai-opportunity-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 860px) {
  .seo-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    align-items: start;
    gap: 22px;
  }

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

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

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

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

/* Premium live-deals dashboard */
.page {
  width: min(1220px, calc(100% - 24px));
}

.feed-command-center {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 16px;
  margin: 12px 0 18px;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 26px;
  border-color: rgba(88, 221, 255, 0.18);
  background:
    linear-gradient(120deg, rgba(124, 92, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(53, 224, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 10%, rgba(0, 255, 166, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(11, 18, 31, 0.96), rgba(4, 8, 16, 0.99));
  box-shadow:
    0 24px 80px rgba(1, 7, 20, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feed-command-center::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 224, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 84%);
  z-index: -1;
}

.feed-hero-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.feed-hero-copy {
  display: grid;
  align-content: start;
  min-width: 0;
}

.feed-hero-copy h1 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 5.3vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.feed-hero-copy h1 span {
  color: #f7fbff;
  background: linear-gradient(105deg, #ffffff 8%, #35e0ff 42%, #9d7cff 72%, #00ffa6 104%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(53, 224, 255, 0.16));
}

.feed-hero-copy p {
  width: min(100%, 58ch);
  margin: 14px 0 0;
  color: #b9c9df;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.65;
}

.feed-hero-meta {
  gap: 10px;
  margin-top: 20px;
}

.feed-hero-meta .mini-stat {
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 999px;
  border-color: rgba(53, 224, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(6, 14, 27, 0.72);
  color: #ecfbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 22px rgba(53, 224, 255, 0.08);
  text-transform: uppercase;
}

.mini-stat-live span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00ffa6;
  box-shadow: 0 0 0 5px rgba(0, 255, 166, 0.12), 0 0 18px rgba(0, 255, 166, 0.3);
  animation: live-dot-pulse 2.4s ease-in-out infinite;
}

.feed-hero-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.feed-command-center .live-radar-shell {
  display: grid;
  gap: 12px;
  min-height: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  border-color: rgba(53, 224, 255, 0.2);
  background:
    radial-gradient(circle at 50% 28%, rgba(53, 224, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.78), rgba(3, 7, 14, 0.86));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(1, 7, 20, 0.34),
    0 0 34px rgba(53, 224, 255, 0.08);
}

.feed-command-center .live-radar-shell.is-disabled {
  display: none;
}

.live-radar-copy {
  text-align: center;
}

.live-radar-copy h2 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
}

.live-radar-copy p {
  max-width: none;
  font-size: 0.9rem;
}

.live-radar-stage {
  grid-template-columns: 1fr;
  place-items: center;
  gap: 10px;
}

.live-radar-source-side {
  justify-content: center;
  min-height: auto;
}

.live-radar-source-side.is-left,
.live-radar-source-side.is-right {
  justify-content: center;
}

.live-radar-link {
  width: 44px;
  top: 50%;
}

.live-radar-link-left {
  left: calc(50% - 100px);
  margin-left: 0;
}

.live-radar-link-right {
  right: calc(50% - 100px);
  margin-right: 0;
}

.live-radar {
  width: min(100%, 224px);
  border-color: rgba(53, 224, 255, 0.26);
  background:
    repeating-radial-gradient(circle at center, rgba(53, 224, 255, 0.1) 0 1px, transparent 1px 34px),
    conic-gradient(from 210deg, rgba(124, 92, 255, 0.18), rgba(53, 224, 255, 0.12), rgba(0, 255, 166, 0.1), rgba(124, 92, 255, 0.18)),
    radial-gradient(circle at center, rgba(53, 224, 255, 0.16), transparent 42%),
    rgba(3, 8, 16, 0.98);
  box-shadow:
    inset 0 0 42px rgba(53, 224, 255, 0.08),
    0 0 0 1px rgba(124, 92, 255, 0.08),
    0 0 54px rgba(53, 224, 255, 0.18);
}

.deal-alert-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.24), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(53, 224, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(12, 18, 32, 0.86), rgba(4, 8, 16, 0.92));
  backdrop-filter: blur(18px);
  box-shadow:
    0 22px 54px rgba(1, 7, 20, 0.36),
    0 0 44px rgba(124, 92, 255, 0.1);
}

.deal-alert-panel-glow {
  position: absolute;
  inset: auto -30% -46% 18%;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(53, 224, 255, 0.2), rgba(124, 92, 255, 0.2), rgba(0, 255, 166, 0.16));
  filter: blur(34px);
  opacity: 0.76;
}

.deal-alert-panel > *:not(.deal-alert-panel-glow) {
  position: relative;
  z-index: 1;
}

.deal-alert-panel h2 {
  margin: 6px 0 0;
  font-size: clamp(1.24rem, 2.2vw, 1.58rem);
  line-height: 1.05;
}

.deal-alert-panel p {
  margin: 8px 0 0;
  color: #b8c8dc;
  line-height: 1.55;
}

.deal-alert-actions {
  display: grid;
  gap: 10px;
}

.primary-button {
  border-color: rgba(53, 224, 255, 0.44);
  background:
    linear-gradient(135deg, #35e0ff 0%, #7c5cff 58%, #00ffa6 120%);
  color: #03101c;
  text-shadow: none;
  box-shadow:
    0 14px 34px rgba(53, 224, 255, 0.22),
    0 0 22px rgba(124, 92, 255, 0.14);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow:
    0 18px 42px rgba(53, 224, 255, 0.28),
    0 0 34px rgba(124, 92, 255, 0.18);
}

.ghost-button {
  border-color: rgba(159, 176, 199, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 15, 28, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.stats-strip {
  gap: 14px;
}

.feed-hero-copy .stats-strip {
  margin-top: 24px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  padding: 18px;
  border-radius: 20px;
  border-color: rgba(53, 224, 255, 0.16);
  background:
    linear-gradient(140deg, rgba(53, 224, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.76), rgba(4, 8, 16, 0.88));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(1, 7, 20, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 255, 0.6), rgba(124, 92, 255, 0.5), transparent);
  opacity: 0.55;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 224, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 54px rgba(1, 7, 20, 0.42),
    0 0 34px rgba(53, 224, 255, 0.1);
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid rgba(53, 224, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(53, 224, 255, 0.18), rgba(124, 92, 255, 0.16)),
    rgba(4, 8, 16, 0.72);
  box-shadow: 0 0 24px rgba(53, 224, 255, 0.12);
}

.stat-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(236, 251, 255, 0.92);
  box-shadow: 0 0 12px rgba(53, 224, 255, 0.38);
}

.stat-icon-stream::before {
  width: 18px;
  height: 13px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, #00ffa6 0 3px, transparent 3px 7px, #35e0ff 7px 10px, transparent 10px 14px, #9d7cff 14px 18px);
}

.stat-icon-clock::before {
  border-color: #35e0ff;
}

.stat-icon-status::before {
  width: 10px;
  height: 10px;
  background: #00ffa6;
  border: 0;
}

.stat-label {
  color: #88a3bd;
  font-size: 0.76rem;
  font-weight: 850;
}

.stat-card strong {
  margin: 8px 0 8px;
  color: #f7fbff;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(53, 224, 255, 0.16);
}

.stat-card small {
  color: #b6c7dc;
  font-size: 0.9rem;
}

.control-panel {
  margin-top: 18px;
  padding: clamp(18px, 2.6vw, 26px);
  border-color: rgba(124, 92, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(124, 92, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(9, 17, 31, 0.9), rgba(4, 8, 16, 0.94));
  backdrop-filter: blur(18px);
}

.control-panel .toolbar-top h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.control-panel .toolbar-top p {
  margin: 0;
  color: #b9c9df;
}

.filter-grid {
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: 20px;
  background: rgba(2, 7, 15, 0.46);
}

.filter-grid input,
.filter-grid select {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(53, 224, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(3, 8, 16, 0.84);
  color: #eef7ff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: rgba(53, 224, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(53, 224, 255, 0.08);
}

.filter-grid .primary-button {
  min-height: 52px;
  white-space: nowrap;
}

.listing-grid {
  gap: 18px;
  margin-top: 18px;
}

.listing-card {
  border-radius: 18px;
  border-color: rgba(53, 224, 255, 0.14);
  background:
    radial-gradient(circle at 16% 0%, rgba(53, 224, 255, 0.1), transparent 28%),
    radial-gradient(circle at 94% 10%, rgba(124, 92, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 17, 31, 0.94), rgba(4, 8, 16, 0.98));
  box-shadow:
    0 18px 48px rgba(1, 7, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 255, 0.26);
  box-shadow:
    0 26px 64px rgba(1, 7, 20, 0.52),
    0 0 34px rgba(53, 224, 255, 0.1);
}

.listing-card.deal-tone-good {
  border-color: rgba(0, 255, 166, 0.22);
}

.listing-card.deal-tone-bad {
  border-color: rgba(255, 92, 122, 0.24);
}

.listing-card.deal-tone-premium {
  border-color: rgba(124, 92, 255, 0.34);
  box-shadow:
    0 22px 58px rgba(1, 7, 20, 0.48),
    0 0 42px rgba(124, 92, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.listing-image-wrap {
  background:
    linear-gradient(180deg, rgba(3, 8, 16, 0.14), rgba(3, 8, 16, 0.66)),
    radial-gradient(circle at 50% 30%, rgba(53, 224, 255, 0.12), transparent 40%),
    rgba(3, 8, 16, 0.92);
}

.listing-image {
  transition: transform 0.28s ease, filter 0.28s ease;
}

.listing-card:hover .listing-image {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.listing-body {
  padding: 18px;
}

.listing-kicker {
  color: #58ddff;
  font-size: 0.74rem;
  font-weight: 850;
}

.listing-body h2 {
  color: #f7fbff;
  font-size: 1.08rem;
}

.listing-kpi-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.listing-kpi {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(53, 224, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(3, 8, 16, 0.62);
}

.listing-kpi span {
  display: block;
  color: #88a3bd;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-kpi strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #f7fbff;
  font-size: 0.96rem;
  line-height: 1.18;
}

.listing-kpi-price strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.listing-kpi-profit strong,
.listing-kpi-edge strong {
  color: #00ffa6;
}

.deal-tone-bad .listing-kpi-profit strong,
.deal-tone-bad .listing-kpi-edge strong {
  color: #ff7c96;
}

.listing-kpi-confidence strong {
  color: #9d7cff;
}

.listing-kpi-muted strong {
  color: #aebed0;
}

.listing-signal-grid {
  gap: 8px;
}

.listing-signal-grid > div,
.detail-insight-block {
  border-radius: 13px;
  background: rgba(3, 8, 16, 0.46);
}

.badge,
.listing-age,
.listing-edge-pill,
.listing-profit-pill {
  backdrop-filter: blur(12px);
}

.deal-rating-badge {
  border-width: 1px;
}

.deal-rating-good {
  color: #06160f;
  border-color: rgba(0, 255, 166, 0.42);
  background: linear-gradient(135deg, #00ffa6, #35e0ff);
}

.deal-rating-bad {
  color: #fff0f3;
  border-color: rgba(255, 92, 122, 0.34);
  background: rgba(255, 92, 122, 0.18);
}

.deal-rating-premium {
  color: #ffffff;
  border-color: rgba(124, 92, 255, 0.42);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.86), rgba(53, 224, 255, 0.74));
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.24);
}

.deal-rating-neutral {
  color: #e7f3ff;
  border-color: rgba(53, 224, 255, 0.2);
  background: rgba(53, 224, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .feed-command-center,
  .control-panel,
  .listing-card {
    animation: dashboard-enter 540ms ease both;
  }

  .deal-alert-panel {
    animation: dashboard-enter 620ms ease both;
  }
}

@keyframes dashboard-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 820px) {
  .feed-hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  }

  .feed-command-center .live-radar-shell {
    align-content: start;
  }

  .feed-command-center .live-radar-stage {
    position: relative;
    display: block;
    min-height: 250px;
  }

  .feed-command-center .live-radar-source-side {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: auto;
    transform: translateY(-50%);
  }

  .feed-command-center .live-radar-source-side.is-left {
    left: 0;
  }

  .feed-command-center .live-radar-source-side.is-right {
    right: 0;
  }

  .feed-command-center .live-radar-source-side .source-pill {
    min-width: 112px;
    padding: 10px 13px;
  }

  .feed-command-center .live-radar-link-left {
    left: calc(50% - 94px);
  }

  .feed-command-center .live-radar-link-right {
    right: calc(50% - 94px);
  }

  .deal-alert-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .feed-hero-copy h1 {
    max-width: 780px;
  }

  .feed-command-center .stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 819px) {
  .feed-command-center {
    padding: 18px;
  }

  .feed-hero-copy h1 {
    max-width: 11ch;
  }

  .deal-alert-actions .primary-button,
  .deal-alert-actions .ghost-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .page,
  .topbar {
    width: min(100% - 16px, 1220px);
  }

  .feed-command-center {
    border-radius: 22px;
  }

  .feed-hero-copy h1 {
    font-size: clamp(2.3rem, 13vw, 3.25rem);
  }

  .feed-hero-meta .mini-stat {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .live-radar {
    width: min(100%, 224px);
  }

  .filter-grid {
    padding: 10px;
  }

  .listing-kpi-strip {
    grid-template-columns: 1fr;
  }
}

/* Reference-inspired live-deals cockpit */
body {
  background:
    radial-gradient(circle at 9% 12%, rgba(0, 255, 166, 0.08), transparent 18%),
    radial-gradient(circle at 58% 16%, rgba(53, 224, 255, 0.11), transparent 24%),
    radial-gradient(circle at 84% 4%, rgba(157, 124, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #02050d 0%, #030916 48%, #02050c 100%);
}

.topbar,
.page {
  width: min(1320px, calc(100% - 32px));
}

.topbar {
  top: 0;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid rgba(82, 112, 255, 0.16);
  background: rgba(2, 7, 16, 0.78);
}

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

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #7c5cff;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.34);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: #35e0ff;
  border-radius: 999px;
}

.brand-mark::before {
  width: 20px;
  height: 2px;
}

.brand-mark::after {
  width: 2px;
  height: 20px;
}

.brand-mark span {
  width: 10px;
  height: 10px;
  border: 2px solid #00ffa6;
  border-radius: 50%;
  background: #061221;
  z-index: 1;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-name {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(100deg, #ffffff 5%, #35e0ff 50%, #b05cff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: #91a1b9;
}

.topbar-actions {
  gap: 10px;
}

.topbar-actions .ghost-button {
  min-height: 42px;
  border-radius: 10px;
  padding: 10px 15px;
}

.topbar-actions a[href*="profile"] {
  border-color: rgba(176, 92, 255, 0.72);
  box-shadow: 0 0 20px rgba(176, 92, 255, 0.12);
}

.page {
  padding-top: 8px;
}

.flash-stack {
  margin: 0 0 16px;
}

.vip-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  margin: 6px 0 26px;
}

.vip-tab {
  min-height: auto;
  padding: 8px 4px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f6fb;
  font-size: 0.92rem;
  font-weight: 850;
  text-shadow: none;
}

.vip-tab::before {
  display: none;
}

.vip-tab::after {
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #35e0ff, #b05cff);
  opacity: 0;
}

.vip-tab.is-active {
  color: #d996ff;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 0 18px rgba(176, 92, 255, 0.28);
}

.vip-tab.is-active::after {
  opacity: 1;
}

.feed-command-center {
  gap: 22px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feed-command-center::before {
  display: none;
}

.feed-hero-grid {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  min-height: 300px;
}

.feed-hero-copy h1 {
  max-width: 660px;
  margin-top: 0;
  color: #ffffff;
  font-size: clamp(2.3rem, 3.9vw, 3.65rem);
  line-height: 1.12;
}

.feed-hero-copy h1 span {
  background: linear-gradient(100deg, #ffffff 0 31%, #35e0ff 41%, #7d8dff 58%, #b65cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feed-hero-copy p {
  max-width: 510px;
  color: #b4bfd0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.feed-hero-meta .mini-stat {
  min-height: 34px;
  border-radius: 10px;
  border-color: rgba(54, 75, 116, 0.7);
  background: rgba(7, 15, 30, 0.78);
  color: #f5f8ff;
}

.feed-hero-meta .mini-stat:nth-child(2),
.feed-hero-meta .mini-stat:nth-child(4) {
  border-color: rgba(176, 92, 255, 0.34);
  background: rgba(124, 92, 255, 0.18);
  color: #cba8ff;
}

.feed-hero-meta .mini-stat-live {
  border-color: rgba(0, 255, 166, 0.3);
  background: rgba(0, 255, 166, 0.13);
  color: #66ffc1;
}

.feed-command-center .live-radar-showcase {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.feed-command-center .live-radar-showcase .live-radar-stage {
  min-height: 330px;
}

.feed-command-center .live-radar-showcase .live-radar {
  width: min(100%, 330px);
  margin: 0 auto;
  border-color: rgba(0, 174, 255, 0.42);
  background:
    linear-gradient(rgba(74, 103, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 103, 255, 0.22) 1px, transparent 1px),
    repeating-radial-gradient(circle at center, rgba(53, 224, 255, 0.16) 0 1px, transparent 1px 34px),
    conic-gradient(from 250deg, transparent 0 66%, rgba(176, 92, 255, 0.82), rgba(53, 224, 255, 0.22), transparent 88%),
    radial-gradient(circle at center, rgba(124, 92, 255, 0.18), rgba(2, 8, 18, 0.98) 62%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.16),
    0 0 70px rgba(53, 224, 255, 0.18),
    inset 0 0 44px rgba(124, 92, 255, 0.12);
}

.feed-command-center .live-radar-showcase .source-pill {
  border-radius: 999px;
  background: rgba(7, 15, 30, 0.78);
}

.deal-alert-panel {
  min-height: 270px;
  align-content: center;
  padding: 22px;
  border-color: rgba(53, 224, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 0%, rgba(53, 224, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(8, 18, 35, 0.92), rgba(5, 11, 21, 0.98));
}

.deal-alert-panel .eyebrow {
  color: #65a7ff;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
}

.deal-alert-panel h2 {
  max-width: 10ch;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.08;
}

.deal-alert-panel h2::first-line {
  color: #ffffff;
}

.deal-alert-panel p {
  max-width: 24ch;
  color: #a8b4c5;
}

.deal-alert-actions {
  margin-top: 8px;
}

.deal-alert-actions .primary-button,
.deal-alert-actions .ghost-button {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  min-height: 34px;
  padding: 9px 14px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.deal-alert-actions .primary-button {
  color: #ffffff;
  background: linear-gradient(100deg, #6255ff, #b83cff);
}

.live-radar-status-panel {
  display: grid;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(53, 224, 255, 0.08);
}

.live-radar-status-panel .live-radar-copy {
  text-align: left;
}

.live-radar-status-panel .eyebrow,
.control-panel .eyebrow {
  color: #b05cff;
  font-weight: 950;
}

.live-radar-status-panel h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.signal-wave {
  width: 42px;
  height: 18px;
  background: linear-gradient(90deg, transparent 0 22%, #00ffa6 22% 27%, transparent 27% 42%, #00ffa6 42% 48%, transparent 48% 100%);
  clip-path: polygon(0 50%, 32% 50%, 40% 12%, 48% 88%, 56% 50%, 100% 50%, 100% 60%, 58% 60%, 48% 100%, 38% 24%, 34% 60%, 0 60%);
  filter: drop-shadow(0 0 8px rgba(0, 255, 166, 0.42));
}

.live-radar-status-panel p {
  margin: 8px 0 0;
  color: #b4bfd0;
}

.live-status-row {
  margin-top: 4px;
}

.source-trail {
  display: inline-flex;
  gap: 16px;
  margin-left: auto;
  color: #dce7ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.stat-card {
  min-height: 150px;
  border-radius: 14px;
  border-color: rgba(53, 224, 255, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 224, 255, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(7, 17, 34, 0.92), rgba(3, 8, 17, 0.98));
}

.stat-card strong {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}

.stat-card-status {
  grid-template-columns: auto 1fr auto;
}

.stat-manage-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 40px;
  padding: 10px 14px;
}

.control-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  border-color: rgba(124, 92, 255, 0.18);
  background:
    radial-gradient(circle at 5% 20%, rgba(124, 92, 255, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(8, 18, 35, 0.92), rgba(4, 9, 18, 0.98));
}

.control-panel .toolbar-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}

.control-panel-icon {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(176, 92, 255, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.28), transparent 58%),
    rgba(124, 92, 255, 0.12);
  position: relative;
}

.control-panel-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 5px solid #7d8dff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(3, 8, 16, 0.9);
}

.control-panel-icon::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 17px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #35e0ff;
  transform: rotate(35deg);
  box-shadow: 0 0 18px rgba(53, 224, 255, 0.5);
}

.filter-grid {
  grid-template-columns: minmax(220px, 1.25fr) minmax(130px, 0.5fr) minmax(130px, 0.5fr) minmax(130px, 0.5fr) minmax(170px, 0.7fr) minmax(220px, 1fr) auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.filter-grid input,
.filter-grid select {
  border-radius: 10px;
}

.language-filter {
  border: 1px solid rgba(120, 190, 255, 0.2);
  border-radius: 8px;
  padding: 0.72rem;
  margin: 0;
  background: rgba(7, 18, 32, 0.72);
}

.language-filter legend {
  padding: 0 0.3rem;
  color: rgba(220, 238, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(108, 195, 255, 0.22);
  border-radius: 7px;
  color: rgba(234, 246, 255, 0.78);
  background: rgba(13, 25, 42, 0.92);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
}

.language-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.language-chip.is-selected {
  color: #ecfbff;
  border-color: rgba(42, 171, 238, 0.72);
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.3), rgba(0, 255, 166, 0.12));
  box-shadow: 0 0 18px rgba(42, 171, 238, 0.16);
}

.badge-language {
  background: rgba(42, 171, 238, 0.18);
  border-color: rgba(42, 171, 238, 0.38);
  color: #dff7ff;
}

.badge-set {
  background: rgba(0, 255, 166, 0.14);
  border-color: rgba(0, 255, 166, 0.34);
  color: #e8fff8;
}

.badge-no-market {
  background: rgba(255, 181, 70, 0.14);
  border-color: rgba(255, 181, 70, 0.34);
  color: #ffe5b8;
}

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

.control-feature-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(53, 224, 255, 0.1);
  border-radius: 12px;
  background: rgba(7, 17, 34, 0.72);
}

.control-feature-strip span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.45), rgba(53, 224, 255, 0.18));
}

.control-feature-strip strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.control-feature-strip small {
  color: #aebacf;
}

@media (min-width: 980px) {
  .feed-hero-grid {
    grid-template-columns: minmax(410px, 1fr) 300px 264px;
  }
}

@media (max-width: 979px) {
  .feed-hero-grid,
  .stats-strip,
  .control-feature-strip {
    grid-template-columns: 1fr;
  }

  .deal-alert-panel {
    min-height: auto;
  }

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

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

  .control-panel-icon {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 719px) {
  .topbar,
  .page {
    width: calc(100% - 16px);
  }

  .topbar {
    align-items: stretch;
  }

  .brand {
    align-items: center;
  }

  .vip-tab-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vip-tab {
    min-height: 52px;
    border: 1px solid rgba(53, 224, 255, 0.16);
    border-radius: 14px;
    background: rgba(7, 17, 34, 0.72);
  }

  .feed-hero-copy h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .feed-command-center .live-radar-showcase .live-radar-stage {
    min-height: 270px;
  }

  .feed-command-center .live-radar-showcase .live-radar {
    width: min(100%, 260px);
  }

  .source-trail {
    width: 100%;
    margin-left: 0;
  }
}

body:has(.feed-command-center) .bottom-nav {
  display: none;
}

body.is-authed:has(.feed-command-center) {
  padding-bottom: 0;
}

/* Closer match to the supplied cockpit reference */
body:has(.feed-command-center) .topbar {
  width: 100%;
  min-height: 70px;
  margin: 0;
  padding: 12px 13px;
  border-bottom-color: rgba(118, 98, 255, 0.18);
  background: rgba(1, 5, 14, 0.88);
}

body:has(.feed-command-center) .page {
  width: min(1104px, calc(100% - 118px));
  padding-top: 24px;
}

@media (min-width: 980px) {
  body:has(.feed-command-center) .vip-tab-nav {
    position: fixed;
    left: 50%;
    top: 15px;
    z-index: 35;
    width: auto;
    margin: 0;
    transform: translateX(-50%);
    gap: 28px;
  }

  body:has(.feed-command-center) .vip-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 0 10px;
    white-space: nowrap;
  }
}

body:has(.feed-command-center) .topbar-actions .ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.78rem;
}

body:has(.feed-command-center) .topbar-actions a[href*="download"]::before { content: "▯"; font-size: 1rem; }
body:has(.feed-command-center) .topbar-actions a[href*="billing"]::before { content: "▱"; font-size: 1rem; transform: rotate(-8deg); }
body:has(.feed-command-center) .topbar-actions a[href*="profile"]::before { content: "▰"; color: #d996ff; font-size: 0.92rem; }
body:has(.feed-command-center) .topbar-actions .telegram-free-nav-button::before { content: "T"; color: #2aabee; font-size: 0.86rem; font-weight: 950; }
body:has(.feed-command-center) .topbar-actions form .ghost-button::before { content: "↪"; font-size: 1rem; }

body:has(.feed-command-center) .feed-command-center {
  gap: 18px;
}

body:has(.feed-command-center) .feed-hero-grid {
  gap: 32px;
  align-items: start;
  min-height: 270px;
}

body:has(.feed-command-center) .feed-hero-copy h1 {
  max-width: 456px;
  font-size: clamp(2.1rem, 3.35vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: 0;
}

body:has(.feed-command-center) .feed-live-title {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

body:has(.feed-command-center) .feed-live-title span {
  display: block;
  background: linear-gradient(100deg, #35e0ff 0%, #718cff 42%, #b65cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:has(.feed-command-center) .feed-hero-copy p {
  max-width: 420px;
  margin-top: 16px;
  line-height: 1.72;
  font-size: 0.98rem;
}

body:has(.feed-command-center) .feed-hero-meta {
  margin-top: 18px;
}

body:has(.feed-command-center) .feed-command-center .live-radar-showcase .live-radar-stage {
  min-height: 270px;
}

body:has(.feed-command-center) .feed-command-center .live-radar-showcase .live-radar {
  width: min(100%, 270px);
}

body:has(.feed-command-center) .live-radar-showcase .source-pill,
body:has(.feed-command-center) .live-radar-showcase .live-radar-link {
  display: none;
}

body:has(.feed-command-center) .live-radar-sweep {
  background:
    conic-gradient(from 18deg, transparent 0 72%, rgba(176, 92, 255, 0.82), rgba(53, 224, 255, 0.18), transparent 91%);
  mask: none;
  opacity: 0.95;
}

body:has(.feed-command-center) .live-radar::before {
  content: "";
  position: absolute;
  left: 24%;
  top: 22%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ffa6;
  box-shadow:
    58px -42px 0 -2px #7389ff,
    132px 104px 0 -2px #5e7cff,
    8px 112px 0 -2px #5e7cff,
    180px 30px 0 -2px #6e83ff,
    0 0 18px rgba(0, 255, 166, 0.58);
  z-index: 3;
}

body:has(.feed-command-center) .deal-alert-panel {
  height: 262px;
  min-height: 0;
  padding: 20px 18px;
}

body:has(.feed-command-center) .deal-alert-panel h2 {
  max-width: 10ch;
  font-size: clamp(1.45rem, 2vw, 1.6rem);
}

body:has(.feed-command-center) .deal-alert-panel h2 span {
  display: block;
  background: linear-gradient(100deg, #35e0ff, #b05cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:has(.feed-command-center) .deal-alert-actions .primary-button::before {
  content: "●";
  color: #ffffff;
  font-size: 0.7rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.62));
}

body:has(.feed-command-center) .deal-alert-actions {
  grid-template-columns: 1fr;
}

body:has(.feed-command-center) .deal-alert-actions .ghost-button::before {
  content: "⇩";
  font-size: 1rem;
}

body:has(.feed-command-center) .live-radar-status-panel {
  margin-top: 2px;
  padding-top: 12px;
}

body:has(.feed-command-center) .source-trail {
  align-items: center;
  gap: 11px;
  margin-left: 84px;
}

.source-trail-vinted::before {
  content: "V";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 5px;
  background: linear-gradient(135deg, #00ffa6, #35e0ff);
  color: #06202a;
  font-size: 0.72rem;
  font-weight: 950;
}

.source-trail-ebay::before {
  content: "";
}

.source-trail-arrow {
  width: 16px;
  height: 16px;
  position: relative;
}

.source-trail-arrow::before {
  content: "›";
  color: #7e8aa5;
  font-size: 1.2rem;
  line-height: 1;
}

body:has(.feed-command-center) .stats-strip {
  gap: 14px;
}

body:has(.feed-command-center) .stat-card {
  min-height: 140px;
  padding: 18px;
}

body:has(.feed-command-center) .stat-card small + small {
  display: block;
  margin-top: 8px;
  color: #8190a7;
}

body:has(.feed-command-center) .control-panel {
  margin-top: 16px;
  padding: 18px 20px;
}

body:has(.feed-command-center) .filter-grid {
  grid-template-columns: minmax(250px, 1.25fr) minmax(130px, 0.45fr) minmax(130px, 0.45fr) minmax(130px, 0.45fr) minmax(170px, 0.65fr) minmax(220px, 0.9fr) auto;
}

body:has(.feed-command-center) .filter-grid input {
  padding-left: 44px;
  background:
    radial-gradient(circle at 21px 50%, rgba(255,255,255,0.82) 0 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(3, 8, 16, 0.84);
}

body:has(.feed-command-center) .filter-grid .primary-button::before {
  content: "▽";
  display: inline-block;
  margin-right: 8px;
  transform: rotate(45deg);
}

body:has(.feed-command-center) .control-feature-strip > div:nth-child(1) span::before { content: "⚡"; }
body:has(.feed-command-center) .control-feature-strip > div:nth-child(2) span::before { content: "🔥"; }
body:has(.feed-command-center) .control-feature-strip > div:nth-child(3) span::before { content: "▣"; }
body:has(.feed-command-center) .control-feature-strip > div:nth-child(4) span::before { content: "♛"; }

body:has(.feed-command-center) .control-feature-strip span {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
}

body:has(.feed-command-center) .brand-subtitle {
  white-space: nowrap;
}

body:has(.feed-command-center) .topbar-actions .ghost-button {
  padding-inline: 10px;
  font-size: 0.74rem;
  white-space: nowrap;
}

body:has(.feed-command-center) .topbar-actions .telegram-free-nav-button {
  min-width: 108px;
}

body:has(.feed-command-center) .topbar-actions a[href*="download"] {
  min-width: 108px;
}

body:has(.feed-command-center) .topbar-actions a[href*="billing"] {
  min-width: 78px;
}

body:has(.feed-command-center) .topbar-actions a[href*="profile"] {
  min-width: 108px;
}

body:has(.feed-command-center) .topbar-actions form .ghost-button {
  min-width: 86px;
}

body:has(.feed-command-center) .flash-stack {
  display: none;
}

@media (max-width: 979px) {
  body:has(.feed-command-center) .topbar {
    width: calc(100% - 16px);
    margin: 0 auto;
    padding: 14px 0;
  }

  body:has(.feed-command-center) .page {
    padding-top: 18px;
  }

  body:has(.feed-command-center) .filter-grid {
    grid-template-columns: 1fr;
  }

  body:has(.feed-command-center) .source-trail {
    margin-left: 0;
  }
}

body:has(.feed-command-center) .feed-local-tab-nav {
  display: none;
}

body:has(.feed-command-center) .topbar {
  display: grid;
  grid-template-columns: 330px 430px minmax(0, 1fr);
  column-gap: 8px;
}

body:has(.feed-command-center) .topbar .vip-tab-nav {
  position: static;
  z-index: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-self: center;
  gap: 18px;
  width: auto;
  margin: 0;
  transform: none;
}

body:has(.feed-command-center) .topbar .vip-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0 11px;
  white-space: nowrap;
  overflow: visible;
  font-size: 0.76rem;
}

body:has(.feed-command-center) .topbar-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

body:has(.feed-command-center) .topbar .vip-tab::before {
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  inset: auto;
  background: none;
  opacity: 1;
  margin-right: 7px;
  font-size: 0.95rem;
  line-height: 1;
}

body:has(.feed-command-center) .topbar .nav-live::before { content: "\26A1"; color: #ff8a2a; }
body:has(.feed-command-center) .topbar .nav-sniper::before { content: "\25B2"; color: #ff7a35; transform: rotate(45deg); }
body:has(.feed-command-center) .topbar .nav-missed::before { content: "\25CF"; color: #e7d6ff; }
body:has(.feed-command-center) .topbar .nav-ai::before { content: "\25C8"; color: #dca8ff; }

body:has(.feed-command-center) .deal-alert-actions .primary-button::before {
  margin-right: 8px;
}

body:has(.feed-command-center) .deal-alert-actions .ghost-button::before {
  margin-right: 8px;
}

body:has(.feed-command-center) .deal-alert-panel {
  height: 262px;
  min-height: 0;
  align-content: start;
}

body:has(.feed-command-center) .deal-alert-panel p {
  margin-bottom: 4px;
}

body:has(.feed-command-center) .deal-alert-actions {
  gap: 10px;
}

body:has(.feed-command-center) .feed-command-center {
  gap: 12px;
  margin-bottom: 14px;
}

body:has(.feed-command-center) .feed-hero-grid {
  min-height: 255px;
}

body:has(.feed-command-center) .live-radar-status-panel {
  height: 103px;
  margin-top: 0;
  padding-top: 0;
  gap: 8px;
  overflow: visible;
}

body:has(.feed-command-center) .live-radar-status-panel .live-radar-copy {
  height: auto;
}

body:has(.feed-command-center) .live-radar-status-panel .eyebrow {
  margin-bottom: 5px;
  line-height: 1;
}

body:has(.feed-command-center) .live-radar-status-panel h2 {
  margin: 3px 0 0;
  font-size: 1.42rem;
  line-height: 1.15;
}

body:has(.feed-command-center) .live-radar-status-panel p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.35;
}

body:has(.feed-command-center) .live-status-row {
  min-height: 22px;
}

body:has(.feed-command-center) .stat-card {
  height: 140px;
  min-height: 0;
  padding: 18px;
}

body:has(.feed-command-center) .stat-icon {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 8px;
}

body:has(.feed-command-center) .stat-icon::before {
  transform: scale(0.78);
}

body:has(.feed-command-center) .stat-label {
  display: block;
  margin: 3px 0 0 32px;
}

body:has(.feed-command-center) .stat-card strong {
  margin: 13px 0 6px;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
}

body:has(.feed-command-center) .stat-card small {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

body:has(.feed-command-center) .stat-card small + small {
  margin-top: 7px;
}

body:has(.feed-command-center) .stat-manage-button {
  position: absolute;
  right: 18px;
  bottom: 14px;
  min-height: 36px;
  padding: 9px 14px;
  font-size: 0.76rem;
}

body:has(.feed-command-center) .control-panel {
  margin-top: 0;
}

body:has(.feed-command-center) .control-panel .toolbar-top h2 {
  margin: 6px 0 6px;
  font-size: 1.55rem;
  line-height: 1.12;
}

body:has(.feed-command-center) .control-panel .toolbar-top p {
  font-size: 0.95rem;
}

body:has(.feed-command-center) .feed-command-center {
  gap: 5px;
}

body:has(.feed-command-center) .feed-command-center .live-radar-showcase .live-radar-stage {
  min-height: 262px;
}

body:has(.feed-command-center) .deal-alert-panel p {
  max-width: 19ch;
  font-size: 0.88rem;
  line-height: 1.36;
}

body:has(.feed-command-center) .deal-alert-actions {
  margin-top: 0;
}

body:has(.feed-command-center) .deal-alert-actions .primary-button,
body:has(.feed-command-center) .deal-alert-actions .ghost-button {
  min-height: 34px;
  padding-block: 8px;
}

body:has(.feed-command-center) .stats-strip {
  margin-top: 7px;
}

body:has(.feed-command-center) .live-radar-status-panel .eyebrow {
  font-size: 0.68rem;
  margin-bottom: 3px;
}

body:has(.feed-command-center) .live-radar-status-panel h2 {
  font-size: 1.34rem;
  line-height: 1.12;
}

body:has(.feed-command-center) .live-radar-status-panel p {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.28;
}

body:has(.feed-command-center) .live-status-row {
  margin-top: 0;
}

body:has(.feed-command-center) .control-panel {
  gap: 16px;
}

body:has(.feed-command-center) .control-panel .toolbar-top {
  min-height: 68px;
}

body:has(.feed-command-center) .control-panel-icon {
  width: 68px;
  height: 68px;
}

body:has(.feed-command-center) .control-panel .toolbar-top h2 {
  margin: 5px 0 5px;
  font-size: 1.42rem;
}

body:has(.feed-command-center) .control-panel .toolbar-top p {
  font-size: 0.88rem;
}

body:has(.feed-command-center) .filter-grid input,
body:has(.feed-command-center) .filter-grid select,
body:has(.feed-command-center) .filter-grid .primary-button {
  min-height: 40px;
}

body:has(.feed-command-center) .filter-grid {
  min-height: 40px;
}

body:has(.feed-command-center) .control-feature-strip > div {
  min-height: 58px;
  padding: 10px 14px;
}

body:has(.feed-command-center) .live-radar-status-panel {
  margin-top: -8px;
}

body:has(.feed-command-center) .deal-alert-panel {
  display: flex;
  flex-direction: column;
}

body:has(.feed-command-center) .deal-alert-actions {
  margin-top: auto;
}

body:has(.feed-command-center) .control-panel .toolbar-top {
  align-items: start;
}

body:has(.feed-command-center) .control-panel .toolbar-top .eyebrow {
  margin-bottom: 2px;
}

body:has(.feed-command-center) .control-panel .toolbar-top h2 {
  margin: 2px 0;
  font-size: 1.32rem;
  line-height: 1.08;
}

body:has(.feed-command-center) .control-panel .toolbar-top p {
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (max-width: 1280px) and (min-width: 980px) {
  body:has(.feed-command-center) .topbar {
    grid-template-columns: 1fr auto;
  }

  body:has(.feed-command-center) .topbar .vip-tab-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 8px;
  }
}

@media (max-width: 979px) {
  body:has(.feed-command-center) .topbar {
    display: flex;
  }

  body:has(.feed-command-center) .topbar .vip-tab-nav {
    display: none;
  }

  body:has(.feed-command-center) .feed-local-tab-nav {
    display: grid;
  }
}

@media (max-width: 719px) {
  body:has(.feed-command-center) {
    overflow-x: hidden;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.18), transparent 38%),
      linear-gradient(180deg, #050813 0%, #081225 46%, #07101e 100%);
  }

  body:has(.feed-command-center) .app-shell {
    width: 100%;
    overflow-x: hidden;
  }

  body:has(.feed-command-center) .topbar {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: calc(10px + env(safe-area-inset-top)) 10px 10px;
    border-radius: 0 0 18px 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: hidden;
  }

  body:has(.feed-command-center) .topbar-brand,
  body:has(.feed-command-center) .brand {
    min-width: 0;
    width: 100%;
  }

  body:has(.feed-command-center) .brand {
    gap: 10px;
  }

  body:has(.feed-command-center) .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  body:has(.feed-command-center) .brand-name {
    font-size: clamp(1.06rem, 6vw, 1.34rem);
    line-height: 1.05;
    white-space: normal;
  }

  body:has(.feed-command-center) .brand-subtitle {
    max-width: 100%;
    white-space: normal;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  body:has(.feed-command-center) .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body:has(.feed-command-center) .topbar-actions form {
    min-width: 0;
  }

  body:has(.feed-command-center) .topbar-actions .ghost-button,
  body:has(.feed-command-center) .topbar-actions a[href*="download"],
  body:has(.feed-command-center) .topbar-actions a[href*="billing"],
  body:has(.feed-command-center) .topbar-actions a[href*="profile"],
  body:has(.feed-command-center) .topbar-actions form .ghost-button {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 8px 7px;
    border-radius: 12px;
    justify-content: center;
    font-size: 0.74rem;
  }

  body:has(.feed-command-center) .page {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding-top: 14px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body:has(.feed-command-center) .feed-local-tab-nav {
    display: none;
  }

  body:has(.feed-command-center) .feed-local-tab-nav .vip-tab {
    min-height: 46px;
    padding: 0 8px;
    border-radius: 14px;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  body:has(.feed-command-center) .feed-local-tab-nav .vip-tab::after {
    display: none;
  }

  body:has(.feed-command-center) .feed-local-tab-nav .vip-tab.is-active {
    border: 1px solid rgba(53, 224, 255, 0.56);
    background:
      linear-gradient(135deg, rgba(53, 224, 255, 0.18), rgba(176, 92, 255, 0.22)),
      rgba(6, 13, 27, 0.88);
    color: #ffffff;
    box-shadow: 0 0 28px rgba(53, 224, 255, 0.16);
  }

  body:has(.feed-command-center) .feed-command-center {
    gap: 14px;
    margin-bottom: 14px;
    overflow: visible;
  }

  body:has(.feed-command-center) .feed-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
  }

  body:has(.feed-command-center) .feed-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.4vw, 2.75rem);
    line-height: 1.08;
  }

  body:has(.feed-command-center) .feed-live-title span {
    display: inline;
  }

  body:has(.feed-command-center) .feed-hero-copy p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  body:has(.feed-command-center) .feed-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  body:has(.feed-command-center) .feed-hero-meta .mini-stat {
    width: 100%;
    min-height: 38px;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 13px;
    font-size: 0.78rem;
  }

  body:has(.feed-command-center) .live-radar-showcase {
    display: grid;
    min-height: 0;
    padding: 10px 0 0;
  }

  body:has(.feed-command-center) .feed-command-center .live-radar-showcase .live-radar-stage {
    min-height: min(64vw, 260px);
  }

  body:has(.feed-command-center) .feed-command-center .live-radar-showcase .live-radar {
    width: min(64vw, 260px);
  }

  body:has(.feed-command-center) .deal-alert-panel {
    height: auto;
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  body:has(.feed-command-center) .deal-alert-panel h2 {
    max-width: 100%;
    font-size: 1.45rem;
  }

  body:has(.feed-command-center) .deal-alert-panel p {
    max-width: 100%;
  }

  body:has(.feed-command-center) .deal-alert-actions {
    margin-top: 4px;
  }

  body:has(.feed-command-center) .deal-alert-actions .primary-button,
  body:has(.feed-command-center) .deal-alert-actions .ghost-button {
    width: 100%;
    min-height: 42px;
  }

  body:has(.feed-command-center) .live-radar-status-panel {
    height: auto;
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(53, 224, 255, 0.12);
  }

  body:has(.feed-command-center) .live-radar-status-panel h2 {
    align-items: center;
    font-size: 1.35rem;
  }

  body:has(.feed-command-center) .live-status-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  body:has(.feed-command-center) .source-trail {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  body:has(.feed-command-center) .stats-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  body:has(.feed-command-center) .stat-card {
    height: auto;
    min-height: 122px;
    border-radius: 16px;
  }

  body:has(.feed-command-center) .stat-card strong {
    font-size: 2.05rem;
  }

  body:has(.feed-command-center) .stat-manage-button {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  body:has(.feed-command-center) .control-panel {
    width: 100%;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  body:has(.feed-command-center) .control-panel .toolbar-top {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  body:has(.feed-command-center) .control-panel-icon {
    width: 54px;
    height: 54px;
  }

  body:has(.feed-command-center) .control-panel .toolbar-top .ghost-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }

  body:has(.feed-command-center) .control-panel .toolbar-top h2 {
    font-size: 1.25rem;
  }

  body:has(.feed-command-center) .filter-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body:has(.feed-command-center) .filter-grid input,
  body:has(.feed-command-center) .filter-grid select,
  body:has(.feed-command-center) .filter-grid .primary-button {
    min-height: 46px;
    border-radius: 13px;
  }

  body:has(.feed-command-center) .control-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body:has(.feed-command-center) .control-feature-strip > div {
    min-height: 54px;
    padding: 10px;
    column-gap: 9px;
  }

  body:has(.feed-command-center) .control-feature-strip span {
    width: 30px;
    height: 30px;
  }

  body:has(.feed-command-center) .control-feature-strip strong {
    font-size: 0.78rem;
  }

  body:has(.feed-command-center) .control-feature-strip small {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  body:has(.feed-command-center) .listing-grid {
    gap: 12px;
  }

  body:has(.feed-command-center) .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 20px);
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 8px;
    border-radius: 22px;
  }

  body:has(.feed-command-center) .bottom-nav-item {
    padding: 10px 6px;
    border-radius: 14px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions a[href*="download"] {
    display: none;
  }

  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions .ghost-button,
  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions a[href*="billing"],
  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions a[href*="profile"],
  body.is-mobile-app-shell:has(.feed-command-center) .topbar-actions form .ghost-button {
    font-size: 0.68rem;
  }
}

/* Responsive overflow hardening for the deals dashboards */
html,
body,
.app-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body:has(.feed-command-center) .topbar,
body:has(.feed-command-center) .page,
body:has(.feed-command-center) .feed-command-center,
body:has(.feed-command-center) .feed-hero-grid,
body:has(.feed-command-center) .live-radar-status-panel,
body:has(.feed-command-center) .stats-strip,
body:has(.feed-command-center) .control-panel,
body:has(.feed-command-center) .filter-grid,
body:has(.feed-command-center) .listing-grid {
  max-width: 100%;
  box-sizing: border-box;
}

body:has(.feed-command-center) .page {
  width: min(1600px, calc(100% - clamp(24px, 3vw, 56px)));
  max-width: 100%;
  margin-inline: auto;
}

body:has(.feed-command-center) .topbar {
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  grid-template-columns: minmax(240px, 0.82fr) minmax(360px, auto) minmax(280px, 1fr);
  column-gap: clamp(8px, 1.1vw, 18px);
  row-gap: 8px;
  overflow: visible;
}

body:has(.feed-command-center) .topbar-brand,
body:has(.feed-command-center) .brand,
body:has(.feed-command-center) .brand-copy,
body:has(.feed-command-center) .topbar .vip-tab-nav,
body:has(.feed-command-center) .topbar-actions,
body:has(.feed-command-center) .topbar-actions form {
  min-width: 0;
  max-width: 100%;
}

body:has(.feed-command-center) .brand {
  display: inline-flex;
  align-items: center;
}

body:has(.feed-command-center) .brand-name,
body:has(.feed-command-center) .brand-subtitle {
  overflow-wrap: anywhere;
}

body:has(.feed-command-center) .topbar .vip-tab-nav {
  gap: clamp(10px, 1.1vw, 18px);
}

body:has(.feed-command-center) .topbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: center;
  gap: 7px;
}

body:has(.feed-command-center) .topbar-actions .ghost-button,
body:has(.feed-command-center) .topbar-actions form .ghost-button {
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
}

body:has(.feed-command-center) .feed-command-center {
  overflow: visible;
}

body:has(.feed-command-center) .feed-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.64fr) minmax(230px, 0.58fr);
  gap: clamp(18px, 2.2vw, 32px);
  min-height: 0;
}

body:has(.feed-command-center) .feed-hero-copy,
body:has(.feed-command-center) .live-radar-showcase,
body:has(.feed-command-center) .deal-alert-panel {
  min-width: 0;
  max-width: 100%;
}

body:has(.feed-command-center) .deal-alert-panel {
  height: auto;
  min-height: 0;
  overflow: hidden;
}

body:has(.feed-command-center) .deal-alert-panel p {
  max-width: 100%;
}

body:has(.feed-command-center) .deal-alert-actions .primary-button,
body:has(.feed-command-center) .deal-alert-actions .ghost-button {
  width: 100%;
  max-width: 100%;
}

body:has(.feed-command-center) .live-radar-status-panel {
  height: auto;
  min-height: 0;
}

body:has(.feed-command-center) .live-status-row,
body:has(.feed-command-center) .source-trail {
  min-width: 0;
  max-width: 100%;
}

body:has(.feed-command-center) .source-trail {
  flex-wrap: wrap;
}

body:has(.feed-command-center) .control-panel {
  overflow: clip;
}

body:has(.feed-command-center) .control-panel .toolbar-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 0;
}

body:has(.feed-command-center) .control-panel .toolbar-top > div,
body:has(.feed-command-center) .control-feature-strip > div,
body:has(.feed-command-center) .stat-card {
  min-width: 0;
}

body:has(.feed-command-center) .control-panel .toolbar-top .ghost-button {
  max-width: 100%;
  justify-self: end;
  white-space: nowrap;
}

body:has(.feed-command-center) .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(176px, 100%), 1fr));
  gap: 10px;
  min-height: 0;
}

body:has(.feed-command-center) .filter-grid input,
body:has(.feed-command-center) .filter-grid select,
body:has(.feed-command-center) .filter-grid .primary-button,
body:has(.feed-command-center) .language-filter {
  min-width: 0;
  max-width: 100%;
}

body:has(.feed-command-center) .filter-grid input[type="search"] {
  grid-column: span 2;
}

body:has(.feed-command-center) .filter-grid .primary-button {
  width: 100%;
  white-space: nowrap;
}

body:has(.feed-command-center) .language-filter-options {
  min-width: 0;
  max-width: 100%;
}

body:has(.feed-command-center) .control-feature-strip {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body:has(.feed-command-center) .bottom-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1500px) and (min-width: 980px) {
  body:has(.feed-command-center) .topbar {
    grid-template-columns: minmax(220px, 1fr) minmax(0, auto);
  }

  body:has(.feed-command-center) .topbar .vip-tab-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 4px;
  }
}

@media (max-width: 1180px) and (min-width: 980px) {
  body:has(.feed-command-center) .feed-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  }

  body:has(.feed-command-center) .deal-alert-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 979px) {
  body:has(.feed-command-center) .page {
    width: calc(100% - 24px);
  }

  body:has(.feed-command-center) .topbar {
    max-width: calc(100% - 16px);
  }

  body:has(.feed-command-center) .feed-hero-grid,
  body:has(.feed-command-center) .stats-strip {
    grid-template-columns: 1fr;
  }

  body:has(.feed-command-center) .control-panel .toolbar-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body:has(.feed-command-center) .control-panel .toolbar-top .ghost-button {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 719px) {
  body:has(.feed-command-center) .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  body:has(.feed-command-center) .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body:has(.feed-command-center) .topbar-actions .ghost-button,
  body:has(.feed-command-center) .topbar-actions form .ghost-button {
    width: 100%;
    justify-content: center;
  }

  body:has(.feed-command-center) .filter-grid input[type="search"] {
    grid-column: auto;
  }

  body:has(.feed-command-center) .control-feature-strip {
    grid-template-columns: 1fr;
  }
}
