/* No effect overrides in the default profile. All reductions are explicit. */
.dns-performance-console {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

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

.dns-performance-console .dns-site-inline-switch {
  min-width: 0;
}

.dns-performance-console .dns-site-inline-switch > span:first-child {
  min-width: 0;
}

.dns-performance-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dns-performance-footer > span {
  display: grid;
  gap: 4px;
}

[data-account-settings-note][hidden] {
  display: none !important;
}

html.dns-effects-static .dns-products-kpi .dns-products-kpi-art::after,
html.dns-effects-static .dns-products-control-border,
html.dns-effects-static .dns-products-select-button::before,
html.dns-effects-static .dns-pulse-flow,
html.dns-effects-static .dns-pulse-anomaly,
html.dns-effects-static .dns-pulse-event circle:first-child,
html.dns-effects-static .security-wave-flow,
html.dns-effects-static .security-radar-sweep,
html.dns-effects-static .atlas-core i {
  animation: none !important;
}

html.dns-effects-no-motion,
html.dns-effects-no-motion *,
html.dns-effects-no-motion *::before,
html.dns-effects-no-motion *::after {
  scroll-behavior: auto !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* Finish entrance animations, keeping their visible end state. Status/toast timers remain intact. */
html.dns-effects-no-motion body.dns-auth-page .dns-auth-screen,
html.dns-effects-no-motion body.dns-auth-page .dns-auth-screen::before,
html.dns-effects-no-motion body.dns-auth-page .dns-auth-main {
  animation-duration: 0.01ms !important;
  animation-delay: 0ms !important;
  will-change: auto !important;
}

html.dns-effects-no-blur *,
html.dns-effects-no-blur *::before,
html.dns-effects-no-blur *::after {
  backdrop-filter: none !important;
}

html.dns-effects-no-shadows *,
html.dns-effects-no-shadows *::before,
html.dns-effects-no-shadows *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Preserve a keyboard focus indicator when a component normally uses a shadow ring. */
html.dns-effects-no-shadows :focus-visible {
  outline: 2px solid currentcolor !important;
  outline-offset: 2px !important;
}

html.dns-effects-no-shadows [data-performance-profile].is-selected {
  outline: 2px solid #ff8a00;
  outline-offset: -2px;
}

@media (max-width: 700px) {
  .dns-performance-options,
  .dns-performance-console .dns-site-choice-grid.is-three {
    grid-template-columns: 1fr;
  }
}
