/* Use the production stylesheet. These rules accommodate parallel languages and clarify a Chinese destination. */
[data-content-language]::after {
  content: attr(data-content-language);
  font: 500 .7rem/1.4 var(--sans);
  color: var(--muted);
  display: inline-block;
  vertical-align: baseline;
  margin-inline-start: .35em;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
}
:is(.fcard,.arow,.pcard,.cityc)[data-content-language] { position: relative; }
:is(.fcard,.arow,.pcard,.cityc)[data-content-language]::after {
  position: absolute;
  inset-block-start: .4rem;
  inset-inline-end: .4rem;
  padding: .1rem .3rem;
  border-radius: 4px;
  background: var(--paper);
}
.quick a[data-content-language]::after { color: inherit; margin-inline-start: 0; }
.tabbar [data-content-language]::after {
  font-size: .6rem;
  line-height: 1;
  margin-inline-start: 0;
}
.menu-panel [data-content-language]::after { white-space: nowrap; }
.head-row .logo, .head-row .search, .head-row .search input, .hero-copy,
.quick .two a, .feed > div { min-width: 0; }
.shead, .menu-panel, .quick, .foot-grid { overflow-wrap: anywhere; }
@media(max-width:760px) {
  .cats a { min-width: 0; }
  .tabbar a span,.tabbar button span { text-align: center; }
}

.hero #kh:is(:lang(ja), :lang(ko)) .underline { max-inline-size: 100%; }
.hero #kh .hero-phrase { display: inline-block; max-inline-size: 100%; }
.hero #kh:lang(ja) .hero-phrase { white-space: nowrap; }
.hero #kh:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
@media (min-width: 761px) {
  .hero #kh:lang(ja) { font-size: min(58px, calc((100vw - 132px) / 14)); }
}
