/* mint／issued／press 三頁共用的語言切換鈕（中｜EN｜日）。主頁那顆在 index.html 內自帶樣式。 */
.lang-switch.is-inline {
  display: inline-flex;
  height: 28px;
  overflow: hidden;
  border: 1px solid var(--line, #ece8df);
  border-radius: 999px;
  background: var(--ground, #fff);
  box-shadow: 0 1px 2px rgba(27, 26, 23, 0.05);
  flex: none;
}

.lang-switch.is-inline button {
  min-width: 34px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--muted, #7a756b);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease;
}

.lang-switch.is-inline button + button {
  border-left: 1px solid var(--line, #ece8df);
}

.lang-switch.is-inline button:hover,
.lang-switch.is-inline button[aria-pressed="true"] {
  color: var(--accent, #8e2e25);
}

.lang-switch.is-inline button[aria-pressed="true"] {
  font-weight: 700;
}

.lang-switch.is-inline button:focus-visible {
  outline: 1px solid var(--accent, #8e2e25);
  outline-offset: -3px;
}
