nav.view-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(max-content, 1fr));
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #594962;
  border-radius: 15px;
  background: #211b27;
  color: #f9f3fb;
  font: 650 .875rem/1.1 system-ui, sans-serif;
}
nav.view-switch a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 .8rem;
  box-sizing: border-box;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 11px;
  color: inherit;
  font: inherit;
}
nav.view-switch a:hover { background: #392c40; }
nav.view-switch a[aria-current="page"] {
  color: #25152d;
  background: linear-gradient(106deg, #e3c5ff, #ffb7d5);
}
nav.view-switch a:focus-visible { outline: 3px solid #86eaff; outline-offset: -3px; }
.event-head .view-switch { align-self: center; justify-self: end; }
.is-mobile .event-head .view-switch {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: stretch;
}
@media (max-width: 55rem) {
  .event-head .view-switch { grid-column: 1 / -1; justify-self: stretch; }
}
@media (max-width: 32rem) {
  .masthead.shell:has(.view-switch) { flex-wrap: wrap; padding-block: .6rem; gap: .5rem; }
  .masthead .view-switch { width: 100%; }
}
