.gate-mascot-dialogue {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  max-width: min(280px, calc(100% - 16px));
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(44, 37, 28, .12);
  font: 600 clamp(18px, 1.4vw, 21px)/1.45 var(--sans);
  text-align: center;
  pointer-events: none;
}
.gate .gate-error { font-size: 18px; font-weight: 600; line-height: 1.45; }
.gate-mascot-dialogue[hidden] { display: none; }
.gate-mascot-dialogue::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.gate-mascot-dialogue[data-side="bottom"]::after { left: calc(50% - 4px); bottom: -5px; transform: rotate(45deg); }
.gate-mascot-dialogue[data-side="top"]::after { left: calc(50% - 4px); top: -5px; transform: rotate(225deg); }
.gate-mascot-dialogue[data-side="right"]::after { top: calc(50% - 4px); right: -5px; transform: rotate(-45deg); }
.gate-mascot-dialogue[data-side="left"]::after { top: calc(50% - 4px); left: -5px; transform: rotate(135deg); }
.gate-error--spoken { opacity: 0; }
