/* Shared baseline: dark color scheme, motion, skip link, account error strip */

html {
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

.skip-to-main {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-main:focus {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 30000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  padding: 10px 16px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.vortex-account-banner {
  margin: 0 0 20px 0;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.vortex-account-banner[hidden] {
  display: none !important;
}

#main-content:focus {
  outline: none;
}
