@font-face { font-family: "Nikco Noto SC"; src: url("../fonts/noto-sans-sc-ui.ttf"); font-display: swap; }

.nikco-locale-picker {
  max-width: 7em;
  padding: .35em .4em;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nikco-locale-picker option { color: #152d38; background: white; }

/* The locale picker is self-contained; avoid the legacy desktop divider. */
.nikco-header .nikco-header-actions:has(.nikco-locale-picker) {
  border-left: 0 !important;
  border-right: 0 !important;
  border-inline: 0 !important;
}

html:lang(zh) body, html:lang(zh) :is(input, button, select, textarea, h1, h2, h3),
.nikco-locale-picker :lang(zh) {
  font-family: "Nikco Noto SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Droid Sans Fallback", sans-serif;
}
.nikco-locale-home { max-width: 72rem; margin-inline: auto; padding: 10rem 5vw 5rem; line-height: 1.75; }

.nikco-link-language { font-size: .8em; white-space: nowrap; }
html:lang(zh) .air-page :is(.air-weight-copy,.air-route-head,.air-topic-guide,.air-panels,.air-faq) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
html:lang(zh) .air-page table { width:100%; table-layout:fixed; border-collapse:collapse; }
html:lang(zh) .air-page td { padding:12px; border-bottom:1px solid #b8cbd0; overflow-wrap:anywhere; }
html:lang(zh) .air-faq { padding:clamp(30px,6vw,90px); }
html:lang(zh) .air-faq details { padding:20px 0; border-bottom:1px solid #b8cbd0; }
html:lang(zh) .air-page .air-topic-guide p { line-height:1.9; }

/* Chinese uses the same left-to-right navigation order on every template. */
html:lang(zh) .nikco-header,
html:lang(zh) .nikco-header .nikco-main-nav,
html:lang(zh) .nikco-header .nikco-header-actions {
  direction: ltr !important;
}

/* Chinese route directory keeps the Persian layout with horizontal LTR copy. */
html[lang="zh-CN"] .nr-directory { direction:ltr; }
html[lang="zh-CN"] .routes-main, html[lang="zh-CN"] .routes-main :is(h1,h2,h3,h4,p,a,li,span,strong,small,button) { font-family:"Nikco Noto SC","Microsoft YaHei","PingFang SC",sans-serif; }
html[lang="zh-CN"] .nr-card a { flex-wrap:wrap; gap:4px 12px; }
html[lang="zh-CN"] .route-language { font-size:12px; font-weight:400; white-space:nowrap; }
html[lang="zh-CN"] .routes-main :is(h1,h2,h3,h4) { letter-spacing:0; overflow-wrap:anywhere; }
html[lang="zh-CN"] .routes-main h1 { max-width:18em; line-height:1.35; }
@media(max-width:700px) {
 html[lang="zh-CN"] .routes-section-head { grid-template-columns:minmax(0,1fr); }
 html[lang="zh-CN"] .routes-main h2 { min-width:0; max-width:100%; font-size:30px; }
}
