/* Chinese GTA VI People & Places: display names, narrative paragraphs and small labels.
   Normal-reading sizes use the same viewport breakpoints and 2560px reference cap. */
@media screen {
  [data-article-type] {
    --article-face:"PingFang SC","PingFang TC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
    --type-width:min(1vw,25.6px);--type-divisor:1;
    --display-units:11;--body-units:4.5;--reader-enlargement:1;
    --article-display:calc(var(--type-width) * var(--display-units) / var(--type-divisor));
    --article-copy:calc(var(--type-width) * var(--body-units) / var(--type-divisor) * var(--reader-enlargement));
    --article-label:max(12px,calc(var(--type-width) * 3.5 / var(--type-divisor)));
  }
  @media (min-width:768px) {
    [data-article-type] {--type-divisor:3;--display-units:18;--body-units:6}
  }
  @media (min-width:1024px) { [data-article-type] {--type-divisor:3.5} }
  @media (min-width:1440px) { [data-article-type] {--type-divisor:4} }
  @media (min-aspect-ratio:9/4) { [data-article-type] {--type-divisor:4.5} }
  @media (max-width:767.98px) and (orientation:landscape) { [data-article-type] {--type-divisor:2} }
  html[data-font-size="small"] [data-article-type] {--reader-enlargement:.90}
  html[data-font-size="large"] [data-article-type],body.large-reading[data-article-type] {--reader-enlargement:1.2}
  html[data-font-size="xlarge"] [data-article-type] {--reader-enlargement:1.4}
  @layer rxz-rockstar {
    html[data-rxz-cut] body[data-article-type],
    html[data-rxz-cut] body[data-article-type] main :where(h1,h2,h3,h4,p,blockquote,a,button,summary,li,time,span,div,figcaption,small,strong,em,table,td,th,output) {font-family:var(--article-face)!important}
    html[data-rxz-cut] body[data-article-type] :is(.cut-poster h1,.cut-poster h1.cut-short,.cut-keyword,.essay-header h1) {
      font-family:var(--article-face)!important;font-size:var(--article-display)!important;line-height:1.1!important;
    }
    html[data-rxz-cut] body[data-article-type] :is(.cut-title-lead,.cut-subtitle,.essay-deck) {
      font-size:calc(var(--article-copy)*1.2)!important;line-height:1.45!important;
    }
    html[data-rxz-cut] body[data-article-type] :is(.cut-text,.article-reading,.rg-feature-story),
    html[data-rxz-cut] body[data-article-type] :is(.cut-text,.rg-feature-story,.essay-body) :where(p,li,td,th,blockquote) {
      font-size:var(--article-copy)!important;line-height:1.76!important;
    }
    html[data-rxz-cut] body[data-article-type] :is(.cut-text,.rg-feature-story,.essay-body) :is(h2,h3) {
      font-size:calc(var(--article-copy)*1.4)!important;line-height:1.4!important;
    }
    html[data-rxz-cut] body[data-article-type] :is(.cut-text,.rg-feature-story,.essay-body) :where(p,li,h2,h3) :where(span,strong,b,em,i,a) {
      font-family:var(--article-face)!important;font-size:inherit!important;
    }
    html[data-rxz-cut] body[data-article-type] :is(.cut-folio,.cut-folio .article-category-back,.cut-caption,.cut-hero-meta,.cut-start,.cut-postcard figcaption,.essay-meta) {
      font-size:var(--article-label)!important;font-family:var(--article-face)!important;
    }
    html[data-rxz-cut] body[data-article-type] .cut-poster h1 {max-width:min(16em,86%);text-wrap:balance;overflow-wrap:anywhere}
    html[data-rxz-cut] body[data-article-type] .cut-title-lead {max-width:100%}
    @media(max-width:700px){html[data-rxz-cut] body[data-article-type] .cut-poster h1 {max-width:100%}}
  }
}
