.guide {
  position: fixed;
  z-index: 35;
  right: 0.7rem;
  bottom: 1.15rem;
  left: auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 0.45rem;
  max-width: min(26rem, calc(100vw - 1.2rem));
  pointer-events: none;
}
.guide > * { pointer-events: auto; }
.guide-bubble {
  background: var(--paper);
  color: var(--void);
  border: 2px solid var(--void);
  box-shadow: 4px 4px 0 var(--void);
  max-width: 16rem;
}
.guide-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--dusk);
  color: var(--pale);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.3rem 0.15rem 0.45rem;
}
.guide-bar span { flex: 1; }
.guide-bar button {
  background: var(--paper);
  color: var(--void);
  border: 1px solid var(--void);
  width: 1.3rem;
  height: 1.2rem;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  line-height: 1;
}
.guide-line { margin: 0; padding: 0.55rem 0.65rem 0.65rem; font-size: 1rem; }
.guide-face {
  width: 96px;
  height: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
.guide-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(28, 23, 27, 0.45));
  animation: bob 3.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.guide[data-state="min"] .guide-bubble { display: none; }
.guide[data-state="off"] { display: none; }
@media (max-width: 760px) {
  .guide {
    left: auto;
    right: 0.55rem;
    top: auto;
    bottom: 0.55rem;
    flex-direction: row-reverse;
    align-items: flex-end;
  }
  .guide-face { width: 54px; height: 64px; }
  .guide-bubble { max-width: min(14rem, 62vw); }
}
