.artpv-message{padding:18px;border-radius:14px;background:#111;color:#fff}

.artpv-vote-page{max-width:980px;margin:0 auto;padding:18px}
.artpv-vote-header h2{margin:0 0 6px;font-size:28px}
.artpv-vote-header p{margin:0 0 18px;color:#666}
.artpv-vote-grid-wrap{position:relative}
.artpv-vote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.artpv-vote-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.08);position:relative}
.artpv-vote-image-wrap{position:relative;aspect-ratio:4/5;background:#111}
.artpv-vote-card img{width:100%;height:100%;object-fit:cover;display:block}
.artpv-vote-title-overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.62);color:#fff;padding:10px 12px;border-radius:12px;font-size:16px;font-weight:800;line-height:1.2;backdrop-filter:blur(3px)}
.artpv-title-sub{display:block;font-size:.92em;font-weight:600;opacity:.92;margin-top:2px}
.artpv-vote-card .artpv-vote-button{width:calc(100% - 20px);margin:10px;background:#111;color:#fff;border:0;border-radius:12px;padding:12px 14px;font-size:16px;font-weight:800;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.artpv-vote-card .artpv-vote-button:disabled{opacity:.6;cursor:not-allowed}
.artpv-vote-feedback{margin-top:14px;font-weight:700}

.artpv-vote-feedback.artpv-locked{font-size:36px!important;line-height:1.2!important;font-weight:900!important;text-align:center!important;margin:28px auto 18px!important;padding:10px 12px!important;max-width:95%!important;color:#fff!important;display:block!important}
@media (max-width: 767px){.artpv-vote-feedback.artpv-locked{font-size:34px!important}}


.artpv-live-screen{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:14px;min-height:100vh;height:100vh;background:#000;color:#fff;padding:10px;box-sizing:border-box;overflow:hidden}
.artpv-final-message{position:absolute;top:12px;left:12px;right:271px;z-index:30;display:flex;align-items:flex-start;justify-content:center;padding:0 18px;text-align:center;pointer-events:none}
.artpv-final-message[hidden]{display:none!important}
.artpv-final-message-text{display:inline-block;max-width:min(84vw,1220px);font-size:clamp(20px,1.9vw,36px);font-weight:1000;line-height:1.08;letter-spacing:.02em;color:#fff;padding:12px 18px 14px;border-radius:18px;border:1px solid rgba(255,214,74,.26);background:linear-gradient(180deg,rgba(10,10,10,.30),rgba(10,10,10,.18));backdrop-filter:blur(3px);-webkit-text-stroke:1px rgba(0,0,0,.32);text-shadow:0 2px 0 rgba(0,0,0,.35),0 0 12px rgba(255,214,74,.25),0 0 28px rgba(255,214,74,.22),0 0 54px rgba(255,214,74,.16);box-shadow:0 0 0 1px rgba(255,255,255,.04) inset,0 12px 36px rgba(0,0,0,.16);opacity:1;transition:opacity 3.2s ease, transform 3.2s ease, filter 3.2s ease;will-change:opacity,transform,filter}
.artpv-final-message-text.is-fading{animation:artpvFinalMessageSoftIn 2.6s cubic-bezier(.22,.61,.36,1) both}
.artpv-final-message-text.is-fading-out{animation:artpvFinalMessageSoftOut 3.2s cubic-bezier(.4,0,.2,1) both}
.artpv-final-message-cursor{display:inline-block;width:.11em;height:1.02em;margin-left:.16em;border-radius:3px;background:linear-gradient(180deg,#ffe68b,#f4cc4d);box-shadow:0 0 8px rgba(255,214,74,.95),0 0 18px rgba(255,214,74,.75);vertical-align:-0.10em;animation:artpvCursorBlink 1.15s step-end infinite}

.artpv-live-main{min-width:0}
.artpv-slide-wrap{position:relative;height:calc(100vh - 20px);border-radius:20px;overflow:hidden;background:#050505;display:flex;align-items:center;justify-content:center}
.artpv-slide-image{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;display:block;margin:auto}
.artpv-slide-title{position:absolute;left:18px;right:auto;bottom:18px;display:inline-block;width:auto;max-width:min(82%,calc(100% - 36px));background:rgba(0,0,0,.58);backdrop-filter:blur(4px);padding:14px 18px;border-radius:16px;font-size:clamp(24px,2.2vw,40px);font-weight:900;line-height:1.15;white-space:normal;word-break:break-word}
.artpv-title-num{display:inline-block;margin-right:.35em;color:#f4cc4d;font-weight:900}
.artpv-live-side{display:flex;flex-direction:column;gap:10px;min-height:0;max-height:calc(100vh - 20px)}
.artpv-brand-block{background:rgba(255,255,255,.06);border-radius:18px;padding:10px;text-align:center}
.artpv-logo{max-width:100px;max-height:48px;display:block;margin:0 auto 8px}
.artpv-logo-fallback{width:70px;height:70px;border-radius:50%;background:#fff;color:#000;font-weight:900;display:grid;place-items:center;margin:0 auto 8px}
.artpv-side-title{font-size:17px;font-weight:900;line-height:1.15}
.artpv-total-votes{font-size:15px;color:#f4cc4d;font-weight:900;margin-top:4px}
.artpv-ranking-box{background:rgba(255,255,255,.06);border-radius:18px;padding:8px;flex:1;min-height:0;overflow:hidden;position:relative}
.artpv-ranking-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;will-change:transform}
.artpv-ranking-item{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;background:rgba(255,255,255,.05);padding:9px 10px;border-radius:12px;transform:translateY(0);transition:transform .45s ease, background .35s ease, box-shadow .35s ease;overflow:hidden;min-height:56px}
.artpv-ranking-item.is-moving{transform:translateX(-4px)}
.artpv-ranking-item.is-scoring{background:rgba(244,204,77,.18);box-shadow:0 0 0 1px rgba(244,204,77,.35) inset}
.artpv-rank-bar{position:absolute;inset:0;opacity:.28;pointer-events:none}
.artpv-rank-bar span{position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg, rgba(244,204,77,.1), rgba(244,204,77,.55));transition:width .9s ease}
.artpv-rank-pos,.artpv-rank-title,.artpv-rank-votes{position:relative;z-index:2}
.artpv-rank-pos{font-size:17px;font-weight:900;color:#f4cc4d}
.artpv-rank-title{font-size:12px;font-weight:800;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.1;display:block}
.artpv-rank-votes{font-size:17px;font-weight:900;color:#f4cc4d}
.artpv-qr-box{text-align:center;background:rgba(255,255,255,.06);border-radius:18px;padding:8px}
.artpv-qr-vote-block[hidden],.artpv-qr-finalized[hidden]{display:none!important}
.artpv-qr-label{font-size:14px;font-weight:900;margin-bottom:7px;line-height:1.15}
.artpv-qr-image{width:105px;height:105px;display:block;margin:0 auto;background:#fff;padding:8px;border-radius:14px}
.artpv-qr-finalized{display:grid;place-items:center;min-height:121px;padding:14px 10px;border-radius:14px;background:rgba(244,204,77,.12);box-shadow:0 0 0 1px rgba(244,204,77,.28) inset;color:#f4cc4d;font-size:22px;font-weight:900;line-height:1.05;text-transform:uppercase;letter-spacing:.03em}
.artpv-control-button{display:block;width:100%;margin:10px auto 0;background:#f4cc4d;color:#111;border:0;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:900;line-height:1.1;cursor:pointer}
.artpv-control-button[data-mode="manual"]{background:#fff;color:#111}
.artpv-control-hint{margin-top:6px;font-size:10px;line-height:1.2;opacity:.82}


.artpv-reveal-overlay{position:fixed;inset:0;background:#000;z-index:9999;display:grid;place-items:center;padding:24px}
.artpv-reveal-overlay[hidden]{display:none}
.artpv-reveal-inner{max-width:1120px;width:100%;text-align:center;color:#fff;position:relative}
.artpv-reveal-countdown{font-size:min(18vw,220px);font-weight:900;line-height:1;display:none;text-shadow:0 0 30px rgba(244,204,77,.45)}
.artpv-reveal-kicker{font-size:22px;letter-spacing:.35em;color:#f4cc4d;margin-bottom:18px;opacity:0}
.artpv-reveal-image{max-width:100%;max-height:58vh;border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.5);opacity:0;transform:scale(.85)}
.artpv-reveal-title{font-size:clamp(34px,4vw,68px);font-weight:900;margin-top:18px;opacity:0}
.artpv-reveal-votes{font-size:clamp(24px,2.5vw,40px);color:#f4cc4d;margin-top:6px;opacity:0}
.artpv-applause{font-size:clamp(24px,3vw,42px);margin-top:12px;opacity:0;letter-spacing:.22em}
.artpv-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.artpv-confetti-piece{position:absolute;top:-20px;width:12px;height:18px;background:#f4cc4d;opacity:.9;animation:artpvFall 3s linear forwards}
.artpv-confetti-piece:nth-child(3n){background:#ffffff}
.artpv-confetti-piece:nth-child(3n+1){background:#ff6b6b}
.artpv-reveal-overlay.is-countdown .artpv-reveal-countdown{display:block;animation:artpvPulse .85s ease infinite}
.artpv-reveal-overlay.is-countdown .artpv-reveal-kicker,
.artpv-reveal-overlay.is-countdown .artpv-reveal-image,
.artpv-reveal-overlay.is-countdown .artpv-reveal-title,
.artpv-reveal-overlay.is-countdown .artpv-reveal-votes,
.artpv-reveal-overlay.is-countdown .artpv-applause{display:none}
.artpv-reveal-overlay.is-winner .artpv-reveal-countdown{display:none}
.artpv-reveal-overlay.is-winner .artpv-reveal-kicker{opacity:1}
.artpv-reveal-overlay.is-winner .artpv-reveal-image{opacity:1;transform:scale(1);animation:artpvZoom 1.4s ease forwards}
.artpv-reveal-overlay.is-winner .artpv-reveal-title,
.artpv-reveal-overlay.is-winner .artpv-reveal-votes,
.artpv-reveal-overlay.is-winner .artpv-applause{opacity:1}
.artpv-reveal-overlay.is-winner .artpv-applause{animation:artpvBlink .9s ease infinite alternate}

@keyframes artpvPulse{from{transform:scale(.92)}to{transform:scale(1.06)}}
@keyframes artpvZoom{0%{transform:scale(.85)}100%{transform:scale(1.06)}}
@keyframes artpvBlink{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes artpvFall{to{transform:translateY(115vh) rotate(520deg)}}

body.artpv-kiosk-screen{margin:0!important;background:#000!important;overflow:hidden!important}
body.artpv-kiosk-screen header,
body.artpv-kiosk-screen footer,
body.artpv-kiosk-screen .site-header,
body.artpv-kiosk-screen .site-footer,
body.artpv-kiosk-screen #site-header,
body.artpv-kiosk-screen #site-footer,
body.artpv-kiosk-screen .elementor-location-header,
body.artpv-kiosk-screen .elementor-location-footer,
body.artpv-kiosk-screen .ast-above-header-wrap,
body.artpv-kiosk-screen .ast-primary-header-bar,
body.artpv-kiosk-screen .ast-footer-overlay,
body.artpv-kiosk-screen .page-header,
body.artpv-kiosk-screen .entry-header,
body.artpv-kiosk-screen .page-title,
body.artpv-kiosk-screen .site-breadcrumbs,
body.artpv-kiosk-screen .breadcrumbs,
body.artpv-kiosk-screen .post-navigation,
body.artpv-kiosk-screen #wpadminbar{display:none!important}
body.artpv-kiosk-screen .site,
body.artpv-kiosk-screen #page,
body.artpv-kiosk-screen .site-content,
body.artpv-kiosk-screen .content-area,
body.artpv-kiosk-screen .elementor,
body.artpv-kiosk-screen .elementor-section-wrap,
body.artpv-kiosk-screen .elementor-widget-wrap,
body.artpv-kiosk-screen main,
body.artpv-kiosk-screen .entry-content,
body.artpv-kiosk-screen .elementor-location-single,
body.artpv-kiosk-screen .dialog-widget-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.artpv-kiosk-screen .artpv-live-screen-shortcode{position:fixed;inset:0;z-index:9998}

@media (max-width: 900px){
  .artpv-live-screen{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:auto}
  .artpv-live-side{max-height:none}
  .artpv-slide-wrap{height:60vh}
}

.artpv-ranking-box::-webkit-scrollbar{display:none}
.artpv-ranking-box{scrollbar-width:none}
.artpv-ranking-list.is-clone{margin-top:8px}

@media (max-width: 767px){
  .artpv-vote-page.artpv-wheel-mode{padding-bottom:8px}
  .artpv-wheel-mode .artpv-vote-grid-wrap{height:min(68vh,560px);overflow:hidden}
  .artpv-wheel-mode .artpv-vote-grid{display:flex;flex-direction:column;gap:14px;will-change:transform}
  .artpv-wheel-mode .artpv-vote-card{margin:0 2px}
}


/* v1.5.4: en móvil mostramos todas las fotos sin scroll automático */
@media (max-width: 767px){
  .artpv-vote-grid-wrap{height:auto!important;overflow:visible!important}
  .artpv-vote-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;transform:none!important}
  .artpv-vote-card{margin:0!important}
}

.artpv-reveal-gallery{display:none;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin:18px auto 0;max-width:1200px}
.artpv-reveal-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:16px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.artpv-reveal-card img{display:block;width:100%;height:min(38vh,420px);object-fit:cover;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.artpv-reveal-card-title{font-size:clamp(20px,2vw,32px);font-weight:900;margin-top:12px;line-height:1.08}
.artpv-reveal-card-votes{font-size:clamp(18px,1.6vw,26px);color:#f4cc4d;margin-top:6px}
.artpv-reveal-overlay.is-tie .artpv-reveal-image,
.artpv-reveal-overlay.is-tie .artpv-reveal-title,
.artpv-reveal-overlay.is-tie .artpv-reveal-votes{display:none !important}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{display:grid;animation:artpvFadeIn .8s ease forwards}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-kicker,
.artpv-reveal-overlay.is-winner.is-tie .artpv-applause{opacity:1}
@keyframes artpvFadeIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}


/* v1.5.4.9: mejora de layout en empate para que los títulos no se solapen */
.artpv-reveal-inner{max-height:92vh;overflow:auto;padding-right:6px}
.artpv-reveal-gallery{align-items:start}
.artpv-reveal-card{display:flex;flex-direction:column;height:100%;overflow:hidden}
.artpv-reveal-card img{width:100%;height:auto;aspect-ratio:4/5;max-height:min(34vh,360px);object-fit:contain;background:#0b0b0b}
.artpv-reveal-card-title{display:block;line-height:1.12;white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-height:2.8em}
.artpv-reveal-card-title .artpv-title-sub{display:block;font-size:.88em;line-height:1.08;margin-top:4px;opacity:.92}
.artpv-reveal-card-votes{margin-top:auto;padding-top:8px}
@media (max-width: 900px){
  .artpv-reveal-gallery{grid-template-columns:1fr 1fr;gap:16px}
  .artpv-reveal-card img{max-height:32vh}
}
@media (max-width: 640px){
  .artpv-reveal-gallery{grid-template-columns:1fr}
  .artpv-reveal-card-title{min-height:0}
}


/* v1.5.4.10: corrección del empate para ocultar el fondo y asegurar títulos visibles */
.artpv-live-screen.artpv-is-reveal-active > .artpv-live-main,
.artpv-live-screen.artpv-is-reveal-active > .artpv-live-side{visibility:hidden}
.artpv-live-screen.artpv-is-reveal-active > .artpv-reveal-overlay{visibility:visible}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-inner{max-width:1320px}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;max-width:1320px;margin-top:12px}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card{padding:12px;border-radius:18px;background:rgba(255,255,255,.04)}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{height:min(28vh,300px);max-height:min(28vh,300px);aspect-ratio:auto;object-fit:contain;background:#0b0b0b}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card-title{font-size:clamp(18px,1.8vw,28px);margin-top:10px;min-height:0}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card-votes{font-size:clamp(16px,1.4vw,22px);padding-top:6px}
@media (max-width: 900px){
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{grid-template-columns:1fr 1fr;gap:14px}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{height:min(24vh,220px);max-height:min(24vh,220px)}
}
@media (max-width: 640px){
  .artpv-reveal-overlay{padding:14px}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{grid-template-columns:1fr}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{height:min(26vh,220px);max-height:min(26vh,220px)}
}


/* v1.5.4.11: mejor aprovechamiento de pantalla y sin barras feas en cuenta atrás */
.artpv-reveal-inner{max-width:min(94vw,1500px);max-height:92vh;overflow:hidden;padding:0 6px;}
.artpv-reveal-overlay.is-countdown .artpv-reveal-inner{overflow:hidden!important;max-height:none;}
.artpv-reveal-overlay.is-countdown{overflow:hidden;}
.artpv-reveal-overlay.is-countdown .artpv-confetti{display:none;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-inner{max-width:min(96vw,1600px);overflow:hidden;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:min(96vw,1500px);margin-top:18px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card{padding:18px 18px 16px;border-radius:22px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{width:100%;height:min(56vh,720px);max-height:min(56vh,720px);object-fit:contain;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card-title{font-size:clamp(26px,2.6vw,44px);line-height:1.04;margin-top:14px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card-title .artpv-title-sub{font-size:.82em;margin-top:6px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card-votes{font-size:clamp(22px,1.8vw,30px);padding-top:8px;}
@media (max-width: 1100px){
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{gap:18px;}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{height:min(48vh,520px);max-height:min(48vh,520px);}
}
@media (max-width: 767px){
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{grid-template-columns:1fr;gap:14px;}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{height:min(34vh,320px);max-height:min(34vh,320px);}
  .artpv-reveal-countdown{font-size:min(28vw,180px);}
}


/* v1.5.4.12: en empate, ajustar SIEMPRE toda la galería a pantalla completa desde 2 fotos */
.artpv-reveal-overlay.is-winner.is-tie{overflow:hidden;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-inner{max-width:min(96vw,1700px);max-height:94vh;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery{width:min(96vw,1600px);max-width:min(96vw,1600px);margin:14px auto 0;align-content:start;justify-content:center;overflow:hidden;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-card img{width:100%;object-fit:contain;background:#0b0b0b;}

/* 2 empatadas */
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="2"] .artpv-reveal-card img{height:min(46vh,560px);max-height:min(46vh,560px);}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="2"] .artpv-reveal-card-title{font-size:clamp(24px,2.3vw,40px);line-height:1.05;margin-top:12px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="2"] .artpv-reveal-card-votes{font-size:clamp(20px,1.6vw,28px);padding-top:6px;}

/* 3 empatadas */
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="3"] .artpv-reveal-card img{height:min(34vh,400px);max-height:min(34vh,400px);}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="3"] .artpv-reveal-card-title{font-size:clamp(20px,1.8vw,32px);line-height:1.05;margin-top:10px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="3"] .artpv-reveal-card-votes{font-size:clamp(18px,1.35vw,24px);padding-top:5px;}

/* 4 empatadas */
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="4"] .artpv-reveal-card img{height:min(27vh,290px);max-height:min(27vh,290px);}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="4"] .artpv-reveal-card-title{font-size:clamp(18px,1.45vw,26px);line-height:1.04;margin-top:8px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="4"] .artpv-reveal-card-votes{font-size:clamp(16px,1.1vw,22px);padding-top:4px;}

/* 5 y 6 empatadas */
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="5"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="5"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="6"] .artpv-reveal-card img{height:min(21vh,215px);max-height:min(21vh,215px);}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="5"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="6"] .artpv-reveal-card-title{font-size:clamp(15px,1.05vw,21px);line-height:1.03;margin-top:7px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="5"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="6"] .artpv-reveal-card-votes{font-size:clamp(14px,.95vw,18px);padding-top:3px;}

/* 7 a 12 empatadas */
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="7"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="8"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="9"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="10"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="11"],
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="12"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="7"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="8"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="9"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="10"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="11"] .artpv-reveal-card img,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="12"] .artpv-reveal-card img{height:min(16vh,160px);max-height:min(16vh,160px);}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="7"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="8"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="9"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="10"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="11"] .artpv-reveal-card-title,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="12"] .artpv-reveal-card-title{font-size:clamp(13px,.88vw,17px);line-height:1.02;margin-top:6px;}
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="7"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="8"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="9"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="10"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="11"] .artpv-reveal-card-votes,
.artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="12"] .artpv-reveal-card-votes{font-size:clamp(12px,.8vw,16px);padding-top:2px;}

@media (max-width: 1100px){
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="2"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="3"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="5"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="6"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="7"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="8"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="9"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="10"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="11"],
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count="12"]{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 767px){
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count] .artpv-reveal-card img{height:min(18vh,150px);max-height:min(18vh,150px);}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count] .artpv-reveal-card-title{font-size:clamp(13px,2.8vw,18px);}
  .artpv-reveal-overlay.is-winner.is-tie .artpv-reveal-gallery[data-count] .artpv-reveal-card-votes{font-size:clamp(12px,2.3vw,15px);}
}


.artpv-vote-grid{display:flex!important;flex-direction:column;gap:12px!important}
.artpv-vote-row{display:grid;grid-template-columns:56px 52px 96px minmax(0,1fr);align-items:center;gap:10px;background:#e9e9e9;border-radius:14px;padding:8px 12px;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.artpv-vote-num{font-weight:900;font-size:22px;line-height:1;color:#111;text-align:center;min-width:0}
.artpv-vote-thumb-wrap{width:44px;height:44px;border-radius:8px;overflow:hidden;background:#111}
.artpv-vote-thumb-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.artpv-vote-button-inline{width:auto!important;margin:0!important;padding:10px 16px!important;font-size:15px!important;line-height:1.1;justify-self:start;min-width:84px}
.artpv-vote-title-text{color:#111;font-size:15px;font-weight:700;line-height:1.2;min-width:0;word-break:break-word}
.artpv-vote-title-text .artpv-title-sub{display:block;font-size:.92em;font-weight:600;opacity:.9}
@media (max-width: 640px){
  .artpv-vote-row{grid-template-columns:42px 42px 82px minmax(0,1fr);gap:8px;padding:8px}
  .artpv-vote-num{font-size:18px}
  .artpv-vote-thumb-wrap{width:38px;height:38px}
  .artpv-vote-button-inline{min-width:74px;padding:9px 10px!important;font-size:13px!important}
  .artpv-vote-title-text{font-size:13px}
}


/* v1.5.4.13: miniaturas algo más grandes sin aumentar el peso descargado */
.artpv-vote-row{grid-template-columns:60px 64px 96px minmax(0,1fr);min-height:78px}
.artpv-vote-thumb-wrap{width:58px;height:58px;border-radius:10px}
.artpv-vote-thumb-wrap img{image-rendering:auto}
@media (max-width: 767px){
  .artpv-vote-row{grid-template-columns:46px 52px 82px minmax(0,1fr);min-height:70px}
  .artpv-vote-thumb-wrap{width:48px;height:48px}
}

/* v1.5.4.13: confirmación visual antes de registrar el voto */
body.artpv-modal-open{overflow:hidden}
.artpv-vote-confirm-modal{position:fixed;inset:0;z-index:10000}
.artpv-vote-confirm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}
.artpv-vote-confirm-dialog{position:relative;z-index:1;width:min(92vw,560px);margin:min(10vh,80px) auto 0;background:#111;border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:22px 20px 18px;box-shadow:0 26px 80px rgba(0,0,0,.45);color:#fff}
.artpv-vote-confirm-x{position:absolute;top:8px;right:10px;border:0;background:transparent;color:#fff;font-size:34px;line-height:1;cursor:pointer}
.artpv-vote-confirm-kicker{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.8;margin-bottom:8px}
.artpv-vote-confirm-title{font-size:28px;line-height:1.08;margin:0 0 16px;font-weight:900}
.artpv-vote-confirm-step{display:none}
.artpv-vote-confirm-step.is-active{display:block}
.artpv-vote-confirm-row{display:grid;grid-template-columns:56px 70px minmax(0,1fr);gap:12px;align-items:center;background:#f0f0f0;border-radius:16px;padding:12px;color:#111}
.artpv-vote-confirm-num{font-size:26px;font-weight:900;text-align:center}
.artpv-vote-confirm-thumb{width:70px;height:70px;border-radius:12px;overflow:hidden;background:#111}
.artpv-vote-confirm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.artpv-vote-confirm-text{font-size:18px;font-weight:800;line-height:1.15;word-break:break-word}
.artpv-vote-confirm-text .artpv-title-sub{display:block;font-size:.92em;font-weight:700;opacity:.9;margin-top:4px}
.artpv-vote-confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}
.artpv-vote-confirm-btn{border:0;border-radius:12px;padding:12px 18px;font-weight:900;cursor:pointer}
.artpv-vote-confirm-btn-primary{background:#f4cc4d;color:#111}
.artpv-vote-confirm-btn-secondary{background:#2a2a2a;color:#fff}
@media (max-width: 767px){
  .artpv-vote-confirm-dialog{width:min(94vw,520px);padding:18px 16px 16px}
  .artpv-vote-confirm-title{font-size:22px;padding-right:24px}
  .artpv-vote-confirm-row{grid-template-columns:44px 58px minmax(0,1fr);gap:10px;padding:10px}
  .artpv-vote-confirm-num{font-size:20px}
  .artpv-vote-confirm-thumb{width:58px;height:58px}
  .artpv-vote-confirm-text{font-size:16px}
  .artpv-vote-confirm-actions{justify-content:stretch}
  .artpv-vote-confirm-btn{flex:1 1 100%}
}

.artpv-vote-confirm-modal.is-busy .artpv-vote-confirm-btn-primary{opacity:.7;pointer-events:none}
.artpv-vote-confirm-modal.is-busy .artpv-vote-confirm-dialog{cursor:progress}

@keyframes artpvCursorBlink{0%,46%{opacity:1}47%,100%{opacity:0}}
@keyframes artpvFinalMessageGlow{0%{opacity:0;transform:translateY(10px) scale(.99);filter:blur(2px)}18%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}82%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}100%{opacity:0;transform:translateY(-8px) scale(1.01);filter:blur(2px)}}


@keyframes artpvFinalMessageSoftIn{0%{opacity:0;transform:translateY(-10px) scale(.985);filter:blur(5px)}35%{opacity:.78;transform:translateY(-2px) scale(.996);filter:blur(1.4px)}100%{opacity:.98;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes artpvFinalMessageSoftOut{0%{opacity:.98;transform:translateY(0) scale(1);filter:blur(0)}100%{opacity:0;transform:translateY(-8px) scale(.992);filter:blur(4px)}}

@media (max-width: 980px){.artpv-final-message{left:10px;right:10px;top:10px}.artpv-final-message-text{max-width:calc(100vw - 20px);font-size:clamp(16px,3.5vw,24px);padding:10px 12px 12px}}

.artpv-qr-pending{display:grid;place-items:center;min-height:220px;padding:20px;border:1px solid rgba(255,210,74,.35);border-radius:18px;background:rgba(255,210,74,.08);color:#ffd24a;font-weight:800;text-align:center;letter-spacing:.04em;text-transform:uppercase;box-shadow:inset 0 0 24px rgba(255,210,74,.08);}
