/* Gala Eagles · celular: fotos de la noche, reacciones en vivo y rifa. Va después de theme-c-guest.css. */

/* ---------- Fotos de la noche ---------- */
.party-card { display: flex; flex-direction: column; gap: 12px; }
.party-card .count { white-space: nowrap; }
.party-text { margin: 0; color: var(--ink-2); font-size: 15px; }
.pp-grid { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pp-tile { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--field); }
.pp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-chip { position: absolute; left: 4px; bottom: 4px; max-width: calc(100% - 8px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 5px 1px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font-family: var(--font-sport); font-weight: 800; font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; }
.pp-chip.is-on { background: var(--gold); color: #000; }
.pp-del { position: absolute; top: 3px; right: 3px; min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 15px; display: grid; place-items: center; background: rgba(0, 0, 0, .65); color: #fff; font-family: var(--font-sport); font-weight: 800; font-size: 13px; text-transform: uppercase; cursor: pointer; }
.pp-del .i { width: 16px; height: 16px; }
.pp-del.is-armed { background: var(--live); padding: 0 10px; }
.pp-tile.is-up img { filter: brightness(.55); }
.pp-state { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.pp-tile.is-err { outline: 2px solid var(--live); }
.hint.center { text-align: center; margin: -4px 0 0; }

/* ---------- Reacciones en vivo ---------- */
.react-bar {
  position: fixed; z-index: 65; left: 0; right: 0; bottom: 0;
  padding: 6px calc(var(--safe-r) + 12px) calc(var(--safe-b) + 10px) calc(var(--safe-l) + 12px);
  background: linear-gradient(180deg, rgba(5, 11, 8, 0), rgba(5, 11, 8, .92) 26%, rgba(5, 11, 8, .98));
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.react-bar[hidden] { display: none; }
.rx-label { margin: 0; font-family: var(--font-sport); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.rx-btns { display: flex; justify-content: center; gap: 10px; width: 100%; max-width: 420px; }
.rx-btn {
  position: relative; flex: 1; max-width: 64px; height: 56px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  background: rgba(255, 255, 255, .07); font-size: 30px; line-height: 1; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; transition: transform .12s, background .2s, opacity .3s;
}
.rx-btn:active { transform: scale(.88); background: rgba(255, 198, 41, .22); }
.rx-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rx-btn.is-tired { animation: rxTired .35s; }
@keyframes rxTired { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.react-bar.is-quiet .rx-btn { opacity: .35; }
.react-bar.is-quiet .rx-label { color: var(--gold); }
.rx-pop { position: absolute; left: 50%; top: 0; font-size: 30px; pointer-events: none; animation: rxPop .9s ease-out forwards; }
@keyframes rxPop { 0% { transform: translate(-50%, 0) scale(.8); opacity: 1; } 100% { transform: translate(-50%, -90px) scale(1.3); opacity: 0; } }
html.has-rx #app { padding-bottom: calc(var(--safe-b) + 110px); }
html.has-rx .layer-vote .vote-inner { padding-bottom: 96px; }
html.has-rx .toast { bottom: calc(var(--safe-b) + 104px); }
@media (prefers-reduced-motion: reduce) { .rx-pop { animation-duration: .3s; } }

/* ---------- Rifa: ganaste ---------- */
.raffle-win .eyebrow { position: relative; z-index: 1; margin-bottom: 18px; display: inline-block; padding: 4px 14px 3px; border-radius: 4px; background: var(--gold); color: #000; font-family: var(--font-sport); font-weight: 900; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.raffle-prize { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; padding: 10px 16px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .25);
  font-family: var(--font-sport); font-style: italic; font-weight: 900; font-size: 22px; text-transform: uppercase; color: #fff; text-align: center; }
.raffle-prize .i { color: var(--gold); flex: none; }
