/* The one footer every page uses (studio, Animal Park, Roll Dice). It brings its own basics, because the
   Animal Park pages load the original Animal Park stylesheet instead of site.css. */
footer.site { font-family: "Open Sans", system-ui, sans-serif; line-height: 1.5; }
footer.site .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
footer.site img { max-width: 100%; display: block; }
footer.site p, footer.site nav { margin: 0; }
/* the Animal Park stylesheet caps link height at 50px and sets paragraphs in Roboto */
footer.site a { max-height: none; }
footer.site p { font-family: inherit; line-height: inherit; }
footer.site .social { display: flex; gap: 10px; }
footer.site .social a { display: inline-flex; padding: 0; color: var(--fg); opacity: .85; }
footer.site .social a:hover { opacity: 1; text-decoration: none; }
footer.site .social svg { width: 26px; height: 26px; fill: currentColor; display: block; }
/* Layout C: centered logo, blurb, link rows, social icons; one legal line under a rule. */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14px; }
footer.site .center { display: flex; flex-direction: column; align-items: center; text-align: center; }
footer.site a { text-decoration: none; color: var(--fg); opacity: .85; }
footer.site a:hover { opacity: 1; text-decoration: underline; }
footer.site .studio-mark { display: inline-flex; opacity: 1; }
footer.site .studio-mark img { height: 64px; width: auto; }
footer.site p { color: var(--muted); margin: 12px 0 0; max-width: 420px; }
footer.site .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 24px; font-weight: 600; }
footer.site .links.games { margin-top: 12px; }
footer.site .links a { display: block; padding: 2px 0; }
footer.site .social { margin-top: 22px; }
footer.site .legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px; text-align: center; }
footer.site .legal > span { white-space: nowrap; }
footer.site .legal i, footer.site .legal > span + span::before { font-style: normal; display: inline-block; width: 23px; opacity: .6; }
footer.site .legal > span + span::before { content: "\00B7"; }
footer.site .legal a { display: inline; color: var(--muted); }
/* phones: the two halves on their own lines, with no dot at a line start */
@media (max-width: 640px) {
  footer.site .legal { flex-direction: column; }
  footer.site .legal > span + span::before { content: none; }
}

/* Animal Park colours: the dark footer with the lime top bar */
footer.site.ap { --fg: #ffffff; --muted: #b9b2aa; --line: rgba(255, 255, 255, .16); background: #323232; color: var(--fg);
  border-top: 12px solid #c1d300; }
