/* The switch between the explorer's two views: the yacht and the cruising grounds. Used on both pages. */
.yx-views {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 2px;
  margin: 0 0 14px;
  padding: 3px;
  border: 1px solid var(--yx-hair, rgba(201, 169, 106, 0.28));
  border-radius: 999px;
  background: rgba(9, 15, 28, 0.55);
}
.yx-views__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  color: var(--yx-text, #ece6d8);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.yx-views__opt svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--yx-line, #c9a96a);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yx-views__opt:hover { background: rgba(201, 169, 106, 0.14); color: #fff; }
.yx-views__opt[aria-current="page"] {
  background: var(--yx-line, #c9a96a);
  color: #0b1220;
  box-shadow: 0 0 18px rgba(201, 169, 106, 0.3);
}
.yx-views__opt[aria-current="page"] svg { stroke: #0b1220; }
.yx-views__opt:focus-visible { outline: 2px solid var(--yx-bright, #f6e7c1); outline-offset: 2px; }

@media (max-width: 760px) {
  .yx-views { margin: 0 0 8px; }
  .yx-views__opt { padding: 5px 11px 5px 9px; font-size: 12px; }
}
