/* Hoja CSS para las valoraciones en editordeimagenes.com */
/* Realizado por Francisco J. Ponce */
/* Noviembre de 2026 */
.vt{margin-top:36px;margin-bottom:8px}
.vt-caja{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:center;padding:26px 28px;border-radius:var(--radius);border:1px solid var(--border);background:radial-gradient(120% 120% at 0 0,rgba(255,107,61,.1),transparent 55%),var(--bg-2)}
.vt-titulo{margin:0 0 6px;font-family:var(--font-display);font-size:1.4rem;line-height:1.2;letter-spacing:-.02em}
.vt-sub{margin:0 0 14px;color:var(--text-2);font-size:.95rem}
.vt-vh{color:var(--text);position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vt-form{margin:0}
.vt-estrellas{display:inline-flex;flex-direction:row-reverse;gap:4px;margin:0;padding:0;border:0}
.vt-estrellas input{position:absolute;opacity:0;width:1px;height:1px}
.vt-estrellas label{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;cursor:pointer;color:var(--border-2);transition:transform .2s cubic-bezier(.2,.9,.3,1.6),color .15s}
.vt-estrellas svg{width:38px;height:38px;fill:currentColor;stroke:rgba(0,0,0,.08);stroke-width:.6}
.vt-estrellas label:hover,.vt-estrellas label:hover~label,.vt-estrellas input:checked~label{color:#f5a623}
.vt-estrellas:hover input:checked~label:not(:hover):not(:hover~label){color:var(--border-2)}
.vt-estrellas:hover label:hover,.vt-estrellas:hover label:hover~label{color:#f5a623}
.vt-estrellas label:hover{transform:scale(1.15)}
.vt-estrellas input:focus-visible+label{outline:3px solid var(--accent);outline-offset:2px}
.vt-gracias .vt-estrellas input:checked~label{animation:vt-pop .5s cubic-bezier(.2,.9,.3,1.6)}
.vt-gracias .vt-estrellas input:checked+label{animation-delay:0s}
.vt-enviando .vt-estrellas{opacity:.6;pointer-events:none}
.vt-estado{min-height:1.4em;margin:8px 0 0;color:var(--text-2);font-size:.88rem;font-weight:600}
.vt-media{display:flex;align-items:baseline;gap:8px;margin:0}
.vt-num{font:800 2.6rem/1 var(--font-display);letter-spacing:-.03em}
.vt-de{color:var(--text-2);font-weight:600}
.vt-barra-est{position:relative;width:130px;height:22px;margin:6px 0 4px;background:linear-gradient(90deg,var(--border-2) 0 100%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='e' d='m12 2.8 2.8 5.7 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 2.9 1.1-6.3L2.9 9.4l6.3-.9z'/%3E%3Cuse href='%23e' x='24'/%3E%3Cuse href='%23e' x='48'/%3E%3Cuse href='%23e' x='72'/%3E%3Cuse href='%23e' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/130px 26px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='e' d='m12 2.8 2.8 5.7 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 2.9 1.1-6.3L2.9 9.4l6.3-.9z'/%3E%3Cuse href='%23e' x='24'/%3E%3Cuse href='%23e' x='48'/%3E%3Cuse href='%23e' x='72'/%3E%3Cuse href='%23e' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/130px 26px no-repeat}
.vt-barra-est span{position:absolute;left:0;top:0;bottom:0;background:#f5a623;transition:width .6s cubic-bezier(.2,.9,.3,1)}
.vt-total{margin:0 0 12px;color:var(--text-2);font-size:.88rem}
.vt-dist{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.vt-dist li{display:grid;grid-template-columns:34px 1fr 36px;align-items:center;gap:8px;font-size:.82rem;color:var(--text-2)}
.vt-dist-b{height:8px;border-radius:999px;background:var(--border);overflow:hidden}
.vt-dist-b span{display:block;height:100%;border-radius:999px;background:#f5a623;transition:width .6s cubic-bezier(.2,.9,.3,1)}
.vt-dist-n{text-align:right;font-variant-numeric:tabular-nums}
.vt-nota{margin:10px 2px 0;color:var(--text-2);font-size:.78rem;line-height:1.5}
.vt-nota a{color:var(--accent-2)}
@media (max-width:760px){.vt-caja{grid-template-columns:1fr;gap:22px;padding:22px 18px}.vt-estrellas label{width:44px;height:44px}.vt-estrellas svg{width:34px;height:34px}}
@keyframes vt-pop{0%{transform:scale(.6)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.vt-estrellas label,.vt-barra-est span,.vt-dist-b span{transition:none}.vt-gracias .vt-estrellas input:checked~label{animation:none}}
@media print{.vt{display:none}}
.vt-der{display:grid;grid-template-columns:1fr auto auto 1fr;align-items:center;column-gap:16px}
.vt-media{grid-column:2;grid-row:1/3}
.vt-barra-est{grid-column:3;grid-row:1;justify-self:center;align-self:end;margin:0}
.vt-total{grid-column:3;grid-row:2;align-self:start;margin:4px 0 0;text-align:center}
.vt-dist{grid-column:1/-1;margin-top:14px}
.vt-quitar{margin:6px 0 0;padding:4px 0;border:0;background:none;color:var(--text-2);font:600 .84rem var(--font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.vt-quitar:hover{color:var(--text)}
.vt-quitar:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.vt-quitar[hidden]{display:none}
.vt-izq{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px}
.vt-titulo,.vt-sub{grid-column:1/-1}
.vt-form{grid-column:1;grid-row:3}
.vt-quitar{grid-column:2;grid-row:3;justify-self:start;margin:0}
.vt-estado{grid-column:1/-1;grid-row:4}
.vt-caja{position:relative;overflow:hidden;transition:border-color .35s,box-shadow .35s}
.vt-caja::before{content:"";position:absolute;inset:0;background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),rgba(245,166,35,.18),transparent 62%);opacity:0;transition:opacity .45s;pointer-events:none}
.vt-caja>*{position:relative}
.vt-caja:hover{border-color:rgba(245,166,35,.5);box-shadow:0 20px 44px -26px rgba(245,166,35,.6)}
.vt-caja:hover::before{opacity:1}
.vt-caja:hover .vt-estrellas label{animation:vt-ola .6s cubic-bezier(.3,.7,.4,1.4) both}
.vt-caja:hover .vt-estrellas label:nth-of-type(5){animation-delay:0s}
.vt-caja:hover .vt-estrellas label:nth-of-type(4){animation-delay:.07s}
.vt-caja:hover .vt-estrellas label:nth-of-type(3){animation-delay:.14s}
.vt-caja:hover .vt-estrellas label:nth-of-type(2){animation-delay:.21s}
.vt-caja:hover .vt-estrellas label:nth-of-type(1){animation-delay:.28s}
@keyframes vt-ola{0%,100%{transform:none}45%{transform:translateY(-7px) scale(1.12)}}
@media (prefers-reduced-motion:reduce){.vt-caja:hover .vt-estrellas label{animation:none}.vt-caja::before{display:none}}