/* Reference corrections for the desktop home and editorial pages. */
body[data-surface=PC] .pc-main.home-page {overflow-x:clip}
body[data-surface=PC] .home-module > .section-heading > a {
  display:inline-flex;align-items:center;gap:4px;padding:5px 10px;
  border-radius:8px;background:#ffffff0e;color:#d6d9dc;font-size:13px;line-height:20px;
}
body[data-surface=PC] .home-module > .section-heading > a:hover {background:#ffffff18;color:#fff}
body[data-surface=PC] .home-module > .section-heading > a:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
body[data-surface=PC] [data-template=topic_slider] .card-shelf {gap:10px}
body[data-surface=PC] [data-template=topic_slider] .topic-card {flex:0 0 min(360px,calc((100% - 30px)/4));min-width:220px}
body[data-surface=PC] [data-template=topic_slider] .topic-card > a {aspect-ratio:2.132/1;border-radius:12px}
body[data-surface=PC] [data-template=topic_slider] .topic-card-copy {padding:16px;background:linear-gradient(90deg,#050a10c9,transparent 85%)}
body[data-surface=PC] [data-template=topic_slider] .topic-card-copy h2 {font-size:16px;margin:4px 0}
body[data-surface=PC] [data-template=topic_slider] .topic-card-copy > span,
body[data-surface=PC] [data-template=topic_slider] .topic-card-copy p {font-size:11px;line-height:1.5}
.home-card-description {margin:4px 0 0;color:#9ca3ad;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
body[data-surface=PC] .home-page[data-discovery-page=shorts].home-without-hero {padding-top:24px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] > .home-content {padding-top:0}
body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-hot-chart {background:linear-gradient(115deg,#152125fa,#0a0e14fa 46%,#090c12fc);padding:40px;border-radius:24px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-chart-card.rank-1 {height:420px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-chart-stage {grid-template-columns:minmax(390px,.88fr) minmax(600px,1.45fr);gap:28px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] [data-template=portrait_slider] .card-shelf > .video-card {flex:0 0 168px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] [data-template=portrait_slider] .card-shelf {gap:10px;padding:16px 32px 20px;margin:0;scroll-padding-inline:32px;mask-image:none;-webkit-mask-image:none;pointer-events:auto}
body[data-surface=PC] .home-page[data-discovery-page=shorts] .home-module:not(.short-hot-chart) > .section-heading h2 {position:relative;padding-left:13px}
body[data-surface=PC] .home-page[data-discovery-page=shorts] .home-module:not(.short-hot-chart) > .section-heading h2:before {content:"";position:absolute;top:3px;bottom:3px;left:0;width:4px;border-radius:2px;background:#5ee7a5}
body[data-surface=PC] [data-discovery-page=popular] > .hero {height:clamp(600px,42vw,820px)}
body[data-surface=PC] [data-discovery-page=popular] .hero-thumbnails {left:48px;right:48px;justify-content:flex-start}
body[data-surface=PC] [data-discovery-page=popular] .hero-copy {bottom:200px}
@media(max-width:1500px) {
  body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-chart-stage {grid-template-columns:1fr}
  body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-chart-card.rank-1 {height:400px}
}
@media(max-width:1100px) {
  body[data-surface=PC] .home-page[data-discovery-page=shorts] .short-hot-chart {padding:24px}
}
