[data-signoff='wafflr'] {
  --b-fit: 0.145;
  --b-crop: 14%;
  --b-ink: #23110a;
  --b-ink-dark: #f6ebd2;
}
[data-signoff='wafflr'] .story-signoff-scene {
  background: linear-gradient(transparent 20%, #f2e3c9);
}
.dark [data-signoff='wafflr'] .story-signoff-scene {
  background: linear-gradient(transparent 20%, #2a150b);
}
[data-signoff='wafflr'] .story-signoff-name {
  align-items: flex-end;
  gap: 0.1em;
}

/* The waffle rises out of the bottom edge, the way the June 2025 icon did. Its
   top sits on the wordmark's x-height (the path's -1082 line, 0.265em below the
   svg's top), so it reads as one more letter with only its chin cropped. */
.wf-so-waffle {
  position: relative;
  flex: none;
  width: 0.66em;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 22%;
  overflow: hidden;
  background: #d9a04f;
  cursor: pointer;
  pointer-events: auto;
  translate: 0 -0.075em;
  transition: translate 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wf-so-waffle:hover {
  translate: 0 -0.12em;
}
.wf-so-waffle[data-ducked] {
  translate: 0 0.8em;
  transition: translate 0.2s cubic-bezier(0.4, 0, 1, 1);
}
.wf-so-waffle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
/* Scoped past the shared .story-signoff-name img rule, which would set these
   to the wordmark's 1em height and crop the face. */
[data-signoff='wafflr'] .wf-so-waffle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.wf-so-waffle img[data-on] {
  opacity: 1;
}
