:root {
  color-scheme: light;

  /* Brand */
  --scry-accent-primary: #3fc1b2;
  --scry-accent-primary-strong: #0f9b96;
  --scry-accent-primary-soft: #e8fdfb;
  --scry-accent-primary-soft-rgb: 232, 253, 251;

  /* Text */
  --scry-text-primary: #1f2937;
  --scry-text-secondary: #5f6c7b;
  --scry-text-muted: #7b8794;
  --scry-text-inverse: #f8fafc;

  /* Surfaces */
  --scry-surface-0: #ffffff;
  --scry-surface-1: #fbfcfd;
  --scry-surface-2: #f7fffd;
  --scry-surface-3: #edfdfa;
  --scry-surface-overlay: rgba(255, 255, 255, 0.92);

  /* Borders */
  --scry-border-default: rgba(17, 24, 39, 0.08);
  --scry-border-soft: rgba(63, 193, 178, 0.18);
  --scry-border-strong: rgba(63, 193, 178, 0.28);

  /* States */
  --scry-success-bg: #ecfdf5;
  --scry-success-text: #0f766e;
  --scry-warning-bg: #fff8e1;
  --scry-warning-text: #9a6700;
  --scry-danger-bg: #fef2f2;
  --scry-danger-text: #b42318;
  --scry-info-bg: #eff6ff;
  --scry-info-text: #1d4ed8;

  /* Effects */
  --scry-shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.04);
  --scry-shadow-md: 0 10px 24px rgba(17, 24, 39, 0.05);
  --scry-shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.08);

  /* Radius */
  --scry-radius-sm: 0.75rem;
  --scry-radius-md: 0.95rem;
  --scry-radius-lg: 1.25rem;
  --scry-radius-xl: 1.5rem;

  /* Spacing */
  --scry-space-1: 0.25rem;
  --scry-space-2: 0.5rem;
  --scry-space-3: 0.75rem;
  --scry-space-4: 1rem;
  --scry-space-5: 1.5rem;
  --scry-space-6: 2rem;
  --scry-space-7: 2.5rem;

  /* Table foundation */
  --scry-table-row-alt: #f8fafc;
  --scry-table-row-hover: #eef6ff;
  --scry-table-head-text: rgba(31, 41, 55, 0.68);

  /* Shared UI language */
  --scry-surface-elevated: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  --scry-surface-accented: radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
  --scry-pill-soft-bg: var(--scry-accent-primary-soft);
  --scry-pill-soft-border: rgba(63, 193, 178, 0.2);
  --scry-pill-soft-text: #156f71;
  --scry-cta-primary-bg: linear-gradient(135deg, #3ecbbd 0%, #1bb3ad 100%);
  --scry-cta-primary-border: #1bb3ad;
  --scry-cta-primary-text: #ffffff;
}

[data-bs-theme="dark"] {
  color-scheme: dark;

  /* Brand */
  --scry-accent-primary: #4fd5c7;
  --scry-accent-primary-strong: #8be7dd;
  --scry-accent-primary-soft: rgba(79, 213, 199, 0.14);
  --scry-accent-primary-soft-rgb: 79, 213, 199;

  /* Text */
  --scry-text-primary: #e5edf5;
  --scry-text-secondary: #b8c3d1;
  --scry-text-muted: #96a3b5;
  --scry-text-inverse: #0f172a;

  /* Surfaces */
  --scry-surface-0: #111827;
  --scry-surface-1: #172132;
  --scry-surface-2: #1c2738;
  --scry-surface-3: #1f2d40;
  --scry-surface-overlay: rgba(23, 33, 50, 0.92);

  /* Borders */
  --scry-border-default: rgba(148, 163, 184, 0.18);
  --scry-border-soft: rgba(79, 213, 199, 0.22);
  --scry-border-strong: rgba(79, 213, 199, 0.34);

  /* States */
  --scry-success-bg: rgba(16, 185, 129, 0.16);
  --scry-success-text: #8de7c6;
  --scry-warning-bg: rgba(245, 158, 11, 0.16);
  --scry-warning-text: #f6c76b;
  --scry-danger-bg: rgba(239, 68, 68, 0.16);
  --scry-danger-text: #f3a6a6;
  --scry-info-bg: rgba(59, 130, 246, 0.16);
  --scry-info-text: #93c5fd;

  /* Effects */
  --scry-shadow-sm: 0 8px 24px rgba(2, 6, 23, 0.28);
  --scry-shadow-md: 0 10px 28px rgba(2, 6, 23, 0.34);
  --scry-shadow-lg: 0 18px 42px rgba(2, 6, 23, 0.4);

  /* Table foundation */
  --scry-table-row-alt: rgba(148, 163, 184, 0.06);
  --scry-table-row-hover: rgba(79, 213, 199, 0.08);
  --scry-table-head-text: rgba(229, 237, 245, 0.72);

  /* Shared UI language */
  --scry-surface-elevated: linear-gradient(180deg, #172132 0%, #111827 100%);
  --scry-surface-accented: radial-gradient(circle at top left, rgba(79, 213, 199, 0.08) 0%, rgba(79, 213, 199, 0) 42%) padding-box,
    linear-gradient(180deg, #172132 0%, #111827 100%) padding-box;
  --scry-pill-soft-bg: rgba(79, 213, 199, 0.14);
  --scry-pill-soft-border: rgba(79, 213, 199, 0.26);
  --scry-pill-soft-text: #d7faf5;
  --scry-cta-primary-bg: linear-gradient(135deg, #54dfd1 0%, #22b6a7 100%);
  --scry-cta-primary-border: rgba(79, 213, 199, 0.52);
  --scry-cta-primary-text: #08131f;

  /* Safe Bootstrap bridge for dark-mode technical validation */
  --bs-body-bg: var(--scry-surface-0);
  --bs-body-bg-rgb: 17, 24, 39;
  --bs-body-color: var(--scry-text-primary);
  --bs-body-color-rgb: 229, 237, 245;
  --bs-border-color: var(--scry-border-default);
  --bs-border-color-translucent: rgba(148, 163, 184, 0.16);
  --bs-secondary-bg: var(--scry-surface-2);
  --bs-tertiary-bg: var(--scry-surface-1);
  --bs-link-color: var(--scry-accent-primary);
  --bs-link-hover-color: var(--scry-accent-primary-strong);
  --bs-primary: var(--scry-accent-primary);
  --bs-primary-rgb: 79, 213, 199;
  --bs-primary-border-subtle: rgba(79, 213, 199, 0.3);
  --bs-primary-bg-subtle: rgba(79, 213, 199, 0.12);
  --bs-focus-ring-color: rgba(79, 213, 199, 0.22);
}

[data-bs-theme="dark"] body,
body[data-bs-theme="dark"] {
  background-color: var(--scry-surface-0);
  color: var(--scry-text-primary);
}

[data-bs-theme="dark"] a,
body[data-bs-theme="dark"] a {
  color: var(--scry-accent-primary);
}

[data-bs-theme="dark"] a:hover,
body[data-bs-theme="dark"] a:hover {
  color: var(--scry-accent-primary-strong);
}

[data-bs-theme="dark"] a.btn,
[data-bs-theme="dark"] .btn,
body[data-bs-theme="dark"] a.btn,
body[data-bs-theme="dark"] .btn {
  color: inherit;
}

.text-scry-primary {
  color: var(--scry-accent-primary) !important;
}

.text-scry-ink {
  color: var(--scry-text-primary) !important;
}

.text-scry-muted {
  color: var(--scry-text-secondary) !important;
}

.bg-scry-soft {
  background-color: var(--scry-accent-primary-soft) !important;
}

.bg-scry-surface {
  background-color: var(--scry-surface-1) !important;
}

.border-scry-soft {
  border-color: var(--scry-border-soft) !important;
}

.border-scry-default {
  border-color: var(--scry-border-default) !important;
}

.shadow-scry-sm {
  box-shadow: var(--scry-shadow-sm) !important;
}

.shadow-scry-md {
  box-shadow: var(--scry-shadow-md) !important;
}

.rounded-scry-md {
  border-radius: var(--scry-radius-md) !important;
}

.rounded-scry-lg {
  border-radius: var(--scry-radius-lg) !important;
}

.scry-theme-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1085;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-overlay);
  color: var(--scry-text-primary);
  box-shadow: var(--scry-shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.scry-theme-toggle:hover,
.scry-theme-toggle:focus {
  transform: translateY(-1px);
  border-color: var(--scry-border-strong);
  box-shadow: var(--scry-shadow-lg);
}

.scry-theme-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--scry-accent-primary-soft-rgb), 0.35), var(--scry-shadow-lg);
}

.scry-theme-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

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

.scry-theme-toggle-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

body[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .bg-scrylight,
[data-bs-theme="dark"] .bg-scrylight {
  background-color: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .border,
body[data-bs-theme="dark"] .border-dark,
body[data-bs-theme="dark"] .border-top,
body[data-bs-theme="dark"] .border-bottom,
body[data-bs-theme="dark"] .border-start,
body[data-bs-theme="dark"] .border-end,
[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-dark,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .card,
body[data-bs-theme="dark"] .modal-content,
body[data-bs-theme="dark"] .dropdown-menu,
body[data-bs-theme="dark"] .list-group-item,
body[data-bs-theme="dark"] .input-group-text,
body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] .form-select,
body[data-bs-theme="dark"] .form-control:disabled,
body[data-bs-theme="dark"] .form-select:disabled,
body[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .form-control:disabled,
[data-bs-theme="dark"] .form-select:disabled,
[data-bs-theme="dark"] .bg-light {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .card-header,
body[data-bs-theme="dark"] .card-footer,
body[data-bs-theme="dark"] .modal-header,
body[data-bs-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer,
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .form-control::placeholder,
body[data-bs-theme="dark"] .form-select::placeholder,
[data-bs-theme="dark"] .form-control::placeholder,
[data-bs-theme="dark"] .form-select::placeholder {
  color: var(--scry-text-muted);
}

body[data-bs-theme="dark"] .form-control:focus,
body[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  border-color: rgba(var(--scry-accent-primary-soft-rgb), 0.42);
  box-shadow: 0 0 0 0.2rem rgba(var(--scry-accent-primary-soft-rgb), 0.16);
}

body[data-bs-theme="dark"] .table,
[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: var(--scry-table-row-alt);
  --bs-table-hover-bg: var(--scry-table-row-hover);
  --bs-table-border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .table > :not(caption) > * > *,
[data-bs-theme="dark"] .table > :not(caption) > * > * {
  background-color: transparent;
  color: inherit;
  border-bottom-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .table-light,
body[data-bs-theme="dark"] .table-light > :not(caption) > * > *,
[data-bs-theme="dark"] .table-light,
[data-bs-theme="dark"] .table-light > :not(caption) > * > * {
  --bs-table-bg: var(--scry-surface-2);
  --bs-table-color: var(--scry-text-primary);
  background-color: var(--scry-surface-2) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .nav-tabs,
[data-bs-theme="dark"] .nav-tabs {
  border-bottom-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .nav-tabs .nav-link {
  color: var(--scry-text-secondary);
  border-color: transparent;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active,
body[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .nav-tabs .nav-link:hover {
  color: var(--scry-text-primary);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 52%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box;
  border-color: var(--scry-border-default) var(--scry-border-default) var(--scry-surface-1);
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-color: var(--scry-border-strong) var(--scry-border-strong) var(--scry-surface-1);
}

body[data-bs-theme="dark"] .alert-light,
[data-bs-theme="dark"] .alert-light {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .toast,
[data-bs-theme="dark"] .toast {
  background-color: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-secondary,
[data-bs-theme="dark"] .btn-outline-secondary {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn-outline-secondary:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
}

body[data-bs-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-light {
  background-color: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .btn-light:hover,
[data-bs-theme="dark"] .btn-light:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .badge.bg-light,
body[data-bs-theme="dark"] .badge.bg-light.text-dark,
body[data-bs-theme="dark"] .text-bg-light,
[data-bs-theme="dark"] .badge.bg-light,
[data-bs-theme="dark"] .badge.bg-light.text-dark,
[data-bs-theme="dark"] .text-bg-light {
  background-color: var(--scry-surface-2) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .btn-outline-dark,
[data-bs-theme="dark"] .btn-outline-dark {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .btn-outline-dark:hover,
[data-bs-theme="dark"] .btn-outline-dark:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .btn-warning,
[data-bs-theme="dark"] .btn-warning {
  background-color: #f6c76b;
  border-color: #f6c76b;
  color: #1b2430;
}

body[data-bs-theme="dark"] .btn-warning:hover,
[data-bs-theme="dark"] .btn-warning:hover {
  background-color: #ffd88a;
  border-color: #ffd88a;
  color: #131a24;
}

body[data-bs-theme="dark"] .btn-outline-warning,
[data-bs-theme="dark"] .btn-outline-warning {
  color: #f6c76b;
  border-color: rgba(246, 199, 107, 0.5);
}

body[data-bs-theme="dark"] .btn-outline-warning:hover,
[data-bs-theme="dark"] .btn-outline-warning:hover {
  background-color: rgba(246, 199, 107, 0.12);
  color: #ffd88a;
  border-color: rgba(246, 199, 107, 0.72);
}

body[data-bs-theme="dark"] .btn-outline-warning.text-danger,
[data-bs-theme="dark"] .btn-outline-warning.text-danger {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .scry-alert-soft-warning,
[data-bs-theme="dark"] .scry-alert-soft-warning {
  background: rgba(245, 158, 11, 0.16);
}

body[data-bs-theme="dark"] .scry-alert-soft-info,
[data-bs-theme="dark"] .scry-alert-soft-info {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdcff;
}

body[data-bs-theme="dark"] .scry-panel-soft,
[data-bs-theme="dark"] .scry-panel-soft {
  background: var(--scry-surface-2);
}

body[data-bs-theme="dark"] .scry-readonly-input,
[data-bs-theme="dark"] .scry-readonly-input {
  background-color: rgba(148, 163, 184, 0.18) !important;
}

body[data-bs-theme="dark"] .store-cover-preview-label,
[data-bs-theme="dark"] .store-cover-preview-label {
  color: rgba(229, 237, 245, 0.68);
}

body[data-bs-theme="dark"] .pe-store-card.is-selected,
[data-bs-theme="dark"] .pe-store-card.is-selected {
  background: rgba(245, 158, 11, 0.08);
}

body[data-bs-theme="dark"] .pe-store-logo-fallback,
[data-bs-theme="dark"] .pe-store-logo-fallback {
  color: var(--scry-text-primary);
  background: var(--scry-surface-2);
}

body[data-bs-theme="dark"] .venta-resumen-check-pill,
[data-bs-theme="dark"] .venta-resumen-check-pill {
  background: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .venta-resumen-check-pill.is-checked,
[data-bs-theme="dark"] .venta-resumen-check-pill.is-checked {
  background: rgba(16, 185, 129, 0.14);
  color: #8de7c6;
}

body[data-bs-theme="dark"] .venta-resumen-thumb,
[data-bs-theme="dark"] .venta-resumen-thumb,
body[data-bs-theme="dark"] .codigo-entrega-digit,
[data-bs-theme="dark"] .codigo-entrega-digit {
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .hero-bg,
[data-bs-theme="dark"] .hero-bg {
  background-color: #0f1724;
}

body[data-bs-theme="dark"] .hero-bg::before,
[data-bs-theme="dark"] .hero-bg::before {
  background-image: radial-gradient(circle, rgba(79, 213, 199, 0.16) 1px, transparent 1.6px);
}

body[data-bs-theme="dark"] .hero-bg::after,
[data-bs-theme="dark"] .hero-bg::after {
  background: linear-gradient(to bottom, rgba(12, 18, 28, 0.88) 0%, rgba(15, 23, 36, 0.82) 24%, rgba(15, 23, 36, 0.5) 52%, rgba(15, 23, 36, 0) 88%);
}

body[data-bs-theme="dark"] .home-sections,
[data-bs-theme="dark"] .home-sections {
  --scry-home-accent-soft: rgba(79, 213, 199, 0.14);
  --scry-home-ink: var(--scry-text-primary);
  --scry-home-muted: var(--scry-text-secondary);
  --scry-home-border: rgba(79, 213, 199, 0.22);
  --scry-home-shadow: 0 18px 42px rgba(2, 6, 23, 0.34);
  --scry-home-shadow-soft: 0 14px 34px rgba(2, 6, 23, 0.28);
  background: transparent;
}

body[data-bs-theme="dark"] .scry-hero .carousel-control-prev,
body[data-bs-theme="dark"] .scry-hero .carousel-control-next,
[data-bs-theme="dark"] .scry-hero .carousel-control-prev,
[data-bs-theme="dark"] .scry-hero .carousel-control-next {
  display: none;
}

body[data-bs-theme="dark"] .home-sections h1,
body[data-bs-theme="dark"] .home-sections h2,
body[data-bs-theme="dark"] .home-sections h3,
body[data-bs-theme="dark"] .home-sections h4,
body[data-bs-theme="dark"] .home-sections h5,
body[data-bs-theme="dark"] .home-sections .h1,
body[data-bs-theme="dark"] .home-sections .h2,
body[data-bs-theme="dark"] .home-sections .h3,
body[data-bs-theme="dark"] .home-sections .h4,
body[data-bs-theme="dark"] .home-sections .h5,
body[data-bs-theme="dark"] .home-sections .text-dark,
body[data-bs-theme="dark"] .home-sections .text-body,
body[data-bs-theme="dark"] .home-sections .text-body-emphasis,
[data-bs-theme="dark"] .home-sections h1,
[data-bs-theme="dark"] .home-sections h2,
[data-bs-theme="dark"] .home-sections h3,
[data-bs-theme="dark"] .home-sections h4,
[data-bs-theme="dark"] .home-sections h5,
[data-bs-theme="dark"] .home-sections .h1,
[data-bs-theme="dark"] .home-sections .h2,
[data-bs-theme="dark"] .home-sections .h3,
[data-bs-theme="dark"] .home-sections .h4,
[data-bs-theme="dark"] .home-sections .h5,
[data-bs-theme="dark"] .home-sections .text-dark,
[data-bs-theme="dark"] .home-sections .text-body,
[data-bs-theme="dark"] .home-sections .text-body-emphasis {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .text-muted,
body[data-bs-theme="dark"] .home-sections .text-secondary,
body[data-bs-theme="dark"] .home-sections .text-body-secondary,
body[data-bs-theme="dark"] .home-sections .small.text-muted,
[data-bs-theme="dark"] .home-sections .text-muted,
[data-bs-theme="dark"] .home-sections .text-secondary,
[data-bs-theme="dark"] .home-sections .text-body-secondary,
[data-bs-theme="dark"] .home-sections .small.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .bg-white,
body[data-bs-theme="dark"] .home-sections .bg-light,
body[data-bs-theme="dark"] .home-sections .card,
[data-bs-theme="dark"] .home-sections .bg-white,
[data-bs-theme="dark"] .home-sections .bg-light,
[data-bs-theme="dark"] .home-sections .card {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .home-sections .badge.bg-light,
body[data-bs-theme="dark"] .home-sections .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .badge.bg-light,
[data-bs-theme="dark"] .home-sections .badge.bg-light.text-dark {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark,
body[data-bs-theme="dark"] .home-sections a.text-dark,
[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark,
[data-bs-theme="dark"] .home-sections a.text-dark {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card.bg-white,
body[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark > .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card.shadow-sm,
body[data-bs-theme="dark"] .home-sections .scry-top10-grid .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-grid a > .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card.bg-white,
[data-bs-theme="dark"] .home-sections a.text-decoration-none.text-dark > .scry-top10-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card.shadow-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-grid .scry-top10-card {
  background: var(--scry-surface-elevated) !important;
  background-color: var(--scry-surface-1) !important;
  background-image: none !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .scry-top10-rating,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .text-muted,
body[data-bs-theme="dark"] .home-sections .scry-top10-card a.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .scry-top10-rating,
[data-bs-theme="dark"] .home-sections .scry-top10-card .text-muted,
[data-bs-theme="dark"] .home-sections .scry-top10-card a.text-dark {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-meta,
[data-bs-theme="dark"] .home-sections .scry-top10-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card-body,
[data-bs-theme="dark"] .home-sections .scry-top10-card-body {
  background: transparent !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-card .small.text-muted,
[data-bs-theme="dark"] .home-sections .scry-top10-card .small.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-rank,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.border,
[data-bs-theme="dark"] .home-sections .scry-top10-rank,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.text-dark,
[data-bs-theme="dark"] .home-sections .scry-top10-card .badge.bg-light.border {
  background: rgba(79, 213, 199, 0.14) !important;
  border-color: rgba(79, 213, 199, 0.24) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover,
[data-bs-theme="dark"] .home-sections .scry-top10-cover {
  background-color: #202b3b !important;
  border-bottom-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty,
[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(79, 213, 199, 0.16) 0%, rgba(17, 24, 39, 0.08) 100%) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  background: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
}

body[data-bs-theme="dark"] .home-panel,
body[data-bs-theme="dark"] .home-panel-soft,
body[data-bs-theme="dark"] .home-new-store-card,
body[data-bs-theme="dark"] .home-mini-store-card,
body[data-bs-theme="dark"] .home-testimonial-card,
body[data-bs-theme="dark"] .home-point-card,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
body[data-bs-theme="dark"] .home-sections .staple-card > div,
body[data-bs-theme="dark"] .feature-scry,
body[data-bs-theme="dark"] .feature-panel,
body[data-bs-theme="dark"] .home-side-cta,
body[data-bs-theme="dark"] .feature-mini-card,
[data-bs-theme="dark"] .home-panel,
[data-bs-theme="dark"] .home-panel-soft,
[data-bs-theme="dark"] .home-new-store-card,
[data-bs-theme="dark"] .home-mini-store-card,
[data-bs-theme="dark"] .home-testimonial-card,
[data-bs-theme="dark"] .home-point-card,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .bd-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .hv-grid > a .rounded.border,
[data-bs-theme="dark"] .home-sections .staple-card > div,
[data-bs-theme="dark"] .feature-scry,
[data-bs-theme="dark"] .feature-panel,
[data-bs-theme="dark"] .home-side-cta,
[data-bs-theme="dark"] .feature-mini-card {
  background: var(--scry-surface-accented) !important;
  border-color: rgba(79, 213, 199, 0.12) !important;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

body[data-bs-theme="dark"] .home-sections .hero-stat,
body[data-bs-theme="dark"] .feature-logo,
body[data-bs-theme="dark"] .home-hero-proof-icon,
[data-bs-theme="dark"] .home-sections .hero-stat,
[data-bs-theme="dark"] .feature-logo,
[data-bs-theme="dark"] .home-hero-proof-icon {
  background: var(--scry-surface-elevated) !important;
  border-color: rgba(79, 213, 199, 0.22) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-hero .scry-badge,
body[data-bs-theme="dark"] .home-sections .feature-badge,
body[data-bs-theme="dark"] .home-sections .badge.feature-badge,
body[data-bs-theme="dark"] .home-sections .home-chip,
body[data-bs-theme="dark"] .home-point-card .badge,
[data-bs-theme="dark"] .scry-hero .scry-badge,
[data-bs-theme="dark"] .home-sections .feature-badge,
[data-bs-theme="dark"] .home-sections .badge.feature-badge,
[data-bs-theme="dark"] .home-sections .home-chip,
[data-bs-theme="dark"] .home-point-card .badge {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections .btn-scry,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .btn-scry,
[data-bs-theme="dark"] .home-sections .btn-scry-primary {
  background: var(--scry-cta-primary-bg) !important;
  border-color: var(--scry-cta-primary-border) !important;
  color: var(--scry-cta-primary-text) !important;
  box-shadow: 0 14px 28px rgba(5, 150, 140, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry:focus,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus,
[data-bs-theme="dark"] .home-sections .btn-scry:hover,
[data-bs-theme="dark"] .home-sections .btn-scry:focus,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .btn-scry-primary:focus {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset,
[data-bs-theme="dark"] .home-sections .home-link-reset {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .home-card-surface {
  background: var(--scry-surface-accented) !important;
  border-color: rgba(79, 213, 199, 0.2) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-card-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-badge-soft,
[data-bs-theme="dark"] .home-sections .home-badge-soft {
  background: var(--scry-pill-soft-bg) !important;
  border-color: var(--scry-pill-soft-border) !important;
  color: var(--scry-pill-soft-text) !important;
}

body[data-bs-theme="dark"] .home-sections .home-pill-positive,
[data-bs-theme="dark"] .home-sections .home-pill-positive {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #effef8 !important;
}

body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary {
  background: var(--scry-cta-primary-bg) !important;
  border-color: var(--scry-cta-primary-border) !important;
  color: var(--scry-cta-primary-text) !important;
  box-shadow: 0 14px 28px rgba(5, 150, 140, 0.24) !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:focus,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:focus,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:focus,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:focus {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-brand-pill,
[data-bs-theme="dark"] .home-sections .home-brand-pill {
  background: var(--scry-surface-elevated) !important;
  border-color: rgba(79, 213, 199, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 26px rgba(2, 6, 23, 0.22);
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold .text-success,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .feature-logo__label,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .fw-semibold,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .fw-semibold,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .small.fw-semibold,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-new-store-card .fw-semibold .text-success,
[data-bs-theme="dark"] .home-sections .feature-logo__label,
[data-bs-theme="dark"] .home-sections .home-scroll-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .fw-semibold,
[data-bs-theme="dark"] .home-sections .hv-grid > a .fw-semibold,
[data-bs-theme="dark"] .home-sections .hv-grid > a .small.fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .text-muted,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .text-muted,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .text-muted,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .text-muted,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .text-muted,
body[data-bs-theme="dark"] .home-sections .hv-grid > a .hv-meta,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-new-store-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .home-scroll-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .text-muted,
[data-bs-theme="dark"] .home-sections .hv-grid > a .text-muted,
[data-bs-theme="dark"] .home-sections .hv-grid > a .hv-meta {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card,
body[data-bs-theme="dark"] .home-sections .home-staple-card .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-staple-card .text-truncate,
body[data-bs-theme="dark"] .home-sections .home-staple-card .small,
[data-bs-theme="dark"] .home-sections .home-staple-card,
[data-bs-theme="dark"] .home-sections .home-staple-card .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-staple-card .text-truncate,
[data-bs-theme="dark"] .home-sections .home-staple-card .small {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-staple-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
body[data-bs-theme="dark"] .home-sections .staple-card:hover,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
[data-bs-theme="dark"] .home-sections .staple-card:hover {
  transform: translateY(-1px);
}

body[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
body[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .staple-card:hover > div {
  border-color: rgba(79, 213, 199, 0.32) !important;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28) !important;
}

body[data-bs-theme="dark"] .home-sections .hv-grid > a,
[data-bs-theme="dark"] .home-sections .hv-grid > a {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .home-grid-card-link,
body[data-bs-theme="dark"] .home-sections .home-scroll-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-grid-card-link,
[data-bs-theme="dark"] .home-sections .home-scroll-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  color: inherit !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--moxfield,
[data-bs-theme="dark"] .home-sections .feature-logo--moxfield {
  background: linear-gradient(135deg, rgba(119, 57, 192, 0.22) 0%, rgba(34, 22, 55, 0.96) 100%) !important;
  border-color: rgba(179, 116, 255, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--manabox,
[data-bs-theme="dark"] .home-sections .feature-logo--manabox {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.2) 0%, rgba(52, 34, 12, 0.96) 100%) !important;
  border-color: rgba(255, 192, 74, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-logo--delver,
[data-bs-theme="dark"] .home-sections .feature-logo--delver {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.26) 0%, rgba(17, 35, 68, 0.96) 100%) !important;
  border-color: rgba(96, 165, 250, 0.24) !important;
}

body[data-bs-theme="dark"] .home-sections .feature-panel .feature-logo img,
[data-bs-theme="dark"] .home-sections .feature-panel .feature-logo img {
  filter: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary {
  width: 100%;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary {
  opacity: 1 !important;
  filter: none !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-link-reset .fw-semibold,
body[data-bs-theme="dark"] .home-sections .home-link-reset .h5,
body[data-bs-theme="dark"] .home-sections .home-link-reset .h4,
[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-title,
[data-bs-theme="dark"] .home-sections .home-link-reset .fw-semibold,
[data-bs-theme="dark"] .home-sections .home-link-reset .h5,
[data-bs-theme="dark"] .home-sections .home-link-reset .h4 {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-link-reset .text-muted,
body[data-bs-theme="dark"] .home-sections .home-link-reset .small,
[data-bs-theme="dark"] .home-sections .home-link-reset .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-link-reset .text-muted,
[data-bs-theme="dark"] .home-sections .home-link-reset .small {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-grid > a > .scry-top10-card,
body[data-bs-theme="dark"] .home-sections a.home-staple-card > .home-card-surface,
body[data-bs-theme="dark"] .home-sections .hv-grid > a.home-grid-card-link > .rounded.border,
body[data-bs-theme="dark"] .home-sections .bd-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .home-staple-card > .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-grid > a > .scry-top10-card,
[data-bs-theme="dark"] .home-sections a.home-staple-card > .home-card-surface,
[data-bs-theme="dark"] .home-sections .hv-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .bd-grid > a.home-grid-card-link > .rounded.border,
[data-bs-theme="dark"] .home-sections .home-staple-card > .home-card-surface {
  background: var(--scry-surface-accented) !important;
  background-image: none !important;
  background-color: var(--scry-surface-1) !important;
  border-color: rgba(79, 213, 199, 0.12) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.18) !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .home-cta-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .home-cta-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .home-cta-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .home-cta-primary {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
  font-weight: 800 !important;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 {
  gap: 1rem;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.15;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small {
  color: var(--scry-text-secondary) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small:hover,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small:hover {
  color: var(--scry-accent-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 0.9rem 1rem;
  gap: 0.85rem !important;
  min-height: 110px;
  align-items: center;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1 {
  min-width: 0;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  line-height: 1.25;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc {
  line-height: 1.35;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta {
  color: rgba(203, 214, 224, 0.76) !important;
}

body[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-meta {
  color: rgba(203, 214, 224, 0.72) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  background: rgba(245, 249, 252, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 14px !important;
  padding: 0.28rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

body[data-bs-theme="dark"] .home-sections .staple-card:hover,
body[data-bs-theme="dark"] .home-sections .home-staple-card:hover,
[data-bs-theme="dark"] .home-sections .staple-card:hover,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover {
  transform: translateY(-1px);
}

body[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
body[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .staple-card:hover > div,
[data-bs-theme="dark"] .home-sections .home-staple-card:hover > div {
  border-color: rgba(79, 213, 199, 0.18) !important;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2) !important;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.52) rgba(15, 23, 42, 0.42);
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.38);
  border-radius: 999px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.56);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.3);
}

body[data-bs-theme="dark"] .scry-hero .hero-title,
body[data-bs-theme="dark"] .scry-hero .hero-stat strong,
body[data-bs-theme="dark"] .scry-hero .hero-sub,
body[data-bs-theme="dark"] .scry-hero .hero-note,
body[data-bs-theme="dark"] .home-sections .hero-stat span,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections a.small,
body[data-bs-theme="dark"] .home-sections .small.fw-semibold.text-decoration-none,
[data-bs-theme="dark"] .scry-hero .hero-title,
[data-bs-theme="dark"] .scry-hero .hero-stat strong,
[data-bs-theme="dark"] .scry-hero .hero-sub,
[data-bs-theme="dark"] .scry-hero .hero-note,
[data-bs-theme="dark"] .home-sections .hero-stat span,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections a.small,
[data-bs-theme="dark"] .home-sections .small.fw-semibold.text-decoration-none {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-hero .hero-title span,
[data-bs-theme="dark"] .scry-hero .hero-title span {
  color: var(--scry-accent-primary-strong) !important;
}

body[data-bs-theme="dark"] .home-sections .hero-stat span,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .hero-stat span,
[data-bs-theme="dark"] .home-sections .feature-footnote {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-hero .hero-img-wrap,
[data-bs-theme="dark"] .scry-hero .hero-img-wrap {
  border-color: rgba(79, 213, 199, 0.2);
}

body[data-bs-theme="dark"] .feature-scry::before,
body[data-bs-theme="dark"] .feature-alt::before,
[data-bs-theme="dark"] .feature-scry::before,
[data-bs-theme="dark"] .feature-alt::before {
  background: linear-gradient(120deg, rgba(79, 213, 199, 0.08) 0%, rgba(17, 24, 39, 0.02) 72%);
  opacity: 0.9;
}

body[data-bs-theme="dark"] .sb-topnav,
[data-bs-theme="dark"] .sb-topnav {
  background: linear-gradient(135deg, #132433 0%, #0f1c2a 100%) !important;
  border-bottom: 1px solid var(--scry-border-default);
}

body[data-bs-theme="dark"] .sb-topnav .navbar-brand,
body[data-bs-theme="dark"] .sb-topnav .btn-link,
[data-bs-theme="dark"] .sb-topnav .navbar-brand,
[data-bs-theme="dark"] .sb-topnav .btn-link {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .admin-mobile-nav-toggle,
[data-bs-theme="dark"] .admin-mobile-nav-toggle {
  background: rgba(79, 213, 199, 0.08);
  border-color: rgba(79, 213, 199, 0.18);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-light,
[data-bs-theme="dark"] .sb-sidenav-light {
  background-color: #111827;
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link,
body[data-bs-theme="dark"] .sb-nav-section-label,
body[data-bs-theme="dark"] .sb-nav-section-store-link,
body[data-bs-theme="dark"] .sb-sidenav-user-email,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link,
[data-bs-theme="dark"] .sb-nav-section-label,
[data-bs-theme="dark"] .sb-nav-section-store-link,
[data-bs-theme="dark"] .sb-sidenav-user-email {
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-nav-link-icon,
body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-sidenav-collapse-arrow,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-nav-link-icon,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link .sb-sidenav-collapse-arrow {
  color: rgba(184, 195, 209, 0.8);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
body[data-bs-theme="dark"] .sb-nav-section-store-link:hover,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
[data-bs-theme="dark"] .sb-nav-section-store-link:hover {
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active {
  color: #8be7dd;
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link.active,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-menu .nav-link:hover {
  background-color: rgba(79, 213, 199, 0.08);
}

body[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-footer,
[data-bs-theme="dark"] .sb-sidenav-light .sb-sidenav-footer {
  background-color: #172132;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-footer.bg-info,
[data-bs-theme="dark"] .sb-sidenav-footer.bg-info {
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .sb-sidenav-footer.bg-info .text-dark,
[data-bs-theme="dark"] .sb-sidenav-footer.bg-info .text-dark {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .sb-sidenav-quick-action,
[data-bs-theme="dark"] .sb-sidenav-quick-action {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .sb-sidenav-quick-action:hover,
[data-bs-theme="dark"] .sb-sidenav-quick-action:hover {
  background: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
}

body[data-bs-theme="dark"] .sb-sidenav-store-qr-title,
body[data-bs-theme="dark"] .sb-sidenav-footer-link,
body[data-bs-theme="dark"] .sb-sidenav-store-qr-link,
[data-bs-theme="dark"] .sb-sidenav-store-qr-title,
[data-bs-theme="dark"] .sb-sidenav-footer-link,
[data-bs-theme="dark"] .sb-sidenav-store-qr-link {
  color: var(--scry-accent-primary-strong);
}

body[data-bs-theme="dark"] #layoutSidenav_nav,
[data-bs-theme="dark"] #layoutSidenav_nav {
  border-right: 1px solid var(--scry-border-default);
}

body[data-bs-theme="dark"] .scry-table-shell .table.dataTable tbody tr > *,
body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > *,
[data-bs-theme="dark"] .scry-table-shell .table.dataTable tbody tr > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > * {
  color: var(--scry-text-primary) !important;
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.even > * {
  background-color: rgba(148, 163, 184, 0.06) !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr.odd > * {
  background-color: #172132 !important;
}

body[data-bs-theme="dark"] .scry-table-shell .table tbody tr:hover > *,
[data-bs-theme="dark"] .scry-table-shell .table tbody tr:hover > * {
  background-color: rgba(79, 213, 199, 0.1) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border: 1px solid var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
body[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .catalog-toolbar .toolbar-tools .btn-warning,
[data-bs-theme="dark"] .catalog-toolbar .toolbar-tools .btn-warning {
  color: #1b2430;
}

body[data-bs-theme="dark"] .alert-warning,
[data-bs-theme="dark"] .alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(246, 199, 107, 0.24);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .alert-warning .btn-outline-dark,
body[data-bs-theme="dark"] .alert-warning .btn-outline-primary,
body[data-bs-theme="dark"] .alert-warning .btn-outline-danger,
body[data-bs-theme="dark"] .alert-warning .btn-outline-warning,
[data-bs-theme="dark"] .alert-warning .btn-outline-dark,
[data-bs-theme="dark"] .alert-warning .btn-outline-primary,
[data-bs-theme="dark"] .alert-warning .btn-outline-danger,
[data-bs-theme="dark"] .alert-warning .btn-outline-warning {
  background-color: rgba(17, 24, 39, 0.16);
}

body[data-bs-theme="dark"] #homeSearchTabsContent,
body[data-bs-theme="dark"] #deckbuilderResultsWrap,
body[data-bs-theme="dark"] .public-filters-toolbar,
body[data-bs-theme="dark"] .store-filters-toolbar,
body[data-bs-theme="dark"] .deck-filters-toolbar,
[data-bs-theme="dark"] #homeSearchTabsContent,
[data-bs-theme="dark"] #deckbuilderResultsWrap,
[data-bs-theme="dark"] .public-filters-toolbar,
[data-bs-theme="dark"] .store-filters-toolbar,
[data-bs-theme="dark"] .deck-filters-toolbar {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.18) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 44%) padding-box,
    linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) padding-box !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-title,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .public-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-label,
body[data-bs-theme="dark"] .deck-section-heading,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-title,
[data-bs-theme="dark"] .store-filters-toolbar .filter-label,
[data-bs-theme="dark"] .public-filters-toolbar .filter-label,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-label,
[data-bs-theme="dark"] .deck-section-heading {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-hint,
body[data-bs-theme="dark"] .store-filters-toolbar .small.text-muted,
body[data-bs-theme="dark"] .deck-filters-toolbar .small.text-muted,
body[data-bs-theme="dark"] .public-filters-toolbar .text-muted,
body[data-bs-theme="dark"] .deck-section-heading-count,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-hint,
[data-bs-theme="dark"] .store-filters-toolbar .small.text-muted,
[data-bs-theme="dark"] .deck-filters-toolbar .small.text-muted,
[data-bs-theme="dark"] .public-filters-toolbar .text-muted,
[data-bs-theme="dark"] .deck-section-heading-count {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-section,
body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-actions,
body[data-bs-theme="dark"] .store-filters-toolbar .border-top,
body[data-bs-theme="dark"] .deck-filters-toolbar .border-top,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-section,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-actions,
[data-bs-theme="dark"] .store-filters-toolbar .border-top,
[data-bs-theme="dark"] .deck-filters-toolbar .border-top {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control,
body[data-bs-theme="dark"] .public-filters-toolbar .input-group-text,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-select-control,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-select-control,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control,
[data-bs-theme="dark"] .public-filters-toolbar .input-group-text,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-select-control,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-select-control {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control::placeholder,
body[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input::placeholder,
body[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input::placeholder,
[data-bs-theme="dark"] .public-filters-toolbar .toolbar-control::placeholder,
[data-bs-theme="dark"] .store-filters-toolbar .toolbar-input::placeholder,
[data-bs-theme="dark"] .deck-filters-toolbar .toolbar-input::placeholder {
  color: var(--scry-text-muted) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .color-chip span,
body[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle span,
body[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip,
[data-bs-theme="dark"] .public-filters-toolbar .color-chip span,
[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle span,
[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .public-filters-toolbar .color-chip input:checked + span,
body[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle input:checked + span,
body[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-active,
body[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip.is-active,
[data-bs-theme="dark"] .public-filters-toolbar .color-chip input:checked + span,
[data-bs-theme="dark"] .public-filters-toolbar .chip-toggle input:checked + span,
[data-bs-theme="dark"] .public-filters-toolbar .active-chip,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-active,
[data-bs-theme="dark"] .deck-filters-toolbar .filter-chip.is-active {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box !important;
  border-color: var(--scry-border-strong) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

body[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-muted,
[data-bs-theme="dark"] .store-filters-toolbar .filter-chip.is-muted {
  color: var(--scry-text-muted) !important;
  background: rgba(148, 163, 184, 0.08) !important;
}

body[data-bs-theme="dark"] .accessory-card,
[data-bs-theme="dark"] .accessory-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .accessory-card:hover,
body[data-bs-theme="dark"] .accessory-card:focus,
[data-bs-theme="dark"] .accessory-card:hover,
[data-bs-theme="dark"] .accessory-card:focus {
  border-color: var(--scry-border-strong) !important;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3) !important;
}

body[data-bs-theme="dark"] .accessory-card-thumb,
[data-bs-theme="dark"] .accessory-card-thumb {
  background: linear-gradient(135deg, rgba(79, 213, 199, 0.08), rgba(17, 24, 39, 0.08)) !important;
}

body[data-bs-theme="dark"] .accessory-card-title,
body[data-bs-theme="dark"] .accessory-card-price,
body[data-bs-theme="dark"] .accessory-card-cta,
[data-bs-theme="dark"] .accessory-card-title,
[data-bs-theme="dark"] .accessory-card-price,
[data-bs-theme="dark"] .accessory-card-cta {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .accessory-card-meta,
body[data-bs-theme="dark"] .accessory-card-text,
body[data-bs-theme="dark"] .accessory-card-stock,
[data-bs-theme="dark"] .accessory-card-meta,
[data-bs-theme="dark"] .accessory-card-text,
[data-bs-theme="dark"] .accessory-card-stock {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-share-card,
body[data-bs-theme="dark"] .deck-import-card,
body[data-bs-theme="dark"] .deck-seller-tools,
body[data-bs-theme="dark"] .deck-store-card,
body[data-bs-theme="dark"] .deck-store-card--alt,
body[data-bs-theme="dark"] .deck-store-item,
body[data-bs-theme="dark"] .deck-card-tile,
body[data-bs-theme="dark"] .deck-store-summary-pill,
body[data-bs-theme="dark"] .deck-store-badge,
[data-bs-theme="dark"] .deck-share-card,
[data-bs-theme="dark"] .deck-import-card,
[data-bs-theme="dark"] .deck-seller-tools,
[data-bs-theme="dark"] .deck-store-card,
[data-bs-theme="dark"] .deck-store-card--alt,
[data-bs-theme="dark"] .deck-store-item,
[data-bs-theme="dark"] .deck-card-tile,
[data-bs-theme="dark"] .deck-store-summary-pill,
[data-bs-theme="dark"] .deck-store-badge {
  background: linear-gradient(180deg, var(--scry-surface-1) 0%, var(--scry-surface-0) 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-store-card--alt .deck-store-card-header,
body[data-bs-theme="dark"] .deck-store-card--alt .deck-store-item,
[data-bs-theme="dark"] .deck-store-card--alt .deck-store-card-header,
[data-bs-theme="dark"] .deck-store-card--alt .deck-store-item {
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) !important;
}

body[data-bs-theme="dark"] .deck-store-items,
body[data-bs-theme="dark"] .deck-store-item + .deck-store-item,
[data-bs-theme="dark"] .deck-store-items,
[data-bs-theme="dark"] .deck-store-item + .deck-store-item {
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .deck-share-url,
[data-bs-theme="dark"] .deck-share-url {
  background-color: var(--scry-surface-1) !important;
}

body[data-bs-theme="dark"] .deck-store-title,
body[data-bs-theme="dark"] .deck-card-tile-title,
[data-bs-theme="dark"] .deck-store-title,
[data-bs-theme="dark"] .deck-card-tile-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .deck-store-meta,
body[data-bs-theme="dark"] .deck-store-meta-item,
body[data-bs-theme="dark"] .deck-card-tile-meta,
body[data-bs-theme="dark"] .deck-filter-empty,
[data-bs-theme="dark"] .deck-store-meta,
[data-bs-theme="dark"] .deck-store-meta-item,
[data-bs-theme="dark"] .deck-card-tile-meta,
[data-bs-theme="dark"] .deck-filter-empty {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .deck-card-tile-price,
[data-bs-theme="dark"] .deck-card-tile-price {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry,
[data-bs-theme="dark"] .footer-scry {
  background-color: #1a2434 !important;
  border-top-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .footer-scry .bg-white,
body[data-bs-theme="dark"] .footer-scry .bg-light,
[data-bs-theme="dark"] .footer-scry .bg-white,
[data-bs-theme="dark"] .footer-scry .bg-light {
  background-color: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-dark,
body[data-bs-theme="dark"] .footer-scry .footer-title,
body[data-bs-theme="dark"] .footer-scry .footer-links,
body[data-bs-theme="dark"] .footer-scry .footer-links a,
body[data-bs-theme="dark"] .footer-scry .footer-muted,
[data-bs-theme="dark"] .footer-scry .text-dark,
[data-bs-theme="dark"] .footer-scry .footer-title,
[data-bs-theme="dark"] .footer-scry .footer-links,
[data-bs-theme="dark"] .footer-scry .footer-links a,
[data-bs-theme="dark"] .footer-scry .footer-muted {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-muted,
body[data-bs-theme="dark"] .footer-scry .form-check-label.text-muted,
[data-bs-theme="dark"] .footer-scry .text-muted,
[data-bs-theme="dark"] .footer-scry .form-check-label.text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .footer-scry h2,
body[data-bs-theme="dark"] .footer-scry h3,
body[data-bs-theme="dark"] .footer-scry h6,
body[data-bs-theme="dark"] .footer-scry .h4,
body[data-bs-theme="dark"] .footer-scry .h6,
body[data-bs-theme="dark"] .footer-scry .form-label,
body[data-bs-theme="dark"] .footer-scry strong,
body[data-bs-theme="dark"] .footer-scry small,
[data-bs-theme="dark"] .footer-scry h2,
[data-bs-theme="dark"] .footer-scry h3,
[data-bs-theme="dark"] .footer-scry h6,
[data-bs-theme="dark"] .footer-scry .h4,
[data-bs-theme="dark"] .footer-scry .h6,
[data-bs-theme="dark"] .footer-scry .form-label,
[data-bs-theme="dark"] .footer-scry strong,
[data-bs-theme="dark"] .footer-scry small {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry a:not(.btn),
[data-bs-theme="dark"] .footer-scry a:not(.btn) {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry a.text-warning,
[data-bs-theme="dark"] .footer-scry a.text-warning {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .footer-scry .btn-dark,
[data-bs-theme="dark"] .footer-scry .btn-dark {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
}

body[data-bs-theme="dark"] .footer-scry .btn-outline-dark,
[data-bs-theme="dark"] .footer-scry .btn-outline-dark {
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .footer-scry .btn-outline-dark:hover,
[data-bs-theme="dark"] .footer-scry .btn-outline-dark:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .footer-scry .footer-divider,
[data-bs-theme="dark"] .footer-scry .footer-divider {
  border-color: var(--scry-border-default) !important;
  opacity: 1;
}

body[data-bs-theme="dark"] .footer-scry .border-start,
[data-bs-theme="dark"] .footer-scry .border-start {
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .footer-scry .badge.bg-success,
body[data-bs-theme="dark"] .footer-scry .badge.bg-dark,
[data-bs-theme="dark"] .footer-scry .badge.bg-success,
[data-bs-theme="dark"] .footer-scry .badge.bg-dark {
  color: #f8fafc;
}

body[data-bs-theme="dark"] .footer-scry .d-inline-flex.bg-white.border.rounded-3,
[data-bs-theme="dark"] .footer-scry .d-inline-flex.bg-white.border.rounded-3 {
  background-color: rgba(255, 255, 255, 0.94) !important;
}

body[data-bs-theme="dark"] .footer-scry .bg-success-subtle,
[data-bs-theme="dark"] .footer-scry .bg-success-subtle {
  background-color: rgba(34, 197, 94, 0.14) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .footer-scry .border-success,
[data-bs-theme="dark"] .footer-scry .border-success {
  border-color: rgba(34, 197, 94, 0.28) !important;
}

body[data-bs-theme="dark"] .footer-scry .text-bg-dark,
[data-bs-theme="dark"] .footer-scry .text-bg-dark {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .footer-scry .text-bg-success,
[data-bs-theme="dark"] .footer-scry .text-bg-success {
  background-color: #0d7c66 !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .footer-scry .form-check-input,
[data-bs-theme="dark"] .footer-scry .form-check-input {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .checkout-flow-card,
body[data-bs-theme="dark"] .info-box,
body[data-bs-theme="dark"] .tienda-contenedor,
body[data-bs-theme="dark"] .header-custom,
body[data-bs-theme="dark"] .footer-custom,
body[data-bs-theme="dark"] .bg-grey,
[data-bs-theme="dark"] .checkout-flow-card,
[data-bs-theme="dark"] .info-box,
[data-bs-theme="dark"] .tienda-contenedor,
[data-bs-theme="dark"] .header-custom,
[data-bs-theme="dark"] .footer-custom,
[data-bs-theme="dark"] .bg-grey {
  background: var(--scry-surface-1) !important;
  color: var(--scry-text-primary) !important;
  border-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .checkout-flow-subtitle,
body[data-bs-theme="dark"] .checkout-flow-step-copy,
body[data-bs-theme="dark"] .checkout-item-desc,
body[data-bs-theme="dark"] .checkout-store-location,
body[data-bs-theme="dark"] .checkout-item-qty small,
body[data-bs-theme="dark"] .checkout-minimum-row .text-muted,
body[data-bs-theme="dark"] .info-box .text-muted,
[data-bs-theme="dark"] .checkout-flow-subtitle,
[data-bs-theme="dark"] .checkout-flow-step-copy,
[data-bs-theme="dark"] .checkout-item-desc,
[data-bs-theme="dark"] .checkout-store-location,
[data-bs-theme="dark"] .checkout-item-qty small,
[data-bs-theme="dark"] .checkout-minimum-row .text-muted,
[data-bs-theme="dark"] .info-box .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .checkout-flow-card h2,
body[data-bs-theme="dark"] .checkout-flow-step-title,
body[data-bs-theme="dark"] .checkout-item-title,
body[data-bs-theme="dark"] .precio-item,
body[data-bs-theme="dark"] .info-box strong,
[data-bs-theme="dark"] .checkout-flow-card h2,
[data-bs-theme="dark"] .checkout-flow-step-title,
[data-bs-theme="dark"] .checkout-item-title,
[data-bs-theme="dark"] .precio-item,
[data-bs-theme="dark"] .info-box strong {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .checkout-flow-track::before,
[data-bs-theme="dark"] .checkout-flow-track::before {
  background: rgba(148, 163, 184, 0.22);
}

body[data-bs-theme="dark"] .checkout-flow-step-bullet,
[data-bs-theme="dark"] .checkout-flow-step-bullet {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-secondary);
}

body[data-bs-theme="dark"] .checkout-flow-step.is-active .checkout-flow-step-bullet,
[data-bs-theme="dark"] .checkout-flow-step.is-active .checkout-flow-step-bullet {
  background: var(--scry-accent-primary);
  border-color: var(--scry-accent-primary);
  color: #0f172a;
  box-shadow: 0 0 0 4px rgba(79, 213, 199, 0.16);
}

body[data-bs-theme="dark"] .checkout-item-container a.text-danger,
[data-bs-theme="dark"] .checkout-item-container a.text-danger {
  color: #fda4af !important;
}

body[data-bs-theme="dark"] .header-custom p,
body[data-bs-theme="dark"] .header-custom .fw-bold,
[data-bs-theme="dark"] .header-custom p,
[data-bs-theme="dark"] .header-custom .fw-bold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-store-main,
body[data-bs-theme="dark"] .scry-store-summary-card,
body[data-bs-theme="dark"] .scry-store-delivery-card,
[data-bs-theme="dark"] .scry-store-main,
[data-bs-theme="dark"] .scry-store-summary-card,
[data-bs-theme="dark"] .scry-store-delivery-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .scry-store-title,
body[data-bs-theme="dark"] .scry-store-summary-value,
body[data-bs-theme="dark"] .scry-store-delivery-title,
[data-bs-theme="dark"] .scry-store-title,
[data-bs-theme="dark"] .scry-store-summary-value,
[data-bs-theme="dark"] .scry-store-delivery-title {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-store-description,
body[data-bs-theme="dark"] .scry-store-description-note,
body[data-bs-theme="dark"] .scry-store-summary-label,
body[data-bs-theme="dark"] .scry-store-summary-label i,
body[data-bs-theme="dark"] .scry-store-delivery-copy,
[data-bs-theme="dark"] .scry-store-description,
[data-bs-theme="dark"] .scry-store-description-note,
[data-bs-theme="dark"] .scry-store-summary-label,
[data-bs-theme="dark"] .scry-store-summary-label i,
[data-bs-theme="dark"] .scry-store-delivery-copy {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-store-main .img-perfil-tienda,
[data-bs-theme="dark"] .scry-store-main .img-perfil-tienda {
  box-shadow: 0 0 0 1px var(--scry-border-default);
}

body[data-bs-theme="dark"] .scry-store-identity-link,
body[data-bs-theme="dark"] .scry-store-identity-link:hover,
[data-bs-theme="dark"] .scry-store-identity-link,
[data-bs-theme="dark"] .scry-store-identity-link:hover {
  color: inherit;
  text-decoration: none;
}

body[data-bs-theme="dark"] .scry-delivery-item,
body[data-bs-theme="dark"] .scry-pill,
body[data-bs-theme="dark"] .scry-social-btn,
[data-bs-theme="dark"] .scry-delivery-item,
[data-bs-theme="dark"] .scry-pill,
[data-bs-theme="dark"] .scry-social-btn {
  background: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item i,
body[data-bs-theme="dark"] .scry-pill svg,
[data-bs-theme="dark"] .scry-delivery-item i,
[data-bs-theme="dark"] .scry-pill svg {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item:hover,
body[data-bs-theme="dark"] .scry-pill-link:hover,
body[data-bs-theme="dark"] .scry-social-btn:hover,
[data-bs-theme="dark"] .scry-delivery-item:hover,
[data-bs-theme="dark"] .scry-pill-link:hover,
[data-bs-theme="dark"] .scry-social-btn:hover {
  background: var(--scry-surface-2) !important;
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .scry-pill-verified,
[data-bs-theme="dark"] .scry-pill-verified {
  color: #8de7c6 !important;
}

body[data-bs-theme="dark"] .scry-pill-unverified,
[data-bs-theme="dark"] .scry-pill-unverified {
  color: #f6c76b !important;
}

body[data-bs-theme="dark"] .scry-delivery-item-link span:last-child,
[data-bs-theme="dark"] .scry-delivery-item-link span:last-child {
  text-decoration-color: rgba(184, 195, 209, 0.28) !important;
}

body[data-bs-theme="dark"] .scry-delivery-item-link:hover span:last-child,
[data-bs-theme="dark"] .scry-delivery-item-link:hover span:last-child {
  text-decoration-color: rgba(79, 213, 199, 0.55) !important;
}

body[data-bs-theme="dark"] .scry-reputation-card,
[data-bs-theme="dark"] .scry-reputation-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .scry-reputation-score,
body[data-bs-theme="dark"] .scry-reputation-comment .fw-semibold,
[data-bs-theme="dark"] .scry-reputation-score,
[data-bs-theme="dark"] .scry-reputation-comment .fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-reputation-card .text-muted,
body[data-bs-theme="dark"] .scry-reputation-comment,
[data-bs-theme="dark"] .scry-reputation-card .text-muted,
[data-bs-theme="dark"] .scry-reputation-comment {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-listing-card,
[data-bs-theme="dark"] .store-listing-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .store-listing-card:hover,
[data-bs-theme="dark"] .store-listing-card:hover {
  border-color: var(--scry-border-strong) !important;
}

body[data-bs-theme="dark"] .store-listing-title,
body[data-bs-theme="dark"] .store-listing-title a,
body[data-bs-theme="dark"] .store-listing-price,
[data-bs-theme="dark"] .store-listing-title,
[data-bs-theme="dark"] .store-listing-title a,
[data-bs-theme="dark"] .store-listing-price {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .store-listing-meta,
body[data-bs-theme="dark"] .store-listing-stock,
[data-bs-theme="dark"] .store-listing-meta,
[data-bs-theme="dark"] .store-listing-stock {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .store-listing-cart-btn,
[data-bs-theme="dark"] .store-listing-cart-btn {
  background-color: var(--scry-surface-1);
  border-color: var(--scry-border-default);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .store-listing-cart-btn:hover,
[data-bs-theme="dark"] .store-listing-cart-btn:hover {
  background-color: var(--scry-surface-2);
  border-color: var(--scry-border-strong);
  color: var(--scry-accent-primary-strong);
}

body[data-bs-theme="dark"] .store-listing-cart-btn.disabled,
body[data-bs-theme="dark"] .store-listing-cart-btn:disabled,
[data-bs-theme="dark"] .store-listing-cart-btn.disabled,
[data-bs-theme="dark"] .store-listing-cart-btn:disabled {
  background-color: rgba(148, 163, 184, 0.08) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
  opacity: 1;
}

body[data-bs-theme="dark"] .scry-single-purchase,
body[data-bs-theme="dark"] .scry-single-content-card,
body[data-bs-theme="dark"] .scry-single-meta-pill,
body[data-bs-theme="dark"] .phyrexian-preview-card,
[data-bs-theme="dark"] .scry-single-purchase,
[data-bs-theme="dark"] .scry-single-content-card,
[data-bs-theme="dark"] .scry-single-meta-pill,
[data-bs-theme="dark"] .phyrexian-preview-card {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24) !important;
}

body[data-bs-theme="dark"] .title_carta,
body[data-bs-theme="dark"] .scry-single-price,
body[data-bs-theme="dark"] .scry-single-content-title,
body[data-bs-theme="dark"] .scry-single-content-card p,
body[data-bs-theme="dark"] .scry-single-content-card li,
body[data-bs-theme="dark"] .scry-single-content-card div,
body[data-bs-theme="dark"] .scry-single-details-item,
body[data-bs-theme="dark"] .scry-single-details-item strong,
body[data-bs-theme="dark"] .scry-single-meta-value,
body[data-bs-theme="dark"] .phyrexian-preview-text,
[data-bs-theme="dark"] .title_carta,
[data-bs-theme="dark"] .scry-single-price,
[data-bs-theme="dark"] .scry-single-content-title,
[data-bs-theme="dark"] .scry-single-content-card p,
[data-bs-theme="dark"] .scry-single-content-card li,
[data-bs-theme="dark"] .scry-single-content-card div,
[data-bs-theme="dark"] .scry-single-details-item,
[data-bs-theme="dark"] .scry-single-details-item strong,
[data-bs-theme="dark"] .scry-single-meta-value,
[data-bs-theme="dark"] .phyrexian-preview-text {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-meta-label,
body[data-bs-theme="dark"] .scry-single-market-copy,
body[data-bs-theme="dark"] .scry-single-market-note,
body[data-bs-theme="dark"] .scry-single-stock-note,
body[data-bs-theme="dark"] .scry-single-content-card .text-muted,
[data-bs-theme="dark"] .scry-single-meta-label,
[data-bs-theme="dark"] .scry-single-market-copy,
[data-bs-theme="dark"] .scry-single-market-note,
[data-bs-theme="dark"] .scry-single-stock-note,
[data-bs-theme="dark"] .scry-single-content-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-success,
body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-secondary,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-success,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-secondary {
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .badge.bg-warning.text-dark,
[data-bs-theme="dark"] .scry-single-content-card .badge.bg-warning.text-dark {
  color: #1b2430 !important;
}

body[data-bs-theme="dark"] .scry-single-market-deal,
body[data-bs-theme="dark"] .scry-single-market-deal strong,
[data-bs-theme="dark"] .scry-single-market-deal,
[data-bs-theme="dark"] .scry-single-market-deal strong {
  color: #8de7c6 !important;
}

body[data-bs-theme="dark"] .scry-single-buy-qty,
[data-bs-theme="dark"] .scry-single-buy-qty {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-offer-card,
[data-bs-theme="dark"] .scry-offer-card,
body[data-bs-theme="dark"] .scry-offer-thumb img,
[data-bs-theme="dark"] .scry-offer-thumb img,
body[data-bs-theme="dark"] .scry-offer-meta-pill,
[data-bs-theme="dark"] .scry-offer-meta-pill {
  background: linear-gradient(180deg, #172132 0%, #111827 100%) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"] .scry-offers-toolbar,
[data-bs-theme="dark"] .scry-offers-toolbar {
  border-bottom-color: var(--scry-border-default) !important;
}

body[data-bs-theme="dark"] .scry-offer-price,
[data-bs-theme="dark"] .scry-offer-price,
body[data-bs-theme="dark"] .scry-offer-card .fw-semibold,
[data-bs-theme="dark"] .scry-offer-card .fw-semibold {
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-offer-card .text-muted,
[data-bs-theme="dark"] .scry-offer-card .text-muted {
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-offer-card .text-success,
[data-bs-theme="dark"] .scry-offer-card .text-success {
  color: #7ee8bf !important;
}

body[data-bs-theme="dark"] .scry-offer-thumb-link:hover img,
body[data-bs-theme="dark"] .scry-offer-thumb-link:focus img,
[data-bs-theme="dark"] .scry-offer-thumb-link:hover img,
[data-bs-theme="dark"] .scry-offer-thumb-link:focus img {
  box-shadow: 0 0 0 3px rgba(86, 221, 209, 0.18) !important;
}

body[data-bs-theme="dark"] .scry-offer-thumb-zoom,
[data-bs-theme="dark"] .scry-offer-thumb-zoom {
  background: rgba(10, 15, 26, 0.88) !important;
  color: #f8fafc !important;
}

body[data-bs-theme="dark"] .scry-offer-card .form-control,
[data-bs-theme="dark"] .scry-offer-card .form-control {
  background-color: var(--scry-surface-1) !important;
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary {
  border-color: rgba(86, 221, 209, 0.42) !important;
  color: #8de7dc !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary:hover,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-primary:hover {
  background: rgba(86, 221, 209, 0.12) !important;
  color: #dffbf5 !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary {
  border-color: var(--scry-border-default) !important;
  color: var(--scry-text-secondary) !important;
}

body[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary:hover,
[data-bs-theme="dark"] .scry-single-content-card .btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.08) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .accordion-item,
body[data-bs-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-button {
  background-color: var(--scry-surface-1);
  color: var(--scry-text-primary);
  border-color: var(--scry-border-default);
}

body[data-bs-theme="dark"] .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: var(--scry-surface-2);
  color: var(--scry-text-primary);
}

body[data-bs-theme="dark"] .accordion-button::after,
[data-bs-theme="dark"] .accordion-button::after {
  filter: invert(1) brightness(1.6);
}

@media (max-width: 767.98px) {
  .scry-theme-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
  }
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
body[data-bs-theme="dark"] .home-sections .home-staple-card > div,
body[data-bs-theme="dark"] .home-sections .home-scroll-card-media,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-point-card,
body[data-bs-theme="dark"] .home-sections .feature-panel,
body[data-bs-theme="dark"] .home-sections .home-side-cta,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section,
[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .home-staple-card > div,
[data-bs-theme="dark"] .home-sections .home-scroll-card-media,
[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-point-card,
[data-bs-theme="dark"] .home-sections .feature-panel,
[data-bs-theme="dark"] .home-sections .home-side-cta,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section {
  background: linear-gradient(180deg, #172133 0%, #111827 100%) !important;
  background-image: none !important;
  border-color: rgba(93, 122, 156, 0.22) !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.2) !important;
  color: var(--scry-text-primary) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty,
[data-bs-theme="dark"] .home-sections .scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(72, 190, 178, 0.12) 0%, rgba(24, 32, 49, 0.96) 100%) !important;
  background-color: #1a2536 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-grid-card-link .home-card-title,
[data-bs-theme="dark"] .home-sections .home-scroll-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-staple-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .scry-top10-card .home-card-title {
  color: #e8f0f8 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .scry-top10-meta,
body[data-bs-theme="dark"] .home-sections .feature-footnote,
body[data-bs-theme="dark"] .home-sections .home-point-card .text-muted,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .scry-top10-meta,
[data-bs-theme="dark"] .home-sections .feature-footnote,
[data-bs-theme="dark"] .home-sections .home-point-card .text-muted {
  color: rgba(198, 210, 224, 0.74) !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.95rem 1rem !important;
  gap: 0.85rem !important;
  align-items: center !important;
  min-height: 108px;
  border-radius: 18px;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.24;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-meta {
  line-height: 1.35;
}

body[data-bs-theme="dark"] .home-sections .home-hero-proof-icon,
body[data-bs-theme="dark"] .home-sections .home-point-badge,
body[data-bs-theme="dark"] .home-sections .home-brand-pill,
body[data-bs-theme="dark"] .home-sections .feature-logo,
[data-bs-theme="dark"] .home-sections .home-hero-proof-icon,
[data-bs-theme="dark"] .home-sections .home-point-badge,
[data-bs-theme="dark"] .home-sections .home-brand-pill,
[data-bs-theme="dark"] .home-sections .feature-logo {
  background: rgba(20, 31, 47, 0.92) !important;
  border-color: rgba(93, 122, 156, 0.24) !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-testimonial-avatar,
[data-bs-theme="dark"] .home-sections .home-testimonial-avatar {
  background-color: rgba(20, 31, 47, 0.92) !important;
  border-color: rgba(93, 122, 156, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-bs-theme="dark"] .home-sections .home-point-badge,
[data-bs-theme="dark"] .home-sections .home-point-badge {
  color: #d7f7f1 !important;
}

body[data-bs-theme="dark"] .home-sections .home-youtube-banner,
[data-bs-theme="dark"] .home-sections .home-youtube-banner {
  display: block;
  border: 1px solid rgba(93, 122, 156, 0.22);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary {
  background: linear-gradient(135deg, #56ddd1 0%, #2db8ad 100%) !important;
  border-color: rgba(86, 221, 209, 0.54) !important;
  color: #081118 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
body[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-side-cta .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry:hover,
[data-bs-theme="dark"] .home-sections .feature-scry .btn-scry-primary:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry:hover,
[data-bs-theme="dark"] .home-sections .home-cta-primary.btn-scry-primary:hover {
  background: linear-gradient(135deg, #78eee3 0%, #36c4b7 100%) !important;
  border-color: rgba(121, 238, 227, 0.64) !important;
  color: #071018 !important;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(113, 127, 148, 0.58) rgba(17, 24, 39, 0.82);
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-track,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.78);
  border-radius: 999px;
}

body[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .bd-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .hv-grid-wrap::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .home-sections .d-flex.overflow-auto::-webkit-scrollbar-thumb {
  background: rgba(102, 119, 139, 0.72);
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.86);
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 {
  gap: 1rem;
  align-items: center !important;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.15;
}

body[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small,
[data-bs-theme="dark"] .home-sections .home-panel > .d-flex.justify-content-between.align-items-center.mb-3 > a.small {
  color: rgba(198, 210, 224, 0.74) !important;
  font-weight: 600;
}

/* ── Dark mode: gradient-border parity ───────────────────────────────────
   Light mode uses a border-box gradient layer on panels (the teal shimmer
   around each section). Dark mode must replicate that same technique with
   dark values — not swap it for a barely-visible solid border.           */

body[data-bs-theme="dark"] .home-panel,
[data-bs-theme="dark"] .home-panel {
  background:
    radial-gradient(circle at top left, rgba(79, 213, 199, 0.08) 0%, rgba(79, 213, 199, 0) 42%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.28) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.16) 100%) border-box !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

body[data-bs-theme="dark"] .home-panel-soft,
[data-bs-theme="dark"] .home-panel-soft {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.24) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-panel.home-panel-opaque,
[data-bs-theme="dark"] .home-panel.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-panel.home-panel-soft.home-panel-opaque,
[data-bs-theme="dark"] .home-panel.home-panel-soft.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section.home-panel-opaque,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-section.home-panel-opaque,
body[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft.home-panel-opaque,
[data-bs-theme="dark"] .home-sections .home-panel.home-panel-soft.home-panel-opaque {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  background-image:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%),
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%),
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-testimonial-card,
[data-bs-theme="dark"] .home-testimonial-card {
  background:
    radial-gradient(circle at top right, rgba(79, 213, 199, 0.07) 0%, rgba(79, 213, 199, 0) 44%) padding-box,
    linear-gradient(180deg, #1c2a3e 0%, #111827 100%) padding-box,
    linear-gradient(135deg, rgba(79, 213, 199, 0.26) 0%, rgba(14, 24, 42, 0.98) 50%, rgba(79, 213, 199, 0.14) 100%) border-box !important;
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .home-new-store-card,
body[data-bs-theme="dark"] .home-mini-store-card,
body[data-bs-theme="dark"] .home-point-card,
[data-bs-theme="dark"] .home-new-store-card,
[data-bs-theme="dark"] .home-mini-store-card,
[data-bs-theme="dark"] .home-point-card {
  border-color: rgba(79, 213, 199, 0.22) !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-surface,
body[data-bs-theme="dark"] .home-sections .scry-top10-card,
[data-bs-theme="dark"] .home-sections .home-card-surface,
[data-bs-theme="dark"] .home-sections .scry-top10-card {
  border-color: rgba(79, 213, 199, 0.22) !important;
}

/* ── Dark mode: logo/avatar frame integration ────────────────────────
   PNG logos with transparent backgrounds would show the dark card through
   transparent pixels. A near-white background on the img element fills
   those gaps so logos look contained, matching light mode appearance.  */

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  background: rgba(248, 250, 252, 0.94);
}

/* ── Dark mode: structural parity enforcement ─────────────────────────
   Ensure no dark-mode-specific rule can introduce padding/margin/size
   differences on card internals. All box model must mirror light mode. */

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: unset;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 1rem;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.75rem;
}

/* Home dark mode parity: preserve the same geometry as light mode and only
   swap visual tokens. This block intentionally overrides earlier dark-mode
   rules that were changing padding, gap, media framing and text flow. */
body[data-bs-theme="dark"] .home-sections .home-new-store-card,
[data-bs-theme="dark"] .home-sections .home-new-store-card {
  padding: 1rem !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  border-radius: 18px !important;
}

body[data-bs-theme="dark"] .home-sections .home-mini-store-card,
[data-bs-theme="dark"] .home-sections .home-mini-store-card {
  padding: 0.75rem !important;
  gap: 0.5rem !important;
  align-items: center !important;
  min-height: 0 !important;
  border-radius: 16px !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
body[data-bs-theme="dark"] .home-sections .scry-top10-card .min-w-0,
[data-bs-theme="dark"] .home-sections .home-new-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .flex-grow-1,
[data-bs-theme="dark"] .home-sections .scry-top10-card .min-w-0 {
  min-width: 0;
}

body[data-bs-theme="dark"] .home-sections .home-card-title,
[data-bs-theme="dark"] .home-sections .home-card-title {
  line-height: 1.25 !important;
}

body[data-bs-theme="dark"] .home-sections .home-card-meta,
body[data-bs-theme="dark"] .home-sections .home-new-store-desc,
[data-bs-theme="dark"] .home-sections .home-card-meta,
[data-bs-theme="dark"] .home-sections .home-new-store-desc {
  line-height: 1.35 !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
body[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-new-store-card .home-card-title,
[data-bs-theme="dark"] .home-sections .home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: rgba(248, 250, 252, 0.94) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  border-radius: var(--bs-border-radius-lg) !important;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  border-radius: var(--bs-border-radius) !important;
}

body[data-bs-theme="dark"] .home-sections .scry-top10-cover,
body[data-bs-theme="dark"] .home-sections .home-testimonial-avatar,
[data-bs-theme="dark"] .home-sections .scry-top10-cover,
[data-bs-theme="dark"] .home-sections .home-testimonial-avatar {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

body[data-bs-theme="dark"] .home-sections .home-new-store-logo,
body[data-bs-theme="dark"] .home-sections .scry-top10-logo,
[data-bs-theme="dark"] .home-sections .home-new-store-logo,
[data-bs-theme="dark"] .home-sections .scry-top10-logo {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
}

body[data-bs-theme="dark"] .home-sections .home-store-thumb-sm,
[data-bs-theme="dark"] .home-sections .home-store-thumb-sm {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
}
