/* ─────────────────────────────────────────────────────────────────────
 * shared/playable-photo.css — PFB 3.0 Playable Photo Styles
 *
 * Scoped styles for the playable photo stage and controls.
 * Respects base tokens, dark theme, and accessible touch boundaries.
 * ─────────────────────────────────────────────────────────────────── */

.pfb-playable-photo-slot { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pfb-playable-photo-inline { position: absolute; inset: 0; pointer-events: auto; }
.pfb-playable-photo-inline .pfb-playable-photo-stage { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border: 0; border-radius: inherit; margin: 0; box-shadow: none; }
.pfb-playable-photo-inline:not(.has-started) { visibility: hidden; }
.pfb-playable-photo-entry {
  position: absolute;
  bottom: 12px;
  left: 12px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(6, 4, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f5b030;
  border: 1px solid rgba(245, 176, 48, 0.6);
  font: 600 11px 'DM Mono', monospace;
  letter-spacing: 0.04em;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.15s ease;
}
.pfb-playable-photo-entry:hover {
  background: rgba(245, 176, 48, 0.2);
  border-color: #f5b030;
  color: #fff0cb;
}

/* Chat invitations occupy their own row before management, including replays. */
.pfb-beweis-wrap .pfb-playable-photo-slot:has(.pfb-playable-photo-entry),
.pfb-beweis-wrap .pfb-playable-photo-slot:has(.pfb-playable-photo-action) {
  position: static;
  margin: 6px 0;
}
.pfb-beweis-wrap .pfb-playable-photo-slot .pfb-playable-photo-entry {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 6px 14px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pfb-playable-photo-action {
  position: static;
  pointer-events: auto;
}
.pfb-playable-photo-controls:empty { display: none; }
.pfb-playable-photo-controls { margin: 8px 0; pointer-events: auto; }
.pfb-beweis-wrap .pfb-playable-photo-controls .pfb-playable-photo-entry {
  position: static; display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 8px;
}
.pfb-playable-photo-entry[data-scene-kind="emmy"] {
  border-style: solid; border-color: rgba(245,176,48,.75);
  background: linear-gradient(110deg, rgba(245,176,48,.18), rgba(6,4,0,.78));
  box-shadow: 0 4px 14px rgba(0,0,0,.35); color: #ffe2a3;
}
.pfb-playable-photo-entry[data-scene-kind="emmy"]::after { content: '▶ SPIELEN'; margin-left: 10px; font-size: 11px; color: #f5b030; }
.pfb-playable-photo-entry[data-upgrade-pending="emmy"]::after { content: '👑 EMMY KOMMT …'; margin-left: 10px; font-size: 10px; color: #ffe2a3; opacity: .85; }
.pfb-playable-photo-entry:focus-visible { outline: 2px solid #fff3d0; outline-offset: 3px; }
.pfb-playable-photo-loading {
  position: absolute; z-index: 10; bottom: 12px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px); box-sizing: border-box;
  padding: 10px 14px; border: 1px solid rgba(245,176,48,.4); border-radius: 8px;
  background: rgba(6,4,0,.94); color: #ffe2a3; text-align: center;
  font: 600 11px 'DM Mono', monospace; pointer-events: none;
}

.pfb-playable-photo-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: var(--pfb-bg, #060400);
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(245, 176, 48, 0.25);
  box-sizing: border-box;
}

.pfb-playable-photo-stage * {
  box-sizing: border-box;
}

.pfb-playable-photo-stage [hidden] {
  display: none !important;
}

/* One short interruption in the photo, with the chat verdict still owning the result. */
.pfb-emmy-inline .pfb-photo-badge,
.pfb-emmy-inline .pfb-result-overlay { display: none !important; }
.pfb-emmy-inline .pfb-emmy-speech-bubble {
  left: 12px !important;
  right: 12px !important;
  top: 56px !important;
  width: auto;
  max-width: calc(100% - 24px);
  pointer-events: none;
}
.pfb-emmy-inline .pfb-scene-caption {
  top: auto;
  bottom: 14px;
  max-width: calc(100% - 24px);
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1.4;
}
.pfb-emmy-inline .pfb-scene-hud-btn { min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 17px; background: rgba(6,4,0,.58); border-color: rgba(255,243,208,.2); }
.pfb-playable-photo-slot:has(.pfb-emmy-inline) > .pfb-playable-photo-action { visibility: hidden; }
.pfb-emmy-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.pfb-photo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pfb-photo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(6, 4, 0, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--pfb-gold, #F5B030);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(245, 176, 48, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}

.pfb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  display: inline-block;
}

/* Shared scene HUD (sound, resume, skip). Renderers place it via --pfb-hud-top/--pfb-hud-right when
   the scene is contained; otherwise it sits 8px from the stage's top-right corner. */
.pfb-scene-hud {
  position: absolute;
  top: var(--pfb-hud-top, 8px);
  right: var(--pfb-hud-right, 8px);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 24;
  pointer-events: none;
}

.pfb-scene-hud-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 6px 10px;
  background: rgba(6, 4, 0, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--pfb-text, #FFF3D0);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pfb-scene-hud-btn:hover {
  background: rgba(245, 176, 48, 0.15);
  border-color: var(--pfb-gold, #F5B030);
}

.pfb-scene-hud-btn:focus-visible {
  outline: 2px solid var(--pfb-gold, #F5B030);
  outline-offset: 2px;
}

.pfb-scene-hud-btn[hidden] {
  display: none !important;
}

.pfb-scene-caption {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 4, 0, 0.88);
  border: 1px solid rgba(245, 176, 48, 0.6);
  padding: 4px 10px;
  border-radius: 14px;
  font-family: 'DM Mono', monospace;
  color: var(--pfb-gold, #F5B030);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
  width: max-content;
  max-width: 65%;
  text-align: center;
  z-index: 12;
  pointer-events: none;
  line-height: 1.25;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.pfb-catch-target {
  position: absolute;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.pfb-catch-target:focus-visible {
  outline: 3px solid var(--pfb-gold, #F5B030);
  border-radius: 12px;
  background: rgba(245, 176, 48, 0.15);
}

.pfb-result-overlay {
  position: absolute;
  inset: auto 12px 12px;
  background: rgba(6, 4, 0, 0.86);
  border: 1px solid rgba(245, 176, 48, .3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  z-index: 25;
  animation: pfb-fade-in 0.25s ease-out;
}

.pfb-result-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--pfb-gold, #F5B030);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pfb-result-title {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  color: var(--pfb-text, #FFF3D0);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.pfb-result-copy {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.4;
  color: var(--pfb-text-dim, rgba(255, 243, 208, 0.75));
  margin: 0 0 10px 0;
  max-width: 320px;
}

.pfb-replay-btn {
  background: var(--pfb-gold, #F5B030);
  color: #060400;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  min-height: 48px;
  min-width: 140px;
  box-shadow: 0 4px 14px rgba(245, 176, 48, 0.4);
  transition: transform 0.1s ease, filter 0.1s ease;
}

.pfb-replay-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.pfb-replay-btn:active {
  transform: translateY(1px);
}

.pfb-pause-layer {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.pfb-resume-btn {
  background: var(--pfb-gold, #F5B030);
  color: #060400;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* Feed Badge: inline play entry on photo card */
.pfb-playable-photo-trigger-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 4, 0, 0.85);
  border: 1px solid var(--pfb-gold, #F5B030);
  color: var(--pfb-gold, #F5B030);
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.1s ease, background 0.1s ease;
}

.pfb-playable-photo-trigger-badge:hover {
  background: rgba(245, 176, 48, 0.15);
  transform: translateY(-1px);
}

@keyframes pfb-fade-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ─────────────────────────────────────────────────────────────────────
 * König Emmy Speech Bubble & Roast Card
 * ─────────────────────────────────────────────────────────────────── */
.pfb-emmy-speech-bubble {
  position: absolute;
  max-width: 80%;
  width: max-content;
  background: rgba(6, 4, 0, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--pfb-gold, #F5B030);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--pfb-text, #FFF3D0);
  z-index: 22;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  transition: transform 0.15s ease;
}

.pfb-emmy-speech-bubble:active {
  transform: scale(0.96);
}

.pfb-bubble-pop {
  animation: pfb-bubble-appear 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pfb-bubble-appear {
  0% { opacity: 0; transform: scale(0.6) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.pfb-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.pfb-bubble-crown {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--pfb-gold, #F5B030);
}

.pfb-speech-waves {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.pfb-speech-waves span {
  display: inline-block;
  width: 3px;
  height: 5px;
  background: var(--pfb-gold, #F5B030);
  border-radius: 2px;
  transition: height 0.1s ease;
}

.pfb-speech-waves.speaking span:nth-child(1) {
  animation: pfb-wave 0.4s infinite alternate ease-in-out;
}
.pfb-speech-waves.speaking span:nth-child(2) {
  animation: pfb-wave 0.4s 0.15s infinite alternate ease-in-out;
}
.pfb-speech-waves.speaking span:nth-child(3) {
  animation: pfb-wave 0.4s 0.3s infinite alternate ease-in-out;
}

@keyframes pfb-wave {
  0% { height: 4px; }
  100% { height: 12px; }
}

.pfb-bubble-text {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #FFF3D0;
}

.pfb-bubble-tail {
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--pfb-gold, #F5B030);
}

.pfb-result-roast-card {
  background: rgba(245, 176, 48, 0.1);
  border: 1px solid rgba(245, 176, 48, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 18px 0;
  max-width: 320px;
  width: 100%;
}

.pfb-roast-badge {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--pfb-gold, #F5B030);
  margin-bottom: 6px;
}

.pfb-result-roast-text {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.4;
  color: #FFF3D0;
  font-style: italic;
  margin: 0 0 10px 0;
}

.pfb-roast-speak-btn {
  background: rgba(6, 4, 0, 0.8);
  color: var(--pfb-gold, #F5B030);
  border: 1px solid var(--pfb-gold, #F5B030);
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.pfb-roast-speak-btn:hover {
  background: rgba(245, 176, 48, 0.2);
  transform: scale(1.02);
}

.pfb-roast-speak-btn.speaking {
  animation: pfb-pulse-gold 1s infinite alternate;
}

@keyframes pfb-pulse-gold {
  0% { box-shadow: 0 0 4px rgba(245, 176, 48, 0.3); }
  100% { box-shadow: 0 0 14px rgba(245, 176, 48, 0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .pfb-result-overlay,
  .pfb-bubble-pop,
  .pfb-speech-waves.speaking span,
  .pfb-roast-speak-btn.speaking {
    animation: none !important;
  }
}

/* V2 actors live at the photo edge. The transparent button is semantic;
 * only the actor accepts pointer input, leaving the rest of the photo usable. */
.prost + .sr-only,
.fotobombe + .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pfb-playable-photo-inline.pfb-prost-mode,
.pfb-playable-photo-inline.pfb-fotobombe-mode { pointer-events: none; overflow: hidden; border-radius: inherit; }
.prost,
.fotobombe { position: absolute; inset: 0; pointer-events: none; }
.prost[hidden],
.fotobombe[hidden] { display: none !important; }
.prost-target,
.fotobombe-target {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff6df;
  pointer-events: none;
  touch-action: pan-y;
  text-align: left;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.prost-target:disabled,
.fotobombe-target:disabled { opacity: 1; }
.prost-target:focus-visible,
.fotobombe-target:focus-visible { outline: none; }
.prost-target:focus-visible .prost-glasses,
.fotobombe-target:focus-visible .fotobombe-figure { outline: 3px solid #fff3d0; outline-offset: -4px; border-radius: 12px; }
.prost-copy,
.fotobombe-copy {
  position: absolute;
  left: 6%;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: max-content;
  max-width: 52%;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 1px 2px #000, 0 2px 8px #000, 0 0 18px rgba(0, 0, 0, .85);
}
.prost-kicker,
.fotobombe-kicker { font: 10px/1.4 'DM Mono', monospace; letter-spacing: .1em; color: #ffe2a3; }
.prost-line,
.fotobombe-line { font: clamp(19px, 5vw, 29px)/1.05 'Anton', sans-serif; letter-spacing: .025em; overflow-wrap: anywhere; text-wrap: balance; }
.prost-glasses,
.fotobombe-figure { position: absolute; min-width: 44px; min-height: 44px; pointer-events: auto; cursor: pointer; }
.prost-target:disabled .prost-glasses,
.fotobombe-target:disabled .fotobombe-figure { cursor: default; pointer-events: none; }

/* Perspective and alpha shadows anchor the objects directly on the photograph. */
.prost-glasses { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.prost-glass { position: absolute; bottom: 0; width: 48%; height: 100%; object-fit: contain; object-position: center bottom; transform-origin: 50% 90%; pointer-events: none; filter: brightness(var(--pfb-scene-brightness, 1)) contrast(var(--pfb-scene-contrast, 1)) saturate(var(--pfb-scene-saturate, 1)) sepia(var(--pfb-scene-sepia, 0)) drop-shadow(0 2px 2px var(--pfb-scene-shadow-contact, rgba(0, 0, 0, .6))) drop-shadow(-2px 3px 2px var(--pfb-scene-shadow-near, rgba(0, 0, 0, .5))) drop-shadow(-7px 11px 9px var(--pfb-scene-shadow-far, rgba(0, 0, 0, .32))); }
.prost-glass.left { bottom: auto; object-fit: fill; }
.prost-glass.right { left: 48%; }
.prost[data-state="waiting"] .prost-target { pointer-events: auto; cursor: crosshair; }
.prost.is-photo-toast .prost-glasses { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.prost.is-photo-toast .prost-glass.right { bottom: auto; object-fit: fill; }
.prost-aim { position: absolute; width: 44px; height: 44px; translate: -50% -50%; border: 2px solid #fff3d0; border-radius: 50%; box-shadow: 0 0 0 2px #161007, 0 0 12px #161007; pointer-events: none; }
.prost-aim::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: #fff3d0; }
.prost-aim[hidden] { display: none; }
.prost-spark { position: absolute; left: 50%; top: 20%; width: 17px; height: 17px; margin: -8px; opacity: 0; pointer-events: none; background: #fffbe8; filter: drop-shadow(0 0 5px #ffe8a8); clip-path: polygon(50% 0, 59% 40%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 40%); }
.prost-foam-particle { position: absolute; left: 50%; top: 20%; width: 4px; height: 4px; opacity: 0; border-radius: 50%; background: #fff9e7; box-shadow: 0 1px 2px rgba(104, 66, 15, .25); pointer-events: none; }
.fotobombe-figure { right: -3%; bottom: -3%; width: clamp(110px, 39%, 205px); height: 53%; transform-origin: 70% 100%; z-index: 1; }
.fotobombe-character { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; pointer-events: none; filter: brightness(var(--pfb-scene-brightness, 1)) contrast(var(--pfb-scene-contrast, 1)) saturate(var(--pfb-scene-saturate, 1)) sepia(var(--pfb-scene-sepia, 0)) drop-shadow(0 2px 3px var(--pfb-scene-shadow-contact, rgba(0, 0, 0, .6))) drop-shadow(-2px 2px 2px var(--pfb-scene-shadow-near, rgba(0, 0, 0, .58))) drop-shadow(-9px 9px 10px var(--pfb-scene-shadow-far, rgba(0, 0, 0, .35))); }
.pfb-photo-edge-bottom .fotobombe-figure { bottom: -3%; }
.pfb-photo-edge-right .fotobombe-figure { right: -8%; bottom: 0; transform-origin: 100% 80%; }

/* Layered depth & foreground occlusion: Hans emerges from behind the table/vessel foreground. */
.fotobombe-occlusion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
}
.fotobombe-occlusion-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 12%, rgba(0,0,0,0) 24%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 12%, rgba(0,0,0,0) 24%);
}

/* Interactive beer impact on the real photo (reversible during ending) */
.fotobombe-beer-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 180ms ease-out;
}
.fotobombe-beer-fx.is-active { opacity: 1; }
.fotobombe-beer-fx.is-fadeout { opacity: 0; transition: opacity 450ms ease-in; }

.fotobombe-beer-shield {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: min(140px, 36%);
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 163, 0.45) 0%, rgba(245, 176, 48, 0.22) 50%, rgba(255, 215, 0, 0) 75%);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.65));
  animation: pfb-shield-pulse 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pfb-shield-pulse {
  0% { transform: scale(0.65); opacity: 0.2; }
  45% { transform: scale(1.08); opacity: 0.85; }
  100% { transform: scale(1); opacity: 0.65; }
}

.fotobombe-beer-theft {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: min(150px, 40%);
  height: 40%;
  pointer-events: none;
}
.fotobombe-theft-splash {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff9e7;
  box-shadow: 0 1px 3px rgba(104, 66, 15, 0.35);
  animation: pfb-theft-splash-fly 650ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes pfb-theft-splash-fly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  60% { opacity: 0.9; }
  100% { transform: translate(var(--splash-tx, 35px), var(--splash-ty, -45px)) scale(0.4); opacity: 0; }
}

/* Applied to the photo's stage at physical contact; no layout displacement. */
.pfb-photo-impact { animation: pfb-photo-contact 190ms ease-out; }
@keyframes pfb-photo-contact {
  0%, 100% { translate: 0 0; }
  18% { translate: -1.5px .8px; }
  42% { translate: 1px -.6px; }
  70% { translate: -.5px .3px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfb-photo-impact { animation: none; }
  .prost-spark,
  .prost-foam-particle { display: none; }
  .prost, .fotobombe, .prost-glass, .fotobombe-figure { transition: none !important; }
}
.prost[data-reduced-motion="true"] .prost-spark,
.prost[data-reduced-motion="true"] .prost-foam-particle { display: none; }
