/* Shared visual system for section and archive page headers. */
/* Keep the first masthead at the same distance from the fixed site header.
   Individual pages used to set this through unrelated section paddings, so
   the reviews archive started flush while the games archive had a 35px gap. */
body.pp-public-reading.pp-public-reading main section:has(> .pp-unified-masthead),
body.pp-public-reading.pp-public-reading main > :is(section,div):has(> .pp-unified-masthead){
  padding-top:var(--pp-masthead-section-padding,clamp(28px,2.4vw,36px))!important;
}
@media(max-width:850px){
  body.pp-public-reading.pp-public-reading main section:has(> .pp-unified-masthead),
  body.pp-public-reading.pp-public-reading main > :is(section,div):has(> .pp-unified-masthead){
    padding-top:20px!important;
  }
}

/* These three archive pages use the masthead as the first section itself,
   so the shared parent-padding rule above does not create the header gap. */
body.pp-public-reading.pp-public-reading main .news-archive-hero.pp-unified-masthead,
body.pp-public-reading.pp-public-reading main .pp-expected > .pe-hero.pp-unified-masthead,
body.pp-public-reading.pp-public-reading main .pp-calendar-premium > .pp-calendar-hero.pp-unified-masthead{
  margin-top:clamp(28px,2.4vw,36px)!important;
}
@media(max-width:850px){
  body.pp-public-reading.pp-public-reading main .news-archive-hero.pp-unified-masthead,
  body.pp-public-reading.pp-public-reading main .pp-expected > .pe-hero.pp-unified-masthead,
  body.pp-public-reading.pp-public-reading main .pp-calendar-premium > .pp-calendar-hero.pp-unified-masthead{
    margin-top:20px!important;
  }
}

body .pp-unified-masthead.pp-unified-masthead{
  --pp-masthead-border:rgba(153,177,255,.20);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid var(--pp-masthead-border)!important;
  border-radius:25px!important;
  padding:var(--pp-masthead-padding,clamp(24px,3vw,42px))!important;
  color:#f5f7ff;
  background:radial-gradient(ellipse at 82% 12%,rgba(137,70,255,.30),transparent 44%),radial-gradient(ellipse at 12% 92%,rgba(36,147,255,.17),transparent 49%),linear-gradient(135deg,#111b35 0%,#111128 65%,#151c31 100%)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.19)!important;
}
body .pp-unified-masthead.pp-unified-masthead h1{
  max-width:820px;
  margin:var(--pp-masthead-title-margin,14px 0 9px)!important;
  color:#fff!important;
  font-size:var(--pp-masthead-title-size,clamp(34px,4vw,54px))!important;
  line-height:var(--pp-masthead-title-line-height,1.1)!important;
  letter-spacing:-.045em!important;
}
body .pp-unified-masthead.pp-unified-masthead > p,
body .pp-unified-masthead.pp-unified-masthead .sub,
body .pp-unified-masthead.pp-unified-masthead .pa-lead,
body .pp-unified-masthead.pp-unified-masthead .tv-intro,
body .pp-unified-masthead.pp-unified-masthead .pp-ach-lead{
  max-width:760px;
  margin-top:0;
  margin-bottom:0;
  color:#bdcbe5!important;
  font-size:var(--pp-masthead-subtitle-size,clamp(15px,1.25vw,18px))!important;
  line-height:var(--pp-masthead-subtitle-line-height,1.6)!important;
}
body .pp-unified-masthead.pp-unified-masthead .breadcrumbs,
body .pp-unified-masthead.pp-unified-masthead .breadcrumb,
body .pp-unified-masthead.pp-unified-masthead .pa-crumb,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-breadcrumb,
body .pp-unified-masthead.pp-unified-masthead .pp-games-breadcrumb,
body .pp-unified-masthead.pp-unified-masthead .pp-preview-breadcrumb{
  margin:var(--pp-masthead-breadcrumb-margin,0 0 15px)!important;
  color:#b8c7e5;
  font-size:13px!important;
  line-height:1.5;
}
body .pp-unified-masthead.pp-unified-masthead .rv-compact-intro,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-intro,
body .pp-unified-masthead.pp-unified-masthead .pp-calendar-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
body .pp-unified-masthead.pp-unified-masthead .rv-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .pe-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .pa-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .lb-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .pm-kicker,
body .pp-unified-masthead.pp-unified-masthead .tv-eyebrow,
body .pp-unified-masthead.pp-unified-masthead .pp-ach-eyebrow,
body .pp-unified-masthead.pp-unified-masthead > .badge{
  color:#ddd4ff!important;
  border-color:rgba(166,148,255,.34)!important;
  background:rgba(126,100,224,.16)!important;
}
body .pp-unified-masthead.pp-unified-masthead .rv-compact-total,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-total,
body .pp-unified-masthead.pp-unified-masthead .pp-calendar-total,
body .pp-unified-masthead.pp-unified-masthead .leaderboard-hero__panel{
  border:1px solid rgba(166,185,255,.22)!important;
  border-radius:16px!important;
  background:rgba(118,130,230,.12)!important;
  box-shadow:none!important;
}
body .pp-unified-masthead.pp-unified-masthead .rv-compact-total strong,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-total strong,
body .pp-unified-masthead.pp-unified-masthead .pp-calendar-total strong,
body .pp-unified-masthead.pp-unified-masthead .leaderboard-hero__panel strong{
  color:#fff!important;
  font-size:27px!important;
  line-height:1.15!important;
}
body .pp-unified-masthead.pp-unified-masthead .rv-compact-total small,
body .pp-unified-masthead.pp-unified-masthead .pp-platforms-total small,
body .pp-unified-masthead.pp-unified-masthead .pp-calendar-total small,
body .pp-unified-masthead.pp-unified-masthead .leaderboard-hero__panel small{
  color:#bdcbe5!important;
  font-size:12px!important;
}

@media(max-width:700px){
  body .pp-unified-masthead.pp-unified-masthead{
    padding:21px 18px!important;
    border-radius:20px!important;
  }
  body .pp-unified-masthead.pp-unified-masthead h1{
    margin:12px 0 8px!important;
    font-size:clamp(30px,8vw,40px)!important;
    line-height:1.08!important;
  }
  body .pp-unified-masthead.pp-unified-masthead > p,
  body .pp-unified-masthead.pp-unified-masthead .sub,
  body .pp-unified-masthead.pp-unified-masthead .pa-lead,
  body .pp-unified-masthead.pp-unified-masthead .tv-intro,
  body .pp-unified-masthead.pp-unified-masthead .pp-ach-lead{
    font-size:16px!important;
    line-height:1.55!important;
  }
  body .pp-unified-masthead.pp-unified-masthead .rv-compact-intro,
  body .pp-unified-masthead.pp-unified-masthead .pp-platforms-intro,
  body .pp-unified-masthead.pp-unified-masthead .pp-calendar-intro{
    align-items:flex-start;
    flex-wrap:wrap;
    gap:14px;
  }
  body .pp-unified-masthead.pp-unified-masthead .rv-compact-total,
  body .pp-unified-masthead.pp-unified-masthead .pp-platforms-total,
  body .pp-unified-masthead.pp-unified-masthead .pp-calendar-total{
    min-width:96px!important;
    padding:10px 13px!important;
  }
}
