/* Estilos para o aviso de presentes/efeitos do TikTok LIVE. */

.tiktok-status-badge {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  font: 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eee;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  pointer-events: none;
}
.tiktok-status-online { background: #d5f5e3; color: #1e7e34; }
.tiktok-status-offline { background: #f5d5d5; color: #a11f2e; }

#tiktok-toast-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
  pointer-events: none;
}

.tiktok-toast {
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #202124;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.tiktok-toast-visible { opacity: .96; transform: translateY(0); }

.tiktok-toast-chaos { background: #6a1b9a; }
.tiktok-toast-speed { background: #1565c0; }
.tiktok-toast-obstacle,
.tiktok-toast-multi_obstacle { background: #2e7d32; }

.tiktok-chaos-mode {
  animation: tiktok-shake .3s infinite;
  outline: 3px solid #ff4081;
  outline-offset: -3px;
}

@keyframes tiktok-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

@media (prefers-color-scheme: dark) {
  .tiktok-status-badge { background: #333; color: #eee; }
  .tiktok-status-online { background: #1e3a28; color: #7be3a3; }
  .tiktok-status-offline { background: #3a1e22; color: #ff8a8a; }
}
