.public-theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #526070;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.public-theme-switch[hidden] { display: none; }
.public-theme-switch .day-night-toggle { width: 20px; height: 20px; }
.public-theme-switch:hover { background: rgba(23, 40, 59, .07); color: #17283b; }
html.throne-theme-dark .public-theme-switch { color: #b4b4b4; }
html.throne-theme-dark .public-theme-switch:hover { background: rgba(255, 255, 255, .09); color: #ededed; }
.public-theme-switch:focus-visible { outline: 2px solid #0353a4; outline-offset: 2px; border-radius: 999px; }
html.throne-theme-dark .public-theme-switch:focus-visible { outline: 3px solid #ededed !important; outline-offset: 2px !important; }
.site-header > .public-theme-switch { margin-left: auto; }
@media (min-width: 1101px) {
  .site-header { gap: 20px; }
  .site-header .site-nav { gap: 18px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header .menu-toggle { display: inline-flex; }
  .site-header .site-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
  }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav > a { min-height: 48px; padding-inline: 16px; justify-content: flex-start; }
  .site-header .site-nav > a:not(.nav-cta) { border-bottom: 0; }
  .site-header .site-nav > .nav-cta { justify-content: center; margin-top: 8px; }
}
@media (max-width: 900px) {
  .guide-nav .public-theme-switch { position: absolute; top: 14px; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .public-theme-switch { transition: none; }
}
