.interface-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  max-width: 100%;
  padding: 2px 3px;
  border: 1px solid rgba(129, 145, 158, 0.58);
  border-radius: 4px;
  background: rgba(13, 22, 31, 0.78);
  font: 800 9px/1 system-ui, sans-serif;
  color: inherit;
}
.interface-language-switch > span {
  color: var(--muted, #8ea6bc);
  letter-spacing: .04em;
  white-space: nowrap;
}
.interface-language-switch select {
  width: auto;
  min-width: 66px;
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 3px 20px 3px 7px;
  border: 1px solid rgba(129, 145, 158, 0.5);
  border-radius: 3px;
  background: #13212d;
  color: #f4f7fa;
  font: 700 10px/1 system-ui, sans-serif;
  cursor: pointer;
}
.interface-language-switch select:focus-visible { outline: 2px solid #61cde4; outline-offset: 3px; }
.interface-language-switch select option { background: #17232f; color: #f4f7fa; }
.app-header .interface-language-switch { margin: 8px 16px 8px 0; }
.app-header .app-header-controls .interface-language-switch { margin: 0; }
html[lang="en"] .hero h1 { font-size: clamp(34px, 4.4vw, 65px); }
html[lang="en"] .hero h1 em { overflow-wrap: normal; }
html[lang="en"] .game-actions { flex-wrap: wrap; }
html[lang="en"] .card-filter-control { min-width: 0; }
html[lang="en"] .deck-action-group-label { white-space: normal; }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .site-header .interface-language-switch { margin-left: auto; }
  .interface-language-switch select { min-height: 28px; }
}

@media (max-width: 620px) {
  .site-header { height: auto; min-height: 62px; padding-top: 12px; padding-bottom: 12px; }
  .site-header .interface-language-switch > span { display: none; }
}
