/* «Клубная память» (0.33, hall-game-memory.js): the frame of that second heavily blurred and sharpening over the round (a
   CSS animation as long as the round, started where it is), the hall's reactions flying over it like the player's
   (.react-emoji / .react-who of style.css), the day and the faces under it. */
.hg-riddle.hgm { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; background: none; } /* over hall-game.css's .hg-riddle, loaded later */
.hgm-stage { position: relative; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 60%, #2a2333, #101218 70%); height: clamp(150px, 36vh, 330px); line-height: 0; }
.hgm-stage.hgm-bare { height: clamp(120px, 26vh, 220px); }
.hgm-frame { display: block; height: 100%; }
.hgm-frame img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none;
  animation: hgm-sharpen var(--hgm-ms, 25s) linear var(--hgm-at, 0ms) both; will-change: filter, transform; }
@keyframes hgm-sharpen {
  0% { filter: blur(48px) saturate(.6) brightness(.9); transform: scale(1.22); }
  30% { filter: blur(32px) saturate(.7) brightness(.92); transform: scale(1.16); }
  55% { filter: blur(17px) saturate(.85); transform: scale(1.09); }
  78% { filter: blur(6px); transform: scale(1.03); }
  92%, 100% { filter: blur(0); transform: scale(1); }
}
.hgm-storm { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hgm-pop { position: absolute; bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: normal; will-change: transform, opacity; animation: hgm-rise 2.4s ease-out forwards; }
.hgm-pop .react-emoji { font-size: 32px; }
.hgm-pop.hgm-still { animation: none; opacity: .92; }
@keyframes hgm-rise {
  0% { opacity: 0; transform: translateY(0) scale(.6); }
  14% { opacity: 1; transform: translateY(-10px) scale(1.15); }
  100% { opacity: 0; transform: translateY(-170px) scale(1); }
}
.hgm-text { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 0 2px; }
.hgm-date { font-size: 16px; line-height: 1.3; }
.hgm-who { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hgm-face { position: relative; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #2b2f3a; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); box-shadow: 0 0 0 2px var(--panel, #15171d); }
.hgm-face + .hgm-face { margin-left: -8px; }
.hgm-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hgm-tally { display: inline-flex; gap: 8px; margin-left: 6px; font-size: 18px; }
.hgm-n small { font-size: 11.5px; color: var(--muted); margin-left: 2px; }
@media (max-width: 760px) {
  .hgm-stage { height: min(30vh, 250px); }
  .hgm-stage.hgm-bare { height: min(24vh, 180px); }
  .hgm-date { font-size: 14.5px; }
  .hgm-pop .react-emoji { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .hgm-frame img { animation-timing-function: steps(6, end); } }
