/* The table's New Year balloons (js/balloons.js): they rise over the whole table, above the seats. */
.bl-layer { position: absolute; inset: 0; z-index: 9; pointer-events: none; overflow: hidden; }
.bl-balloon { position: absolute; top: 0; left: 50%; width: 96px; padding: 0; border: 0; background: none;
  pointer-events: auto; cursor: pointer; will-change: transform; -webkit-tap-highlight-color: transparent; }
.bl-balloon[hidden] { display: none; }
.bl-art { display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .28)); transition: scale .12s ease; }
.bl-art svg { display: block; width: 100%; height: auto; }
.bl-balloon:hover .bl-art { scale: 1.04; }
.bl-balloon.wait .bl-art { scale: .93 1.05; }
/* the Christmas-tree lights twinkle one after another, the tree's star glows */
.bl-bulb { animation: blBulb 1.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes blBulb { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.bl-star { transform-box: fill-box; transform-origin: 50% 50%; animation: blStar 1.8s ease-in-out infinite; }
@keyframes blStar { 0%, 100% { scale: 1; } 50% { scale: 1.25; } }
/* the price, a little tag tied on the ribbon */
.bl-tag { position: absolute; left: 50%; top: 66%; translate: -50% 0; display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px 2px 5px;
  border-radius: 999px; background: linear-gradient(#fffdf2, #ffe9a8); color: #6b4300; font: 800 clamp(10px, 2.6vw, 13px)/1.2 system-ui, sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .3), inset 0 0 0 1.5px #e7b52f; white-space: nowrap; }
.bl-tag b { font-size: 11px; }
/* popped: a quick stretch, then gone — the burst takes over */
.bl-balloon.popping { pointer-events: none; }
.bl-balloon.popping .bl-art { animation: blPop .09s ease-out forwards; }
@keyframes blPop { to { scale: 1.25; opacity: 0; } }
.bl-balloon.popping .bl-tag { opacity: 0; transition: opacity .1s; }
/* the wave is over: the rest float off */
.bl-balloon.away { pointer-events: none; animation: blAway 1.1s ease-in forwards; }
@keyframes blAway { to { translate: 0 -110vh; opacity: 0; } }

.bl-burst { position: absolute; width: 0; height: 0; pointer-events: none; }
.bl-flash { position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, rgba(255, 255, 255, .7) 34%, transparent 66%); animation: blFlash .32s ease-out forwards; }
.bl-flash::before { content: ''; position: absolute; inset: -10px; background: conic-gradient(from 0deg, #fff 0 4%, transparent 4% 12.5%, #fff 12.5% 16.5%, transparent 16.5% 25%,
  #fff 25% 29%, transparent 29% 37.5%, #fff 37.5% 41.5%, transparent 41.5% 50%, #fff 50% 54%, transparent 54% 62.5%, #fff 62.5% 66.5%, transparent 66.5% 75%,
  #fff 75% 79%, transparent 79% 87.5%, #fff 87.5% 91.5%, transparent 91.5%); border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 30%, #000 32% 60%, transparent 62%);
  mask: radial-gradient(circle, transparent 30%, #000 32% 60%, transparent 62%); }
@keyframes blFlash { from { scale: .3; opacity: 1; } to { scale: 1.5; opacity: 0; } }
.bl-shred, .bl-conf { position: absolute; left: -4px; top: -4px; animation: blFly 1.1s cubic-bezier(.15, .7, .4, 1) forwards; }
.bl-shred { width: 9px; height: 7px; border-radius: 40% 60% 30% 70%; box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .18); }
.bl-conf { width: 6px; height: 9px; border-radius: 1.5px; }
@keyframes blFly { 0% { translate: 0 0; rotate: 0deg; opacity: 1; } 75% { opacity: 1; } 100% { translate: var(--dx) var(--dy); rotate: var(--r); opacity: 0; } }

/* what was inside: the prize rising with the winner's name, or a puff */
.bl-found { position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); color: #4a2a6b; font: 700 13px/1.2 system-ui, sans-serif; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); pointer-events: none;
  white-space: nowrap; animation: blFound 2.6s ease-out forwards; }
.bl-found:not(.prize) { padding: 4px 10px; color: #6a6a7a; animation-duration: 1.5s; }
.bl-found.prize { background: linear-gradient(#fff, #fff7df); box-shadow: 0 0 0 2px #e6b422, 0 8px 22px rgba(201, 138, 0, .45); }
.bl-found.rare { background: linear-gradient(#fffbea, #ffe7a3); box-shadow: 0 0 0 2px #f2b400, 0 0 24px rgba(255, 196, 0, .8); }
.bl-found small { font-size: 11px; color: #1e3a8a; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.bl-chips { margin: 0; }
@keyframes blFound { 0% { scale: .4; opacity: 0; } 12% { scale: 1.08; opacity: 1; } 20% { scale: 1; } 80% { opacity: 1; translate: -50% -110%; } 100% { opacity: 0; translate: -50% -150%; } }

/* the card in the table chat (a prize balloon was popped) */
.sk-event.sk-balloon { background: linear-gradient(135deg, #f1f4ff, #fff6dc); border-color: #e6c25a; }
.sk-event.sk-balloon .sk-bag { font-size: 26px; }
.sk-event.sk-balloon.rare { background: linear-gradient(135deg, #fff6d6, #ffe08a); border-color: #f2b400; box-shadow: 0 0 14px rgba(255, 196, 0, .45); }
@media (prefers-reduced-motion: reduce) { .bl-bulb, .bl-star { animation: none; } }
