.web-header .web-rank-link{display:flex!important;align-items:center;justify-content:center;width:76px;height:52px;margin-left:2px;padding:0!important;background:transparent!important;flex:none}.web-rank-link img{width:76px;height:52px;object-fit:contain}.web-rank-link.active:after{display:none!important}
.wx-component-page-placeholder{width:100%}.wx-component-page-placeholder .page-placeholder--inline{background:transparent}
body[data-rank=true] .rank-glass-sheet input{border:0;outline:0;background:transparent;font:inherit;width:100%;min-width:0;box-sizing:border-box}
body[data-rank=true] .content-filter-search:focus-within{outline:2px solid #ef6951;outline-offset:2px}
body[data-rank=true] .mini-root{overflow-x:clip}body[data-rank=true] .web-footer{margin-top:30px}
.web-rank-channels{display:flex;gap:8px;align-items:center;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;white-space:nowrap;padding:8px 0 12px}.web-rank-channels button{position:relative;flex:none;border:0;background:transparent;padding:12px 18px;color:#98979b;font-size:18px;line-height:1.2;font-weight:500;scroll-snap-align:center;cursor:pointer}.web-rank-channels button.selected{color:#302f33}.web-rank-channels button.selected:after{content:'';position:absolute;bottom:0;left:calc(50% - 9px);width:18px;height:3px;border-radius:2px;background:currentColor}
body[data-rank=true] .rankings-header-copy{position:relative}.wx-component-digital-channel button{font-family:inherit}.wx-component-digital-channel{width:100%}.wx-component-digital-channel .reference-rank-row{width:100%}.wx-component-digital-channel .rank-glass-sheet{padding-bottom:env(safe-area-inset-bottom)}
@media(min-width:768px){
body[data-rank=true]{background:#fafafa;color:#303034}body[data-rank=true] main{max-width:1160px;width:calc(100% - 80px);margin:0 auto;padding:0}body[data-rank=true] #page-heading{display:none}body[data-rank=true] .app-shell{width:100%;min-height:65vh;margin:28px auto 50px;--rank-surface:#fafafa;--coral:#ef6951;--coral-strong:#e25c45}
body[data-rank=true] .app-header{position:relative!important;inset:auto!important;width:100%!important;padding:0!important;background:transparent!important;z-index:20}body[data-rank=true] .rankings-header-copy{height:auto!important}body[data-rank=true] .rankings-back{display:none}body[data-rank=true] .page-scroll{position:relative!important;top:auto!important;bottom:auto!important;height:auto!important;overflow:visible!important}body[data-rank=true] .rankings-page{padding:0;background:transparent}body[data-rank=true] .web-rank-channels{border-bottom:1px solid #e8e8eb;margin-bottom:16px;gap:24px}body[data-rank=true] .web-rank-channels button{padding:18px 6px;font-size:22px}body[data-rank=true] .reference-ranking-list{margin:0}body[data-rank=true] .ranking-navigation{position:relative;background:transparent;padding:4px 0}body[data-rank=true] .ranking-toolbar{padding:16px 2px;margin-bottom:8px;border-bottom:1px solid #ececef}body[data-rank=true] .ranking-channel{font-size:14px}body[data-rank=true] .reference-rank-row{width:100%;min-height:148px;padding:18px 22px;gap:24px;border-bottom:1px solid #eeeeef;border-radius:0;background:#fff}body[data-rank=true] .reference-rank-poster{width:86px;height:116px;flex-basis:86px;border-radius:10px}body[data-rank=true] .reference-rank-title{font-size:19px;font-weight:500}body[data-rank=true] .reference-rank-meta{font-size:14px;margin-top:12px}body[data-rank=true] .reference-source-row{margin-top:auto}body[data-rank=true] .reference-source-name{max-width:400px;font-size:13px}body[data-rank=true] .reference-rank-heat .ranking-metric-value{font-size:22px}body[data-rank=true] .reference-rank-heat .ranking-metric-label{font-size:12px}body[data-rank=true] .reference-rank-side{width:180px}body[data-rank=true] .ranking-end{font-size:12px;padding:24px}body[data-rank=true] .rank-glass-sheet{max-width:680px;margin:0 auto;border-radius:24px 24px 0 0}body[data-rank=true] .share-ranking-button{position:relative;inset:auto;margin:24px 0 16px auto;width:88px}body[data-rank=true] .wx-component-page-placeholder .page-placeholder:not(.page-placeholder--inline){position:relative;min-height:520px;inset:auto}body[data-rank=true] .wx-component-page-placeholder .placeholder-shell{max-width:800px;padding:20px 0}body[data-rank=true] .wx-component-page-placeholder .placeholder-header{display:none}
body[data-rank=true] .detail-shell,body[data-rank=true] .detail-page{max-width:100%;margin:auto}body[data-rank=true] .detail-header{position:relative;padding-top:12px!important}body[data-rank=true] .detail-scroll{position:relative!important;top:auto!important}.web-header .desktop-nav{flex-wrap:nowrap}
}
@media(max-width:767px){
body[data-rank=true] .web-header{display:none!important}body[data-rank=true] .web-footer,body[data-rank=true] .mobile-nav{display:none!important}body[data-rank=true] .app-header{z-index:60}body[data-rank=true] .rankings-header-copy{height:52px!important}body[data-rank=true] .web-rank-channels{position:absolute;left:56px;right:10px;top:0;height:52px;box-sizing:border-box;padding:0 0 6px;gap:0}.web-rank-channels button{font-size:18px;padding:12px 14px}body[data-rank=true] .reference-rank-row{width:100%;box-sizing:border-box}body[data-rank=true] .rankings-page{padding-left:12px;padding-right:12px}body[data-rank=true] .reference-ranking-list{margin-left:-12px;margin-right:-12px}.wx-component-digital-channel .rank-glass-layer{z-index:200}
}
@media(min-width:768px) and (max-width:1100px){.web-header .desktop-nav{gap:14px!important}.web-header{gap:16px!important}.header-clock{display:none}.web-header .web-rank-link{width:64px}.web-rank-link img{width:64px}body[data-rank=true] main{width:calc(100% - 48px)}}
@media(min-width:768px){html body[data-rank=true] #main{--web-content-width:900px;margin-top:28px!important}body[data-rank=true] .app-shell{position:relative!important;inset:auto!important;height:auto!important;overflow:visible!important}body[data-rank=true] .page-scroll{max-height:none!important}body[data-rank=true] .reference-rank-row{box-sizing:border-box}.web-header .web-rank-link{align-self:center}}
@media(max-width:767px){body[data-rank=true] #main{width:100%;margin:0;min-height:100dvh}body[data-rank=true] #mini-root{width:100%;max-width:none;margin:0;padding:0}}

/* Match the site's centered reading grid across boards and their child pages. */
@media(min-width:768px){
  body[data-rank=true] #mini-root { width:100%; margin:0 auto; --ink:#303034; --muted:#8b8990; --canvas:#f6f6f7; --line:#ededf0; }
  body[data-rank=true] .app-shell { margin-top:0; background:transparent; }
  body[data-rank=true] .rankings-header-copy { justify-content:flex-start; }
  body[data-rank=true] .web-rank-channels { width:100%; justify-content:flex-start; gap:clamp(12px,3vw,36px); margin:0 0 16px; padding:0 0 12px; }
  body[data-rank=true] .web-rank-channels button { padding:18px 8px; font-size:22px; }
  body[data-rank=true] .ranking-navigation { gap:16px; padding:0 0 8px; }
  body[data-rank=true] .ranking-channel-scroll { width:auto; flex:1; min-width:0; overflow-x:auto; scrollbar-width:thin; }
  body[data-rank=true] .ranking-channel-row { gap:6px; padding:0; }
  body[data-rank=true] .ranking-channel { padding:8px 12px; font-size:14px; border-radius:8px; }
  body[data-rank=true] .ranking-more { flex:0 0 52px; width:auto; font-size:14px; padding:8px 0; }
  body[data-rank=true] .ranking-toolbar { padding:12px 2px 20px; font-size:14px; }
  body[data-rank=true] :is(.data-analysis-button,.ranking-picker-trigger,.ranking-asof) { font-size:14px; }
  body[data-rank=true] .ranking-asof { color:var(--muted); }
  body[data-rank=true] .reference-rank-row { padding:20px; min-height:156px; gap:22px; }
  body[data-rank=true] .reference-rank-copy { flex:1 1 0%; min-width:0; }
  body[data-rank=true] .reference-rank-side { flex:0 0 128px; width:128px; }
  body[data-rank=true] .reference-source-name { max-width:100%; }
  body[data-rank=true] .ranking-observation { font-size:12px; }
  body[data-rank=true] .rank-rights-chip { font-size:11px; }
  body[data-rank=true] .reference-ranking-list { border:1px solid var(--line); border-radius:16px; overflow:hidden; }
  body[data-rank=true] .reference-rank-row:last-child { border-bottom:0; }
  body[data-rank=true] .rank-expand-button { display:block; margin:20px auto; padding:10px 28px; font-size:14px; border-radius:10px; }
  body[data-rank=true] .digital-channel { padding-bottom:0; }
  body[data-rank=true] .share-ranking-button { display:flex; align-items:center; justify-content:center; gap:6px; width:auto; margin:18px 20px 24px auto; font-size:13px; }
  body[data-rank=true] .share-ranking-art { width:44px; height:44px; }

  body[data-rank=true] .rank-glass-layer { align-items:center; justify-content:center; padding:32px; z-index:300; }
  body[data-rank=true] .rank-glass-sheet { width:min(680px,100%); max-height:calc(100dvh - 64px); margin:0; border-radius:24px; overflow:hidden; background:#fff; }
  body[data-rank=true] :is(.rank-sheet-heading,.sheet-top) { padding:22px 26px; font-size:19px; }
  body[data-rank=true] :is(.rank-filter-body,.person-body,.scope-body) { height:auto; max-height:56dvh; overflow-y:auto; padding:0 26px 22px; }
  body[data-rank=true] .rank-glass-sheet--expanded .rank-filter-body { height:auto; }
  body[data-rank=true] :is(.rank-filter-label,.rank-filter-grid button,.rank-period-grid button,.rank-date-grid button,.ranking-genre,.detail-note,.detail-description,.account-platform,.account-id) { font-size:14px; }
  body[data-rank=true] :is(.rank-filter-hint,.source-entry-meta,.source-entry-reason,.source-state) { font-size:12px; }
  body[data-rank=true] .rank-filter-footer { padding:18px 26px; }
  body[data-rank=true] .rank-filter-footer button { font-size:15px; height:46px; border-radius:12px; }
  body[data-rank=true] .person-name { font-size:24px; }
  body[data-rank=true] :is(.type-chip,.organization,.section-title) { font-size:15px; }
  body[data-rank=true] .sheet-actions { padding:18px 26px; }
  body[data-rank=true] .sheet-actions button { font-size:14px; padding:12px; border-radius:12px; text-align:center; }
  body[data-rank=true] .person-sheet .account-link { width:100%; max-width:none; border:0; border-radius:0; background:transparent; padding:12px 0; }

  body[data-rank=true] :is(.detail-shell,.copyright-shell) { position:relative; inset:auto; width:100%; height:auto; overflow:visible; }
  body[data-rank=true] :is(.detail-header,.copyright-header,.rank-header) { position:relative; inset:auto; height:auto; min-height:64px; padding:0!important; background:transparent; justify-content:center; }
  body[data-rank=true] :is(.detail-back,.dh-back,.copyright-back,.rank-header>button,[data-web-rank-spacer]) { display:none; }
  body[data-rank=true] :is(.detail-nav,.detail-nav-title,.dh-title,.copyright-header,.rank-header) { font-size:24px; font-weight:600; }
  body[data-rank=true] .detail-nav { width:100%; height:64px; }
  body[data-rank=true] :is(.detail-scroll,.copyright-scroll) { position:relative!important; inset:auto!important; height:auto!important; overflow:visible; }
  body[data-rank=true] :is(.page,.rank-page,.article-page,.detail-page,.copyright-content) { width:100%; max-width:900px; margin:0 auto; padding:24px 0 40px; box-sizing:border-box; font-size:15px; }
  body[data-rank=true] :is(.page>.card,.rank-panel,.detail-card) { padding:24px; margin-bottom:20px; border:1px solid var(--line); border-radius:16px; box-shadow:none; }
  body[data-rank=true] .page .title { font-size:26px; }
  body[data-rank=true] .page .cover { width:108px; height:148px; }
  body[data-rank=true] .page .hero { gap:24px; }
  body[data-rank=true] :is(.page .heading,.block-heading,.rank-subtitle) { font-size:19px; }
  body[data-rank=true] :is(.page .muted,.page .metric span,.content-fact,.page .synopsis,.article-page .body) { font-size:15px; }
  body[data-rank=true] .page .metric .value { font-size:22px; }
  body[data-rank=true] .page .metrics { grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
  body[data-rank=true] :is(.page .footnote,.page .tags span,.page .action) { font-size:13px; }
  body[data-rank=true] .page .source-button { padding:14px 24px; font-size:15px; }
  body[data-rank=true] .article-page .title { font-size:28px; }
  body[data-rank=true] .rank-asset-entry { margin-bottom:20px; padding:18px 22px; font-size:14px; border-radius:12px; }
}

/* Desktop work details start with the work itself; mobile keeps its native header. */
@media(min-width:768px){
  body[data-rank=true]:is([data-rank-page="collected-work"],[data-rank-page="detail"]) :is(.detail-header,.rank-asset-entry),
  body[data-rank=true]:is([data-rank-page="collected-work"],[data-rank-page="detail"]) #mini-root > .wx-component-page-placeholder,
  body[data-rank=true][data-rank-page="collected-work"] .page > .wx-component-page-placeholder:not(.web-page-loading),
  body[data-rank=true][data-rank-page="detail"] .detail-shell > .wx-component-page-placeholder:not(.web-page-loading) {
    display:none;
  }
}

/* Keep the desktop board loading state compact and independent of the list card. */
@media(min-width:768px){
  body[data-rank=true] :is(.web-rank-channels,.ranking-toolbar){border-bottom:0}
  body[data-rank=true] .web-rank-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted,#8b8990);font-size:14px;line-height:1.5}
  body[data-rank=true] .web-rank-loading--list{min-height:144px;padding:40px 24px;box-sizing:border-box}
  body[data-rank=true] .web-rank-loading--line{display:inline-flex;width:auto;flex:none;padding:0;font-size:12px;white-space:nowrap;gap:6px}
  body[data-rank=true] .web-rank-loading-indicator{width:14px;height:14px;flex:none;border:2px solid #e6e4e9;border-top-color:#918d97;border-radius:50%;animation:web-rank-loading .8s linear infinite}
  body[data-rank=true] .reference-ranking-list:has(>.web-rank-loading--list){border:0;background:transparent;min-height:0;padding-bottom:0}
  body[data-rank=true] .reference-ranking-list:has(>.web-rank-loading--list)>.share-ranking-button{display:none}
}
@keyframes web-rank-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body[data-rank=true] .web-rank-loading-indicator{animation:none}}
