.str8-switcher {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: center;
  padding: 15px 16px;
  background: radial-gradient(ellipse at 50% 100%, #35091f 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 #ff9ecf;
  border-radius: 15px 7px 15px 7px;
  color: #190610;
  background: linear-gradient(145deg, #ffb8dc 0%, #ff419c 34%, #ff007f 71%, #ff65b2 100%);
  box-shadow: inset 0 1px 0 #fff8, 0 0 21px #ff007f7a, 0 5px 0 #660639;
  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 #ff4aa4;
  border-radius: 12px;
  box-shadow: 0 0 18px #ff007f55, 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, #6a1542, #301020); color: #ffeaf6; border-inline-start-color: #ff58ad; }
.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 #ff319bc9, 0 5px 0 #660639;
}
@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; }
  }
}
