/* Subpages: светлый беж + тёмный читаемый текст (не коричневый на чёрном) */
html.podchain-subpage,
html.podchain-subpage body {
  background: #ebe4d6 !important;
  color: #1f1a14 !important;
}

html.podchain-subpage.dark {
  color-scheme: light;
}

html.podchain-subpage,
html.podchain-subpage.dark {
  --background: 38 32% 90% !important;
  --background-hover: 38 28% 86% !important;
  --foreground: 24 18% 14% !important;
  --primary: 24 18% 10% !important;
  --secondary: 28 10% 32% !important;
  --card: 40 38% 95% !important;
  --border: 32 16% 78% !important;
  --field: 40 32% 92% !important;
  --input: 32 16% 55% !important;
  --accent: 258 72% 58% !important;
  --accent-hover: 258 72% 52% !important;
  --success: 258 72% 58% !important;
  --money: 258 55% 42% !important;
  --hx-green: 258 72% 58% !important;
  --hx-leaf: 258 55% 65% !important;
  --hx-glow: 258 72% 58% !important;
  color-scheme: light;
}

html.podchain-subpage [data-sidenav-panel],
html.podchain-subpage [data-sidenav-rail] .bg-background {
  background: #e8e0d2 !important;
  border-color: #d0c6b6 !important;
}

html.podchain-subpage [data-sidenav-panel] a,
html.podchain-subpage [data-sidenav-panel] [data-sidenav-label],
html.podchain-subpage [data-sidenav-account] span {
  color: #1f1a14 !important;
}

html.podchain-subpage [data-sidenav-panel] a[class*="text-primary"] {
  color: #1f1a14 !important;
}

html.podchain-subpage [data-sidenav-panel] a:not([aria-current="page"]) {
  color: #4a4338 !important;
}

html.podchain-subpage [data-sidenav-panel] a[aria-current="page"] {
  color: #1a1510 !important;
  font-weight: 600;
}

html.podchain-subpage [data-sidenav-panel] svg,
html.podchain-subpage header nav a svg {
  color: #6d4fc9 !important;
}

html.podchain-subpage .hx-rail-toggle {
  background: #f4ede3 !important;
  color: #4a4338 !important;
  border-color: #d0c6b6 !important;
}

html.podchain-subpage .hx-agent-state.is-live,
html.podchain-subpage .hx-live.is-on i {
  color: #6d4fc9 !important;
}

html.podchain-subpage .hx-agent-state.is-live::before,
html.podchain-subpage .hx-live.is-on i {
  background: hsl(258 72% 58%) !important;
  box-shadow: 0 0 0 3px hsl(258 72% 58% / 0.22) !important;
}

html.podchain-subpage .bg-background,
html.podchain-subpage main {
  background: #ebe4d6 !important;
  color: #1f1a14 !important;
}

html.podchain-subpage .bg-card,
html.podchain-subpage .bg-field,
html.podchain-subpage .hx-hero,
html.podchain-subpage .hx-panel,
html.podchain-subpage .hx-stats > div,
html.podchain-subpage [class*="rounded-3xl"][class*="bg-"] {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  color: #1f1a14 !important;
  border-color: #d8cfc0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 28px rgba(60, 40, 20, 0.06) !important;
}

html.podchain-subpage .hx-hero-h1,
html.podchain-subpage .hx-hero p,
html.podchain-subpage .hx-hero-num,
html.podchain-subpage .hx-hero span,
html.podchain-subpage .hx-stats b,
html.podchain-subpage .hx-stats span,
html.podchain-subpage .hx-stats div,
html.podchain-subpage .hx-muted,
html.podchain-subpage .hx-panel p,
html.podchain-subpage .text-primary,
html.podchain-subpage .text-secondary,
html.podchain-subpage .text-white,
html.podchain-subpage main p,
html.podchain-subpage main li,
html.podchain-subpage main h1,
html.podchain-subpage main h2,
html.podchain-subpage main h3 {
  color: #1f1a14 !important;
}

html.podchain-subpage .hx-kicker,
html.podchain-subpage .text-money {
  color: #6d4fc9 !important;
}

html.podchain-subpage .bg-primary,
html.podchain-subpage .hx-btn,
html.podchain-subpage a.bg-primary,
html.podchain-subpage button.bg-primary {
  background: hsl(258 72% 58%) !important;
  color: #fff !important;
}

html.podchain-subpage header,
html.podchain-subpage .bar-solid {
  background: #f4ede3 !important;
  border-bottom: 1px solid #d8cfc0 !important;
}

html.podchain-subpage header input {
  background: #fff !important;
  color: #1f1a14 !important;
  border: 1px solid #d8cfc0 !important;
}

html.podchain-subpage table td,
html.podchain-subpage table th {
  color: #1f1a14 !important;
  border-color: #e0d6c8 !important;
}

html.podchain-subpage header .hx-live,
html.podchain-subpage #w-ca {
  display: none !important;
}

/* нижние карточки шагов */
html.podchain-subpage .hx-mt .bg-card,
html.podchain-subpage .grid .bg-card {
  background: #faf6f0 !important;
}

html.podchain-subpage .hx-rows,
html.podchain-subpage .hx-row,
html.podchain-subpage .hx-row-head,
html.podchain-subpage .hx-board {
  background: #faf6f0 !important;
  color: #1f1a14 !important;
  border-color: #e0d6c8 !important;
}

html.podchain-subpage .hx-row:hover {
  background: #f0e8dc !important;
}

html.podchain-subpage .hx-cell,
html.podchain-subpage .hx-cell small,
html.podchain-subpage .hx-row-name b,
html.podchain-subpage .hx-row-name span {
  color: #1f1a14 !important;
}

html.podchain-subpage [data-ca] {
  display: none !important;
}

html.podchain-subpage .podchain-one-launch .hx-row:not(.hx-row-head):nth-child(n + 3) {
  display: none !important;
}

html.podchain-subpage [data-board="launches"] .hx-row:not(.hx-row-head) ~ .hx-row:not(.hx-row-head) {
  display: none !important;
}

html.podchain-subpage main {
  padding: 0 18px 28px !important;
}

html.podchain-subpage .hx-panel,
html.podchain-subpage .hx-mt {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

html.podchain-subpage .hx-panel-head {
  padding: 10px 6px 4px !important;
}

html.podchain-subpage .hx-board,
html.podchain-subpage .hx-rows {
  padding: 14px 16px 18px !important;
  border-radius: 18px !important;
  margin-top: 10px !important;
}

html.podchain-subpage .hx-chips {
  gap: 8px !important;
  padding: 6px 4px 12px !important;
}

html.podchain-subpage .hx-chip {
  background: #faf6f0 !important;
  color: #4a4338 !important;
  border-color: #d0c6b6 !important;
}

html.podchain-subpage .hx-chip:hover {
  color: #1f1a14 !important;
  border-color: #b8a99a !important;
}

html.podchain-subpage .hx-chip.is-on {
  background: hsl(258 72% 58%) !important;
  color: #fff !important;
  border-color: hsl(258 72% 52%) !important;
}

html.podchain-subpage header .flex.h-11.rounded-full,
html.podchain-subpage header [class*="rounded-full"][class*="border-border"] {
  background: #fff !important;
  border-color: #d8cfc0 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 20px rgba(60, 40, 20, 0.06) !important;
}

html.podchain-subpage header input[data-search],
html.podchain-subpage header input[type="text"] {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html.podchain-subpage header .hx-typeahead {
  background: #fff !important;
  border-color: #d8cfc0 !important;
  box-shadow: 0 16px 40px rgba(60, 40, 20, 0.12) !important;
}
