.language-control {
  display: grid;
  grid-template-columns: 1fr minmax(130px, 190px);
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dcd9c5;
}
.language-control label {
  margin: 0;
  font-size: 14px;
}
.language-control select {
  width: 100%;
  margin: 0;
  padding: 9px;
  min-height: 42px;
  font: inherit;
  color: #304e3c;
  background: #fffdf4;
  border: 1px solid #b9c3a6;
  border-radius: 8px;
}
.language-control small {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.5;
  color: #62705b;
}
html:lang(zh-CN) body,
html:lang(zh-CN) h1,
html:lang(zh-CN) h2,
html:lang(zh-CN) h3,
html:lang(zh-CN) .brand strong {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}
html:lang(zh-TW) body,
html:lang(zh-TW) h1,
html:lang(zh-TW) h2,
html:lang(zh-TW) h3,
html:lang(zh-TW) .brand strong {
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
}
html:lang(en) .game-dock button span,
html:lang(fr) .game-dock button span {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.brand,
.brand > span:last-child {
  min-width: 0;
}
.brand strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-right {
  flex-shrink: 0;
}
.region-card b,
.companion-card h3,
.recipe h3 {
  overflow-wrap: anywhere;
}
.help-row {
  gap: 10px;
  flex-wrap: wrap;
}
.help-row kbd {
  white-space: normal;
}
html:lang(en) .resource-item small,
html:lang(fr) .resource-item small {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
html:lang(en) .seat-bottom > button,
html:lang(fr) .seat-bottom > button {
  font-size: 12px;
  padding-left: 6px;
  padding-right: 6px;
}
html:lang(en) .seat-nav button,
html:lang(fr) .seat-nav button {
  font-size: 12px;
  padding: 8px;
}
@media (max-width: 600px) {
  header .brand {
    max-width: calc(100% - 118px);
  }
  .language-control {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .language-control small {
    grid-column: 1;
  }
  html:lang(en) .game-dock button span,
  html:lang(fr) .game-dock button span {
    font-size: 12px;
  }
  html:lang(en) .single-actions > button span,
  html:lang(fr) .single-actions > button span {
    font-size: 12px;
  }
  html:lang(en) .field-strip,
  html:lang(fr) .field-strip {
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
    gap: 6px;
  }
  html:lang(en) .field-strip button,
  html:lang(fr) .field-strip button {
    font-size: 14px !important;
  }
  .resource-item small {
    font-size: 11px;
  }
}
