﻿
      html, body, #root {
        font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #000000;
        color: #ffffff;
      }
      html, body {
        overscroll-behavior-y: none;
      }
      /* 🚫 Bloqueia o "pull-to-refresh" do navegador: mesmo o usuário puxando
         a tela pra baixo, a página/app NÃO desce — nada sai do lugar. */
      body {
        overflow: hidden;
        overscroll-behavior-y: none;
      }
      /* Hide scrollbar for Chrome, Safari and Opera */
      .no-scrollbar::-webkit-scrollbar {
        display: none;
      }
      /* Hide scrollbar for IE, Edge and Firefox */
      .no-scrollbar {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
      }
      .line-clamp-2 {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
      }
      @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
      }
      .animate-spin-slow {
        animation: spin 3s linear infinite;
      }

      /* 💬 Indicador "digitando..." estilo WhatsApp (pontinhos pulsando) */
      .typing-dot {
        width: 6px;
        height: 6px;
        border-radius: 9999px;
        background: #b91bff;
        display: inline-block;
        animation: typing-bounce 1.2s infinite ease-in-out;
      }
      @keyframes typing-bounce {
        0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
        30% { transform: translateY(-4px); opacity: 1; }
      }

      /* Notification Animations - Slide Down Enter / Slide Up Exit */
    @keyframes notify-slide-in {
        0% {
            opacity: 0;
            transform: translateY(-150%);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    @keyframes notify-slide-out {
        0% {
            opacity: 0;
            transform: translateY(-150%);
        }
        100% {
            opacity: 1;
            transform: translateY(-150%);
        }
    }  

      .animate-notify-enter {
        animation: notify-slide-in 0.5s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
      }
      
      .animate-notify-exit {
        animation: notify-slide-out 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
      }

      @keyframes room-effect-animation {
        0% {
          opacity: 0;
          transform: scale(0.5) translateY(50px);
        }
        20% {
          opacity: 1;
          transform: scale(1.1) translateY(0);
        }
        80% {
          opacity: 1;
          transform: scale(1) translateY(0);
        }
        100% {
          opacity: 0;
          transform: scale(0.8) translateY(-50px);
        }
      }
      .room-effect {
        animation: room-effect-animation 3s ease-in-out forwards;
      }
      @keyframes float-up {
        0% {
          opacity: 1;
          transform: translateY(0) scale(0.5);
        }
        100% {
          opacity: 0;
          transform: translateY(-150px) scale(1.5) rotate(15deg);
        }
      }
      .heart-anim {
        position: absolute;
        animation: float-up 2s ease-out forwards;
        pointer-events: none;
      }
      @keyframes live-ladder-animation {
        0%   { transform: scaleY(0.1); }
        30%  { transform: scaleY(1.0); }
        60%  { transform: scaleY(0.1); }
        80%  { transform: scaleY(0.5); }
        100% { transform: scaleY(0.1); }
      }
      .live-indicator-bar1, .live-indicator-bar2, .live-indicator-bar3, .live-indicator-bar4 {
        transform-origin: bottom;
        animation: live-ladder-animation 1.4s linear infinite;
      }
      .live-indicator-bar1 {
        animation-delay: 0s;
      }
      .live-indicator-bar2 {
        animation-delay: 0.2s;
      }
      .live-indicator-bar3 {
        animation-delay: 0.4s;
      }
      .live-indicator-bar4 {
        animation-delay: 0.6s;
      }

      @keyframes rotate-gradient {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
      }
      @keyframes pulse-ring {
        0%, 100% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.05);
        }
      }
      .live-ring-animated {
        padding: 3px;
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
        background-size: 300% 300%;
        border-radius: 50% !important;
        animation: rotate-gradient 4s ease infinite, pulse-ring 2s ease-in-out infinite;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1 / 1 !important;
        box-sizing: border-box !important;
      }
      @keyframes pulse-badge {
        0%, 100% {
          transform: translateX(-50%) scale(1);
          box-shadow: 0 1px 3px rgba(0,0,0,0.4);
        }
        50% {
          transform: translateX(-50%) scale(1.08);
          box-shadow: 0 2px 8px rgba(220, 39, 67, 0.7);
        }
      }
      .live-button {
        background: #7c3aed !important;
        background-image: linear-gradient(135deg, #7c3aed 0%, #d21fff 100%) !important;
        color: #ffffff !important;
        border: 1px solid #d21fff !important;
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.55) !important;
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        animation: none !important;
      }
      @keyframes avatar-frame-glow {
        0%, 100% {
          filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 8px rgba(168, 85, 247, 0.3));
        }
        50% {
          filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
        }
      }
      .avatar-frame-glow-effect {
        animation: avatar-frame-glow 2.5s ease-in-out infinite;
      }

      /* New Avatar Frame Animations */
      @keyframes classic-silver-glow {
        0%, 100% { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4)); }
        50% { filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.8)); }
      }
      .classic-silver-anim { animation: classic-silver-glow 2.5s ease-in-out infinite; }

      @keyframes glowing-runes-anim {
        0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 5px #60a5fa); }
        50% { opacity: 1; filter: drop-shadow(0 0 12px #3b82f6); }
      }
      .glowing-runes-anim { animation: glowing-runes-anim 4s ease-in-out infinite; }

      @keyframes spring-blossom-anim {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }
      .spring-blossom-anim { animation: spring-blossom-anim 20s linear infinite; }

      @keyframes royal-gold-glow {
        0%, 100% { filter: drop-shadow(0 0 4px #fcd34d) drop-shadow(0 0 8px #f59e0b); }
        50% { filter: drop-shadow(0 0 8px #fef08a) drop-shadow(0 0 16px #fcd34d); }
      }
      .royal-gold-anim { animation: royal-gold-glow 2s ease-in-out infinite; }

      @keyframes frozen-shard-anim {
        0%, 100% { filter: drop-shadow(0 0 3px #a5f3fc) drop-shadow(0 0 6px #67e8f9); transform: scale(1); }
        50% { filter: drop-shadow(0 0 7px #e0f2fe) drop-shadow(0 0 14px #a5f3fc); transform: scale(1.02); }
      }
      .frozen-shard-anim { animation: frozen-shard-anim 3s ease-in-out infinite; }

      @keyframes phoenix-feathers-anim {
        0%, 100% { filter: hue-rotate(0deg) drop-shadow(0 0 6px #f97316); }
        50% { filter: hue-rotate(20deg) drop-shadow(0 0 12px #fb923c); }
      }
      .phoenix-feathers-anim { animation: phoenix-feathers-anim 2.5s ease-in-out infinite; }
      
      @keyframes starlight-anim-opacity {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
      }
      .starlight-anim { animation: starlight-anim-opacity 5s ease-in-out infinite; }

      @keyframes dragon-scale-shimmer {
        0%, 100% { filter: hue-rotate(0deg); }
        50% { filter: hue-rotate(45deg); }
      }
      .dragon-scale-anim { animation: dragon-scale-shimmer 4s ease-in-out infinite; }
      
      @keyframes celestial-wings-anim {
        0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px #f0abfc); }
        50% { transform: scale(1.05); filter: drop-shadow(0 0 15px #f5d0fe); }
      }
      .celestial-wings-anim { animation: celestial-wings-anim 3s ease-in-out infinite; }

      @keyframes score-update-pop {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.15); }
      }
      .score-pop {
        animation: score-update-pop 0.3s ease-out;
      }
      .bg-pk-streamer { background-image: linear-gradient(to right, #ec4899, #d946ef); }
      .bg-pk-opponent { background-image: linear-gradient(to left, #3b82f6, #6366f1); }

      /* Animações do Painel de Ganhos */
      @keyframes panel-glow {
        0%, 100% {
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        50% {
          box-shadow: 0 6px 25px rgba(250, 204, 21, 0.4), 0 0 40px rgba(250, 204, 21, 0.2) inset;
        }
      }
      .panel-glow-effect {
        animation: panel-glow 0.8s ease-in-out;
      }

      @keyframes twinkle-anim {
        0% { background-position: 0 0; }
        100% { background-position: -1000px 500px; }
      }

      .twinkle-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: transparent url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHJlY3Qgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBmaWxsPSJ0cmFuc3BhcmVudCIvPjxjaXJjbGUgY3g9IjUiIGN5PSI1IiByPSIxIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU5LDAuMDUpIi8+PC9zdmc+') repeat;
        animation: twinkle-anim 40s linear infinite;
        z-index: 0;
      }
      
      /* Gift Animations */
      @keyframes gift-wrapper-anim {
        0% { opacity: 0; transform: translateX(-120%) scale(0.8); }
        15% { opacity: 1; transform: translateX(0) scale(1); box-shadow: 0 0 15px rgba(250, 204, 21, 0.5); }
        85% { opacity: 1; transform: translateX(0) scale(1); box-shadow: 0 0 15px rgba(250, 204, 21, 0.5); }
        100% { opacity: 0; transform: translateX(-120%) scale(0.8); }
      }
      @keyframes gift-pulse-anim {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.2); }
      }
      @keyframes gift-pop-up-anim {
        0% { transform: translateY(100%); opacity: 0; }
        50% { transform: translateY(-20%); opacity: 1; }
        100% { transform: translateY(0); opacity: 1; }
      }
      @keyframes gift-fall-spin-anim {
        from { transform: translateY(-150%) rotate(0deg); opacity: 0; }
        to { transform: translateY(0) rotate(360deg); opacity: 1; }
      }
      @keyframes gift-slide-in-anim {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
      }
      @keyframes gift-flash-anim {
        0%, 100% { filter: brightness(1); }
        50% { filter: brightness(3); }
      }
      @keyframes gift-rocket-launch-anim {
        0% { transform: translate(200px, 300px) rotate(45deg) scale(0.5); opacity: 1; }
        100% { transform: translate(-300px, -400px) rotate(45deg) scale(1.2); opacity: 0;}
      }

      .gift-animation-base {
        animation: gift-wrapper-anim 5s ease-in-out forwards;
      }
      .gift-anim-pulse { animation: gift-pulse-anim 0.4s ease-in-out 3; }
      .gift-anim-pop-up { animation: gift-pop-up-anim 0.8s ease-out; }
      .gift-anim-fall-spin { animation: gift-fall-spin-anim 1s ease-out; }
      .gift-anim-slide-in { animation: gift-slide-in-anim 1s cubic-bezier(.25,.8,.5,1); }
      .gift-anim-flash { animation: gift-flash-anim 0.2s linear 5; }
      .gift-anim-rocket { animation: gift-rocket-launch-anim 2s ease-in; }

      @keyframes fade-in-out {
        0%, 100% { opacity: 0; transform: translate(-50%, -20px); }
        10%, 90% { opacity: 1; transform: translate(-50%, 0); }
      }
      .animate-fade-in-out {
        animation: fade-in-out 3s ease-in-out forwards;
      }

      /* Roleta de Prêmios — fade-in simples e bounce do resultado */
      @keyframes roulette-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      .animate-fade-in {
        animation: roulette-fade-in 0.3s ease-out forwards;
      }

      /* Presente Fixado — SOBE do fundo até o canto inferior direito quando
         o host salva (a posição final é bottom-28 right-3). */
      @keyframes gift-pinned-rise-anim {
        0% { transform: translateY(45vh) scale(0.6); opacity: 0; }
        20% { opacity: 1; }
        55% { transform: translateY(-1vh) scale(1.05); opacity: 1; }
        70% { transform: translateY(0.5vh) scale(0.98); }
        100% { transform: translateY(0) scale(1); opacity: 1; }
      }
      .gift-pinned-rise {
        animation: gift-pinned-rise-anim 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      }

      @keyframes roulette-bounce-short {
        0% { transform: scale(0.8); opacity: 0; }
        60% { transform: scale(1.05); opacity: 1; }
        100% { transform: scale(1); opacity: 1; }
      }
      .animate-bounce-short {
        animation: roulette-bounce-short 0.4s ease-out forwards;
      }

      /* New Luxury/Fantasy Gift Animations */
      /* 1. Foguete */
      @keyframes rocket-vertical-launch-effect { 0% { transform: translateY(50vh) scale(0.7); opacity: 1; } 100% { transform: translateY(-100vh) scale(1.2); opacity: 0; } }
      .gift-anim-foguete { animation: rocket-vertical-launch-effect 3s ease-in forwards; }
      .gift-anim-foguete::after { content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 20px; height: 100px; background: linear-gradient(to top, #f97316, #fde047, transparent); border-radius: 50%; filter: blur(10px); animation: rocket-trail-flicker 0.2s linear infinite; }
      @keyframes rocket-trail-flicker { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.8; transform: scaleY(1.2); } }

      /* 2. Jato Privado */
      @keyframes jet-fly-by-effect { 0% { transform: translate(-100vw, -10vh) rotate(-15deg); } 100% { transform: translate(100vw, 10vh) rotate(-15deg); } }
      .gift-anim-jato-privado { animation: jet-fly-by-effect 4s linear forwards; }
      .gift-anim-jato-privado::after { content: ''; position: absolute; right: 100%; top: 50%; width: 150px; height: 40px; background: radial-gradient(circle, white 20%, transparent 70%); opacity: 0.5; filter: blur(15px); box-shadow: 30px -10px 0 0 white, 60px 10px 0 -5px white; }

      /* 3. Anel */
      @keyframes ring-spin-effect { 0% { transform: scale(0.5) rotateY(0deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(2) rotateY(1080deg); opacity: 0; } }
      @keyframes ring-sparkle-effect { 0%, 100% { box-shadow: 0 0 20px 10px #fff, 0 0 30px 15px #a78bfa; } 50% { box-shadow: 0 0 30px 15px #fff, 0 0 40px 20px #a78bfa; } }
      .gift-anim-anel { animation: ring-spin-effect 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards; }
      .gift-anim-anel > * { animation: ring-sparkle-effect 1.5s ease-in-out infinite; }

      /* 4. Leão */
      @keyframes lion-roar-effect { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.2) rotate(-2deg); } 45% { transform: scale(1.25) rotate(2deg); } 50% { transform: scale(1.3); } 60% { transform: scale(1); } }
      .gift-anim-leao { animation: lion-roar-effect 2s ease-in-out forwards; }

      /* 5. Carro Esportivo */
      @keyframes car-race-effect { 0% { transform: translateX(-100vw); } 100% { transform: translateX(100vw); } }
      .gift-anim-carro { animation: car-race-effect 2.5s linear forwards; }
      .gift-anim-carro::after { content: ''; position: absolute; bottom: 0; left: -20px; width: 10px; height: 10px; background: #fef08a; border-radius: 50%; box-shadow: 0 0 10px 5px #fef08a, 150px 0 10px 5px #fef08a; animation: car-sparks-effect 0.1s linear infinite; }
      @keyframes car-sparks-effect { to { transform: translateY(-10px) scale(0.5); opacity: 0; } }

      /* 6. Fênix */
      @keyframes phoenix-flight-effect { 0% { transform: translate(-50vw, 50vh) scale(0.5) rotate(45deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(50vw, -50vh) scale(1.5) rotate(45deg); opacity: 0; } }
      .gift-anim-fenix { animation: phoenix-flight-effect 3s ease-in-out forwards; }
      .gift-anim-fenix::before { content: ''; position: absolute; inset: -50%; border-radius: 50%; background: radial-gradient(circle, rgba(251, 146, 60, 0.8) 10%, transparent 60%); animation: phoenix-fire-effect 1s infinite; }
      @keyframes phoenix-fire-effect { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.2); opacity: 1; } }

      /* 7. Supercarro */
      @keyframes supercar-race-effect { 0% { transform: translateX(-120vw) skewX(-20deg); } 100% { transform: translateX(120vw) skewX(-20deg); } }
      .gift-anim-supercarro { animation: supercar-race-effect 1.5s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards; }
      .gift-anim-supercarro::after { content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); width: 200px; height: 10px; background: linear-gradient(to right, #a855f7, transparent); filter: blur(5px); }

      /* 8. Dragão */
      @keyframes dragon-flight-effect { 0% { transform: translate(-50vw, -30vh) scale(1.5) rotate(15deg); } 50% { transform: translate(0, 0) scale(2) rotate(0deg); } 100% { transform: translate(50vw, -30vh) scale(1.5) rotate(-15deg); } }
      .gift-anim-dragao { animation: dragon-flight-effect 4s ease-in-out forwards; }
      .gift-anim-dragao::after { content: '🔥'; font-size: 5rem; position: absolute; left: -50px; top: 30px; opacity: 0; animation: dragon-fire-breath 4s 1s ease-in-out forwards; }
      @keyframes dragon-fire-breath { 0% { opacity: 0; transform: scale(0.1) translateX(0); } 10% { opacity: 1; transform: scale(1) translateX(-50px); } 30% { opacity: 1; transform: scale(1.5) translateX(-150px); } 50% { opacity: 0; transform: scale(0.5) translateX(-200px); } 100% { opacity: 0; } }

      /* 9. Castelo */
      @keyframes castle-appear-effect { 0% { transform: translateY(20%) scale(0.8); opacity: 0; filter: blur(10px); } 100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); } }
      .gift-anim-castelo { animation: castle-appear-effect 2s ease-out forwards; filter: drop-shadow(0 0 30px #d8b4fe); }

      /* 10. Universo */
      .gift-anim-universo { animation: gift-flash-anim 0.5s linear 3; }

      /* 11. Helicóptero */
      @keyframes helicopter-rise-effect { 0% { transform: translateY(50vh) scale(0.8); } 100% { transform: translateY(-100vh) scale(1.2); } }
      .gift-anim-helicoptero { animation: helicopter-rise-effect 4s linear forwards; }
      .gift-anim-helicoptero > * { animation: helicopter-blades 0.1s linear infinite; }
      @keyframes helicopter-blades { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

      /* 12. Planeta */
      @keyframes planet-spin-effect { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
      .gift-anim-planeta { animation: planet-spin-effect 10s linear infinite; }
      .gift-anim-planeta::before, .gift-anim-planeta::after { content: '🛰️'; position: absolute; font-size: 2rem; }
      .gift-anim-planeta::before { top: -40px; left: -40px; animation: orbit1 5s linear infinite; }
      .gift-anim-planeta::after { bottom: -30px; right: -30px; animation: orbit2 7s linear infinite; }
      @keyframes orbit1 { from { transform: rotate(0deg) translateX(100px) rotate(0deg); } to { transform: rotate(360deg) translateX(100px) rotate(-360deg); } }
      @keyframes orbit2 { from { transform: rotate(0deg) translateX(80px) rotate(0deg); } to { transform: rotate(-360deg) translateX(80px) rotate(360deg); } }

      /* 13. Iate */
      @keyframes yacht-sail-effect { 0% { transform: translateX(-100vw) rotate(-5deg); } 50% { transform: rotate(5deg); } 100% { transform: translateX(100vw) rotate(-5deg); } }
      .gift-anim-iate { animation: yacht-sail-effect 6s ease-in-out forwards; }
      .gift-anim-iate-wrapper::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path fill="%233b82f6" fill-opacity="0.7" d="M0 10 Q 25 0, 50 10 T 100 10 L 100 20 L 0 20 Z" /></svg>'); background-size: 100px 100px; animation: waves 2s linear infinite; }
      @keyframes waves { from { background-position-x: 0; } to { background-position-x: -100px; } }

      /* 14. Galáxia */
      @keyframes galaxy-spin-effect { from { transform: scale(0.5) rotate(0deg); opacity: 0; } to { transform: scale(1) rotate(360deg); opacity: 1; } }
      .gift-anim-galaxia { animation: galaxy-spin-effect 4s ease-out forwards reverse; }

      /* 15. Coroa Real */
      @keyframes crown-appear-effect { 0% { transform: scale(3); opacity: 0; filter: blur(20px); } 100% { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 0 20px #fef08a); } }
      .gift-anim-coroa-real { animation: crown-appear-effect 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; }

      /* 16. Diamante VIP */
      @keyframes diamond-spin-effect { from { transform: rotateY(0deg) rotateX(10deg) scale(0.5); opacity: 0; } to { transform: rotateY(720deg) rotateX(10deg) scale(1.2); opacity: 1; } }
      @keyframes prismatic-shine { 0% { filter: hue-rotate(0deg) drop-shadow(0 0 15px #fff); } 100% { filter: hue-rotate(360deg) drop-shadow(0 0 15px #fff); } }
      .gift-anim-diamante-vip { animation: diamond-spin-effect 3s ease-out forwards, prismatic-shine 2s linear infinite alternate; }

      /* 17. Ilha Particular */
      @keyframes island-appear-effect { 0% { transform: translateY(30vh) scale(0.5); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
      .gift-anim-ilha-particular { animation: island-appear-effect 3s ease-out forwards; }
      .gift-anim-ilha-particular-wrapper::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 150px; background: radial-gradient(ellipse at 50% 100%, #3b82f6 30%, transparent 70%); animation: island-water-ripple 2s ease-in-out infinite; }
      @keyframes island-water-ripple { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 0.9; } }

      /* 18. Cavalo Alado */
      @keyframes winged-horse-fly-effect { 0% { transform: translate(-80vw, 20vh) scale(1); } 100% { transform: translate(80vw, -20vh) scale(1); } }
      .gift-anim-cavalo-alado { animation: winged-horse-fly-effect 5s linear forwards; }
      .gift-anim-cavalo-alado > * { animation: wing-flap 0.5s ease-in-out infinite alternate; }
      @keyframes wing-flap { from { transform: rotateY(-15deg) rotateX(5deg); } to { transform: rotateY(15deg) rotateX(-5deg); } }

      /* 19. Tigre Dourado */
      @keyframes tiger-walk-effect { 0% { transform: translateX(-50vw) scaleX(-1); opacity: 0;} 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(50vw) scaleX(-1); opacity: 0;} }
      .gift-anim-tigre-dourado { animation: tiger-walk-effect 5s ease-in-out forwards; }
      .gift-anim-tigre-dourado::after { content: '✨'; position: absolute; bottom: 0; left: 50%; font-size: 2rem; color: #facc15; animation: tiger-sparks 0.5s linear infinite; }
      @keyframes tiger-sparks { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-30px) scale(0.5) rotate(90deg); } }

      /* 20. Nave Espacial */
      @keyframes spaceship-fly-effect { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100vw); } }
      .gift-anim-nave-espacial { animation: spaceship-fly-effect 3s linear forwards; }
      .gift-anim-nave-espacial::before, .gift-anim-nave-espacial::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; animation: spaceship-lights 1s linear infinite; }
      .gift-anim-nave-espacial::before { top: 20%; left: 30%; background: #ef4444; }
      .gift-anim-nave-espacial::after { bottom: 20%; right: 30%; background: #3b82f6; animation-delay: 0.5s; }
      @keyframes spaceship-lights { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

      /* Generic Fullscreen Gift Animation */
      @keyframes gift-anim-fullscreen-generic {
        0% { transform: scale(0.3) rotate(-15deg); opacity: 0; }
        20% { transform: scale(1.1) rotate(5deg); opacity: 1; }
        80% { transform: scale(1) rotate(0deg); opacity: 1; }
        100% { transform: scale(0.5); opacity: 0; }
      }
      .gift-anim-fullscreen-generic {
          animation: gift-anim-fullscreen-generic 3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
      }

      /* New Coffee Gift Animation */
      @keyframes gift-anim-cafe-effect {
          0% { transform: translateY(20%) scale(0.8); opacity: 0; }
          20% { transform: translateY(0) scale(1.1) rotate(-5deg); opacity: 1; filter: drop-shadow(0 0 15px #fef08a); }
          40% { transform: scale(1) rotate(5deg); }
          60% { filter: drop-shadow(0 0 25px #fef08a); }
          80% { transform: scale(1.05) rotate(0deg); opacity: 1; }
          100% { transform: scale(0.7); opacity: 0; }
      }
      .gift-anim-cafe {
          animation: gift-anim-cafe-effect 3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
      }

      /* New Heart Gift Animation */
      @keyframes gift-anim-coracao-effect {
        0% {
          transform: scale(0.5);
          opacity: 0;
          filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.5));
        }
        30% {
          transform: scale(1.2);
          opacity: 1;
          filter: drop-shadow(0 0 30px rgba(236, 72, 153, 1)) drop-shadow(0 0 15px rgba(244, 63, 94, 0.8));
        }
        50% {
          transform: scale(1);
        }
        70% {
          transform: scale(1.1);
          filter: drop-shadow(0 0 40px rgba(236, 72, 153, 1)) drop-shadow(0 0 20px rgba(244, 63, 94, 0.9));
        }
        100% {
          transform: scale(0.8);
          opacity: 0;
          filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.5));
        }
      }
      .gift-anim-coracao {
          animation: gift-anim-coracao-effect 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
          position: relative; /* Needed for pseudo-elements */
      }
      .gift-anim-coracao::before {
          content: '✨';
          position: absolute;
          font-size: 2rem;
          color: #fef08a;
          opacity: 0;
          animation: sparkle-one 1.5s ease-out forwards;
          top: 50%;
          left: 50%;
      }
      .gift-anim-coracao::after {
          content: '💖';
          position: absolute;
          font-size: 1.5rem;
          color: #f9a8d4;
          opacity: 0;
          animation: sparkle-two 1.5s ease-out forwards;
          top: 50%;
          left: 50%;
      }

      @keyframes sparkle-one {
          0%, 100% { opacity: 0; }
          30% { opacity: 1; transform: translate(-60px, -80px) scale(1.5) rotate(-30deg); }
          80% { opacity: 0; transform: translate(-80px, -120px) scale(0.5) rotate(-60deg); }
      }

      @keyframes sparkle-two {
          0%, 100% { opacity: 0; }
          40% { opacity: 1; transform: translate(70px, -60px) scale(1.2) rotate(20deg); }
          90% { opacity: 0; transform: translate(90px, -100px) scale(0.5) rotate(40deg); }
      }

      @keyframes button-glow {
        0%, 100% {
            box-shadow: 0 0 5px rgba(168, 85, 247, 0.4), 0 0 10px rgba(168, 85, 247, 0.3), 0 0 15px rgba(168, 85, 247, 0.2);
        }
        50% {
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.6), 0 0 20px rgba(168, 85, 247, 0.4), 0 0 30px rgba(168, 85, 247, 0.3);
        }
      }
      .button-glow {
          animation: button-glow 2.5s ease-in-out infinite;
      }
      .button-glow:disabled {
          animation: none;
      }

      /* Typing Bubble */
      @keyframes typing-bubble-pop-in {
        0% {
          transform: scale(0.8) translateY(10px);
          opacity: 0;
        }
        100% {
          transform: scale(1) translateY(0);
          opacity: 1;
        }
      }
      .typing-bubble {
        position: relative;
        background-color: rgba(67, 56, 202, 0.85); /* A nice purple/blue */
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        padding: 10px 16px;
        border-radius: 22px;
        color: white;
        max-width: 90%;
        word-break: break-word; /* Ensure long text wraps */
        animation: typing-bubble-pop-in 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      }
      .typing-bubble::after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 20px;
        width: 0;
        height: 0;
        border: 15px solid transparent;
        border-top-color: rgba(67, 56, 202, 0.85);
        border-bottom: 0;
        border-left: 0;
        margin-left: -7.5px;
        margin-bottom: -15px;
      }

      /* Live Premium Message Spring Animations */
      @keyframes chat-message-in {
        0% {
          opacity: 0;
          transform: translateY(18px) scale(0.92);
          filter: brightness(1.2);
        }
        100% {
          opacity: 1;
          transform: translateY(0) scale(1);
          filter: brightness(1);
        }
      }
      .animate-chat-message {
        animation: chat-message-in 0.38s cubic-bezier(0.34, 1.6, 0.64, 1) forwards;
      }

      /* ═══ Live — novo layout: chat estilo TikTok ═══════════════════════
         Máscara de fade no topo: as mensagens sobem e somem suavemente
         (mask-image), sem vazar para fora da área. */
      .chat-mask {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 9%, #000 18%, #000 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 9%, #000 18%, #000 100%);
      }

      /* ⌨️ Teclado virtual NOVO — suavidade de subida (copiado do
         index.css do projeto novo: `messageSlideIn` + `animate-message-in`). */
      @keyframes messageSlideIn {
        0% {
          opacity: 0;
          transform: translateY(10px) scale(0.98);
        }
        100% {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }
      .animate-message-in {
        animation: messageSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      }

      /* Corações flutuantes do botão de curtir (feedback visual do novo layout) */
      @keyframes live-heart-float-up {
        0% {
          opacity: 0;
          transform: translateY(8px) scale(0.7) rotate(var(--heart-rotation, 0deg));
        }
        12% {
          opacity: 1;
        }
        100% {
          opacity: 0;
          transform: translateY(-300px) scale(1.1) rotate(var(--heart-rotation, 0deg));
        }
      }
      .animate-float-up {
        animation: live-heart-float-up 3s ease-out forwards;
      }
    

/* ═══════════════════════════════════════════════════════════════════
   ESTILOS ESSENCIAIS DO APP — movidos de src/styles.css
   O import do CSS extra foi REMOVIDO: os utilitários compartilhados
   (flex-1, flex-row, select-text…) vêm SOMENTE do Tailwind (CDN).
   Este bloco mantém apenas o que o Tailwind não substitui:
   container do app, componentes proprietários e animações.
   (Removidos: reset *{}, font-family, html{font-size} nas media-queries
   e classes mortas — tudo isso conflitava com o Tailwind.)
   ═══════════════════════════════════════════════════════════════════ */

/* Suavização de fonte + toque (margins/padding/reset = Tailwind preflight) */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

#root {
  display: flex;
  flex-direction: column;
}

/* Container Principal do App */
.app-container {
  height: var(--app-height, 100dvh);
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  /* dvh = dynamic viewport height: ajusta automaticamente quando o teclado
     virtual abre/fecha. O JS atualiza --app-height, mas o fallback dvh
     garante que o layout nunca fique preso em uma altura fixa. */
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsividade de Tela para Laptops, Desktops, Ultrawide e Tablets */
@media (min-width: 480px) {
  .app-container {
    max-width: 480px !important;
    width: 100% !important;
    height: var(--app-height, 100dvh) !important;
    margin: 0 auto !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 64px rgba(0, 0, 0, 0.9);
  }

  /* Forçar que elementos de overlay fixos fiquem confinados ao container centrado */
  .app-container .fixed,
  .app-container [class*="fixed "] {
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* Na tela de live o container NUNCA encolhe com o teclado
   (esta classe é o sinal para o JS; a altura vem do JS). */
.app-container.live-fixed {
  padding-bottom: 0;
}

/* Scrollbar OCULTA globalmente — estilo TikTok (rola com o dedo sem mostrar barra) */
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Scrollbar oculta mas com scroll funcional */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Prevenir Zoom em Inputs no iOS */
@supports (-webkit-touch-callout: none) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px;
  }
}

/* Bloquear scroll no elemento */
.no-scroll {
  overflow: hidden;
}

/* Safe area (notch / barra de navegação do sistema) */
.safe-area-inset {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Perfect Circular Avatar Wrapper and Image */
.perfect-avatar-wrapper {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); /* Forces GPU round clip rendering on WebViews */
  aspect-ratio: 1 / 1 !important;
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, transparent 100%);
  mask-image: radial-gradient(circle, white 100%, transparent 100%);
  background-color: #222222 !important; /* Background while loading */
}
.perfect-avatar-image {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  transform-origin: center !important;
}

/* Forçar seleção de texto para cópia no mobile (inputs) */
textarea, input {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* ===== 🔒 Proteção de conteúdo (live + mídia do chat) ===== */
.no-capture-media {
  -webkit-touch-callout: none; /* iOS: sem menu "Salvar imagem" no long-press */
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.no-capture-media img,
.no-capture-media video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===================================================================
   Floating Chat Notification — estilo WhatsApp
   =================================================================== */
.floating-notif-container {
  position: fixed;
  /* ESTILO TIKTOK: aparece POR DEBAIXO — nunca sobre a live */
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  padding: 0 12px 8px;
  z-index: 99999;
  pointer-events: none;
}
.floating-notif-banner {
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  cursor: grab;
  animation: floatingNotifSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.floating-notif-banner:active {
  cursor: grabbing;
}
.floating-notif-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(18, 18, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-notif-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.floating-notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.floating-notif-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4CAF50;
  border: 2px solid #121218;
}
.floating-notif-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.floating-notif-sender {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.floating-notif-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.floating-notif-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}
.floating-notif-close:hover,
.floating-notif-close:active {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}
.floating-notif-indicator {
  height: 2px;
  width: 40px;
  margin: 6px auto 0;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.15);
}
@keyframes floatingNotifSlideIn {
  from {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   VOICE ROOM — anéis de slots estilo TikTok
   ═══════════════════════════════════════════════════════════════════ */
.vr-ring {
  border-radius: 9999px;
  background: conic-gradient(from 210deg, rgba(34,211,238,0.25) 0deg, rgba(34,211,238,0.0) 60deg, rgba(168,85,247,0.28) 140deg, rgba(244,114,182,0.0) 240deg, rgba(34,211,238,0.25) 360deg);
}
.vr-ring-speaking {
  background: conic-gradient(from 0deg, #22d3ee 0deg, #a855f7 70deg, #8b5cf6 130deg, #f09433 200deg, #22d3ee 300deg, #22d3ee 360deg);
  animation: vr-ring-spin 1.4s linear infinite;
}
@keyframes vr-ring-spin {
  to { transform: rotate(360deg); }
}
.vr-ring-pulse {
  animation: vr-ring-breathe 1.3s ease-in-out infinite;
}
@keyframes vr-ring-breathe {
  0%, 100% {
    box-shadow: 0 0 10px rgba(34,211,238,0.35), 0 0 22px rgba(168,85,247,0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(34,211,238,0.55), 0 0 40px rgba(168,85,247,0.45);
  }
}
.vr-host-ring {
  background: conic-gradient(from 180deg, #22d3ee 0deg, #60a5fa 60deg, #a855f7 140deg, #f09433 220deg, #ec4899 300deg, #22d3ee 360deg);
  animation: vr-ring-breathe 1.8s ease-in-out infinite;
}
.vr-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5px;
  height: 12px;
}
.vr-eq span {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: #22d3ee;
  transform-origin: bottom;
  animation: vr-eq-bounce 0.9s ease-in-out infinite;
}
.vr-eq span:nth-child(2) { animation-delay: 0.15s; }
.vr-eq span:nth-child(3) { animation-delay: 0.3s; }
@keyframes vr-eq-bounce {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}
.vr-stage-glow {
  background:
    radial-gradient(ellipse at center, rgba(34,211,238,0.10) 0%, rgba(168,85,247,0.06) 40%, transparent 70%);
}

/* Responsividade de Texto — REGRAS GLOBAIS restauradas do styles.css:
   escalona todo o layout rem em telas pequenas. Sem elas, o root ficava
   16px no celular e os rodapés das salas (live/PK/voz) ficavam grandes
   e passavam da tela. (As outras media queries do arquivo antigo eram de
   classes mortas — não voltaram.) A ordem importa: 480 depois de 768. */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* 📌 Toast "X entrou na sala" COLADINHO em cima da barra branca (ponte +
   imediata enquanto o entry antigo estiver no cache da borda do CDN): o
   container dos toasts é o único com z-[9999] + pointer-events-none +
   space-y-2 (o modal de atualização é pointer-events-auto, os banners não
   têm space-y-2). O !important vence o bottom inline fixo de 72px e passa a
   usar --livego-toast-bottom = 72px + altura do teclado (gravado pelo
   script antes de </body>): teclado aberto só o TOAST sobe junto com a
   barra branca; teclado fechado = os mesmos 72px de antes. A tela nunca mexe. */
[class*="z-[9999]"][class*="pointer-events-none"][class*="space-y-2"] {
  bottom: var(--livego-toast-bottom, calc(72px + env(safe-area-inset-bottom, 0px))) !important;
}

@keyframes bsspin{to{transform:rotate(360deg)}}

/* ===== Boot splash (era style= inline no index.html) ===== */
#boot-splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 9999;
}
#boot-spinner {
  margin-top: 20px;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: bsspin 0.8s linear infinite;
}

/* ===== Proteção de tela (era injetado por JS no App.tsx) ===== */
.screen-security-enabled img,
.screen-security-enabled canvas {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ===== Banner de download do app (era injetado por JS) ===== */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up { animation: slide-up 0.5s ease-out; }

/* ===== Meu nível (era injetado por JS no MyLevelScreen) ===== */
@keyframes spark {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* === from components/FooterNav.tsx (@keyframes aovivo-dot {) — CSP style-src 'self' === */
`
            @keyframes aovivo-dot {
              0%, 100% { transform: scale(1); box-shadow: 0 0 5px rgba(239,68,68,.9); opacity: 1; }
              50% { transform: scale(1.35); box-shadow: 0 0 11px rgba(239,68,68,1); opacity: .85; }
            }
            @keyframes aovivo-ring {
              0% { transform: scale(1); opacity: .55; }
              100% { transform: scale(2.1); opacity: 0; }
            }
            @keyframes aovivo-halo {
              0%, 100% { transform: scale(.85); opacity: .45; }
              50% { transform: scale(1.3); opacity: .9; }
            }
            @keyframes aovivo-glow {
              0%, 100% { text-shadow: 0 0 6px rgba(239,68,68,.85), 0 0 14px rgba(239,68,68,.45); }
              50% { text-shadow: 0 0 11px rgba(239,68,68,1), 0 0 24px rgba(239,68,68,.7); }
            }
          `

/* === from components/icons/frames/Frame20275.tsx (`@keyframes frame-primavera-float { 0%,100% { transform: sca) — CSP style-src 'self' === */
`@keyframes frame-primavera-float { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255,215,0,.35)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(255,215,0,.55)); } }`

/* === from components/live/FullScreenGiftAnimation.tsx (@keyframes gift-music-note-rise {) — CSP style-src 'self' === */
`
                @keyframes gift-music-note-rise {
                    0%   { transform: translate(0, 40px) scale(0.4) rotate(-8deg); opacity: 0; }
                    12%  { opacity: 1; }
                    40%  { transform: translate(var(--sway), -20px) scale(1) rotate(6deg); opacity: 1; }
                    100% { transform: translate(calc(var(--sway) * 1.6), -48vh) scale(1.15) rotate(-10deg); opacity: 0; }
                }
            `

/* === from components/live/FullScreenGiftAnimation.tsx (@keyframes gift-screen-container-fade {) — CSP style-src 'self' === */
`
                @keyframes gift-screen-container-fade {
                    0% { opacity: 0; }
                    10% { opacity: 1; }
                    96% { opacity: 1; filter: blur(0); }
                    100% { opacity: 0; }
                }
                @keyframes gift-pop-impact {
                    0% { transform: scale(0.35) rotate(-15deg); opacity: 0; }
                    15% { transform: scale(1.15) rotate(5deg); opacity: 1; }
                    22% { transform: scale(0.95) rotate(-2deg); }
                    30% { transform: scale(1); rotate(0deg); }
                }
                @keyframes gift-bounce-subtle {
                    0%, 100% { transform: translateY(0) scale(1); }
                    50% { transform: translateY(-15px) scale(1.08); }
                }
                @keyframes gift-text-bounce-anim {
                    0%, 100% { transform: scale(1); }
                    50% { transform: scale(1.05); }
                }

                .animate-gift-screen-container {
                    animation: gift-screen-container-fade 5.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
                }
                .animate-gift-pop-impact {
                    animation: gift-pop-impact 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
                }
                .animate-gift-bounce-subtle {
                    animation: gift-bounce-subtle 3s ease-in-out infinite;
                }
                .animate-gift-text-bounce {
                    animation: gift-text-bounce-anim 2.5s ease-in-out infinite;
                }
                .gift-champagne-rise-fallback {
                    animation: gift-champagne-rise 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
                }

                .text-glow-ultimate {
                    text-shadow: 0 0 12px rgba(250, 204, 21, 0.8), 0 0 25px rgba(250, 204, 21, 0.4), 0 2px 4px rgba(0,0,0,0.9);
                }
            `

/* === from components/live/GateTransitionOverlay.tsx (GATE_CSS) — CSP style-src 'self' === */
.gate-ov {
  position: fixed;
  inset: 0;
  z-index: 9950;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  background: #000;
}
/* Escurece/clareia o fundo conforme o portão abre ou fecha */
.gate-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 140% 100% at 50% 45%, rgba(226, 191, 122, 0.10), transparent 60%),
    #000;
  will-change: opacity;
}
.gate-dim-enter { animation: gate-dim-enter 1.5s linear forwards; }
.gate-dim-exit  { animation: gate-dim-exit 1.6s linear forwards; }

.gate-assembly {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}
.gate-assembly-enter { animation: gate-assembly-enter 1.5s linear forwards; }
.gate-assembly-exit  { animation: gate-assembly-exit 1.6s linear forwards; }

/* Folha do portão: cada metade vertical da tela. Deslizam no eixo X. */
.gate-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.gate-leaf-left  { left: 0; }
.gate-leaf-right { right: 0; }
.gate-leaf-left.gate-leaf-enter  { animation: gate-leaf-left-enter 1.5s linear forwards; }
.gate-leaf-right.gate-leaf-enter { animation: gate-leaf-right-enter 1.5s linear forwards; }
.gate-leaf-left.gate-leaf-exit   { animation: gate-leaf-left-exit 1.6s linear forwards; }
.gate-leaf-right.gate-leaf-exit  { animation: gate-leaf-right-exit 1.6s linear forwards; }

.gate-sheet {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #1c1c20;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(90deg, #2b2b31 0 62px, #1e1e23 62px 88px, #26262c 88px 122px, #1b1b20 122px 152px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 -24px 48px rgba(0, 0, 0, 0.55), inset 0 24px 48px rgba(255, 255, 255, 0.03);
}
.gate-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  background: linear-gradient(180deg, #41414a, #2a2a30 70%, #232329);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
.gate-rail-b {
  top: auto;
  bottom: 0;
  background: linear-gradient(0deg, #41414a, #2a2a30 70%, #232329);
  border-bottom: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
/* Borda iluminada na emenda central (dobradiça visível abrindo/fechando) */
.gate-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, rgba(241, 215, 162, 0.95), rgba(225, 186, 114, 0.5) 55%, rgba(241, 215, 162, 0.95));
  box-shadow: 0 0 26px rgba(225, 186, 114, 0.75);
}
.gate-edge-left  { right: -3px; }
.gate-edge-right { left: -3px; }

/* ===== ENTRAR: folhas fechadas no centro deslizam PARA AS BORDAS,
         abrindo a emenda do centro → bordas (portão automático) ===== */
@keyframes gate-leaf-left-enter {
  0%   { transform: translateX(0); }
  60%  { transform: translateX(-100%); }
  100% { transform: translateX(-100%); }
}
@keyframes gate-leaf-right-enter {
  0%   { transform: translateX(0); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@keyframes gate-assembly-enter {
  0%   { opacity: 1; }
  62%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes gate-dim-enter {
  0%   { opacity: 0.92; }
  55%  { opacity: 0.08; }
  100% { opacity: 0; }
}

/* ===== SAIR: folhas nas bordas deslizam AO CENTRO na horizontal (travessa),
         fechando o portão. Quando se encontram (50%) → onCovered (navegar).
         Depois o overlay some revelando a lista de salas ===== */
@keyframes gate-leaf-left-exit {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes gate-leaf-right-exit {
  0%   { transform: translateX(100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes gate-assembly-exit {
  0%   { opacity: 1; }
  62%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes gate-dim-exit {
  0%   { opacity: 0.08; }
  50%  { opacity: 0.96; }
  62%  { opacity: 0.96; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gate-ov { display: none; }
}

/* === from components/live/GiftAlphaVideoPlayer.tsx (@keyframes gift-video-pop-impact {) — CSP style-src 'self' === */
`
                @keyframes gift-video-pop-impact {
                    0% { transform: scale(0.35) rotate(-15deg); opacity: 0; }
                    15% { transform: scale(1.15) rotate(5deg); opacity: 1; }
                    22% { transform: scale(0.95) rotate(-2deg); }
                    30% { transform: scale(1) rotate(0deg); }
                }
            `

/* === from components/live/GiftAnimationOverlay.tsx (.text-shadow-glow {) — CSP style-src 'self' === */
`
                .text-shadow-glow {
                    text-shadow: 0 0 10px rgba(250, 204, 21, 0.6), 0 2px 4px rgba(0,0,0,0.9);
                }
            `

/* === from components/live/GiftLottiePlayer.tsx (@keyframes gift-lottie-pop-impact {) — CSP style-src 'self' === */
`
          @keyframes gift-lottie-pop-impact {
              0% { transform: scale(0.35) rotate(-15deg); opacity: 0; }
              15% { transform: scale(1.15) rotate(5deg); opacity: 1; }
              22% { transform: scale(0.95) rotate(-2deg); }
              30% { transform: scale(1) rotate(0deg); }
          }
      `

/* === from components/live/HostNoticePlaque.tsx (@keyframes hostNoticeIn {) — CSP style-src 'self' === */
`
        @keyframes hostNoticeIn {
          0% { opacity: 0; transform: translateY(12px) scale(0.95); filter: blur(2px); }
          60% { opacity: 1; transform: translateY(-2px) scale(1.01); }
          100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
        }
        .host-notice-in {
          animation: hostNoticeIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
        }
      `

/* === from components/live/InAppNotificationBanner.tsx (@keyframes inapp-slide-in { from { transform: translateY(-26) — CSP style-src 'self' === */
`
        @keyframes inapp-slide-in { from { transform: translateY(-26px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        @keyframes inapp-progress { from { width: 100%; } to { width: 0%; } }
      `

/* === from components/live/JoinEffectOverlay.tsx (@keyframes join-effect-pop {) — CSP style-src 'self' === */
`
            @keyframes join-effect-pop {
                0% { transform: translateY(-18px) scale(0.5); opacity: 0; }
                18% { transform: translateY(0) scale(1.08); opacity: 1; }
                30% { transform: scale(0.96); opacity: 1; }
                45% { transform: scale(1); opacity: 1; }
                100% { transform: scale(1); opacity: 1; }
            }
        `

/* === from components/MainScreen.tsx (.overflow-x-auto::-webkit-scrollbar {) — CSP style-src 'self' === */
`
            .overflow-x-auto::-webkit-scrollbar {
              display: none;
            }
          `

/* === from components/PKBattleStartAnimation.tsx (@keyframes pkBattleShake {) — CSP style-src 'self' === */
`
        @keyframes pkBattleShake {
          0%, 100% { transform: translate(0, 0); }
          20% { transform: translate(-6px, 3px); }
          40% { transform: translate(6px, -3px); }
          60% { transform: translate(-4px, -2px); }
          80% { transform: translate(4px, 2px); }
        }
        @keyframes pkSwordLeftIn {
          0% { transform: translate(-62vw, 18vh) rotate(150deg); opacity: 0; }
          12% { opacity: 1; }
          45% { transform: translate(-12px, 2px) rotate(0deg); opacity: 1; }
          60% { transform: translate(-12px, -6px) rotate(-28deg); opacity: 1; }
          100% { transform: translate(-58vw, -22vh) rotate(-60deg); opacity: 0; }
        }
        @keyframes pkSwordRightIn {
          0% { transform: translate(62vw, 18vh) rotate(-150deg); opacity: 0; }
          12% { opacity: 1; }
          45% { transform: translate(12px, 2px) rotate(0deg); opacity: 1; }
          60% { transform: translate(12px, -6px) rotate(28deg); opacity: 1; }
          100% { transform: translate(58vw, -22vh) rotate(60deg); opacity: 0; }
        }
        @keyframes pkVsPop {
          0% { transform: scale(0) rotate(-12deg); opacity: 0; }
          38% { transform: scale(1.4) rotate(2deg); opacity: 1; }
          55% { transform: scale(0.92) rotate(0deg); }
          70% { transform: scale(1.18) rotate(0deg); }
          85% { transform: scale(1) rotate(0deg); opacity: 1; }
          100% { transform: scale(1.7); opacity: 0; }
        }
        @keyframes pkFlash {
          0% { opacity: 0; transform: scale(0.2); }
          42% { opacity: 1; transform: scale(1); }
          62% { opacity: 0.85; transform: scale(1.15); }
          100% { opacity: 0; transform: scale(2.8); }
        }
      `

/* === from components/PurchaseHistoryScreen.tsx (@keyframes hologramFloat {) — CSP style-src 'self' === */
`
        @keyframes hologramFloat {
          0%, 100% {
            transform: translateY(0px) scale(1);
          }
          50% {
            transform: translateY(-10px) scale(1.02);
          }
        }
        @keyframes hologramPulse {
          0%, 100% {
            opacity: 0.15;
            transform: scale(0.9);
          }
          50% {
            opacity: 0.35;
            transform: scale(1.15);
          }
        }
        .animate-hologram-float {
          animation: hologramFloat 4.5s ease-in-out infinite;
        }
        .animate-hologram-pulse {
          animation: hologramPulse 3.5s ease-in-out infinite;
        }
      `
