/* ════════════════════════════════════════════
   RadioVibe — Painel Interativo do Ouvinte
   Frontend CSS — Light Premium Theme
   ════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --rv-primary:   #FF4D8D;
  --rv-secondary: #FF8C42;
  --rv-gradient:  linear-gradient(135deg, #FF4D8D, #FF8C42);
  --rv-gradient2: linear-gradient(135deg, #667EEA, #764BA2);
  --rv-white:  #FFFFFF;
  --rv-bg:     #F8F9FD;
  --rv-card:   #FFFFFF;
  --rv-border: #EEEEF6;
  --rv-text:   #1A1A2E;
  --rv-muted:  #8888A8;
  --rv-soft:   #F3F4FF;
  --rv-radius: 20px;
  --rv-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

/* ── LAUNCHER (capa) ── */
.rv-launcher-wrap { display: inline-block; }

.rv-launcher {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.rv-launcher:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}
.rv-launcher:hover .rv-cover-overlay { opacity: 1; }
.rv-launcher:hover .rv-cover-img { transform: scale(1.06); }

.rv-cover-img {
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.rv-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.72) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 22px;
  gap: 10px;
}

.rv-cover-pulse {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; align-items: center; gap: 4px;
}
.rv-cover-pulse span {
  display: inline-block;
  width: 4px; border-radius: 4px;
  background: #fff;
  animation: rv-wave 1.1s ease-in-out infinite;
}
.rv-cover-pulse span:nth-child(1){height:8px;animation-delay:0s}
.rv-cover-pulse span:nth-child(2){height:16px;animation-delay:.12s}
.rv-cover-pulse span:nth-child(3){height:10px;animation-delay:.24s}
@keyframes rv-wave {
  0%,100%{transform:scaleY(1);opacity:.7}
  50%{transform:scaleY(2.2);opacity:1}
}

.rv-cover-text { text-align: center; }
.rv-cover-title { color: #fff; font-family: 'Bricolage Grotesque',sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.3px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.rv-cover-sub   { color: rgba(255,255,255,0.75); font-size: 0.75rem; margin-top: 3px; font-family: 'DM Sans',sans-serif; }

.rv-cover-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--rv-gradient);
  color: #fff;
  border-radius: 100px;
  padding: 10px 22px;
  font-family: 'Nunito',sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 20px rgba(255,77,141,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rv-launcher:hover .rv-cover-btn {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,77,141,0.6);
}

/* ── LIGHTBOX ── */
.rv-lightbox {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.rv-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,30,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: rv-fade-in 0.3s ease;
}
@keyframes rv-fade-in { from{opacity:0} to{opacity:1} }

.rv-lb-panel {
  position: relative; z-index: 1;
  background: var(--rv-bg);
  border-radius: 24px;
  width: 780px;
  max-width: 100%;
  height: 88vh;
  max-height: 700px;
  display: flex; flex-direction: column;
  box-shadow: var(--rv-shadow);
  overflow: hidden;
  animation: rv-panel-in 0.45s cubic-bezier(0.34,1.56,0.64,1);
  border: 1.5px solid rgba(255,255,255,0.8);
}
@keyframes rv-panel-in {
  from { opacity:0; transform: scale(0.88) translateY(24px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

/* ── HEADER ── */
.rv-lb-header {
  background: var(--rv-white);
  border-bottom: 1.5px solid var(--rv-border);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}

.rv-lb-logo {
  display: flex; align-items: center; gap: 9px;
  flex: 1; min-width: 0;
}

.rv-live-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #FF4D8D;
  box-shadow: 0 0 0 3px rgba(255,77,141,0.25);
  flex-shrink: 0;
  animation: rv-live-pulse 1.8s infinite;
}
@keyframes rv-live-pulse {
  0%,100%{box-shadow:0 0 0 3px rgba(255,77,141,0.25)}
  50%{box-shadow:0 0 0 7px rgba(255,77,141,0.1)}
}

.rv-lb-radio-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.0rem; font-weight: 800;
  color: var(--rv-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--rv-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.rv-lb-waves {
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 0;
}
.rv-lb-waves span {
  width: 3px; border-radius: 3px;
  background: var(--rv-gradient);
  animation: rv-wave 1s ease-in-out infinite;
}
.rv-lb-waves span:nth-child(1){height:7px;animation-delay:0s}
.rv-lb-waves span:nth-child(2){height:13px;animation-delay:.1s}
.rv-lb-waves span:nth-child(3){height:9px;animation-delay:.2s}
.rv-lb-waves span:nth-child(4){height:15px;animation-delay:.3s}
.rv-lb-waves span:nth-child(5){height:8px;animation-delay:.4s}

.rv-lb-header-right {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}

.rv-online-count {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: var(--rv-muted);
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 100px;
  padding: 4px 12px;
}
.rv-online-count span { color: var(--rv-primary); font-weight: 900; }

.rv-close-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  color: var(--rv-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.rv-close-btn:hover { background: #FFE8F0; border-color: var(--rv-primary); color: var(--rv-primary); transform: rotate(90deg); }

/* ── NOW PLAYING ── */
.rv-now-playing {
  background: var(--rv-white);
  border-bottom: 1.5px solid var(--rv-border);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}

.rv-np-disk {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--rv-gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  animation: rv-spin 4s linear infinite;
  box-shadow: 0 4px 16px rgba(255,77,141,0.35);
}
.rv-np-disk-inner {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rv-white);
}
@keyframes rv-spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

.rv-np-info { flex: 1; min-width: 0; }
.rv-np-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--rv-primary); margin-bottom: 2px;
}
.rv-np-track {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--rv-text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.rv-np-artist {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; color: var(--rv-muted);
}
.rv-np-bar {
  height: 3px; background: var(--rv-border);
  border-radius: 3px; margin-top: 8px; overflow: hidden;
}
.rv-np-progress {
  height: 100%;
  background: var(--rv-gradient);
  border-radius: 3px;
  width: 35%;
  animation: rv-progress 30s linear infinite;
}
@keyframes rv-progress { from{width:5%} to{width:92%} }

.rv-np-reactions {
  display: flex; flex-direction: column; gap: 4px;
  flex-shrink: 0;
}
.rv-np-reactions button {
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 20px; padding: 4px 10px;
  font-size: 1rem; cursor: pointer;
  transition: all 0.2s; line-height: 1;
}
.rv-np-reactions button:hover { transform: scale(1.25); background: #fff0f5; border-color: var(--rv-primary); }

/* ── TABS ── */
.rv-tabs {
  display: flex; gap: 2px;
  padding: 10px 12px;
  background: var(--rv-white);
  border-bottom: 1.5px solid var(--rv-border);
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: none;
}
.rv-tabs::-webkit-scrollbar { display: none; }

.rv-tab {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 100px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--rv-muted);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s;
  position: relative;
}
.rv-tab:hover { background: var(--rv-soft); color: var(--rv-text); }
.rv-tab.active {
  background: var(--rv-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255,77,141,0.3);
}
.rv-tab-badge {
  background: #FF4D8D; color: #fff;
  font-size: 0.62rem; font-weight: 900;
  border-radius: 100px; padding: 1px 5px;
  animation: rv-live-pulse 1s infinite;
}

/* ── CONTENT ── */
.rv-content { flex: 1; overflow: hidden; min-height: 0; position: relative; }

.rv-pane {
  display: none; height: 100%; overflow-y: auto;
  flex-direction: column;
}
.rv-pane.active { display: flex; }
.rv-pane::-webkit-scrollbar { width: 5px; }
.rv-pane::-webkit-scrollbar-thumb { background: var(--rv-border); border-radius: 5px; }

/* ── CHAT ── */
#rv-pane-chat { overflow: hidden; }

.rv-chat-messages {
  flex: 1; overflow-y: auto; min-height: 0;
  padding: 18px 18px 10px;
  display: flex; flex-direction: column; gap: 12px;
}
.rv-chat-messages::-webkit-scrollbar { width: 4px; }
.rv-chat-messages::-webkit-scrollbar-thumb { background: var(--rv-border); border-radius: 4px; }

.rv-msg {
  display: flex; gap: 9px; align-items: flex-end;
  animation: rv-msg-in 0.35s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes rv-msg-in { from{opacity:0;transform:translateY(12px) scale(0.95)} to{opacity:1;transform:none} }
.rv-msg.rv-own { flex-direction: row-reverse; }

.rv-msg-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; flex-shrink: 0;
  color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.rv-msg-body { max-width: 72%; }
.rv-msg-meta { font-family: 'DM Sans',sans-serif; font-size: 0.68rem; color: var(--rv-muted); margin-bottom: 4px; }
.rv-msg.rv-own .rv-msg-meta { text-align: right; }

.rv-msg-text {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; line-height: 1.55;
  color: var(--rv-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rv-msg.rv-own .rv-msg-text {
  background: var(--rv-gradient);
  border-color: transparent;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 4px 14px rgba(255,77,141,0.25);
}

.rv-chat-footer {
  padding: 12px 14px;
  background: var(--rv-white);
  border-top: 1.5px solid var(--rv-border);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}

.rv-emoji-wrap { position: relative; }
.rv-emoji-trigger {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--rv-soft); border: 1.5px solid var(--rv-border);
  font-size: 1.1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.2s;
}
.rv-emoji-trigger:hover { background: #fff0f5; border-color: var(--rv-primary); transform: scale(1.1); }

.rv-emoji-panel {
  display: none; position: absolute; bottom: 50px; left: 0;
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 16px; padding: 12px;
  display: none; grid-template-columns: repeat(8,1fr); gap: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 10; width: 260px;
}
.rv-emoji-panel.open { display: grid; }
.rv-ep-e {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; border-radius: 8px;
  transition: all 0.15s;
}
.rv-ep-e:hover { background: var(--rv-soft); transform: scale(1.3); }

.rv-chat-input {
  flex: 1;
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 12px; padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; color: var(--rv-text);
  outline: none; transition: all 0.2s;
}
.rv-chat-input:focus { border-color: var(--rv-primary); background: #fff; box-shadow: 0 0 0 3px rgba(255,77,141,0.1); }
.rv-chat-input::placeholder { color: var(--rv-muted); }

.rv-send-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--rv-gradient);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,77,141,0.35);
  transition: all 0.2s; flex-shrink: 0;
}
.rv-send-btn:hover { transform: scale(1.1) translateY(-1px); box-shadow: 0 6px 20px rgba(255,77,141,0.45); }

.rv-ia-send { background: linear-gradient(135deg, #667EEA, #764BA2); box-shadow: 0 4px 14px rgba(102,126,234,0.35); }
.rv-ia-input:focus { border-color: #667EEA; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }

/* ── IA ── */
#rv-pane-ia { padding: 0; overflow: hidden; }
.rv-ia-messages {
  flex: 1; overflow-y: auto; min-height: 0;
  padding: 18px 18px 6px;
  display: flex; flex-direction: column; gap: 14px;
}
.rv-ia-welcome { display: flex; gap: 10px; align-items: flex-start; }
.rv-ia-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #667EEA, #764BA2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(102,126,234,0.35);
}
.rv-ia-row { display: flex; gap: 10px; align-items: flex-start; animation: rv-msg-in 0.35s; }
.rv-ia-row.rv-ia-user-row { flex-direction: row-reverse; }

.rv-ia-bubble {
  max-width: 78%; padding: 11px 15px;
  border-radius: 14px 14px 14px 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; line-height: 1.6;
  color: var(--rv-text);
}
.rv-ia-bot {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: 4px 14px 14px 14px;
}
.rv-ia-user {
  background: linear-gradient(135deg, #667EEA, #764BA2);
  color: #fff; border: none;
  border-radius: 14px 4px 14px 14px;
  box-shadow: 0 4px 14px rgba(102,126,234,0.3);
}

.rv-ia-typing {
  display: flex; align-items: center; gap: 5px;
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 14px; padding: 12px 16px;
  width: fit-content;
}
.rv-ia-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #667EEA, #764BA2);
  animation: rv-dot 1.4s infinite;
}
.rv-ia-typing span:nth-child(2){animation-delay:.2s}
.rv-ia-typing span:nth-child(3){animation-delay:.4s}
@keyframes rv-dot { 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1.2)} }

.rv-ia-quick {
  padding: 8px 18px 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
  flex-shrink: 0;
}
.rv-ia-quick button {
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 100px; padding: 6px 13px;
  font-family: 'Nunito', sans-serif; font-size: 0.78rem; font-weight: 700;
  color: var(--rv-text); cursor: pointer; transition: all 0.2s;
}
.rv-ia-quick button:hover {
  background: #fff0f5; border-color: var(--rv-primary);
  color: var(--rv-primary); transform: translateY(-2px);
}

/* ── PIADAS ── */
#rv-pane-piadas { padding: 18px; gap: 14px; }

.rv-jokes-wrap { display: flex; flex-direction: column; gap: 14px; }

.rv-joke-card {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 20px; padding: 28px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.rv-joke-deco {
  position: absolute; top: -10px; right: -10px;
  font-size: 6rem; opacity: 0.06; line-height: 1;
  pointer-events: none; transform: rotate(15deg);
}
.rv-joke-category {
  font-family: 'Nunito', sans-serif;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--rv-primary); margin-bottom: 16px;
}
.rv-joke-setup {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--rv-text); line-height: 1.6;
  min-height: 60px; display: flex; align-items: center; justify-content: center;
}
.rv-joke-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0; color: var(--rv-muted);
}
.rv-joke-divider::before, .rv-joke-divider::after {
  content: ''; flex: 1; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--rv-border), transparent);
}
.rv-joke-divider span { font-family: 'Nunito',sans-serif; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.rv-joke-punchline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  background: var(--rv-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: rv-msg-in 0.4s;
  line-height: 1.5;
}
.rv-joke-rate {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-top: 16px;
}
.rv-joke-rate button {
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 100px; padding: 7px 14px;
  font-family: 'Nunito',sans-serif; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; color: var(--rv-text);
}
.rv-joke-rate button:hover { background: #fff0f5; border-color: var(--rv-primary); transform: scale(1.08); }
.rv-joke-rate button.rated { background: var(--rv-gradient); color: #fff; border-color: transparent; }

.rv-joke-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.rv-btn-primary {
  display: flex; align-items: center; gap: 7px;
  background: var(--rv-gradient);
  color: #fff; border: none; border-radius: 12px;
  padding: 11px 22px;
  font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 800;
  cursor: pointer; transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(255,77,141,0.3);
}
.rv-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,77,141,0.4); }

.rv-btn-outline {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 12px; padding: 11px 20px;
  font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--rv-text); cursor: pointer; transition: all 0.2s;
}
.rv-btn-outline:hover { border-color: var(--rv-primary); color: var(--rv-primary); background: #fff0f5; }

/* ── NOTÍCIAS ── */
#rv-pane-noticias { padding: 0; gap: 0; }

.rv-news-cats {
  padding: 12px 16px;
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto;
  border-bottom: 1.5px solid var(--rv-border);
  background: var(--rv-white); flex-shrink: 0;
  scrollbar-width: none;
}
.rv-news-cats::-webkit-scrollbar{display:none}
.rv-news-cat {
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 100px; padding: 7px 16px;
  font-family: 'Nunito',sans-serif; font-size: 0.8rem; font-weight: 700;
  color: var(--rv-muted); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.rv-news-cat.active, .rv-news-cat:hover {
  background: var(--rv-gradient); color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(255,77,141,0.25);
}

.rv-news-grid {
  flex: 1; overflow-y: auto;
  padding: 16px; display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; align-content: start;
}
@media (max-width:520px){.rv-news-grid{grid-template-columns:1fr}}

.rv-news-placeholder {
  grid-column: 1/-1; text-align: center;
  padding: 50px; color: var(--rv-muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: 'DM Sans',sans-serif; font-size: 0.9rem;
}
.rv-ph-icon { font-size: 3rem; opacity: 0.4; }

.rv-news-card {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 14px; padding: 16px;
  transition: all 0.25s; cursor: pointer;
  animation: rv-msg-in 0.4s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative; overflow: hidden;
}
.rv-news-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rv-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.rv-news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); border-color: rgba(255,77,141,0.2); }
.rv-news-card:hover::before { transform: scaleX(1); }
.rv-nc-cat {
  font-family: 'Nunito',sans-serif; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 7px;
}
.rv-nc-title {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: var(--rv-text); line-height: 1.4; margin-bottom: 7px;
}
.rv-nc-summary {
  font-family: 'DM Sans',sans-serif;
  font-size: 0.78rem; color: var(--rv-muted); line-height: 1.55;
}
.rv-nc-time {
  font-family: 'DM Sans',sans-serif;
  font-size: 0.68rem; color: var(--rv-muted); margin-top: 8px;
}

/* ── ENQUETES ── */
#rv-pane-enquetes { padding: 16px; gap: 14px; }

.rv-poll-card {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 16px; padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  animation: rv-msg-in 0.4s;
}
.rv-poll-q {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 0.98rem; font-weight: 700;
  color: var(--rv-text); margin-bottom: 14px;
}
.rv-poll-opt { margin-bottom: 8px; cursor: pointer; }
.rv-poll-bar-wrap {
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 10px; overflow: hidden;
  transition: border-color 0.2s;
}
.rv-poll-bar-wrap:hover { border-color: var(--rv-primary); }
.rv-poll-bar {
  min-width: 30px;
  padding: 11px 14px;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(255,77,141,0.12), rgba(255,140,66,0.06));
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.rv-poll-bar-label {
  font-family: 'Nunito',sans-serif; font-size: 0.85rem; font-weight: 700;
  color: var(--rv-text); position: relative; z-index: 1;
}
.rv-poll-pct {
  margin-left: auto;
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 0.82rem; font-weight: 800;
  background: var(--rv-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: relative; z-index: 1;
}
.rv-poll-total {
  font-family: 'DM Sans',sans-serif; font-size: 0.72rem;
  color: var(--rv-muted); margin-top: 8px; text-align: right;
}

/* ── RANKING ── */
#rv-pane-ranking { padding: 0; }

.rv-rank-header {
  padding: 18px 18px 12px;
  border-bottom: 1.5px solid var(--rv-border);
  background: var(--rv-white); flex-shrink: 0;
}
.rv-rank-title {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 1.05rem; font-weight: 800; color: var(--rv-text);
}
.rv-rank-sub {
  font-family: 'DM Sans',sans-serif; font-size: 0.78rem;
  color: var(--rv-muted); margin-top: 2px;
}

#rv-rank-list {
  flex: 1; overflow-y: auto;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}

.rv-rank-item {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.25s; animation: rv-msg-in 0.4s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rv-rank-item:hover { transform: translateX(5px); border-color: rgba(255,77,141,0.25); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.rv-rank-item.rv-top1 { border-left: 4px solid #FFD700; background: linear-gradient(90deg, #FFFDE7, #fff); }
.rv-rank-item.rv-top2 { border-left: 4px solid #B0B0B0; background: linear-gradient(90deg, #F8F8F8, #fff); }
.rv-rank-item.rv-top3 { border-left: 4px solid #CD7F32; background: linear-gradient(90deg, #FFF8F0, #fff); }

.rv-rank-pos {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 1.2rem; font-weight: 900; width: 30px; text-align: center; flex-shrink: 0;
}
.rv-rank-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0; color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.rv-rank-info { flex: 1; min-width: 0; }
.rv-rank-name {
  font-family: 'Nunito',sans-serif; font-size: 0.92rem; font-weight: 800; color: var(--rv-text);
}
.rv-rank-detail {
  font-family: 'DM Sans',sans-serif; font-size: 0.72rem; color: var(--rv-muted);
}
.rv-rank-score {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 1rem; font-weight: 800;
  background: var(--rv-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── LOGIN OVERLAY ── */
.rv-login-overlay {
  position: absolute; inset: 0; z-index: 50;
  background: rgba(248,249,253,0.97);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

.rv-login-box {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 24px; padding: 40px 36px;
  width: 380px; max-width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  animation: rv-panel-in 0.4s;
}

.rv-login-logo {
  display: flex; justify-content: center; margin-bottom: 20px;
}
.rv-login-pulse {
  display: flex; align-items: center; gap: 4px; height: 40px;
}
.rv-login-pulse span {
  width: 5px; border-radius: 5px;
  background: var(--rv-gradient);
  animation: rv-wave 1.2s ease-in-out infinite;
}
.rv-login-pulse span:nth-child(1){height:14px;animation-delay:0s}
.rv-login-pulse span:nth-child(2){height:28px;animation-delay:.1s}
.rv-login-pulse span:nth-child(3){height:20px;animation-delay:.2s}
.rv-login-pulse span:nth-child(4){height:32px;animation-delay:.3s}
.rv-login-pulse span:nth-child(5){height:18px;animation-delay:.4s}

.rv-login-title {
  font-family: 'Bricolage Grotesque',sans-serif;
  font-size: 1.5rem; font-weight: 900;
  background: var(--rv-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.rv-login-sub {
  font-family: 'DM Sans',sans-serif; font-size: 0.85rem;
  color: var(--rv-muted); margin-bottom: 28px;
}
.rv-login-form { display: flex; flex-direction: column; gap: 12px; }

.rv-input-wrap {
  position: relative;
}
.rv-inp-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--rv-muted);
}
.rv-input-wrap input {
  width: 100%; padding: 12px 14px 12px 40px;
  background: var(--rv-soft);
  border: 1.5px solid var(--rv-border);
  border-radius: 12px;
  font-family: 'DM Sans',sans-serif; font-size: 0.9rem;
  color: var(--rv-text); outline: none; transition: all 0.2s;
}
.rv-input-wrap input:focus { border-color: var(--rv-primary); background: #fff; box-shadow: 0 0 0 3px rgba(255,77,141,0.1); }
.rv-input-wrap input::placeholder { color: var(--rv-muted); }

.rv-login-btn {
  width: 100%; padding: 14px;
  background: var(--rv-gradient); border: none; border-radius: 14px;
  color: #fff; font-family: 'Nunito',sans-serif;
  font-size: 0.92rem; font-weight: 900; letter-spacing: 1px;
  cursor: pointer; transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(255,77,141,0.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.rv-login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,77,141,0.45); }

.rv-login-hint {
  font-family: 'DM Sans',sans-serif; font-size: 0.75rem;
  color: var(--rv-muted); margin-top: 16px;
}
.rv-login-hint strong { color: var(--rv-primary); }

/* ── TOAST ── */
.rv-toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999999;
  display: flex; flex-direction: column; gap: 8px;
}
.rv-toast {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border);
  border-radius: 14px; padding: 12px 18px;
  font-family: 'Nunito',sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--rv-text);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-width: 300px;
  animation: rv-toast-in 0.4s cubic-bezier(0.34,1.4,0.64,1);
  display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--rv-primary);
}
@keyframes rv-toast-in { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:none} }
.rv-toast.rv-t-out { animation: rv-toast-out 0.3s forwards; }
@keyframes rv-toast-out { to{opacity:0;transform:translateX(60px)} }

/* ── FLOAT EMOJI ── */
.rv-float {
  position: fixed; pointer-events: none; font-size: 2rem;
  z-index: 9999998;
  animation: rv-float-up 2.5s ease-out forwards;
}
@keyframes rv-float-up { 0%{opacity:1;transform:translateY(0) scale(1)} 100%{opacity:0;transform:translateY(-180px) scale(0.4) rotate(25deg)} }

/* ── LOADER ── */
.rv-loader {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(255,77,141,0.2);
  border-top-color: var(--rv-primary);
  animation: rv-spin 0.7s linear infinite; display: inline-block;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .rv-lb-panel { height: 95vh; max-height: none; border-radius: 20px 20px 0 0; }
  .rv-lightbox { align-items: flex-end; padding: 0; }
  .rv-now-playing { padding: 10px 14px; }
  .rv-tabs { padding: 8px 10px; }
  .rv-tab { padding: 7px 11px; font-size: 0.76rem; }
}
