/* Aviso no topo e evento anunciado (modo dono) */
.rdw-aviso { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 46px 10px 16px; font-weight: 700; color: #0b1020; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); animation: rdwAvisoEntra .4s ease; }
.rdw-aviso.cor-ciano { background: linear-gradient(90deg, #36d6e7, #4f8cff); }
.rdw-aviso.cor-amarelo { background: linear-gradient(90deg, #ffc145, #ff9f43); }
.rdw-aviso.cor-vermelho { background: linear-gradient(90deg, #ff5d6c, #ff2e63); color: #fff; }
.rdw-aviso.cor-verde { background: linear-gradient(90deg, #2fd38c, #19b37a); }
.rdw-aviso.cor-rosa { background: linear-gradient(90deg, #ff4f9a, #b44cff); color: #fff; }
.rdw-aviso-tx { overflow-wrap: anywhere; }
.rdw-aviso-link { color: inherit; background: rgba(255,255,255,.28); border-radius: 999px; padding: 4px 12px; text-decoration: none; white-space: nowrap; }
.rdw-aviso-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.15); color: inherit; border: 0; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; font-size: .9rem; }
@keyframes rdwAvisoEntra { from { transform: translateY(-100%); } to { transform: none; } }

.rdw-ev-fundo { position: fixed; inset: 0; z-index: 1000; background: rgba(5,8,20,.72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 18px; animation: rdwEvFade .3s ease; }
.rdw-ev { position: relative; width: 100%; max-width: 440px; text-align: center; color: #fff; background: linear-gradient(160deg, #1b2450, #120d2e 60%, #2a0f3a); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 30px 24px 24px; box-shadow: 0 0 0 1px rgba(54,214,231,.25), 0 0 60px rgba(255,79,154,.35), 0 20px 50px rgba(0,0,0,.5); animation: rdwEvPop .45s cubic-bezier(.2,1.4,.4,1); overflow: hidden; }
.rdw-ev::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(54,214,231,.18), transparent 30%, rgba(255,79,154,.18), transparent 60%); animation: rdwEvGira 8s linear infinite; z-index: -1; }
.rdw-ev-selo { display: inline-block; margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: rgba(54,214,231,.18); color: #7fe9f4; }
.rdw-ev-selo.vivo { background: #ff2e63; color: #fff; animation: rdwEvPisca 1.2s infinite; }
.rdw-ev-tit { margin: 0 0 10px; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.15; background: linear-gradient(90deg, #7fe9f4, #fff, #ff8fc4); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.rdw-ev-quando, .rdw-ev-local { margin: 4px 0; color: #d6dcf5; font-size: .95rem; text-transform: none; }
.rdw-ev-quando::first-letter { text-transform: uppercase; }
.rdw-ev-cont { margin: 16px auto 6px; font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #ffc145; }
.rdw-ev-info { margin: 10px 0 0; color: #c9cfe8; white-space: pre-wrap; overflow-wrap: anywhere; }
.rdw-ev-bot { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.rdw-ev-btn { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; text-decoration: none; color: #0b1020; background: linear-gradient(135deg, #36d6e7, #4f8cff); }
.rdw-ev-btn.sec { background: rgba(255,255,255,.12); color: #fff; }
.rdw-ev-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font-size: 1rem; }
.rdw-ev-pilula { position: fixed; left: 14px; bottom: 96px; z-index: 900; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; max-width: min(320px, calc(100vw - 28px)); font: inherit; text-align: left; color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 8px 14px; background: linear-gradient(135deg, rgba(79,140,255,.92), rgba(255,79,154,.92)); box-shadow: 0 8px 24px rgba(0,0,0,.35); animation: rdwEvPulso 2.4s ease-in-out infinite; }
.rdw-ev-pilula .p-tit { font-weight: 800; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rdw-ev-pilula .p-tempo { font-size: .78rem; opacity: .9; font-variant-numeric: tabular-nums; }
.rdw-ev-pilula.vivo { background: linear-gradient(135deg, #ff2e63, #ff5d6c); }
@keyframes rdwEvFade { from { opacity: 0; } }
@keyframes rdwEvPop { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes rdwEvGira { to { transform: rotate(1turn); } }
@keyframes rdwEvPisca { 50% { opacity: .55; } }
@keyframes rdwEvPulso { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(255,79,154,.5); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 10px rgba(255,79,154,0); } }
@media (prefers-reduced-motion: reduce) { .rdw-ev, .rdw-ev::before, .rdw-ev-pilula, .rdw-aviso, .rdw-ev-selo.vivo { animation: none; } }
body:has(.ov-pagina) > .rdw-ev-pilula { display: none !important; }
