.str8-switcher {
  position: relative;
  z-index: 12;
  display: flex;
  justify-content: center;
  padding: 8px 16px;
  background: #18222b;
  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: 16px;
  min-height: 44px;
  padding: 4px 14px;
  border: 1px solid #f5b5d5;
  border-radius: 10px;
  color: #fff8fc;
  background: #273644;
  cursor: pointer;
  list-style: none;
}
.str8-switcher summary::-webkit-details-marker { display: none; }
.str8-switcher summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border: solid #f5b5d5;
  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: 5px 0 0;
  padding: 5px;
  list-style: none;
  color: #fff8fc;
  background: #18222b;
  border: 1px solid #f5b5d5;
  border-radius: 12px;
  box-shadow: 0 12px 28px #0008;
  text-align: left;
}
.str8-switcher li { margin: 0; }
.str8-switcher a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  color: inherit;
  border-radius: 7px;
  text-decoration: none;
}
.str8-switcher a:hover,.str8-switcher a[aria-current="page"] { background: #3d2d42; color: #ffe2f2; }
.str8-switcher :is(a,summary):focus-visible { outline: 2px solid #fff8fc; outline-offset: -3px; }
