/* Readability additions to the original PMD interface. */
@import url('./fonts-zh.css');
@font-face { font-family: 'PSChineseTC'; src: url('../assets/fonts/NotoSansTC-PS.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
html:lang(zh-Hans), html:lang(zh-CN) { --font: 'Pixelify', 'PSChinese', 'Microsoft YaHei', sans-serif; }
html:lang(zh-Hant), html:lang(zh-TW) { --font: 'Pixelify', 'PSChineseTC', 'Microsoft JhengHei', sans-serif; }
html:lang(zh-Hans) body, html:lang(zh-CN) body { font-family: var(--font); }
html:lang(zh-Hant) body, html:lang(zh-TW) body { font-family: var(--font); }
html:lang(zh) :is(h1,h2,h3,.brand,.btn,.top nav a) { font-family: var(--font); }
.locale-picker { position: fixed; z-index: 80; right: max(12px,env(safe-area-inset-right)); top: max(12px,env(safe-area-inset-top)); }
.locale-picker select { appearance: auto; font: 14px var(--font); color: #fff; background: #1a3170; border: 2px solid #f4f8ff; border-radius: 7px; padding: 6px 10px; cursor: pointer; }
html { font-size: 16px; }
.menu-item small { white-space: normal; }
html:lang(zh) .menu-item { line-height: 1.35; }
@media (max-height: 520px) {
  .locale-picker { top: 7px; right: 7px; }
  .locale-picker select { padding: 3px 6px; }
}
