/* Site footer, added to every page by worker/site-chrome.mjs from partials/site-footer.html. */
/* Barbie Girls footer pattern (Jan 2010 homepage, Parents' Place, V.I.P.): centred pipe-separated links, then a bold legal line, in white as on the Jan 2010 homepage. */
/* Space past the footer (a short page, or the bounce when scrolling) shows the canvas, so it takes the footer's ground: img_12.gif front pink #d173a5 with 32% --rose-deep. */
html:has(.bg-footer) {
  background: #ae5084;
}

/* The pigeon flies up over the page, so the footer sits above it; it is clipped only sideways so its flight never scrolls the page. */
.bg-footer {
  /* img_12.gif's flat front pink, rows 22-36 (sampled 1 Dec 2026). */
  --bg-footer-front: #d173a5;
  /* Front pink with 32% --rose-deep = #ae5084: white text 4.91:1, white focus ring 4.91:1. */
  --bg-footer-ground: color-mix(in srgb, var(--bg-footer-front), #65073e 32%);
  --bg-footer-ink: #fff;
  --bg-footer-floor: #ffd2e6;
  /* Room above the ledge for a standing pigeon (64px tall, 22px of it below the ledge top) and its flight. */
  --bg-footer-perch: 52px;
  position: relative;
  z-index: 10;
  overflow-x: clip;
  padding: var(--bg-footer-perch) 0 0;
  /* The ledge top (img_12.gif rows 0-11, #fea5d4) matches the V.I.P. and legal page pink, so the pigeons' strip fades
     to the 2010 homepage floor (original-2010-home-BG.jpg row 796, #ffd2e6, sampled 2 Dec 2026) and the ledge reads as a step. */
  background: linear-gradient(transparent, var(--bg-footer-floor)) top / 100% var(--bg-footer-perch) no-repeat;
  color: var(--bg-footer-ink);
  font: 400 var(--bgr-size-control)/1.7 var(--bgr-font-label);
  text-align: center;
}

/* The ledge's front pink carries on down the footer and deepens before the first line of text, so the text keeps its contrast. */
.bg-footer .bg-footer-panel {
  padding: 16px 16px 20px;
  background: linear-gradient(var(--bg-footer-front), var(--bg-footer-ground) 12px);
}

.bg-footer .bg-footer-panel p {
  margin: 0 auto;
  max-width: 720px;
}

.bg-footer .bg-footer-panel a {
  color: inherit;
  white-space: nowrap;
}

.bg-footer .bg-footer-legal {
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 8px;
  color: var(--bgr-tab-ink);
  background: var(--bgr-gradient-gold-tab);
  font-size: var(--bgr-size-small);
  font-weight: 700;
}

.bg-footer .bg-footer-note {
  margin-top: 8px;
}

.bg-footer .bg-footer-credits {
  margin-top: 8px;
  font-size: var(--bgr-size-small);
}

.bg-footer .bg-footer-panel :is(a, summary):focus-visible {
  outline: 2px solid var(--bg-footer-ink);
  outline-offset: 2px;
}

/* The ground is the 2009 Rules page's bottom bar (legal/assets/img_12.gif). Only its plain middle columns are stretched, so it runs edge to edge without the bar's rounded ends. */
.bg-footer .bg-footer-ground {
  position: relative;
  height: 37px;
  border-image: url("/landing/legal/assets/img_12.gif") 0 200 fill / 0 stretch;
}
