/* Greetings Show — the full-screen stage. A stage, not a page: its own dark ink and cream, so every look is the same. */
.gs {
  position: fixed; inset: 0; z-index: 80; background: #1c1b22; color: #fff6e8;
  display: flex; align-items: center; justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.gs-stage { width: 100%; max-width: 520px; max-height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gs-card {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  animation: gs-in .35s ease both;
}
.gs-emoji { font-size: 72px; line-height: 1; }
.gs-h { font: 700 34px/1.15 var(--display); margin: 0; overflow-wrap: anywhere; }
.gs-sub { margin: 0; font-size: 20px; font-weight: 800; opacity: .8; }
.gs-hint { margin: 12px 0 0; font-size: 14px; font-weight: 700; opacity: .55; }
.gs-photo { max-width: 100%; max-height: 52vh; object-fit: contain; border-radius: 16px; border: 3px solid #fff6e8; background: #000; }
.gs-msg { margin: 0; font: 600 27px/1.3 var(--display); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 38vh; overflow: hidden; }
.gs-msg.long { font-size: 20px; line-height: 1.35; }
.gs-from { font: 700 22px var(--display); opacity: .85; }
.gs-name-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-height: 55vh; overflow: auto;
}
.gs-name-list li { border: 2px solid #fff6e8; border-radius: 999px; padding: 4px 14px; font-weight: 800; }
.gs-dots { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 0 60px; pointer-events: none; }
.gs-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff6e8; opacity: .3; }
.gs-dot.on { opacity: 1; }
.gs-paused { position: absolute; top: max(18px, env(safe-area-inset-top)); left: 20px; font-weight: 800; font-size: 14px; border: 2px solid #fff6e8; border-radius: 999px; padding: 2px 12px; opacity: .85; }
.gs-close, .gs-nav {
  position: absolute; appearance: none; border: 2px solid #fff6e8; background: transparent; color: #fff6e8;
  border-radius: 50%; width: 44px; height: 44px; font: 700 22px/1 var(--display); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gs-close { top: max(14px, env(safe-area-inset-top)); right: 16px; }
.gs-nav { bottom: max(8px, env(safe-area-inset-bottom)); opacity: .7; }   /* in the bottom corners, clear of the photo */
.gs-nav.prev { left: 12px; }
.gs-nav.next { right: 12px; }
.gs-nav[hidden] { display: none; }
.gs-close:focus-visible, .gs-nav:focus-visible { outline: 3px solid #fff6e8; outline-offset: 3px; }
@keyframes gs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gs-card { animation: none; } }
