/* ==========================================================================
   Credits footer: very small, one quiet block at the end of the HOME / solo page (index.html, <footer class="site-footer"> inside #solo-view).
   It is not shown on the Play with friends screens (menus, rooms, leaderboard): #solo-view is hidden while those are open.
   The creator's signature (assets/creator-signature.png, a link) beside three short lines; on narrow screens the same, stacked and centred.
   Nothing in it is fixed or sticky, so it never covers the puzzle or any control.
   ========================================================================== */
@font-face {   /* the creator's name: Great Vibes (SIL Open Font License, see assets/fonts/GreatVibes-OFL.txt), basic Latin only, ~30 KB */
  font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/great-vibes-basic-latin-400.woff2") format("woff2");
}
.site-footer {
  box-sizing: border-box; width: 100%;
  margin: clamp(20px, 3.2vw, 34px) 0 0; padding: 20px 8px 2px;
  display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(var(--wash-8), 0), rgba(var(--wash-8), 0.2), rgba(var(--wash-8), 0)) 1;
}
.sf-sign-link { flex: none; display: block; line-height: 0; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.sf-sign { display: block; width: auto; height: 56px; opacity: 0.94; -webkit-user-drag: none; transition: filter 0.3s ease, opacity 0.3s ease; }
.sf-sign-link:hover .sf-sign { opacity: 1; filter: drop-shadow(0 0 9px rgba(var(--cy-glow-12), 0.4)) brightness(1.08); }
.sf-text { min-width: 0; }
.sf-text p { margin: 0; }
.sf-tagline { font: 600 0.6rem/1.2 var(--pm-sans, "Nunito", system-ui, sans-serif); letter-spacing: 0.22em; text-transform: uppercase; color: var(--pm-fog, rgb(var(--txt-17))); }
.sf-credit { margin-top: 3px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.5em; font: 500 0.74rem/1.2 var(--pm-sans, "Nunito", system-ui, sans-serif); letter-spacing: 0.02em; color: var(--pm-fog, rgb(var(--txt-17))); }
/* the name: a calligraphic script in silver (it echoes the swash of the monogram), a soft cyan glow, a hairline under it that opens on hover / focus */
.sf-name {
  position: relative; display: inline-block; padding: 0 3px 3px;
  font-family: "Great Vibes", "Snell Roundhand", "Apple Chancery", Georgia, serif; font-weight: 400; font-style: normal;
  font-size: 1.4rem; line-height: 1.05; letter-spacing: 0.01em; text-decoration: none;
  color: rgb(var(--txt-38));
  text-shadow: 0 1px 0 rgba(var(--shade-1), calc(0.55 * var(--shade-k))), 0 0 14px rgba(var(--cy-glow-12), 0.22);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.sf-name::after {
  content: ""; position: absolute; left: 3px; right: 3px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(var(--cy-wash-11), 0), rgba(var(--cy-wash-11), 0.75), rgba(var(--cy-wash-11), 0));
  opacity: 0.55; transform: scaleX(0.6); transform-origin: center; transition: transform 0.35s ease, opacity 0.25s ease;
}
.sf-name:hover, .sf-name:focus-visible {
  color: rgb(var(--txt-46));
  text-shadow: 0 1px 0 rgba(var(--shade-1), calc(0.55 * var(--shade-k))), 0 0 18px rgba(var(--cy-glow-12), 0.6), 0 0 4px rgba(var(--cy-glow-14), 0.35);
}
.sf-name:hover::after, .sf-name:focus-visible::after { opacity: 1; transform: scaleX(1); }
.sf-name:focus-visible { outline: 2px solid rgb(var(--focus-1)); outline-offset: 3px; border-radius: 4px; }
.sf-copy { margin-top: 5px; font: 500 0.66rem/1.3 var(--pm-sans, "Nunito", system-ui, sans-serif); letter-spacing: 0.02em; color: rgba(var(--txt-17), 0.72); }
.sf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 560px) {
  .site-footer { flex-direction: column; gap: 8px; padding-top: 18px; text-align: center; }
  .sf-sign { height: 50px; }
  .sf-credit { justify-content: center; }
  .sf-copy { max-width: 22rem; }
}
@media (prefers-reduced-motion: reduce) { .sf-sign, .sf-name, .sf-name::after { transition: none; } }
@media print { .site-footer { display: none; } }
