.str8-switcher[data-theme="scratch"] { --switcher-light:#ff8fc8; --switcher-accent:#cf458c; --switcher-edge:#ffe1a0; --switcher-halo:#351124; --switcher-on-dark:#fff0c2; }
.str8-switcher[data-theme="biz"] { --switcher-light:#ff86cd; --switcher-accent:#ed278e; --switcher-edge:#eadbff; --switcher-halo:#370c30; --switcher-on-dark:#fff0fa; }
.str8-switcher[data-theme="alert"] { --switcher-light:#ff8b96; --switcher-accent:#d92543; --switcher-edge:#ffbbbf; --switcher-halo:#310e1a; --switcher-on-dark:#fff0f1; }
.str8-switcher[data-theme="memories"] { --switcher-light:#e4efff; --switcher-accent:#90baf1; --switcher-edge:#e6dcff; --switcher-halo:#14263e; --switcher-on-dark:#f1f6ff; }
.str8-switcher[data-theme="hooked"] { --switcher-light:#c8efd9; --switcher-accent:#75be9d; --switcher-edge:#ffc9d5; --switcher-halo:#18382d; --switcher-on-dark:#fff0f6; }
.str8-switcher[data-theme="paws"] { --switcher-light:#ffd391; --switcher-accent:#e59b57; --switcher-edge:#ff9ecc; --switcher-halo:#422014; --switcher-on-dark:#fff4df; }
.str8-switcher {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: center;
  padding: 15px 16px;
  background: radial-gradient(ellipse at 50% 100%, var(--switcher-halo) 0%, #10060d 54%, #080508 100%);
  color: #fff8fc;
  font: 600 15px/1.35 system-ui, sans-serif;
}
.str8-switcher details { position: relative; }
.str8-switcher summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  min-height: 48px;
  padding: 8px 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--switcher-edge);
  border-radius: 15px 7px 15px 7px;
  color: #190610;
  background: linear-gradient(145deg, var(--switcher-light) 0%, var(--switcher-light) 34%, var(--switcher-accent) 71%, var(--switcher-edge) 100%);
  box-shadow: inset 0 1px 0 #fff8, 0 0 21px color-mix(in srgb, var(--switcher-accent) 48%, transparent), 0 5px 0 var(--switcher-halo);
  font-weight: 850;
  font-style: italic;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.str8-switcher summary::-webkit-details-marker { display: none; }
.str8-switcher summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.str8-switcher details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.str8-switcher ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: min(230px, calc(100vw - 32px));
  margin: 10px 0 0;
  padding: 7px;
  list-style: none;
  color: #fff8fc;
  background: linear-gradient(150deg, #25101d, #0b070b 70%);
  border: 1px solid var(--switcher-accent);
  border-radius: 12px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--switcher-accent) 35%, transparent), 0 12px 28px #000b;
  text-align: left;
}
.str8-switcher li { margin: 0; }
.str8-switcher a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 13px;
  border-inline-start: 2px solid transparent;
  color: inherit;
  border-radius: 7px;
  text-decoration: none;
}
.str8-switcher a:hover,.str8-switcher a[aria-current="page"] { background: linear-gradient(90deg, var(--switcher-halo), #301020); color: var(--switcher-on-dark); border-inline-start-color: var(--switcher-edge); }
.str8-switcher :is(a,summary):focus-visible { outline: 2px solid #fff8fc; outline-offset: -3px; }

.str8-switcher summary::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: repeating-linear-gradient(165deg, transparent 0 5px, #fff3 6px 7px, transparent 8px 12px), linear-gradient(110deg, transparent 32%, #fff9 48%, transparent 65%);
  clip-path: polygon(0 67%, 12% 55%, 4% 55%, 100% 10%, 92% 32%, 100% 28%, 100% 62%, 0 99%);
  pointer-events: none;
}
.str8-switcher summary:hover,
.str8-switcher details[open] summary {
  box-shadow: inset 0 1px 0 #fff9, 0 0 27px color-mix(in srgb, var(--switcher-accent) 71%, transparent), 0 5px 0 var(--switcher-halo);
}
@media (prefers-reduced-motion: no-preference) {
  .str8-switcher summary::before { animation: str8-nav-sheen 6s ease-in-out infinite; }
  @keyframes str8-nav-sheen {
    0%, 100% { opacity: .42; }
    50% { opacity: .86; }
  }
}

.str8-switcher summary::after { flex: none; }
.str8-switcher details { max-width: 100%; }
