/* Typography inspired by the supplied 0917 edition; original page geometry retained. */
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(ro),:lang(pl),:lang(nl),:lang(sv),:lang(nb),:lang(da),:lang(tr),:lang(pt)){--type-latin:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;--type-display:var(--type-latin);--type-reading:var(--type-latin);--type-text:"SF Pro Text","Helvetica Neue",Arial,sans-serif}
html:lang(zh){--type-display:"Songti SC","Xuemo Editorial SC",Georgia,serif;--type-reading:var(--type-display);--type-text:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;--type-heading-leading:1.4;--type-tracking:.018em}
html:lang(zh-Hant){--type-display:"Songti TC","Xuemo Editorial SC",serif;--type-text:"PingFang TC","Microsoft JhengHei",sans-serif}
html:lang(ru),html:lang(vi){--type-latin:Georgia,"Times New Roman",serif}
body{font-kerning:normal;font-variant-ligatures:common-ligatures contextual;text-rendering:optimizeLegibility}
:is(h1,h2,h3,h4){font-weight:600;text-wrap:balance}
:is(h1,h2,h3,h4) :is(em,i,strong,b){font-style:inherit!important;font-weight:inherit!important}
:is(.page-intro,.source-archive-heading,.source-document-heading,.news-head) h1{letter-spacing:var(--type-tracking)!important}
:is(.page-intro,.source-document-heading,.news-head)>p{max-inline-size:56ch}
:is(.vx-index,.editorial-kicker,.section-kicker,.eyebrow){font-weight:600;font-variant-numeric:tabular-nums}
:is(.source-event-copy,.news-card,.book-card) p{line-height:1.8!important}
:is(a,button,summary,input,select):focus-visible{outline:2px solid #b76b43;outline-offset:5px}
.purchase-entry{box-sizing:border-box;max-width:1160px;margin:48px auto;padding:32px clamp(20px,4vw,48px);border-block:1px solid #a78b6b55;color:inherit}
.purchase-entry h2{font-size:clamp(25px,2.8vw,36px);margin:0 0 20px}
.purchase-entry nav{display:flex;flex-wrap:wrap;gap:18px 32px}
.purchase-entry a[data-verified],.edition-row a[data-verified]{display:inline-flex!important}
.purchase-entry a,.edition-access a{color:inherit;font-weight:600;text-underline-offset:5px;text-decoration-thickness:1px;line-height:1.65}
.purchase-entry small{display:block;opacity:.72;line-height:1.6;margin-top:5px}
.edition-access{display:flex;flex-wrap:wrap;gap:8px 20px;flex-basis:100%;margin-top:8px}
.edition-row{flex-wrap:wrap;row-gap:6px}
html:is(:lang(ar),:lang(fa),:lang(he),:lang(hi),:lang(ja),:lang(ko)) :is(h1,h2,h3,h4,p,small,button,a){letter-spacing:normal!important;text-transform:none!important}
@media(max-width:600px){.purchase-entry{margin:32px 16px;padding:24px 8px}.purchase-entry nav{flex-direction:column;gap:20px}.edition-row bdi{overflow-wrap:anywhere}}
.track-filter{flex-wrap:wrap;row-gap:12px}.track-filter>span{margin-inline-start:0;white-space:normal}
html:not(:lang(zh)) .hero-title h1.editorial-zh-heading{white-space:normal!important;inline-size:auto!important;max-inline-size:100%;overflow-wrap:break-word!important;line-height:1.1!important;letter-spacing:-.02em!important}
@media(max-width:760px){html:not(:lang(zh)) .hero-title h1.editorial-zh-heading{font-size:clamp(32px,8vw,46px)!important}}

#xinjiang-topic .track-row .xinjiang-song-play{font:inherit;font-weight:700;padding:0;border:0;background:transparent;color:var(--accent,#a43a2b);cursor:pointer;text-align:start;text-decoration:underline;text-underline-offset:5px}#xinjiang-topic .track-row{grid-template-columns:32px minmax(0,1fr) auto}#xinjiang-topic .chapter-songs>span{display:block;margin-block:8px}

/* 2026-11-03: final editorial rhythm, shared by the main site and every book. */
:root{--review-section-gap:clamp(28px,3vw,44px);--review-copy-measure:36em}
:is(h1,h2,h3,h4){font-kerning:normal;font-optical-sizing:auto}
/* Linked titles use one complete face; colour and weight belong to the whole title. */
:is(h1,h2,h3,h4):has(>.title-link,>a){font-weight:700}
:is(h1,h2,h3,h4) :is(a,button.title-link){font-family:inherit!important;line-height:inherit!important;font-style:normal!important}
:is(h1,h2,h3,h4) :is(a,button.title-link) *{font-family:inherit!important;font-style:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important}
:is(.page-intro,.source-archive-heading,.source-document-heading,.news-head,.xm-library-head) h1{
  font-size:clamp(38px,4.15vw,60px)!important;line-height:1.18!important;
  margin-block:18px 20px;letter-spacing:-.025em!important;
}
:is(.page-intro,.source-archive-heading,.source-document-heading,.news-head,.xm-library-head) h1:lang(zh){line-height:1.35!important;letter-spacing:.025em!important}
:is(.page-intro,.source-document-heading,.source-archive-heading,.news-head)>p:not(.eyebrow):not(.kicker):not(.news-date){text-wrap:pretty;max-inline-size:48ch}
#x-main .page-intro>p{font-size:clamp(17px,1.3vw,20px)!important;line-height:1.8!important;padding-block-end:4px}
:is(.section-head,.section-heading,.vx-section-heading,.character-heading,.reading-heading,.music-heading){gap:var(--review-section-gap);align-items:end}
:is(.section-head,.section-heading,.vx-section-heading,.character-heading,.reading-heading,.music-heading) h2{
  font-size:clamp(30px,3vw,44px)!important;line-height:1.25!important;margin-block:12px 0;max-inline-size:24ch;
}
:is(.section-head,.section-heading,.vx-section-heading,.character-heading,.reading-heading,.music-heading) h2:lang(zh){line-height:1.4!important;max-inline-size:15em}
:is(.section-head,.section-heading,.character-heading,.reading-heading,.music-heading)>p{margin-block-end:3px;max-inline-size:44ch!important;text-wrap:pretty}
/* Reading blocks align with their images and retain generous, finite line lengths. */
#x-main .author-spread{column-gap:clamp(32px,5vw,72px);padding-block:40px 44px;align-items:start}
#x-main .author-spread h2{font-size:clamp(29px,2.55vw,38px)!important;margin-block:14px 24px;line-height:1.35!important}
#x-main :is(.author-spread,.author-biography-column) p:not(.eyebrow){font-size:clamp(16px,1.2vw,18px)!important;line-height:1.9!important;max-inline-size:var(--review-copy-measure)}
#x-main .author-biography-illustrated{column-gap:clamp(32px,5vw,72px)}
#x-main .author-film h2{font-size:clamp(29px,3vw,43px)!important;line-height:1.35!important;margin-block:14px 24px;max-inline-size:22ch}
#x-main .author-film h2:lang(zh){max-inline-size:14em;line-height:1.45!important}
#x-main .author-lamp-intro{max-inline-size:36em;line-height:1.9!important}
#x-main .xm-story-heading{align-items:end}
#x-main .xm-story-heading>p{max-inline-size:30em;margin-block-end:6px}
#x-main .xm-story-note h3{line-height:1.4!important;margin-block:12px 16px}
#x-main .xm-meet-card h3{font-size:clamp(24px,2.1vw,30px)!important;line-height:1.4!important;margin-block:18px 6px}
#x-main .xm-photo figcaption{padding-block-start:12px;gap:12px 24px;line-height:1.65!important;text-wrap:pretty}
/* News keeps the established photograph + headline + deck composition. */
.source-event-row{align-items:center;padding-block:28px;column-gap:clamp(22px,2.5vw,36px)}
#x-main .source-event-copy :is(h2,h3){font-size:clamp(23px,1.9vw,29px)!important;line-height:1.32!important;margin-block:10px 14px;max-inline-size:40ch;text-wrap:pretty}
#x-main .source-event-copy :is(h2,h3):lang(zh){line-height:1.5!important;max-inline-size:26em}
#x-main .source-event-copy p{max-inline-size:62ch;line-height:1.8!important}
.source-event-date{font-variant-numeric:tabular-nums;line-height:1.6}
/* Book release names anchor the image rather than compete with its embedded lettering. */
.release-grid{gap:48px 40px}
.release-grid .release-card:not(.release-featured) h2{font-size:clamp(28px,2.5vw,36px)!important;line-height:1.3!important;margin-block:12px 16px}
.release-grid .release-card:not(.release-featured) h2:lang(zh){line-height:1.45!important}
.release-grid .release-card p{max-inline-size:36em;line-height:1.85!important}
.release-grid .release-card>.title-card-body>div{padding-block:22px 28px}
.release-card.release-featured>div{padding:clamp(28px,4.3vw,62px)}
/* Work pages keep their individual poster typography and palette. */
#xinjiang-topic :is(.character-heading,.music-heading,.reading-heading){margin-block-end:32px}
#xinjiang-topic .complete-drama-copy h2{font-size:clamp(34px,3.7vw,54px)!important;line-height:1.25!important;margin-block:12px 22px}
#xinjiang-topic .complete-drama-copy h2:lang(zh){line-height:1.4!important}
#xinjiang-topic .character-caption h3,#beauty-topic .person-caption h3{font-size:clamp(24px,2vw,29px)!important;line-height:1.4!important}
#beauty-topic .hero-caption p{font-family:var(--type-reading)!important;font-size:clamp(17px,1.4vw,21px)!important;line-height:1.7!important}
#beauty-topic :is(.intro-copy,.film-copy) p,.wfr :is(.story-copy,.relationship-copy) p{max-inline-size:36em;text-wrap:pretty}
#diamond-topic .journey-copy h3{font-size:clamp(25px,2.1vw,32px)!important;line-height:1.4!important;margin-block:12px 20px}
#diamond-topic .journey-copy p{max-inline-size:30em;line-height:1.85!important}
:is(.purchase-entry,.catalog-head,.reading-group-heading) h2{max-inline-size:100%}
#x-footer .footer-invitation h2{font-size:clamp(25px,2.2vw,33px)!important;max-inline-size:30ch;line-height:1.45!important;text-wrap:balance}
#x-footer .footer-invitation h2:lang(zh){max-inline-size:22em;line-height:1.55!important}
/* Arabic and other non-Latin scripts keep their natural joining and line rhythm. */
html:is(:lang(ar),:lang(fa),:lang(he),:lang(hi),:lang(ja),:lang(ko)) :is(h1,h2,h3,h4){line-height:var(--type-heading-leading)!important;letter-spacing:normal!important}
@media(max-width:760px){
  :is(.page-intro,.source-archive-heading,.source-document-heading,.news-head,.xm-library-head) h1{font-size:clamp(32px,8.4vw,42px)!important;margin-block:12px 16px}
  #x-main .page-intro>p{font-size:17px!important;max-inline-size:100%;margin-block:0}
  :is(.section-head,.section-heading,.vx-section-heading,.character-heading,.reading-heading,.music-heading){gap:16px;align-items:start}
  :is(.section-head,.section-heading,.vx-section-heading,.character-heading,.reading-heading,.music-heading) h2{font-size:clamp(27px,7.2vw,34px)!important;max-inline-size:100%;margin-block:10px 0}
  #x-main .author-spread{padding-block:28px 32px;gap:28px}
  #x-main .author-spread h2{font-size:29px!important;margin-block:12px 20px}
  #x-main :is(.author-spread,.author-biography-column) p:not(.eyebrow){font-size:16px!important;line-height:1.9!important}
  #x-main .author-film h2{font-size:29px!important;max-inline-size:100%}
  .source-event-row{align-items:start;padding-block:24px;row-gap:16px}
  #x-main .source-event-copy :is(h2,h3){font-size:24px!important;margin-block:8px 12px}
  .release-grid{gap:36px}
  .release-grid .release-card:not(.release-featured) h2{font-size:29px!important}
  .release-grid .release-card>.title-card-body>div{padding-block:18px 24px}
  #xinjiang-topic .complete-drama-copy h2{font-size:34px!important}
  #x-footer .footer-invitation h2{font-size:25px!important;max-inline-size:20ch}
  #x-footer .footer-invitation h2:lang(zh){max-inline-size:12em}
}
/* Long translated labels must never inherit the narrow Chinese vertical lockup. */
#diamond-topic .music-filters{flex-wrap:wrap;gap:4px 24px}
#diamond-topic .music-filters>button{white-space:normal;max-inline-size:100%;text-align:start;line-height:1.6}
#diamond-topic .characters .section-heading h2{white-space:normal}
#diamond-topic .header .brand{min-width:0;white-space:normal}
#diamond-topic .header .brand>span:last-child{overflow-wrap:break-word}
html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window h1{display:block;height:auto;min-height:210px;margin-block:36px 24px;max-inline-size:100%}
html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window :is(.title-main,.title-prelude){display:block;writing-mode:horizontal-tb;white-space:normal;letter-spacing:-.025em!important;line-height:1.15;overflow-wrap:break-word}
html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .title-prelude{font-size:clamp(24px,2.4vw,36px);margin-bottom:12px;padding-top:0}
html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .title-main{font-size:clamp(38px,4.5vw,64px);max-inline-size:14ch}
#eternal-love-topic .story h2 br{display:revert}
@media(max-width:760px){
  #diamond-topic .header .brand{flex:1 1 0;gap:8px}
  #diamond-topic .header .brand>span:last-child{font-size:14px;letter-spacing:.02em;line-height:1.45}
  #diamond-topic .header .menu-toggle{width:auto;min-width:44px;max-width:40%;height:auto;min-height:44px;padding:8px;font-size:11px;line-height:1.5;letter-spacing:0;overflow-wrap:break-word}
  #diamond-topic .header .menu-toggle span{min-width:24px}
  html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window{height:auto;min-height:910px;padding-bottom:110px}
  html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .hero-copy{padding-inline:23px;width:100%;max-width:none}
  html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window h1{min-height:0;margin-block:24px}
  html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .title-main{font-size:clamp(38px,10vw,54px);max-inline-size:100%}
  html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .title-prelude{font-size:26px}
  #diamond-topic .hero-window .hero-watch{white-space:normal;margin:16px 0 0;max-width:100%;line-height:1.6}
  #eternal-love-topic .story h2{font-size:clamp(28px,7.5vw,36px)!important;line-height:1.28!important;margin-bottom:24px}
  #eternal-love-topic .story h2:lang(zh){line-height:1.45!important}
}
html:not(:lang(zh)) #diamond-topic .hero-window .hero-english{display:none}
html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .hero-seal{writing-mode:horizontal-tb;margin-inline-start:0;font-family:var(--type-text);font-size:11px;letter-spacing:.12em;padding:5px 9px}
@media(max-width:760px){html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window .hero-copy{padding-block-start:430px}html:not(:lang(zh),:lang(ja),:lang(ko)) #diamond-topic .hero-window h1{text-shadow:0 2px 16px #081511aa}}
