/* Particle Button (particle-button.js): a plain-CSS port of KokonutUI's Particle Button (MIT). */
.pb-wrap{display:inline-flex}
.pb{position:relative;display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border:1px solid transparent;border-radius:999px;background:#f4f4f5;color:#0b0f17;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;overflow:visible;transition:background-color .2s ease-out,color .2s ease-out,opacity .2s ease-out,border-color .2s ease-out}
.pb:hover:not(:disabled){filter:brightness(.94)}
.pb:focus-visible{outline:2px solid #a1a1aa;outline-offset:2px}
.pb:disabled{opacity:.5;cursor:default}
.pb[data-status="pending"]{cursor:progress}
.pb[data-status="error"]{background:#dc2626;border-color:#dc2626;color:#fff}
.pb.is-outline{background:transparent;border-color:rgba(255,255,255,.28);color:#e4e4e7}
.pb.is-outline:hover:not(:disabled){filter:none;background:rgba(255,255,255,.08)}
/* Clips the sliding labels to the button's box while the burst can still fly outside it. */
.pb-content{position:relative;display:flex;align-items:center;justify-content:center;align-self:stretch;margin:-8px 0;padding:8px 0;overflow:hidden}
.pb-label{display:inline-flex;flex-shrink:0;align-items:center;gap:8px;white-space:nowrap}
.pb-label svg{width:16px;height:16px;flex:none}
.pb-label.is-entering{animation:pb-in .2s cubic-bezier(.23,1,.32,1) both}
.pb-label.is-leaving{position:absolute;inset:8px 0;justify-content:center;animation:pb-out .2s cubic-bezier(.23,1,.32,1) both}
@keyframes pb-in{from{opacity:0;transform:translateY(8px);filter:blur(2px)}}
@keyframes pb-out{to{opacity:0;transform:translateY(-8px);filter:blur(2px)}}
.pb-spinner{animation:pb-spin .7s linear infinite}
@keyframes pb-spin{to{transform:rotate(360deg)}}
.pb-check path{stroke-dasharray:1;stroke-dashoffset:1;animation:pb-draw .3s cubic-bezier(.23,1,.32,1) .08s forwards}
@keyframes pb-draw{to{stroke-dashoffset:0}}
.pb-burst{position:absolute;top:-64px;left:-64px;width:calc(100% + 128px);height:calc(100% + 128px);pointer-events:none}
.pb-burst canvas{display:block;width:100%;height:100%}
.pb-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce){.pb,.pb-label.is-entering,.pb-label.is-leaving{transition:none;animation:none}.pb-label.is-leaving{display:none}.pb-spinner{animation-duration:1.4s}.pb-check path{animation:none;stroke-dashoffset:0}}

/* After a live battle (live-room.js arenaHTML): Rematch and Leave battle, and the countdown back to normal streaming. */
.live-battle-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
.live-battle-choices .pb.is-rematch{background:linear-gradient(90deg,#3b82f6,#ef4444);color:#fff;border-color:transparent}
.live-link-clock{margin:0;font-size:12px;color:#e2e8f0;text-shadow:0 1px 3px #000;font-variant-numeric:tabular-nums}
