/* Match Survivor's slim artwork strip across compact page previews.
   Account for the desktop content zoom so Buzz's unscaled layout matches too. */
body.site-compact .socipic-page-banner {
  --compact-banner-scale: 1;
  --compact-banner-height: 128px;
  --compact-banner-title: 48px;
  --compact-banner-icon: 96px;
  height: calc(var(--compact-banner-height) / var(--compact-banner-scale)) !important;
  min-height: calc(var(--compact-banner-height) / var(--compact-banner-scale)) !important;
  max-height: calc(var(--compact-banner-height) / var(--compact-banner-scale)) !important;
  gap: calc(12px / var(--compact-banner-scale));
  padding: calc(12px / var(--compact-banner-scale)) calc(24px / var(--compact-banner-scale));
  align-items: center;
  grid-template-columns: minmax(0, 1fr) calc(var(--compact-banner-icon) / var(--compact-banner-scale));
}
body.site-compact .socipic-page-banner:is(.page-banner-without-icon, .designs-hero, .auctions-banner) {
  grid-template-columns: minmax(0, 1fr);
}
body.site-compact .socipic-page-banner .page-banner-copy {
  gap: calc(6px / var(--compact-banner-scale));
  align-content: center;
  min-width: 0;
}
body.site-compact .socipic-page-banner h1 {
  margin: 0;
  font-size: calc(var(--compact-banner-title) / var(--compact-banner-scale)) !important;
  line-height: 1.05 !important;
}
body.site-compact .socipic-page-banner.page-banner-long-title {
  --compact-banner-title: 32px;
}
body.site-compact .socipic-page-banner :is(.arcade-kicker, .buzz-hero-kicker, .hof-kicker, .shops-kicker, .play-kicker, .legal-eyebrow, .seo-landing-eyebrow) {
  font-size: calc(11px / var(--compact-banner-scale));
  line-height: 1.1;
  margin: 0;
}
body.site-compact .socipic-page-banner .page-banner-icon {
  width: calc(var(--compact-banner-icon) / var(--compact-banner-scale));
  height: calc(var(--compact-banner-icon) / var(--compact-banner-scale));
}

/* These five illustrations are composed as shallow panoramic strips. Keep the
   artwork, sizing and decorative-layer reset in one place so legacy page
   backgrounds and mobile overrides cannot crop a tall source into the strip. */
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero) {
  grid-template-columns: minmax(0, 1fr);
  background: var(--compact-art-fill) var(--compact-art-image) center / cover no-repeat !important;
  isolation: isolate;
}
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero) .page-banner-copy {
  position: relative;
  z-index: 1;
  max-width: none;
}
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero) h1 {
  color: var(--compact-art-ink);
  text-shadow: 2px 0 var(--compact-art-outline, #fffaf0), -2px 0 var(--compact-art-outline, #fffaf0), 0 2px var(--compact-art-outline, #fffaf0), 0 -2px var(--compact-art-outline, #fffaf0), 1px 3px var(--compact-art-shadow, #66708026);
}
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero) :is(.arcade-kicker, .buzz-hero-kicker, .hof-kicker) {
  color: var(--compact-art-kicker, var(--compact-art-ink));
  text-shadow: 0 1px var(--compact-art-outline, #fffaf0);
}
body.site-compact .designs-shell .designs-hero {
  --compact-art-image: url('/assets/site/banners/designs/pastel-atelier-room-v18.webp');
  --compact-art-fill: #f7e6ef;
  --compact-art-ink: #416b9d;
  --compact-art-kicker: #526585;
  --compact-art-outline: #fff;
  --compact-art-shadow: #c5d9ef;
}
body.site-compact.arcade-page .arcade-hero {
  --compact-art-image: url('/assets/site/banners/arcade/dark-close-arcade-v4.webp');
  --compact-art-fill: #20224e;
  --compact-art-ink: var(--pink, #f05c9d);
  --compact-art-outline: #fff;
  --compact-art-shadow: var(--yellow, #ffd83d);
  --compact-art-kicker: #fac6e1;
}
/* Restore Arcade's original pink wordmark and white/yellow/aqua edging. */
body.site-compact.arcade-page .arcade-hero h1 {
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    3px 3px var(--yellow, #ffd83d), 5px 5px rgb(99 217 202 / 42%),
    0 9px 14px rgb(7 19 63 / 14%);
}
body.site-compact.arcade-page .arcade-hero .arcade-kicker {
  text-shadow: 0 1px #20224e;
}
body.site-compact.buzz-page .buzz-hero {
  --compact-art-image: url('/assets/site/banners/buzz/pastel-phone-lounge-v7.webp');
  --compact-art-fill: #f5eef9;
  --compact-art-ink: #6b4a83;
  --compact-art-kicker: #854666;
  --compact-art-outline: #fcfaff;
  --compact-art-shadow: #d4b9df;
}
/* Preserve the complete Designs and Buzz compositions at every banner width. */
body.site-compact .designs-shell .designs-hero.socipic-page-banner,
body.site-compact.buzz-page .buzz-hero.socipic-page-banner {
  background-size: contain !important;
  background-origin: border-box;
}
body.site-compact.krewes-page .krewe-banner {
  --compact-art-image: url('/assets/site/banners/krewes/page-matched-team-jerseys-v4.webp');
  --compact-art-fill: var(--digi-purple, #eee4fb);
  --compact-art-ink: var(--digi-ink, #574265);
  --compact-art-outline: #fffaff;
  --compact-art-shadow: #eab7d7;
}
body.site-compact.hof-page .hof-hero {
  --compact-art-image: url('/assets/site/hall-of-fame/page-matched-trophy-gallery-v5.webp');
  --compact-art-fill: #b6d7ed;
  --compact-art-ink: var(--hof-ink, #294b68);
  --compact-art-kicker: var(--hof-pink, #bf4f85);
  --compact-art-outline: #fffafd;
  --compact-art-shadow: #f0b5ce;
  border-color: #fffafd;
}
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero)::before,
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero)::after,
body.site-compact .socipic-page-banner:where(:not(.auctions-banner)):is(.designs-hero, .arcade-hero, .buzz-hero, .krewe-banner, .hof-hero) :is(.designs-banner-composition, .arcade-hero-icon, .page-banner-icon) {
  display: none !important;
}

@media (min-width: 900px) {
  body.site-compact .socipic-page-banner {
    --compact-banner-scale: .88;
  }
  body.site-compact.buzz-stream-layout .socipic-page-banner {
    --compact-banner-scale: 1;
  }
}
@media (max-width: 600px) {
  body.site-compact .socipic-page-banner {
    --compact-banner-height: 112px;
    --compact-banner-title: 36px;
    --compact-banner-icon: 72px;
    gap: 8px;
    padding: 12px 16px;
  }
  body.site-compact .socipic-page-banner.page-banner-long-title {
    --compact-banner-title: 24px;
  }
}
