/* Editorial placements are in the initial HTML. Images have reserved boxes;
   contain preserves both transparent logos and full promotional artwork. */
.site-promotion {
  --promotion-gold: #f4d58d;
  min-width: 0;
  color: #fff1cf;
}

.site-promotion:not(.ps-surface), .site-promotion__inner { display: grid; align-items: center; min-width: 0; }

.site-promotion__art {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.site-promotion__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* A dark-ink tournament mark gets the parchment disc its Event page gives it;
   on the navy surface alone it is unreadable. */
.site-promotion__art--light-backing {
  background: radial-gradient(circle closest-side, rgba(245, 240, 222, 0.92) 0 80%, rgba(220, 211, 186, 0.72) 91%, rgba(220, 211, 186, 0) 100%);
}

.site-promotion__art--light-backing img {
  padding: 12%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.24));
}

.site-promotion__copy { min-width: 0; }

.site-promotion .site-promotion__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--promotion-gold);
  font-family: var(--site-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-promotion .site-promotion__title {
  margin: 0;
  color: #fff1cf;
  font-family: var(--site-font-title);
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.site-promotion .site-promotion__details {
  margin: 0.65rem 0 0;
  color: #e4d8bc;
  font-family: var(--site-font-body);
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.site-promotion .site-promotion__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 44px;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(244, 213, 141, 0.5);
  border-radius: var(--site-radius-sm, 4px);
  color: #ffedbb;
  background: linear-gradient(180deg, rgba(244, 213, 141, 0.1), rgba(5, 13, 27, 0.65));
  font-family: var(--site-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-promotion__cta:hover { border-color: #f4d58d; background-color: rgba(244, 213, 141, 0.12); }
.site-promotion__cta:focus-visible { outline: 2px solid #f4d58d; outline-offset: 4px; }

/* Occupies the homepage's existing feature column. News keeps its own markup. */
.site-promotion--home_feature { text-align: center; }
/* Preserve the canonical bevel and foreground; soften only its background. */
.site-promotion--home_feature.ps-surface--bevel {
  background: linear-gradient(168deg, rgba(38, 60, 96, 0.54) 0%, rgba(18, 30, 52, 0.78) 44%, rgba(10, 17, 32, 0.86) 100%);
}
.site-promotion--home_feature > .site-promotion__inner {
  min-height: 420px;
  padding: 1.4rem 1.6rem 1.6rem;
}

.site-promotion--home_feature .site-promotion__art {
  width: min(100%, 260px);
  margin: 0 auto 0.5rem;
}

.site-promotion--home_feature .site-promotion__copy {
  padding-top: 0.25rem;
}

/* On wide screens, the artwork/copy share the panel with identity and tabs.
   Grid areas keep navigation below the heading and outside campaign content. */
.lobby-browser-page .lobby-browser-header-panel--promotion {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "heading promotion" "tabs promotion";
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
}

.lobby-browser-header-panel--promotion .lobby-page-heading { grid-area: heading; align-self: center; }
.lobby-browser-header-panel--promotion .lobby-panel-tabs-row { grid-area: tabs; min-width: 0; }
.site-promotion--lobbies_hero {
  grid-area: promotion;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1fr);
  align-self: stretch;
  gap: 1.1rem;
  padding: 0.6rem 0;
}

.site-promotion--lobbies_hero .site-promotion__copy { text-align: center; }
.site-promotion--lobbies_hero .ps-countdown { margin-inline: auto; }
.site-promotion--lobbies_hero .site-promotion__matchup,
.site-promotion--lobbies_hero .site-promotion__schedule { text-align: center; }

.site-promotion--lobbies_hero .site-promotion__title { font-size: clamp(1.55rem, 2.3vw, 2.5rem); }
.site-promotion--lobbies_hero .site-promotion__details { font-size: 0.9rem; }
.site-promotion--lobbies_hero .site-promotion__cta { margin-top: 0.7rem; }

/* A compact in-flow ribbon between the shared Stats body and section rail.
   The page's scope/search aside retains its complete existing area. */
.site-promotion--stats_hero {
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1rem;
  margin: 0 1.5rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(244, 213, 141, 0.22);
}

.site-promotion--stats_hero .site-promotion__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  align-items: center;
}

.site-promotion--stats_hero .site-promotion__eyebrow { grid-column: 1; margin-bottom: 0.15rem; font-size: 0.6rem; }
.site-promotion--stats_hero .site-promotion__title { grid-column: 1; font-size: 1.1rem; }
.site-promotion--stats_hero .site-promotion__details { grid-column: 1; margin-top: 0.2rem; font-size: 0.8rem; white-space: normal; }
.site-promotion--stats_hero .site-promotion__cta { grid-column: 2; grid-row: 1 / 5; margin: 0; font-size: 0.75rem; }
.site-promotion--text-only, .site-promotion--text-only > .site-promotion__inner { grid-template-columns: minmax(0, 1fr); }

/* The shared DS owns the status well; placements only set density/alignment. */
.site-promotion__status { margin-top: 0.65rem; }
.site-promotion--lobbies_hero .site-promotion__status { width: min(100%, 20rem); margin-inline: auto; }
.site-promotion .ps-status[data-promotion-state="playing"] .ps-status__label { color: var(--status-win); font-size: 1rem; }
/* The winner's name carries the card the way the countdown digits do. */
.site-promotion .ps-status[data-promotion-state="champion"] .ps-status__value {
  color: var(--text-gold-strong);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.site-promotion--home_feature .site-promotion__status { width: min(100%, 20rem); margin-inline: auto; }
/* Lobby Browser · one Matchup being played. The card says Live once, names
   the round, and shows the game in the shared status well: its own clock as
   plain numerals in a dark box, then the two players and their series score. */
.promo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.14rem 0.55rem 0.14rem 0.45rem;
  border-radius: 999px;
  background: #c8261c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.promo-live-pill i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  animation: promo-live-blink 1.6s ease-in-out infinite;
}
.site-promotion--live .site-promotion__eyebrow { margin-bottom: 0.4rem; }
.site-promotion--live .promo-live-stage { color: var(--text-gold); font-weight: 700; letter-spacing: 0.04em; }
/* The same quiet well the countdown uses (ds_status.css), one column wide. */
.site-promotion .promo-scoreboard {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  width: min(100%, 15.5rem);
  margin-inline: auto;
  padding: 0.9rem 0.95rem 0.8rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 236, 176, 0.025), transparent), var(--surface-panel);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-align: center;
}
/* The game clock: the Match Length box from the match analysis page. */
.promo-clock {
  display: block;
  min-width: 7.5rem;
  padding: 0.7rem 1.4rem 0.75rem;
  border: 1px solid rgba(213, 177, 101, 0.4);
  border-radius: 6px;
  background: rgba(6, 11, 21, 0.6);
  color: var(--text-gold-strong);
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.promo-clock[hidden] { display: none; }
/* The two players on opposing sides, each over their series score. */
.promo-scoreboard__sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  width: 100%;
}
.promo-scoreboard__side { display: grid; justify-items: center; gap: 0.2rem; min-width: 0; }
.promo-scoreboard__name {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-scoreboard__score {
  color: var(--text-gold-strong);
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.promo-scoreboard__vs { color: var(--text-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.promo-scoreboard__detail { margin: 0; color: var(--text-muted); font-size: 0.78rem; line-height: 1.2; }
.promo-scoreboard__detail[hidden] { display: none; }
@keyframes promo-live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
/* View Match while a game is live: the homepage's "View Live Lobbies"
   button, binoculars and all, as wide as the board above it. */
.site-promotion a.site-promotion__cta--watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: min(100%, 15.5rem);
  min-height: 3rem;
  margin-top: 0.8rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 205, 101, 0.82);
  border-radius: var(--site-radius-sm, 6px);
  background: linear-gradient(180deg, rgba(224, 177, 76, 0.74), rgba(124, 72, 21, 0.78)), #45270d;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 176, 0.04), 0 14px 30px rgba(0, 0, 0, 0.28);
  color: #fff2c8;
  font-family: var(--site-font-body, var(--font-body));
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}
.site-promotion a.site-promotion__cta--watch:hover,
.site-promotion a.site-promotion__cta--watch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 220, 130, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 176, 0.08), 0 0 24px rgba(225, 173, 76, 0.28);
}
.site-promotion a.site-promotion__cta--watch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.site-promotion a.site-promotion__cta--watch .site-promotion__cta-icon {
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.42));
}
@media (prefers-reduced-motion: reduce) {
  .promo-live-pill i { animation: none; }
  .site-promotion a.site-promotion__cta--watch { transition: none; }
  .site-promotion a.site-promotion__cta--watch:hover,
  .site-promotion a.site-promotion__cta--watch:focus-visible { transform: none; }
}
@media (max-width: 600px) {
  .site-promotion .promo-scoreboard { width: min(100%, 19rem); }
  .site-promotion a.site-promotion__cta--watch { width: min(100%, 19rem); }
}
.site-promotion--home_feature .ps-countdown { margin-inline: auto; }
.site-promotion--stats_hero .site-promotion__status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.55rem; grid-column: 1; margin-top: 0.3rem; min-height: 1.4rem; font-family: var(--site-font-body); }
.site-promotion--stats_hero .site-promotion__status-label { min-height: 1.4rem; color: var(--promotion-gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.site-promotion--stats_hero .site-promotion__status-value { font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.site-promotion--stats_hero .site-promotion__status-value:empty { display: none; }
.site-promotion--stats_hero .site-promotion__matchup, .site-promotion--stats_hero .site-promotion__schedule { display: none; }

@media (max-width: 1180px) {
  .site-promotion--home_feature { max-width: 760px; text-align: left; }
  .site-promotion--home_feature > .site-promotion__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 0;
  }
  .site-promotion--home_feature .site-promotion__art { margin: 0; }
  .site-promotion--home_feature .site-promotion__copy { padding: 0; }
  .site-promotion--home_feature .site-promotion__status { margin-inline: 0; text-align: left; }
  .site-promotion--home_feature .ps-countdown { margin-inline: 0; }
}

@media (max-width: 1100px) {
  .lobby-browser-page .lobby-browser-header-panel--promotion {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "promotion" "tabs";
  }
  .site-promotion--lobbies_hero {
    grid-template-columns: minmax(100px, 190px) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
  }
}

@media (max-width: 600px) {
  .site-promotion--home_feature { text-align: center; }
  .site-promotion--home_feature > .site-promotion__inner { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; padding: 1.2rem; }
  .site-promotion--home_feature .site-promotion__art { width: 190px; max-width: 100%; margin: 0 auto; }
  .site-promotion--lobbies_hero { grid-template-columns: 95px minmax(0, 1fr); gap: 0.8rem; }
  .site-promotion--lobbies_hero .site-promotion__eyebrow { font-size: 0.6rem; }
  .site-promotion--lobbies_hero .site-promotion__title { font-size: 1.4rem; }
  .site-promotion--lobbies_hero .site-promotion__details { font-size: 0.8rem; }
  .site-promotion--lobbies_hero .site-promotion__cta { font-size: 0.75rem; padding: 0.5rem; gap: 0.4rem; }
  .lobby-browser-header-content .lobby-page-heading { padding-bottom: 0.5rem; }
  .site-promotion--lobbies_hero { grid-template-columns: 80px minmax(0, 1fr); row-gap: 0.25rem; padding: 0.6rem 0 0.9rem; }
  .site-promotion--lobbies_hero .site-promotion__copy { display: contents; text-align: left; }
  .site-promotion--lobbies_hero .site-promotion__art { grid-column: 1; grid-row: 1 / 4; }
  .site-promotion--lobbies_hero .site-promotion__eyebrow,
  .site-promotion--lobbies_hero .site-promotion__title,
  .site-promotion--lobbies_hero .site-promotion__details { grid-column: 2; margin: 0; }
  .site-promotion--lobbies_hero .site-promotion__details { line-height: 1.4; }
  .site-promotion--lobbies_hero .site-promotion__status { grid-column: 1 / -1; margin-top: 0.6rem; }
  .site-promotion--home_feature .site-promotion__status { text-align: left; }
  .site-promotion .ps-status[data-promotion-state="playing"] .ps-status__label { font-size: 0.85rem; }
  .site-promotion .ps-status[data-promotion-state="champion"] .ps-status__value { font-size: 1.25rem; }
  .site-promotion--lobbies_hero .site-promotion__cta { grid-column: 1 / -1; justify-self: center; margin-top: 0.35rem; }
  .site-promotion--stats_hero { grid-template-columns: 56px minmax(0, 1fr); gap: 0.65rem; margin: 0 1rem; }
  .site-promotion--stats_hero .site-promotion__copy { grid-template-columns: minmax(0, 1fr); }
  .site-promotion--stats_hero .site-promotion__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.45rem; }
}

@media (max-width: 1180px) {
  .site-promotion--text-only, .site-promotion--text-only > .site-promotion__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .lobby-browser-header-panel--promotion .lobby-panel-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .lobby-browser-header-panel--promotion .lobby-panel-tab {
    justify-content: center;
    white-space: nowrap;
  }
}

/* Homepage showcase: several slides in the one hero slot. Every slide sits in
   the same grid cell, so the frame is as tall as the tallest slide and never
   jumps when a shorter one comes round. */
.home-showcase {
  min-width: 0;
  background: linear-gradient(168deg, rgba(38, 60, 96, 0.54) 0%, rgba(18, 30, 52, 0.78) 44%, rgba(10, 17, 32, 0.86) 100%);
}
.home-showcase[hidden] { display: none; }
.home-showcase__inner { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.home-showcase__track { display: grid; min-width: 0; touch-action: pan-y; }
.home-showcase__slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 450ms ease, visibility 0s linear 450ms;
}
.home-showcase__slide.is-active { opacity: 1; visibility: visible; transition: opacity 450ms ease; }
.home-showcase .site-promotion--home_feature > .site-promotion__inner { padding-bottom: 0.4rem; }

/* News and stream art is a wide banner, not a logo. */
.home-showcase .home-showcase__art--wide { width: min(100%, 380px); aspect-ratio: 16 / 9; }
.home-showcase__art--wide img {
  object-fit: cover;
  border: 1px solid rgba(244, 213, 141, 0.28);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
/* Community champion artwork: the picture is shown whole at its own aspect
   ratio, never cropped or retouched, hung in a carved gilt frame built from
   the Lobby Browser's ornate frame pieces (Widget_Frame corners and edge
   mouldings) around a Greek-key liner. The credit is the frame's nameplate.
   The frame is drawn around the picture, never over it: at 54px the carved
   corners stop short of the 22px where the picture starts (tested). */
.home-showcase__frame {
  --frame-width: 22px;
  --frame-corner: 54px;
  --frame-key-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M0 .7H12M0 9.3H12M3 9.3V3.3H8.7V6.7H5.7' fill='none' stroke='%23d7b268' stroke-width='1.1'/%3E%3C/svg%3E");
  --frame-key-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12'%3E%3Cpath d='M.7 0V12M9.3 0V12M9.3 3H3.3V8.7H6.7V5.7' fill='none' stroke='%23d7b268' stroke-width='1.1'/%3E%3C/svg%3E");
  position: relative;
  padding: var(--frame-width);
  border-radius: 2px;
  background:
    url("../assets/images/frame_ornate_edgehorizontal.06aac0a7447a.png") left top / auto 9px repeat-x,
    url("../assets/images/frame_ornate_edgehorizontal.06aac0a7447a.png") left bottom / auto 9px repeat-x,
    url("../assets/images/frame_ornate_edgevertical.c6ac336cc359.png") left top / 9px auto repeat-y,
    url("../assets/images/frame_ornate_edgevertical.c6ac336cc359.png") right top / 9px auto repeat-y,
    var(--frame-key-h) left 0 top 10px / 12px 10px repeat-x,
    var(--frame-key-h) left 0 bottom 10px / 12px 10px repeat-x,
    var(--frame-key-v) left 10px top 0 / 10px 12px repeat-y,
    var(--frame-key-v) right 10px top 0 / 10px 12px repeat-y,
    linear-gradient(145deg, #3a2812 0%, #1c1309 40%, #2d1f0e 64%, #120c05 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65), 0 16px 34px rgba(0, 0, 0, 0.55), var(--glow-gold-soft);
}
.home-showcase__frame img {
  height: auto;
  aspect-ratio: 1280 / 953;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(10, 6, 2, 0.9), 0 0 10px rgba(0, 0, 0, 0.6);
}
.home-showcase__frame-corners { position: absolute; inset: 0; pointer-events: none; }
.home-showcase__frame::before,
.home-showcase__frame::after,
.home-showcase__frame-corners::before,
.home-showcase__frame-corners::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: var(--frame-corner);
  height: var(--frame-corner);
  background: url("../assets/images/Widget_Frame_Corner.63811eea3add.png") left top / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.home-showcase__frame::before { top: 0; left: 0; }
.home-showcase__frame::after { top: 0; right: 0; transform: rotate(90deg); }
.home-showcase__frame-corners::before { right: 0; bottom: 0; transform: rotate(180deg); }
.home-showcase__frame-corners::after { bottom: 0; left: 0; transform: rotate(270deg); }
.home-showcase__credit {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 2 * var(--frame-corner, 54px));
  margin: -0.8rem auto 0;
  padding: 0.1rem 0.7rem 0.16rem;
  border: 1px solid rgba(232, 196, 111, 0.6);
  border-radius: 2px;
  background: linear-gradient(180deg, #2e200e, #130c05);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 224, 163, 0.14);
  color: var(--gold-200);
  font-family: var(--font-title);
  font-size: var(--text-micro);
  line-height: 1.35;
  letter-spacing: var(--tracking-wide);
  text-align: center;
  white-space: nowrap;
}

/* The champion slide: heading across the top, then the framed picture beside
   the laurelled result, so the card keeps the height of the other slides. */
.home-showcase .home-showcase__slide--champion > .site-promotion__inner {
  grid-template-columns: minmax(0, 1fr) 11rem;
  grid-template-areas: "eyebrow eyebrow" "title title" "details details" "art status" "art cta";
  gap: 0 1.1rem;
  align-content: center;
  padding-inline: 1.25rem;
}
.home-showcase__slide--champion .site-promotion__copy { display: contents; }
.home-showcase__slide--champion .site-promotion__eyebrow { grid-area: eyebrow; }
.home-showcase__slide--champion .site-promotion__title { grid-area: title; }
.home-showcase__slide--champion .site-promotion__details { grid-area: details; margin-top: 0.35rem; }
.home-showcase .home-showcase__slide--champion .home-showcase__art--champion {
  grid-area: art;
  align-self: center;
  width: 100%;
  margin: 1rem 0 0.5rem;
  aspect-ratio: auto;
}
.home-showcase .home-showcase__slide--champion .site-promotion__status {
  grid-area: status;
  align-self: end;
  width: 100%;
  margin: 1rem 0 0;
}
.home-showcase__slide--champion .site-promotion__cta { grid-area: cta; align-self: start; justify-self: center; margin-top: 0.8rem; }
/* The result as a victor's plaque rather than the boxed status well. */
.home-showcase .home-showcase__slide--champion .ps-status {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  grid-template-areas: "wreath" "label" "value" "context";
  gap: 0.1rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
.home-showcase__slide--champion .ps-status::before {
  content: "";
  grid-area: wreath;
  justify-self: center;
  width: 52px;
  height: 30px;
  margin-bottom: 0.15rem;
  background: url("../assets/images/brand/laurel.bceeed83815c.svg") center / contain no-repeat;
}
.home-showcase .home-showcase__slide--champion .ps-status > .ps-status__label { letter-spacing: var(--tracking-widest); }
.home-showcase .home-showcase__slide--champion .ps-status > .ps-status__context { color: var(--text-muted); }
.home-showcase__slide--champion .site-promotion__title { text-wrap: balance; }
.site-promotion .home-showcase__title--news { font-size: clamp(1.25rem, 1.9vw, 1.7rem); }
.site-promotion .home-showcase__summary {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-showcase__news-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.1rem;
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
}
.home-showcase__news-actions a,
.home-showcase__news-actions button {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: rgba(244, 213, 141, 0.82);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(244, 213, 141, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.home-showcase__news-actions a:hover,
.home-showcase__news-actions button:hover { color: #ffedbb; text-decoration-color: currentColor; }

.home-showcase__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 1rem 1rem;
}
.home-showcase__controls[hidden] { display: none; }
.home-showcase__arrow,
.home-showcase__toggle {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(244, 213, 141, 0.38);
  border-radius: 50%;
  background: rgba(5, 13, 27, 0.6);
  color: #f4d58d;
  line-height: 0;
  cursor: pointer;
}
.home-showcase__toggle { margin-left: 0.35rem; }
.home-showcase__toggle[data-state="playing"] .home-showcase__icon-play,
.home-showcase__toggle[data-state="paused"] .home-showcase__icon-pause { display: none; }
.home-showcase__arrow:hover,
.home-showcase__toggle:hover { border-color: #f4d58d; background: rgba(244, 213, 141, 0.12); }
.home-showcase__dots { display: flex; align-items: center; }
.home-showcase__dot {
  position: relative;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.home-showcase__dot::before,
.home-showcase__dot::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  height: 5px;
  border-radius: 3px;
}
.home-showcase__dot::before { right: 4px; background: rgba(244, 213, 141, 0.22); }
.home-showcase__dot:hover::before { background: rgba(244, 213, 141, 0.4); }
.home-showcase__dot.is-active::before { background: rgba(244, 213, 141, 0.3); }
.home-showcase__dot.is-active::after {
  width: calc(100% - 8px);
  background: #f4d58d;
  transform-origin: left center;
  animation: home-showcase-progress var(--showcase-interval, 9000ms) linear both;
}
.home-showcase[data-showcase-paused] .home-showcase__dot.is-active::after { animation: none; }
.home-showcase :is(.home-showcase__arrow, .home-showcase__toggle, .home-showcase__dot, .home-showcase__news-actions a, .home-showcase__news-actions button):focus-visible {
  outline: 2px solid #f4d58d;
  outline-offset: 2px;
}
@keyframes home-showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .home-showcase__slide, .home-showcase__slide.is-active { transition: none; }
  .home-showcase__dot.is-active::after { animation: none; }
}

/* Every slide is one centred column, so the status well reads the same way at
   every width instead of switching to the left-aligned phone readout. */
.home-showcase .site-promotion__status { width: min(100%, 20rem); margin-inline: auto; text-align: center; }
.home-showcase .ps-countdown { margin-inline: auto; }

@media (max-width: 1180px) {
  .home-showcase { max-width: 760px; }
  /* Between phone and desktop the copy is a left-aligned column beside the art. */
  .home-showcase .site-promotion__status { margin-inline: 0; }
  .home-showcase__news-actions { justify-content: flex-start; }
  .home-showcase .home-showcase__art--wide { width: 100%; }
  /* Picture on the left, the heading and result centred beside it. */
  .home-showcase .home-showcase__slide--champion > .site-promotion__inner {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas: "art eyebrow" "art title" "art details" "art status" "art cta";
    gap: 0 1.75rem;
    padding-inline: 1.6rem;
    text-align: center;
  }
  .home-showcase .home-showcase__slide--champion .home-showcase__art--champion { margin: 0.2rem 0 0.6rem; }
}

@media (max-width: 600px) {
  .home-showcase .site-promotion__status { margin-inline: auto; }
  .home-showcase .ps-status {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1.4rem auto minmax(1.15rem, auto) minmax(1.15rem, auto);
    grid-template-areas: "label" "value" "context" "detail";
  }
  .home-showcase__news-actions { justify-content: center; }
  .home-showcase .home-showcase__art--wide { width: min(100%, 320px); margin-inline: auto; }
  .home-showcase .home-showcase__slide--champion > .site-promotion__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "title" "details" "art" "status" "cta";
    gap: 0;
    padding-inline: 1.2rem;
  }
  .home-showcase .home-showcase__slide--champion .home-showcase__art--champion { width: min(100%, 330px); margin: 0.9rem auto 0.3rem; }
  .home-showcase .home-showcase__slide--champion .site-promotion__status { margin-top: 0.7rem; }
  .home-showcase__slide--champion .ps-status::before { width: 44px; height: 26px; }
  .home-showcase__slide--champion .site-promotion__cta { margin-top: 0.6rem; }
}
