/* Footer: one oversized name, a live status line, and two quiet contact rows. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap");

footer.sf {
  --sf-ink: #1b1b1b; --sf-muted: #6e6873; --sf-violet: #853297; --sf-line: rgba(31, 20, 36, .1);
  margin: 0; padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px) 28px; border: 0;
  background: #fff; color: var(--sf-ink); font-family: "DM Sans", system-ui, sans-serif; text-align: left;
}
.sf__in { max-width: 1240px; margin: 0 auto; }

/* Yarn Chase game */
.sr-only-sf { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cg { position: relative; padding: 18px 20px 14px; border-radius: 22px; background: #faf6fb; box-shadow: inset 0 0 0 1px rgba(79, 24, 91, .06); }
.cg:has(canvas:focus-visible) { box-shadow: inset 0 0 0 2px #853297; }
.cg canvas { display: block; width: 100%; cursor: pointer; outline: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cg__hint { position: absolute; left: 20px; top: 22px; margin: 0; font-size: 14px; color: var(--sf-muted); pointer-events: none; }
.cg.is-running .cg__hint { opacity: 0; }
.cg__key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 0; font-size: 13px; color: var(--sf-muted); }
.cg__k { display: inline-flex; align-items: center; gap: 8px; }
.cg__k i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.cg__k--get i { background: #ffd666; box-shadow: 0 0 0 2px #e2a20f, 0 0 10px 2px rgba(255, 214, 102, .8); }
.cg__k--avoid i { border-radius: 2px; background: #4f185b; }
.cg__toast { position: absolute; left: 50%; top: 2px; margin: 0; padding: 6px 14px; border-radius: 999px; background: #f3e9f6; color: var(--sf-violet);
  font-size: 13.5px; font-weight: 500; white-space: nowrap; translate: -50% -4px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s; }
.cg__toast.is-on { opacity: 1; translate: -50% 0; }

/* The name */
.sf__name {
  margin: 0; font: 600 clamp(84px, 17vw, 236px)/.86 "Poppins", sans-serif; letter-spacing: -.055em; color: var(--sf-ink);
}
.sf__name i { font-style: normal; color: var(--sf-violet); }

/* Status line: live dot, what's next, open to work */
.sf__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: clamp(48px, 6vw, 80px); font-size: clamp(15px, 1.25vw, 17px); color: #4a444f; }
.sf__now { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: #e3f4e6; color: #2f6b3a; font-weight: 600; font-size: .9em; }
.sf__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #3fa356; }
.sf__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: sfPing 2s ease-out infinite; }
@keyframes sfPing { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
.sf__roll { position: relative; display: inline-block; height: 1.5em; min-width: 22em; overflow: hidden; vertical-align: middle; }
.sf__line { position: absolute; left: 0; top: 0; white-space: nowrap; line-height: 1.5; opacity: 0; transform: translateY(100%);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease; }
.sf__line.is-in { opacity: 1; transform: none; }
.sf__line.is-out { opacity: 0; transform: translateY(-100%); }
@media (max-width: 600px) { .sf__roll { min-width: 0; flex: 1; } .sf__line { white-space: normal; } .sf__roll { height: 3em; } }
.sf__open { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(133, 50, 151, .3);
  color: var(--sf-violet); font-weight: 600; font-size: .9em; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sf__open:hover { background: var(--sf-violet); border-color: var(--sf-violet); color: #fff; }

/* Contact rows */
.sf__rows { margin-top: 22px; border-top: 1px solid var(--sf-line); }
.sf__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--sf-line); font-size: clamp(16px, 1.35vw, 19px); }
.sf__row > span { color: var(--sf-muted); }
.sf__row a, .sf__copy { color: var(--sf-ink); text-decoration: underline; text-decoration-color: rgba(31, 20, 36, .25); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.sf__row a:hover, .sf__copy:hover { color: var(--sf-violet); text-decoration-color: var(--sf-violet); }
.sf__copy { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.sf__copy svg { width: 16px; height: 16px; opacity: .45; transition: opacity .2s; }
.sf__copy:hover svg { opacity: 1; }
.sf__tip { position: absolute; right: 0; bottom: calc(100% + 8px); padding: 5px 10px; border-radius: 999px; background: var(--sf-ink); color: #fff;
  font-size: 12.5px; white-space: nowrap; opacity: 0; translate: 0 4px; pointer-events: none; transition: opacity .2s, translate .25s; }
.sf__copy.is-copied .sf__tip { opacity: 1; translate: 0 0; }
.sf__sep { color: #b6afbb; margin: 0 8px; }

/* Bottom line */
.sf__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 26px; font-size: 14px; color: var(--sf-muted); }

@media (max-width: 600px) {
  .sf__row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .sf__dot::after { animation: none; } }
