.marquee-track--refs { animation-duration: 90s; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track--refs { animation: none; }
}

.locale-switch { position: relative; }
.locale-switch > summary { list-style: none; cursor: pointer; }
.locale-switch > summary::-webkit-details-marker { display: none; }
.locale-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  width: 240px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #e4e4e7;
  background: #fff;
  color: #18181b;
  box-shadow: 0 24px 50px -20px rgba(10, 38, 71, .35);
}
.locale-panel p {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.locale-panel p:first-child { margin-top: 0; }
.locale-panel a,
.locale-panel span.is-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
  text-decoration: none;
}
.locale-panel a:hover { background: #f4f4f5; }
.locale-panel .is-current { background: #eff6ff; color: #1d4ed8; }
.locale-menu { display: grid; gap: 14px; margin: 4px 0 14px; }
.locale-menu p {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.locale-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.locale-row a,
.locale-row span.is-current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #e4e4e7;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  color: #18181b;
  text-decoration: none;
}
.locale-row a:hover { border-color: #bfdbfe; background: #f8fbff; }
.locale-row .is-current { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
