@font-face {
  font-family: "YI FangYuan";
  src: local("AlimamaFangYuanTiVF-Thin"),
       url("fonts/alimama-fangyuan/AlimamaFangYuanTiVF-Thin.woff2") format("woff2"),
       url("fonts/alimama-fangyuan/AlimamaFangYuanTiVF-1.000.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --gallery-font: "YI FangYuan", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-family: var(--gallery-font);
  font-variation-settings: "BEVL" 78;
}
html:lang(zh-hant) {
  --gallery-font: "YI FangYuan", "PingFang TC", "Microsoft JhengHei UI", sans-serif;
}
body, button, input, select, textarea { font-family: var(--gallery-font); }
.page-heading, .gallery-title h2 { font-weight: 440; font-variation-settings: "BEVL" 87; }
.sidebar .brand, .mobile-brand { font-weight: 560; }
.pc-facts, .pc-counts, .pc-submitted { font-variation-settings: "BEVL" 62; }
.pc-info .pc-fact, .pc-info .pc-fact dd, .pc-info .pc-fact a {
  font-size: .875rem;
  font-weight: 450;
  line-height: 1.5;
}
@container (min-width: 21rem) and (max-width: 41.99rem) {
  .pc-facts { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}
.ex-signature, .ex-identity h2, .ex-next-caption strong,
.folio-brand, .folio-headline h1, .folio-untitled .folio-headline h1,
.folio-reg, .folio-counter, .folio-item-info h2 { font-family: var(--gallery-font); }
