:root[data-custom-theme~="background"] {
  background: radial-gradient(ellipse at 50% 12%, color-mix(in srgb, var(--bg) 92%, var(--theme-on-background)), var(--bg) 78%) fixed;
  color-scheme: var(--theme-color-scheme);
}

:root[data-custom-theme~="surface"] {
  --surface-raised: color-mix(in srgb, var(--surface) 94%, var(--theme-on-surface));
  --line: color-mix(in srgb, var(--surface) 83%, var(--theme-on-surface));
}

:root[data-custom-theme~="surface"] .site-footer {
  background: color-mix(in srgb, var(--surface) 92%, #000);
}

:root[data-custom-theme~="surface"] .button-outline {
  border-color: color-mix(in srgb, var(--surface) 67%, var(--theme-on-surface));
}

:root[data-custom-theme~="surface"] .playback {
  background: var(--surface-raised);
  color: var(--theme-on-surface);
}

:root[data-custom-theme~="surface"] .carousel-dots button::after {
  background: color-mix(in srgb, var(--theme-on-surface) 62%, transparent);
}

:root[data-custom-theme~="surface"] .carousel-dots [aria-current="true"]::after {
  background: var(--theme-on-surface);
}

:root[data-custom-theme~="text"] .bottom-nav-inner > :not([aria-current]) {
  color: var(--text);
}

:root[data-custom-theme~="muted"] .contact-dialog .icon-button {
  color: var(--muted);
}

:root[data-custom-theme~="accent"],
:root[data-custom-theme~="surface"] {
  --selected: color-mix(in srgb, var(--surface) 86%, var(--green));
}

:root[data-custom-theme~="accent"] .carousel-dots [aria-current="true"]::after {
  background: var(--green);
}

:root[data-custom-theme~="accent"] .skip-link {
  color: var(--theme-on-accent);
}

:root[data-custom-theme~="accentStrong"] {
  --primary-hover: color-mix(in srgb, var(--primary) 88%, var(--theme-auto-on-primary));
}

:root[data-custom-theme~="accentStrong"] .button-primary,
:root[data-custom-theme~="buttonText"] .button-primary {
  color: var(--theme-on-primary);
}
