/*
Theme Name: REVERDE-SER
Theme URI: https://reverde-ser.com
Author: TravesiaXCreative
Description: Tema a medida de REVERDE-SER Alianza Juvenil. Estética de videojuego, SVG animados y mapa interactivo de las 7 provincias de Santander.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: reverde-ser
*/
body{margin:0;background:#0E2A1B}
a{color:#F4B820}a:hover{color:#FFD866}
@keyframes rv-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-16px) rotate(6deg)}}
@keyframes rv-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes rv-drift{0%{transform:translate(0,0) rotate(0deg)}50%{transform:translate(18px,-22px) rotate(-14deg)}100%{transform:translate(0,0) rotate(0deg)}}
@keyframes rv-twinkle{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@keyframes rv-blink{0%,49%{opacity:1}50%,100%{opacity:0}}
@keyframes rv-fill{0%{width:8%}100%{width:20%}}
.rv-float{animation:rv-float 6s ease-in-out infinite}
.rv-bob{animation:rv-bob 4s ease-in-out infinite}
.rv-drift{animation:rv-drift 9s ease-in-out infinite}
.rv-twinkle{animation:rv-twinkle 2.6s ease-in-out infinite}
.rv-blink{animation:rv-blink 1.1s steps(1) infinite}
@keyframes rv-eq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.rv-eq{transform-origin:bottom;animation:rv-eq 1s ease-in-out infinite}
.rv-d1{animation-delay:-1.5s}.rv-d2{animation-delay:-3s}.rv-d3{animation-delay:-4.5s}
.rv-still .rv-float,.rv-still .rv-bob,.rv-still .rv-drift,.rv-still .rv-twinkle,.rv-still .rv-blink,.rv-still .rv-eq{animation:none}
@media (prefers-reduced-motion: reduce){.rv-float,.rv-bob,.rv-drift,.rv-twinkle,.rv-blink,.rv-eq{animation:none}}
.rv-btn{transition:transform .12s ease, box-shadow .12s ease}
.rv-btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #0B1F14}
.rv-card{transition:transform .15s ease}
.rv-card:hover{transform:translateY(-6px)}

:root{color-scheme:dark}
body{background:#0E2A1B;color:#F7F3E6}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
:focus-visible{outline:3px solid #F4B820;outline-offset:3px}
.prov-top{cursor:pointer;transition:fill .2s ease}
.prov-top:hover{filter:brightness(1.12)}
.prov-btn{font-family:Montserrat,sans-serif;font-weight:800;font-size:14px;min-height:44px;width:100%;padding:10px 12px;border-radius:10px;cursor:pointer;text-align:left;border:2px solid #1E4A30;background:#143823;color:#E3EFE5}
.prov-btn[aria-pressed="true"]{border-color:#0B1F14;background:#F4B820;color:#0B1F14}

/* ---- Páginas internas (registro, cursos, legales, plugins) ---- */
.rv-page{font-family:Montserrat,system-ui,sans-serif;background:#0E2A1B;color:#F7F3E6;min-height:100vh;display:flex;flex-direction:column}
.rv-page-main{flex:1;width:100%;max-width:960px;margin:0 auto;padding:48px 24px 72px;box-sizing:border-box}
.rv-page-main h1{font-size:clamp(28px,5vw,44px);font-weight:900;line-height:1.1;margin:0 0 24px}
.rv-page-main .rv-kicker{font-family:'Press Start 2P',monospace;font-size:10px;color:#F4B820;margin:0 0 12px;display:block}
.rv-entry{background:#F7F3E6;color:#0B1F14;border:2px solid #0B1F14;border-radius:20px;padding:28px;box-shadow:6px 6px 0 #071A10;line-height:1.6}
.rv-entry a{color:#2F7D3A;font-weight:700}
.rv-entry img,.rv-entry svg{max-width:100%;height:auto}
.rv-entry{color-scheme:light}
.rv-entry input,.rv-entry select,.rv-entry textarea{font-family:inherit;font-size:16px;background:#FFFFFF;color:#0B1F14;border:2px solid #0B1F14;border-radius:10px;padding:10px 12px;box-sizing:border-box;max-width:100%}
.rv-entry button:not([class]),.rv-entry input[type=submit],.rv-entry .button{background:#F4B820;color:#0B1F14;border:2px solid #0B1F14;border-radius:10px;padding:12px 20px;font-weight:800;box-shadow:4px 4px 0 #0B1F14;cursor:pointer}
@media (max-width:640px){.rv-entry{padding:20px}}

/* ---- Encabezado ---- */
.rv-header{background:#0E2A1B;border-bottom:2px solid #1E4A30;font-family:Montserrat,system-ui,sans-serif;position:relative;z-index:20}
.rv-nav{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.rv-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.rv-brand-logo{width:48px;height:48px;border-radius:12px;background:#F7F3E6;display:flex;align-items:center;justify-content:center}
.rv-brand-logo img{width:38px;height:auto}
.rv-brand-text{display:flex;flex-direction:column;line-height:1.1}
.rv-brand-name{font-weight:900;font-size:20px;letter-spacing:.5px;color:#F7F3E6}
.rv-brand-sub{font-size:12px;font-weight:600;letter-spacing:3px;color:#A9C9B0}
.rv-nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;font-weight:600;font-size:15px}
.rv-nav-links a{color:#E3EFE5;text-decoration:none}
.rv-nav-links a:hover{color:#F4B820}
.rv-nav-cta{background:#F4B820;color:#0B1F14!important;padding:10px 18px;border-radius:10px;font-weight:800;box-shadow:4px 4px 0 #0B1F14;border:2px solid #0B1F14;display:inline-flex;align-items:center;gap:8px}
.rv-nav-perfil{padding:4px 16px 4px 6px}
.rv-nav-perfil .rv-avatar{background:#F7F3E6;border-radius:8px}
.rv-nav-toggle{display:none;width:46px;height:42px;border-radius:10px;border:2px solid #4FA34A;background:transparent;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.rv-nav-toggle span[aria-hidden]{display:block;width:22px;height:3px;background:#F7F3E6;border-radius:2px}
.rv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:1100px){
 .rv-nav-toggle{display:flex}
 .rv-nav-links{display:none;width:100%;flex-direction:column;align-items:stretch;gap:4px;padding-top:8px}
 .rv-nav-links.rv-abierto{display:flex}
 .rv-nav-links a{padding:10px 4px;border-bottom:1px solid #1E4A30}
 .rv-nav-cta{justify-content:center;margin-top:8px;border-bottom:2px solid #0B1F14!important}
}

/* ---- Avatar ---- */
.rv-avatar{display:inline-block;vertical-align:middle;line-height:0}
.rv-avatar svg{width:100%;height:100%;display:block}

/* ---- Formularios ---- */
.rv-form{display:flex;flex-direction:column;gap:18px}
.rv-form fieldset{border:2px solid #0B1F14;border-radius:16px;padding:16px 18px 18px;margin:0;display:flex;flex-direction:column;gap:12px;background:#FFFFFF}
.rv-form fieldset[hidden]{display:none}
.rv-form legend{font-family:'Press Start 2P',monospace;font-size:10px;padding:6px 10px;background:#F4B820;border:2px solid #0B1F14;border-radius:8px}
.rv-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:15px}
.rv-form label small{font-weight:500;color:#3D5446;font-size:13px}
.rv-form .rv-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:500}
.rv-form .rv-check input{margin-top:4px;width:20px;height:20px;flex:none;accent-color:#2F7D3A}
.rv-form .login-username label,.rv-form .login-password label{display:block;margin-bottom:6px}
.rv-form .login-username input,.rv-form .login-password input{width:100%}
.rv-form .login-remember label{flex-direction:row;align-items:center;font-weight:500}
.rv-trampa{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rv-boton,.rv-entry .rv-boton{align-self:flex-start;font-family:inherit;font-size:17px;background:#F4B820;color:#0B1F14;border:2px solid #0B1F14;border-radius:12px;padding:14px 24px;font-weight:800;box-shadow:4px 4px 0 #0B1F14;cursor:pointer;transition:transform .15s}
.rv-boton:hover{transform:translateY(-2px)}
.rv-boton:disabled{opacity:.6;cursor:wait}
.rv-boton-sec,.rv-entry .rv-boton-sec{background:#FFFFFF;font-size:15px;padding:10px 16px}
.rv-nota{font-size:14px;color:#3D5446;margin:0}
.rv-alerta{border:2px solid #0B1F14;border-radius:14px;padding:14px 16px;background:#FFF4CF;margin-bottom:18px}
.rv-alerta ul{margin:6px 0 0;padding-left:20px}
.rv-alerta-error{background:#FCE4DC}
.rv-alerta-ok{background:#DDF1D8}

/* ---- Perfil ---- */
.rv-perfil{display:flex;flex-direction:column;gap:24px}
.rv-perfil h3{font-size:20px;font-weight:900;margin:0 0 12px}
.rv-tarjeta{display:flex;flex-wrap:wrap;gap:20px;align-items:center;background:#143823;color:#F7F3E6;border:2px solid #F4B820;border-radius:20px;padding:20px;box-shadow:6px 6px 0 #071A10}
.rv-tarjeta-avatar{background:#F7F3E6;border:3px solid #F4B820;border-radius:18px;padding:8px}
.rv-tarjeta-datos{flex:1 1 240px;display:flex;flex-direction:column;gap:6px}
.rv-tarjeta-datos h2{margin:0;font-size:28px;font-weight:900}
.rv-tarjeta-datos p{margin:0;color:#CFE3D3}
.rv-kicker{font-family:'Press Start 2P',monospace;font-size:10px;color:#F4B820}
.rv-barra{height:18px;background:#0B1F14;border:2px solid #4FA34A;border-radius:6px;overflow:hidden;margin-top:6px}
.rv-barra span{display:block;height:100%;background:#F4B820}
.rv-tarjeta .rv-barra-txt{color:#F7F3E6}
.rv-historial ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.rv-historial li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #DCD6C3;padding:6px 0}
.rv-historial strong{color:#2F7D3A}

/* ---- Creador de personaje ---- */
.rv-ed{display:flex;flex-wrap:wrap;gap:20px}
.rv-ed-vista{flex:1 1 220px;display:flex;flex-direction:column;align-items:center;gap:14px;background:#0E2A1B;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:20px 20px;border:2px solid #0B1F14;border-radius:18px;padding:20px}
.rv-ed-avatar{width:200px;height:250px}
.rv-ed-acciones{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.rv-ed-acciones .rv-boton{align-self:auto}
.rv-ed-msg{min-height:1.4em;margin:0;font-size:14px;font-weight:700;color:#F7F3E6;text-align:center}
.rv-ed-msg.rv-ok{color:#A8D88F}.rv-ed-msg.rv-error{color:#FFB4A0}.rv-ed-msg.rv-info{color:#F4B820}
.rv-ed-panel{flex:2 1 320px;min-width:0}
.rv-ed-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.rv-ed-tabs button{font-family:inherit;font-size:14px;font-weight:700;padding:8px 12px;border-radius:10px;border:2px solid #0B1F14;background:#FFFFFF;color:#0B1F14;cursor:pointer}
.rv-ed-tabs button[aria-selected=true]{background:#0E2A1B;color:#F4B820}
.rv-ed-sub{font-weight:800;margin:4px 0 8px}
.rv-ed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin-bottom:10px}
.rv-op{font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;border:2px solid #0B1F14;border-radius:12px;background:#FFFFFF;cursor:pointer;color:#0B1F14}
.rv-op:hover{transform:translateY(-2px)}
.rv-op.rv-activa{background:#F4B820;box-shadow:3px 3px 0 #0B1F14}
.rv-op.rv-bloq{opacity:.55;border-style:dashed}
.rv-op-mini{width:56px;height:70px}
.rv-op-mini svg{width:100%;height:100%}
.rv-op-nombre{font-size:12px;font-weight:700;text-align:center;line-height:1.2}
.rv-op-candado{font-family:'Press Start 2P',monospace;font-size:7px;color:#3D5446}
.rv-swatches{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.rv-swatch{width:40px;height:40px;border-radius:50%;border:3px solid #FFFFFF;box-shadow:0 0 0 2px #0B1F14;cursor:pointer}
.rv-swatch.rv-activa{box-shadow:0 0 0 2px #0B1F14,0 0 0 6px #F4B820}

/* ---- Ranking ---- */
.rv-ranking-lista{list-style:none;margin:16px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.rv-ranking-lista li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#0E2A1B;color:#F7F3E6;flex-wrap:wrap}
.rv-ranking-lista li.rv-mia{background:#2F7D3A;border:2px solid #F4B820}
.rv-pos{font-family:'Press Start 2P',monospace;font-size:12px;color:#F4B820;width:28px}
.rv-prov{flex:1;font-weight:800}
.rv-dato{font-size:14px;color:#CFE3D3}
.rv-top{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.rv-top li{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #DCD6C3}
.rv-top li span{flex:1;font-weight:700}

/* ---- Contenido por confirmar ---- */
.rv-pronto{display:inline-block;font-family:'Press Start 2P',monospace;font-size:8px;line-height:1.4;letter-spacing:.5px;color:#0B1F14;background:#F4B820;border:2px solid #0B1F14;border-radius:6px;padding:6px 8px;text-align:center}

/* ---- Vitrina de personajes ---- */
.rv-vitrina{display:flex;flex-wrap:wrap;align-items:center;gap:20px;background:#0E2A1B;color:#F7F3E6;border:2px solid #0B1F14;border-radius:18px;padding:18px 22px;margin-bottom:20px;box-shadow:6px 6px 0 #F4B820}
.rv-vitrina > div{flex:1 1 220px}
.rv-vitrina-avatar{width:120px;height:150px;border-radius:14px;overflow:hidden;background:#143823}
.rv-vitrina-nombre{font-size:26px;font-weight:900;margin:6px 0}
.rv-vitrina-txt{margin:0;color:#CFE3D3;font-size:15px}

/* Insignias (v1.6) */
.rv-insignias ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.rv-insignia{display:flex;flex-direction:column;gap:4px;border:2px dashed #B9B29C;border-radius:14px;padding:10px 12px;background:#FBF8EE;color:#6B7A6F}
.rv-insignia strong{font-size:14px;color:#3D5446}
.rv-insignia small{font-size:12px;line-height:1.3}
.rv-insignia-ico{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#DCD6C3;color:#3D5446;font-weight:900}
.rv-insignia-si{border:3px solid #0B1F14;background:#fff;color:#0B1F14;box-shadow:4px 4px 0 #F4B820}
.rv-insignia-si strong{color:#0B1F14}
.rv-insignia-si .rv-insignia-ico{background:#F4B820;color:#0B1F14}


/* ===== v1.7 · Tarjetas 3D flotantes y brillantes ===== */
.rv-3d{position:relative;transform-style:preserve-3d;transition:transform .25s ease,box-shadow .25s ease;will-change:transform}
.rv-card.rv-3d:hover{transform:none}
.rv-3d.rv-3d-on{transform:perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateY(-8px) scale(1.02);box-shadow:14px 18px 0 rgba(7,26,16,.35)}
.rv-brillo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;z-index:2;
 background:radial-gradient(circle at var(--gx,50%) var(--gy,30%),rgba(255,255,255,.55),rgba(255,255,255,0) 45%),
 linear-gradient(115deg,rgba(244,184,32,0) 20%,rgba(244,184,32,.28) 38%,rgba(124,194,110,.28) 50%,rgba(91,164,207,.22) 62%,rgba(244,184,32,0) 80%);
 background-size:100% 100%,220% 220%;background-position:0 0,var(--gx,50%) var(--gy,50%);mix-blend-mode:screen}
.rv-3d-on .rv-brillo{opacity:1}
@keyframes rv-flota{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes rv-destello{0%{background-position:0 0,0% 0%}100%{background-position:0 0,220% 220%}}
.rv-carta{animation:rv-flota 5s ease-in-out infinite}
.rv-carta.rv-3d-on{animation:none}
@media (hover:none){
 .rv-3d .rv-brillo{opacity:.55;animation:rv-destello 5s linear infinite}
 .rv-card.rv-3d{animation:rv-flota 6s ease-in-out infinite}
 .rv-card.rv-3d:nth-child(2n){animation-delay:-2s}.rv-card.rv-3d:nth-child(3n){animation-delay:-4s}
}
@media (prefers-reduced-motion:reduce){.rv-3d,.rv-carta,.rv-card.rv-3d{animation:none!important;transform:none!important}.rv-brillo{display:none}}

/* Tarjeta del jugador que gira */
.rv-carta{perspective:1200px;border-radius:20px}
.rv-carta-giro{display:grid;transition:transform .7s cubic-bezier(.2,.8,.2,1);transform-style:preserve-3d}
.rv-carta-giro > .rv-tarjeta{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.rv-reverso{transform:rotateY(180deg);flex-direction:column;align-items:flex-start;justify-content:center;background:linear-gradient(135deg,#143823,#1F5A34)}
.rv-reverso p{margin:0;color:#CFE3D3}
.rv-reverso-lista{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.rv-reverso-lista li{background:#0B1F14;border:1.5px solid #F4B820;color:#F7F3E6;border-radius:999px;padding:6px 12px;font-size:14px;font-weight:700}
.rv-girada .rv-carta-giro{transform:rotateY(180deg)}
.rv-carta-acc{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 8px}
.rv-carta-acc .rv-boton{font-size:15px;padding:10px 16px;text-decoration:none}
.rv-boton-wa{background:#25D366!important;color:#0B1F14!important}

/* ===== Banda sonora flotante ===== */
.rv-radio{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:calc(100vw - 32px)}
.rv-radio[hidden]{display:none}
.rv-radio-pill{display:inline-flex;align-items:center;gap:10px;background:#0B1F14;color:#F7F3E6;border:2px solid #F4B820;border-radius:999px;padding:10px 16px 10px 12px;font:800 14px Montserrat,sans-serif;cursor:pointer;box-shadow:4px 4px 0 #F4B820}
.rv-radio-eq{display:inline-flex;align-items:flex-end;gap:2px;height:16px}
.rv-radio-eq i{display:block;width:4px;background:#F4B820;border-radius:1px;height:6px}
.rv-radio-abierta .rv-radio-eq i{animation:rv-eq 1s ease-in-out infinite}
.rv-radio-eq i:nth-child(2){animation-delay:-.3s}.rv-radio-eq i:nth-child(3){animation-delay:-.6s}
@keyframes rv-eq{0%,100%{height:4px}50%{height:16px}}
@keyframes rv-llama{0%,100%{box-shadow:4px 4px 0 #F4B820,0 0 0 0 rgba(244,184,32,.6)}50%{box-shadow:4px 4px 0 #F4B820,0 0 0 10px rgba(244,184,32,0)}}
.rv-radio-llama .rv-radio-pill{animation:rv-llama 1.6s ease-in-out 4}
.rv-radio-panel{order:-1;width:min(360px,calc(100vw - 32px));background:#0E2A1B;border:2px solid #F4B820;border-radius:18px;padding:12px;box-shadow:6px 6px 0 #071A10;display:flex;flex-direction:column;gap:10px}
.rv-radio-panel[hidden]{display:none}
.rv-radio-top{display:flex;justify-content:space-between;align-items:center}
.rv-radio-x{background:#F4B820;border:2px solid #0B1F14;border-radius:8px;width:32px;height:32px;font-weight:900;cursor:pointer}
.rv-radio-tabs{display:flex;flex-wrap:wrap;gap:6px}
.rv-radio-tabs button{background:transparent;color:#E3EFE5;border:1.5px solid #4FA34A;border-radius:999px;padding:6px 10px;font:700 12px Montserrat,sans-serif;cursor:pointer}
.rv-radio-tabs button[aria-selected="true"]{background:#F4B820;color:#0B1F14;border-color:#F4B820}
.rv-radio-frame iframe{display:block;border-radius:12px;height:152px}
.rv-radio-link{color:#F4B820;font:700 13px Montserrat,sans-serif}
@media (prefers-reduced-motion:reduce){.rv-radio-eq i,.rv-radio-llama .rv-radio-pill{animation:none!important}}

/* ===== Barra inferior en el celular ===== */
.rv-barra-movil{display:none}
@media (max-width:899px){
 body{padding-bottom:74px}
 .rv-barra-movil{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:55;background:#0B1F14;border-top:3px solid #F4B820;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
 .rv-barra-movil a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;color:#CFE3D3;text-decoration:none;font:700 11px Montserrat,sans-serif;padding:4px 0;border-radius:10px}
 .rv-barra-movil svg{width:22px;height:22px;fill:currentColor}
 .rv-barra-movil a[aria-current="page"]{color:#0B1F14;background:#F4B820}
 .rv-radio{bottom:86px}
}

/* ===== Agenda ===== */
.rv-agenda{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.rv-evento,.rv-agenda-vacia{background:#fff;border:2px solid #0B1F14;border-radius:18px;padding:18px;display:flex;gap:16px;box-shadow:5px 5px 0 #0B1F14}
.rv-agenda-vacia{flex-direction:column;align-items:flex-start}
.rv-agenda-vacia p{margin:0;color:#3D5446}
.rv-evento-prox{border-color:#F4B820;box-shadow:5px 5px 0 #F4B820;background:#FFFBEA}
.rv-evento-fecha{flex:none;width:68px;height:76px;border-radius:12px;background:#0B1F14;color:#F4B820;display:flex;flex-direction:column;align-items:center;justify-content:center;text-transform:uppercase}
.rv-evento-fecha span{font:700 11px 'Press Start 2P',monospace}
.rv-evento-fecha strong{font:900 30px Montserrat,sans-serif;color:#F7F3E6}
.rv-evento-info{display:flex;flex-direction:column;gap:6px;min-width:0}
.rv-evento-info h3{margin:0;font-size:19px;color:#0B1F14}
.rv-evento-info p{margin:0;font-size:14px;color:#3D5446}
.rv-cuenta{font-family:'Press Start 2P',monospace!important;font-size:10px!important;color:#2F7D3A!important}
.rv-evento-acc{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px}
.rv-evento-acc .rv-boton{font-size:14px;padding:8px 14px}
.rv-evento-n{font-size:13px;color:#3D5446}
.rv-evento-acc a{font-size:13px;font-weight:700;color:#2F7D3A}

/* ===== v1.8 · Reproductor brillante y flotante ===== */
@property --rv-ang{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes rv-borde{to{--rv-ang:360deg}}
@keyframes rv-flota-radio{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-6px) rotate(.4deg)}}
@keyframes rv-barrido{0%{transform:translateX(-120%) skewX(-20deg)}60%,100%{transform:translateX(220%) skewX(-20deg)}}
@keyframes rv-gira{to{transform:rotate(360deg)}}
.rv-radio{flex-direction:row;flex-wrap:wrap;align-items:center;max-width:min(380px,calc(100vw - 32px))}
.rv-radio-panel{flex-basis:100%;position:relative;overflow:hidden;border:0;padding:14px;border-radius:20px;
 background:linear-gradient(160deg,rgba(23,64,40,.96),rgba(9,26,16,.97)) padding-box,conic-gradient(from var(--rv-ang),#F4B820,#7CC26E,#5BA4CF,#F4B820,#2F7D3A,#F4B820) border-box;
 border:3px solid transparent;box-shadow:0 0 0 1px rgba(244,184,32,.25),0 0 28px rgba(244,184,32,.35),8px 10px 0 #071A10;
 animation:rv-borde 6s linear infinite,rv-flota-radio 6s ease-in-out infinite;backdrop-filter:blur(6px)}
.rv-radio-panel:hover{animation-play-state:running,paused}
.rv-radio-panel::after{content:"";position:absolute;top:0;left:0;width:40%;height:100%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);animation:rv-barrido 4.5s ease-in-out infinite}
.rv-radio-top .rv-kicker{display:inline-flex;align-items:center;gap:8px;font-family:'Press Start 2P',monospace;font-size:10px;color:#F4B820;text-shadow:0 0 8px rgba(244,184,32,.6)}
.rv-radio-top .rv-kicker::before{content:"";width:22px;height:22px;border-radius:50%;background:radial-gradient(circle,#F4B820 0 3px,#0B1F14 3px 5px,#2A2A2A 5px 7px,#111 7px 9px,#2A2A2A 9px 11px);box-shadow:0 0 0 2px #F4B820;animation:rv-gira 3s linear infinite}
.rv-radio-tabs{gap:8px}
.rv-radio-tabs button{position:relative;overflow:hidden;background:rgba(255,255,255,.05);border:2px solid #2F7D3A;border-radius:10px;padding:7px 10px;box-shadow:3px 3px 0 #071A10;transition:transform .15s,box-shadow .15s,border-color .15s}
.rv-radio-tabs button:hover{transform:translate(-1px,-2px);border-color:#7CC26E;box-shadow:4px 5px 0 #071A10,0 0 12px rgba(124,194,110,.35)}
.rv-radio-tabs button[aria-selected="true"]{background:linear-gradient(135deg,#FFD24A,#F4B820);color:#0B1F14;border-color:#0B1F14;box-shadow:3px 3px 0 #0B1F14,0 0 16px rgba(244,184,32,.65)}
.rv-radio-tabs button[aria-selected="true"]::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);animation:rv-barrido 2.8s ease-in-out infinite}
.rv-radio-frame{border-radius:14px;padding:3px;background:linear-gradient(135deg,#F4B820,#2F7D3A);box-shadow:0 0 18px rgba(244,184,32,.3)}
.rv-radio-link{align-self:flex-end;text-decoration:none}
.rv-radio-link::after{content:" ↗"}
.rv-radio-pill{position:relative;overflow:hidden;background:linear-gradient(135deg,#143823,#0B1F14);box-shadow:4px 4px 0 #F4B820,0 0 18px rgba(244,184,32,.35)}
.rv-radio-pill::after{content:"";position:absolute;top:0;left:0;width:40%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);animation:rv-barrido 3.5s ease-in-out infinite}
.rv-sonido-btn{width:44px;height:44px;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#0B1F14;color:#F4B820;border:2px solid #F4B820;border-radius:50%;cursor:pointer;box-shadow:3px 3px 0 #F4B820}
.rv-sonido-btn svg{width:22px;height:22px;fill:currentColor}
.rv-sonido-btn[aria-pressed="false"]{color:#8FB39A;border-color:#4A6B55;box-shadow:3px 3px 0 #4A6B55}
.rv-sonido-solo{position:fixed;left:16px;bottom:16px;z-index:60}
@media (max-width:899px){.rv-sonido-solo{bottom:86px}}
@media (prefers-reduced-motion:reduce){.rv-radio-panel,.rv-radio-panel::after,.rv-radio-pill::after,.rv-radio-tabs button::after,.rv-radio-top .rv-kicker::before{animation:none!important}}


/* ===== v1.9 · Ranking ===== */
.rv-ranking{display:flex;flex-direction:column;gap:18px}
.rv-rk-cab p{margin:6px 0 0;color:#3D5446}
.rv-rk-tabs{display:flex;flex-wrap:wrap;gap:8px}
.rv-rk-tabs button,.rv-entry .rv-rk-tabs button:not([class]){font:800 15px Montserrat,sans-serif;background:#fff;color:#0B1F14;border:2px solid #0B1F14;border-radius:12px;padding:10px 16px;cursor:pointer;box-shadow:3px 3px 0 #0B1F14}
.rv-rk-tabs button[aria-selected="true"],.rv-entry .rv-rk-tabs button[aria-selected="true"]:not([class]){background:#F4B820;box-shadow:3px 3px 0 #0B1F14,0 0 14px rgba(244,184,32,.5)}
.rv-podio{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end;margin-bottom:6px}
.rv-podio-carta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;border-radius:18px;padding:18px 12px;background:#143823;color:#F7F3E6;border:3px solid #4FA34A;box-shadow:6px 6px 0 #071A10}
.rv-podio-1{order:2;min-height:220px;border-color:#F4B820;background:linear-gradient(160deg,#1F5A34,#0E2A1B);box-shadow:6px 6px 0 #071A10,0 0 26px rgba(244,184,32,.4)}
.rv-podio-2{order:1;min-height:185px;border-color:#CFE3D3}
.rv-podio-3{order:3;min-height:165px;border-color:#D49A5A}
.rv-podio-carta.rv-mia{outline:3px dashed #F4B820;outline-offset:3px}
.rv-medalla{font:10px 'Press Start 2P',monospace;padding:5px 8px;border-radius:6px;background:#F4B820;color:#0B1F14}
.rv-podio-2 .rv-medalla{background:#CFE3D3}.rv-podio-3 .rv-medalla{background:#D49A5A}
.rv-podio-pos{font:900 44px Montserrat,sans-serif;line-height:1;color:#F4B820}
.rv-podio-carta strong{font-size:18px}
.rv-podio-dato{font-weight:800;color:#F4B820}
.rv-podio-carta small{color:#A9C9B0;font-size:12px}
.rv-ranking-lista li{position:relative}
.rv-rk-barra{flex:1 1 140px;height:10px;background:#071A10;border-radius:6px;overflow:hidden}
.rv-rk-barra span{display:block;height:100%;background:linear-gradient(90deg,#4FA34A,#F4B820);border-radius:6px}
.rv-rk-jug{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.rv-rk-fila{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #0B1F14;border-radius:14px;padding:8px 14px;box-shadow:3px 3px 0 #0B1F14}
.rv-rk-fila .rv-avatar{flex:none;background:#F7F3E6;border-radius:10px}
.rv-rk-nombre{flex:1;display:flex;flex-direction:column;min-width:0}
.rv-rk-nombre strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-rk-nombre small{color:#3D5446}
.rv-rk-savia{display:flex;flex-direction:column;align-items:flex-end;font:900 20px Montserrat,sans-serif;color:#2F7D3A}
.rv-rk-savia small{font-size:11px;color:#3D5446}
.rv-rk-top1{border-color:#F4B820;box-shadow:3px 3px 0 #F4B820,0 0 16px rgba(244,184,32,.45)}
.rv-rk-top2{border-color:#8FB39A}.rv-rk-top3{border-color:#D49A5A}
.rv-rk-fila.rv-mia{background:#FFFBEA;outline:3px solid #F4B820}
.rv-rk-sep{text-align:center;color:#3D5446;font-weight:900}
.rv-rk-vacio{background:#fff;border:2px solid #0B1F14;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
@media (max-width:600px){.rv-podio{gap:8px}.rv-podio-carta{padding:12px 6px}.rv-podio-pos{font-size:30px}.rv-podio-carta strong{font-size:14px}.rv-podio-carta small{display:none}}

/* ===== v1.9 · Mapa vivo ===== */
@keyframes rv-pin{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.rv-pin{pointer-events:none;transform-box:fill-box}
.rv-pin circle:first-child{transition:stroke .2s,r .2s}
.rv-pin-on circle:first-child{stroke:#F7F3E6;r:9}
.rv-pines .rv-pin{animation:rv-pin 2.4s ease-in-out infinite}
.rv-pines .rv-pin-d1{animation-delay:-.8s}.rv-pines .rv-pin-d2{animation-delay:-1.6s}
.rv-prov-rank{font-size:12px;font-weight:800;color:#2F7D3A}
[data-rv-destacados]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rv-dest{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;background:#0E2A1B;border:2px solid #4FA34A;border-radius:12px;padding:6px 4px;text-align:center;color:#F7F3E6}
.rv-dest-av{display:block;width:54px;height:68px}
.rv-dest-av svg{width:100%;height:100%}
.rv-dest strong{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rv-dest small{font-size:10px;color:#A9C9B0}
.rv-dest em{position:absolute;top:4px;left:6px;font:normal 8px 'Press Start 2P',monospace;color:#F4B820}
.rv-dest-vacio{grid-column:1/-1;margin:0;font-size:13px;color:#CFE3D3;background:#0E2A1B;border:2px dashed #4FA34A;border-radius:12px;padding:10px}
@media (prefers-reduced-motion:reduce){.rv-pines .rv-pin{animation:none}}

/* ===== v1.9 · Celebración ===== */
.rv-cel{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:16px;background:radial-gradient(circle at 50% 40%,rgba(31,90,52,.85),rgba(5,15,9,.94));overflow:hidden}
.rv-cel.rv-cel-on{display:flex}
.rv-cel,.rv-cel button,.rv-cel a{font-family:Montserrat,sans-serif}
body.rv-cel-abierta{overflow:hidden}
@keyframes rv-cel-entra{0%{transform:perspective(900px) rotateY(-100deg) scale(.6);opacity:0}60%{transform:perspective(900px) rotateY(12deg) scale(1.04);opacity:1}100%{transform:perspective(900px) rotateY(0) scale(1)}}
@keyframes rv-rayos{to{transform:rotate(360deg)}}
@keyframes rv-cae{0%{transform:translate(0,-10vh) rotate(0)}100%{transform:translate(var(--x),105vh) rotate(720deg)}}
.rv-cel-carta{position:relative;width:min(380px,100%);display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:26px 22px;border-radius:24px;color:#F7F3E6;
 background:linear-gradient(160deg,#1F5A34,#0B1F14) padding-box,conic-gradient(from var(--rv-ang,0deg),#F4B820,#7CC26E,#5BA4CF,#F4B820) border-box;border:4px solid transparent;
 box-shadow:0 0 50px rgba(244,184,32,.45),10px 12px 0 #071A10;animation:rv-cel-entra .9s cubic-bezier(.2,.8,.2,1) both,rv-borde 5s linear infinite}
.rv-cel-rayos{position:absolute;left:50%;top:38%;width:520px;height:520px;margin:-260px 0 0 -260px;z-index:-1;pointer-events:none;background:repeating-conic-gradient(rgba(244,184,32,.16) 0 10deg,transparent 10deg 20deg);border-radius:50%;animation:rv-rayos 18s linear infinite}
.rv-cel-carta .rv-kicker{font:12px 'Press Start 2P',monospace;color:#F4B820;text-shadow:0 0 10px rgba(244,184,32,.8)}
.rv-cel-av{width:150px;height:188px;background:#F7F3E6;border:4px solid #F4B820;border-radius:20px;padding:6px;animation:rv-flota 3s ease-in-out infinite}
.rv-cel-av svg,.rv-cel-ins svg{width:100%;height:100%}
.rv-cel-ins{width:140px;height:140px;filter:drop-shadow(0 0 18px rgba(244,184,32,.8));animation:rv-flota 3s ease-in-out infinite}
.rv-cel-carta h2{margin:0;font:900 38px Montserrat,sans-serif}
.rv-cel-carta p{margin:0;color:#CFE3D3}
.rv-cel-premios{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;align-items:center}
.rv-cel-premios span{width:100%;font:9px 'Press Start 2P',monospace;color:#A9C9B0}
.rv-cel-premios b{background:#0B1F14;border:1.5px solid #F4B820;border-radius:999px;padding:5px 10px;font-size:13px}
.rv-cel-acc{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:6px}
.rv-cel-acc .rv-boton{align-self:auto;text-decoration:none}
.rv-conf{position:absolute;top:0;width:9px;height:9px;z-index:1;pointer-events:none;animation:rv-cae 2.5s ease-in forwards}
@media (prefers-reduced-motion:reduce){.rv-cel-carta,.rv-cel-rayos,.rv-cel-av,.rv-cel-ins{animation:none!important}}
.rv-pin text{pointer-events:none}
/* Perfil del equipo desplegable */
.rv-bio{border-top:1px solid rgba(207,227,211,.25);padding-top:8px}
.rv-bio summary{cursor:pointer;list-style:none;font:800 13px Montserrat,sans-serif;color:#F4B820}
.rv-bio summary::-webkit-details-marker{display:none}
.rv-bio summary::before{content:"▸ ";display:inline-block;transition:transform .2s}
.rv-bio[open] summary::before{transform:rotate(90deg)}
.rv-bio p{margin:8px 0 0;font-size:14px;line-height:1.55;color:#E3EFE5}

/* ===== v2.1: El Radar ===== */
.rv-radar{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;align-items:start}
.rv-aviso{position:relative;background:#F7F3E6;border:3px solid #0B1F14;border-radius:18px;overflow:hidden;box-shadow:6px 6px 0 #071A10;display:flex;flex-direction:column;font-family:Montserrat,system-ui,sans-serif}
.rv-aviso-fijo{border-color:#F4B820;box-shadow:6px 6px 0 #071A10,0 0 0 3px rgba(244,184,32,.35)}
.rv-aviso-img{display:block;aspect-ratio:16/9;background:#E4DFCD;overflow:hidden}
.rv-aviso-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.rv-aviso:hover .rv-aviso-img img{transform:scale(1.04)}
.rv-aviso-cuerpo{padding:16px;display:flex;flex-direction:column;gap:10px}
.rv-aviso-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rv-chip{font-family:'Press Start 2P',monospace;font-size:8px;line-height:1.4;padding:6px 7px;border-radius:5px;border:2px solid #0B1F14;background:#F7F3E6;color:#0B1F14}
.rv-chip-prov{background:#0E2A1B;color:#A8D88F;border-color:#0E2A1B}
.rv-chip-fijo{background:#0B1F14;color:#F4B820}
.rv-aviso-hace{font-size:12px;color:#5B6F62;font-weight:600}
.rv-aviso h3{margin:0;font-size:19px;line-height:1.25;font-weight:900}
.rv-aviso h3 a{color:#0B1F14;text-decoration:none}
.rv-aviso h3 a:hover{text-decoration:underline;text-decoration-color:#F4B820;text-decoration-thickness:3px}
.rv-aviso p{margin:0;font-size:14px;line-height:1.5;color:#3D5446}
.rv-reac{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.rv-entry .rv-reac-b,.rv-reac-b{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:6px 10px;border-radius:999px;border:2px solid #0B1F14;background:#fff;color:#0B1F14;font:700 13px Montserrat,system-ui,sans-serif;cursor:pointer;transition:transform .15s,background .15s;box-shadow:2px 2px 0 #0B1F14}
.rv-reac-b b{font-weight:800;min-width:0}
.rv-reac-b:hover{transform:translateY(-2px)}
.rv-entry .rv-reac-b[aria-pressed="true"],.rv-reac-b[aria-pressed="true"]{background:#F4B820}
.rv-reac-b.rv-pop span[aria-hidden]{animation:rv-pop .45s ease}
@keyframes rv-pop{0%{transform:scale(1)}40%{transform:scale(1.7) rotate(-12deg)}100%{transform:scale(1)}}
.rv-entry .rv-compartir,.rv-compartir{background:#0E2A1B;color:#F7F3E6}
.rv-radar-filtros{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:20px}
.rv-entry .rv-filtro,.rv-filtro{padding:9px 14px;border-radius:999px;border:2px solid #F4B820;background:transparent;color:#F7F3E6;font:800 13px Montserrat,system-ui,sans-serif;cursor:pointer}
.rv-entry .rv-filtro[aria-pressed="true"],.rv-filtro[aria-pressed="true"]{background:#F4B820;color:#0B1F14}
.rv-filtro-prov{padding:9px 12px;border-radius:12px;border:2px solid #F4B820;background:#0B1F14;color:#F7F3E6;font:700 13px Montserrat,system-ui,sans-serif}
.rv-radar-nada{color:#CFE3D3}
.rv-aviso-pie{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:28px;padding-top:18px;border-top:2px dashed rgba(244,184,32,.4)}
.rv-radar-volver{color:#F4B820;font-weight:800;text-decoration:none}
.rv-radar-ping{display:inline-block;width:9px;height:9px;border-radius:50%;background:#7CC26E;margin-right:6px;vertical-align:middle;animation:rv-ping 1.6s infinite}
@keyframes rv-ping{0%{box-shadow:0 0 0 0 rgba(124,194,110,.8)}100%{box-shadow:0 0 0 12px rgba(124,194,110,0)}}
.rv-nav-radar{position:relative}
.rv-radar-dot{position:absolute;top:-2px;right:-9px;width:8px;height:8px;border-radius:50%;background:#F4B820;animation:rv-ping 1.6s infinite}
.rv-radar-dot[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.rv-radar-ping,.rv-radar-dot,.rv-reac-b.rv-pop span[aria-hidden]{animation:none}}
.rv-entry .rv-filtro{color:#0B1F14;border-color:#0B1F14;background:#fff;box-shadow:2px 2px 0 #0B1F14}
.rv-entry .rv-filtro[aria-pressed="true"]{background:#F4B820;color:#0B1F14}
.rv-entry .rv-filtro-prov{background:#fff;color:#0B1F14;border-color:#0B1F14}
.rv-entry .rv-radar-nada{color:#3D5446}
.rv-reac-b img.emoji{width:18px!important;height:18px!important;margin:0!important;vertical-align:-3px}
.rv-chip img.emoji{width:10px!important;height:10px!important}
