/* Live content refresh (static/live.js): the "Schedule updated" toast and the highlight on changed items.
   Works on the dark event app and on themed event websites (own colours, no theme tokens needed). */
.live-toast {
  position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 60;
  transform: translate(-50%, -16px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 8px 14px; border-radius: 999px;
  background: #11131a; color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  font: 600 14px/1.3 Inter, "Inter Fallback", system-ui, -apple-system, sans-serif; box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  transition: opacity .2s ease, transform .2s ease;
}
.live-toast::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #3ddc84; vertical-align: 1px; }
.live-toast.show { opacity: 1; transform: translate(-50%, 0); }

.live-changed, .live-new { animation: live-flash 6s ease-out 1; border-radius: 12px; }
@keyframes live-flash {
  0%, 30% { box-shadow: 0 0 0 2px #ffb020, 0 0 0 6px rgba(255, 176, 32, .25); background-color: rgba(255, 176, 32, .12); }
  100% { box-shadow: 0 0 0 0 transparent; background-color: transparent; }
}
.live-note {
  display: inline-block; margin-top: 4px; margin-left: 0; padding: 2px 8px; border-radius: 999px;
  background: #ffb020; color: #1a1300; font: 600 12px/1.5 Inter, "Inter Fallback", system-ui, -apple-system, sans-serif; white-space: nowrap;
}
.what > .live-note, .s-session .live-note { display: block; width: max-content; max-width: 100%; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .live-toast { transition: none; }
  .live-changed, .live-new { animation: none; box-shadow: 0 0 0 2px #ffb020; }
}
