/* LarsMarket — clean cyan glass cards. Matches the Get Support button's 6%-cyan surface. */
:root {
  --aps-card-glass: rgba(6,182,212,.065);
  --aps-card-glass-border: rgba(6,182,212,.20);
  --aps-card-glass-hover: rgba(6,182,212,.105);
  --aps-card-glass-border-hover: rgba(34,211,238,.36);
}

/* Card backgrounds only: do not alter layouts, text, pricing or button colors. */
body .aps-glass-surface,
body #product-grid .df-prod-card,
body .dp-pp-actions,
body .dp-pp-showcase,
body .requirement-card,
body .feature-column,
body .apsr-card,
body .apsr-stats {
  background:var(--aps-card-glass) !important;
  border-color:var(--aps-card-glass-border) !important;
  box-shadow:inset 0 1px 0 rgba(103,232,249,.04) !important;
  -webkit-backdrop-filter:blur(16px) saturate(115%);
  backdrop-filter:blur(16px) saturate(115%);
}

/* Keep the existing chosen-option styling visible. */
body .dp-pp-variant:not(.is-selected),
body .apsr-filter:not([aria-pressed="true"]),
body .apsr-search {
  background:var(--aps-card-glass) !important;
  border-color:var(--aps-card-glass-border) !important;
}
body .dp-pp-variant.is-selected { background:rgba(34,211,238,.08) !important; }

body .aps-glass-surface:hover,
body #product-grid .df-prod-card:hover,
body .requirement-card:hover,
body .feature-column:hover,
body .apsr-card:hover,
body .dp-pp-variant:hover:not(.is-selected) {
  background:var(--aps-card-glass-hover) !important;
  border-color:var(--aps-card-glass-border-hover) !important;
}

/* Remove the homepage decorative Systems / Uptime pill. */
#systems { display:none !important; }

/* Remove only the shield icon tile from each product-status row. */
#status-list > .group > div:first-child > span:first-child {
  display:none !important;
}

/* ==========================================================================
   LarsMarket cyan palette: cyan reads as light, glass picks up colour from behind it,
   and the navy base gets a little more depth. Layout, type and prices are
   untouched. Selectors start with `html body` so they outrank the neutral
   glass the store script injects at runtime and each page's inline styles.
   ========================================================================== */
:root {
  --aps-vib-glass: linear-gradient(180deg, rgba(34,211,238,.055), rgba(34,211,238,.02) 70%);
  --aps-vib-border: rgba(103,232,249,.12);
  --aps-vib-border-hover: rgba(103,232,249,.32);
  --aps-vib-divider: rgba(103,232,249,.08);
  --aps-vib-lift: inset 0 1px 0 rgba(165,243,252,.07);
  --aps-vib-glow: 0 18px 48px -30px rgba(34,211,238,.55);
  --aps-vib-button-glow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -10px rgba(34,211,238,.6);
  --aps-vib-button-glow-hover: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 30px -10px rgba(34,211,238,.8);
}

/* Base: a faint cyan dawn at the top of the screen, cooler blue in the far corner. */
html:root {
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(34,211,238,.09), transparent 70%),
    radial-gradient(ellipse 55% 40% at 100% 100%, rgba(59,130,246,.07), transparent 70%),
    #020617;
  background-attachment: fixed;
}
html body { background-color: transparent !important; }

/* Solid homepage bands and footers: cyan light along the divider they sit under. */
html body :is(#pricing, #status, #faq, footer) {
  background-image: radial-gradient(ellipse 45% 140px at 50% 0, rgba(34,211,238,.06), transparent 100%);
  border-color: var(--aps-vib-divider) !important;
}
html body footer [class*="border-t"] { border-color: var(--aps-vib-divider) !important; }

/* Homepage hero animation, which ships at half saturation. */
html body .aura-background-component.saturate-50 { filter: saturate(.8) brightness(1.06); }

/* Floating nav pill. */
html body nav[class*="grid-cols-[1fr_auto_1fr]"] {
  background-color: rgba(3,10,30,.78) !important;
  border-color: rgba(103,232,249,.13) !important;
  box-shadow: inset 0 1px 0 rgba(165,243,252,.05), 0 12px 40px -24px rgba(34,211,238,.45) !important;
}

/* Glass cards and panels across every page. */
html body :is(
  .aps-glass-surface, #product-grid .df-prod-card, #faq details,
  .apsr-card, .apsr-stats, .legal-copy section, .aps-fix-list,
  main .requirements-grid, main .features-grid, main .aps-gallery-frame, main .aps-pp-video-frame
) {
  background: var(--aps-vib-glass) !important;
  border-color: var(--aps-vib-border) !important;
  box-shadow: var(--aps-vib-lift) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
}
html body :is(#category-grid > a, #product-grid .df-prod-card):hover {
  border-color: var(--aps-vib-border-hover) !important;
  box-shadow: var(--aps-vib-lift), var(--aps-vib-glow) !important;
}
html body :is(.apsr-stats-left, .apsr-card-foot, .aps-fix + .aps-fix, #category-grid [class*="border-b"]),
html body main :is(.requirements-grid .requirement-card, .features-grid .aps-feat + .aps-feat) {
  border-color: var(--aps-vib-divider) !important;
}

/* Setup guides: outer cards only; nested boxes stay flat via each page's own rules. */
html body[class*="bg-[#020410]"] main [class*="rounded-"][class*="border"]:not(a, button, summary, input, select, textarea, code, kbd, iframe, [class*="border"] *) {
  background-color: rgba(34,211,238,.03) !important;
  border-color: var(--aps-vib-border) !important;
}

/* Small controls: options, filters, search. */
html body main .dp-pp-variant:not(.is-selected),
html body :is(.apsr-filter:not([aria-pressed="true"]), .apsr-search) {
  background: rgba(34,211,238,.035) !important;
  border-color: var(--aps-vib-border) !important;
}
html body main .dp-pp-variant:not(.is-selected):hover,
html body .apsr-filter:not([aria-pressed="true"]):hover {
  border-color: var(--aps-vib-border-hover) !important;
}
html body main .dp-pp-variant.is-selected,
html body .apsr-filter[aria-pressed="true"] {
  background: rgba(34,211,238,.08) !important;
  box-shadow: 0 10px 30px -20px rgba(34,211,238,.7) !important;
}
html body main .dp-pp-variant.is-selected::before { box-shadow: inset 0 0 0 3px #020617, 0 0 10px rgba(34,211,238,.7); }

/* Primary cyan buttons glow instead of sitting flat. */
html body :is(a, button):is(.bg-cyan-400, .bg-cyan-500),
html body :is(.df-prod-buy, .apsr-more),
html body main :is(.aps-pp-add, .dp-pp-cart) {
  box-shadow: var(--aps-vib-button-glow) !important;
  transition: background-color .2s ease, box-shadow .2s ease !important;
}
html body :is(a, button):is(.bg-cyan-400, .bg-cyan-500):hover,
html body :is(.df-prod-buy, .apsr-more):hover,
html body main :is(.aps-pp-add, .dp-pp-cart):hover {
  box-shadow: var(--aps-vib-button-glow-hover) !important;
}

/* Product and category artwork. */
html body :is(#category-grid img, .df-prod-image img, .aps-gallery-img, .aps-gallery-thumbs img) {
  filter: saturate(1.18) contrast(1.04);
}

/* Cyan accents: stars, rating bars, live status. */
html body :is(.df-prod-stars, .apsr-stars, .apsr-average-stars) { text-shadow: 0 0 12px rgba(34,211,238,.45); }
html body .apsr-breakdown-fill {
  background: linear-gradient(90deg, #06b6d4, #67e8f9) !important;
  box-shadow: 0 0 10px rgba(34,211,238,.5);
}
html body #status-list .bg-emerald-400 { box-shadow: 0 0 10px rgba(52,211,153,.75); }
html body #status-list .bg-yellow-400 { box-shadow: 0 0 10px rgba(250,204,21,.6); }
html body #status-list .text-emerald-400 { color: #48efb0; text-shadow: 0 0 14px rgba(52,211,153,.35); }
html body #status-list .text-yellow-400 { text-shadow: 0 0 14px rgba(250,204,21,.3); }
html body .df-prod-badge-safe { color: #7af5c6; border-color: rgba(52,211,153,.45); background: rgba(16,185,129,.14); }

@media (prefers-reduced-transparency: reduce) {
  html body :is(.aps-glass-surface, #product-grid .df-prod-card, .apsr-card, .apsr-stats) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
