/* Club ISIS · demo — estilos de la pantalla «Sorteos» (prefijo .sor-).
   Cielo celeste con ondas lima para el sorteo del sábado, sol para la moto y marino para la simulación. */

.sor { padding-bottom: 14px; }
.sor p, .sor small { text-wrap: pretty; }

/* los bloques aparecen al entrar en pantalla (cupones.js pone .sor-anim solo si hay animación) */
.sor-rev { transition: opacity .42s var(--ease), transform .42s var(--ease); }
.sor-anim .sor-rev:not(.visto) { opacity: 0; transform: translateY(18px); }
.sor-anim .sor-rev:not(.visto) .barra > i { width: 0; }

/* íconos en círculo, como los pines del folleto */
.sor-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--lima); color: var(--tinta); }
.sor-ico svg { width: 21px; height: 21px; }
.sor-ico.es-azul { background: var(--azul-3); color: var(--azul); }
.sor-ico.es-claro { width: 32px; height: 32px; background: rgba(27, 40, 54, .07); color: var(--marino); }
.sor-ico.es-claro svg { width: 16px; height: 16px; }

/* sello de cupón recién sumado */
.sor-nuevo { position: absolute; top: -9px; right: 60px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 1px 10px 0 8px; border-radius: 99px; background: #fff; color: var(--azul); font: 800 11px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; rotate: 5deg; box-shadow: 0 6px 12px -4px rgba(27, 40, 54, .5); animation: sor-estampar .42s var(--resorte) both; animation-delay: calc(var(--k, 0) * 60ms + 260ms); pointer-events: none; }
.sor-nuevo svg { width: 12px; height: 12px; margin-top: -1px; }
.cupon.sor-blanco { --c: #fff; --t: var(--marino); }

/* ───── héroe ───── */
.sor-heroe { position: relative; isolation: isolate; overflow: hidden; margin: 2px 12px 0; padding: 16px 18px 0; border-radius: 30px; color: #fff; background: linear-gradient(170deg, #25AEE8 0%, var(--celeste) 30%, var(--azul) 66%, #056E9E 100%); box-shadow: 0 2px 4px rgba(27, 40, 54, .06), 0 28px 44px -26px rgba(0, 105, 155, .85); }
.sor-cielo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sor-trama { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.4px); background-size: 11px 11px; -webkit-mask: linear-gradient(205deg, #000, transparent 44%); mask: linear-gradient(205deg, #000, transparent 44%); }
.sor-rayos { position: absolute; left: 50%; top: 158px; width: 170cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .13) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 66%); mask: radial-gradient(closest-side, #000 8%, transparent 66%); animation: sor-girar 80s linear infinite; }
.sor-cielo svg { position: absolute; left: 7%; top: 104px; width: 18px; height: 18px; color: var(--sol); animation: sor-titilar 3.2s ease-in-out infinite; }
.sor-cielo svg:nth-of-type(2) { left: auto; right: 7%; top: 62px; width: 14px; height: 14px; color: #fff; animation-delay: -1.1s; }
.sor-cielo svg:nth-of-type(3) { left: auto; right: 13%; top: 262px; width: 15px; height: 15px; color: var(--lima-2); animation-delay: -2.2s; }

.sor-cuando { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 1px 13px 0 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font: 800 11.5px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; animation: subir .5s var(--ease) both; }
.sor-cuando .punto { background: var(--lima-2); margin-top: -1px; }
.sor-cuando span { margin-left: -8px; text-transform: none; }

.sor-escena { position: relative; height: 214px; margin-top: 6px; }
.sor-pila { position: absolute; inset: 0; cursor: pointer; }
.sor-carta { position: absolute; left: 0; right: 0; bottom: 16px; width: min(84%, 310px); margin: 0 auto; transition: translate .5s var(--resorte), rotate .5s var(--resorte), scale .5s var(--resorte); animation: sor-caer .55s var(--resorte) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
.sor-carta .cupon { grid-template-columns: minmax(0, 1fr) 66px; min-height: 104px; filter: drop-shadow(0 14px 13px rgba(3, 52, 82, .36)); animation: flotar 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.1s); }
.sor-carta .cupon-cuerpo { display: grid; align-content: center; padding: 14px 12px 14px 16px; }
.sor-carta .cupon-talon { padding: 12px 8px; }
.sor-carta.es-nuevo { animation: sor-caer-nuevo .55s var(--resorte) both; animation-delay: calc(var(--j, 0) * 110ms + 420ms); }
.sor-carta .cupon-num { margin-top: 5px; font-size: clamp(21px, 6.4cqw, 26px); white-space: nowrap; }
.sor-carta .cupon-det { margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sor-carta .cupon-talon svg { width: 30px; height: 30px; }
.sor-carta[data-pos="0"] { z-index: 5; rotate: -3deg; }
.sor-carta[data-pos="1"] { z-index: 4; rotate: 5deg; translate: 6% -25px; scale: .94; }
.sor-carta[data-pos="2"] { z-index: 3; rotate: -8deg; translate: -7% -48px; scale: .88; }
.sor-carta[data-pos="3"] { z-index: 2; rotate: 10deg; translate: 7% -69px; scale: .82; }
.sor-carta[data-pos="4"] { z-index: 1; rotate: -12deg; translate: -6% -88px; scale: .76; }
.sor-carta.sale { translate: 74% -22px; rotate: 17deg; transition-duration: .24s; transition-timing-function: var(--ease); }
.sor-carta .sor-nuevo { right: 52px; animation-delay: calc(var(--j, 0) * 110ms + 800ms); transition: opacity .25s; }
.sor-carta:not([data-pos="0"]) .sor-nuevo { opacity: 0; }
.sor-pasar { position: absolute; right: -6px; bottom: 0; z-index: 8; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(60, 170, 222, .92); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 8px 14px -8px rgba(3, 52, 82, .7); transition: transform .35s var(--resorte); animation: subir .5s var(--ease) .5s both; }
.sor-pasar svg { width: 18px; height: 18px; }
.sor-pasar:active { transform: scale(.86) rotate(-50deg); }
.sor-vacia { position: absolute; inset: 44px 8% 26px; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 18px; border: 2px dashed rgba(255, 255, 255, .55); text-align: center; padding: 0 18px; }
.sor-vacia svg { width: 34px; height: 34px; }
.sor-vacia b { font: 800 16px/1.15 var(--fd); text-wrap: balance; }

.sor-cuantos { display: flex; align-items: flex-end; gap: 12px; margin-top: 2px; animation: subir .6s var(--ease) .12s both; }
.sor-cuantos > b { font: 800 clamp(96px, 29cqw, 124px)/.8 var(--fd); letter-spacing: -.06em; text-shadow: 0 5px 0 rgba(4, 84, 124, .38); margin-bottom: -.1em; }
.sor-cuantos > span { display: grid; justify-items: start; gap: 3px; padding-bottom: 8px; min-width: 0; }
.sor-cuantos strong { font: 800 clamp(31px, 9.4cqw, 40px)/.86 var(--fd); letter-spacing: -.035em; color: var(--lima-2); }
.sor-cuantos em { font: 600 15px/1.2 var(--fb); font-style: normal; max-width: 17ch; text-wrap: balance; }
.sor-mas { display: inline-flex; align-items: center; height: 22px; margin-bottom: 4px; padding: 1px 9px 0; border-radius: 99px; background: var(--sol); color: var(--tinta); font: 800 11px/1 var(--fd); font-style: normal; letter-spacing: .08em; text-transform: uppercase; animation: sor-estampar .45s var(--resorte) .55s both; }

.sor-premio { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px 12px 12px; border-radius: 20px; background: #fff; color: var(--marino); box-shadow: 0 16px 26px -16px rgba(3, 52, 82, .75); animation: subir .6s var(--ease) .2s both; }
.sor-premio-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--sol); color: var(--tinta); }
.sor-premio-ico svg { width: 24px; height: 24px; }
.sor-premio p { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sor-premio small { font: 600 12.5px/1.2 var(--fb); color: var(--gris); }
.sor-premio b { font: 800 clamp(27px, 8.3cqw, 35px)/1 var(--fd); letter-spacing: -.035em; color: var(--azul); padding-top: 2px; }
.sor-premio b.sor-premio-largo { font-size: 19px; line-height: 1.08; color: var(--marino); text-wrap: balance; }
.sor-premio em { flex: none; font: 400 clamp(18px, 5.5cqw, 23px)/1 var(--fs); font-style: normal; color: var(--verde); rotate: -7deg; margin-top: -14px; }

.sor-falta { display: flex; align-items: center; gap: 12px; margin-top: 14px; animation: subir .6s var(--ease) .26s both; }
.sor-falta > span:first-child { flex: none; font: 800 11px/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; padding-top: 1px; }
.sor-falta .cuenta { flex: 1; display: flex; }
.sor-falta .cuenta > span { flex: 1; min-width: 0; background: rgba(255, 255, 255, .17); -webkit-backdrop-filter: none; backdrop-filter: none; }

.sor-pie { position: relative; display: flex; align-items: center; gap: 11px; margin: 54px -18px 0; padding: 2px 18px 16px; background: var(--lima); color: var(--tinta); }
.sor-ola { position: absolute; left: 0; bottom: calc(100% - 1px); width: 200%; height: 30px; fill: var(--lima); animation: sor-ola 9s linear infinite; }
.sor-ola-b { width: 260%; height: 42px; fill: var(--verde); animation-duration: 15s; animation-direction: reverse; animation-delay: -6s; }
.sor-pin { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--marino); color: var(--lima); }
.sor-pin svg { width: 19px; height: 19px; }
.sor-pie p { position: relative; min-width: 0; display: grid; gap: 1px; }
.sor-pie b { font: 800 15.5px/1.15 var(--fd); letter-spacing: -.01em; }
.sor-pie small { font: 500 12px/1.3 var(--fb); color: rgba(27, 40, 54, .78); }

/* ───── todos los sábados hasta diciembre ───── */
.sor-franja { position: relative; overflow: hidden; margin: 18px var(--pad) 0; padding: 20px 18px 0; border-radius: var(--r-l); background: var(--carta); box-shadow: var(--sombra); }
.sor-franja-adorno { position: absolute; right: -22px; top: -18px; color: var(--lima-3); rotate: 18deg; }
.sor-franja-adorno svg { width: 132px; height: 132px; stroke-width: 1.5; }
.sor-franja > .t-ceja { position: relative; display: block; }
.sor-total { position: relative; display: flex; align-items: flex-start; margin-top: 10px; font: 800 clamp(50px, 15.6cqw, 66px)/.86 var(--fd); letter-spacing: -.045em; color: var(--azul); font-variant-numeric: tabular-nums; }
.sor-total i { font-style: normal; font-size: .5em; line-height: 1; margin: .14em 2px 0 0; }
.sor-total-sub { position: relative; margin-top: 2px; font: 800 20px/1.1 var(--fd); letter-spacing: -.02em; color: var(--marino); }
.sor-franja .pastilla { position: relative; margin: 14px 0 18px; background: var(--lima); color: var(--tinta); box-shadow: none; }
.sor-sabs-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1.5px dashed var(--linea); }
.sor-sabs-cab b { font: 800 15px/1 var(--fd); color: var(--marino); }
.sor-sabs-cab span { font-size: 12px; color: var(--gris); }
.sor-sabs.carrusel { gap: 8px; margin: 0 -18px; padding: 12px 18px 18px; scroll-padding-left: 18px; }
.sor-sab { display: grid; justify-items: center; align-content: center; gap: 2px; width: 54px; height: 70px; border-radius: 15px; background: var(--azul-3); color: var(--marino); }
.sor-sab em { font: 800 9.5px/1 var(--fd); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.sor-sab b { font: 800 25px/.9 var(--fd); letter-spacing: -.03em; padding-top: 4px; }
.sor-sab small { font: 600 10px/1 var(--fb); color: var(--gris); }
.sor-sab svg { width: 17px; height: 17px; margin-top: -3px; }
.sor-sab.prox { width: 64px; background: var(--marino); color: #fff; box-shadow: 0 10px 16px -10px rgba(27, 40, 54, .9); }
.sor-sab.prox em { color: var(--lima); }
.sor-sab.prox small { color: rgba(255, 255, 255, .78); }
.sor-sab.moto { background: var(--sol); color: var(--tinta); }
.sor-sab.moto em { color: var(--tinta); opacity: .75; }

/* ───── la moto ───── */
.sor-moto { position: relative; isolation: isolate; overflow: hidden; margin: 16px var(--pad) 0; border-radius: var(--r-l); background: linear-gradient(165deg, #FFE07A, var(--sol) 55%, #FFBB25); color: var(--tinta); box-shadow: 0 2px 4px rgba(27, 40, 54, .06), 0 24px 38px -24px rgba(196, 136, 0, .9); }
.sor-moto::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .7) 1.2px, transparent 1.4px); background-size: 11px 11px; -webkit-mask: linear-gradient(200deg, #000, transparent 48%); mask: linear-gradient(200deg, #000, transparent 48%); }
.sor-moto-arriba { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 0; }
.sor-moto-arriba > div:first-child { min-width: 0; }
.sor-moto .pastilla { color: var(--tinta); }
.sor-moto h2 { margin-top: 12px; font: 800 clamp(34px, 10.4cqw, 42px)/.92 var(--fd); letter-spacing: -.045em; }
.sor-moto-fecha { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 8px; font: 600 13.5px/1.2 var(--fb); }
.sor-moto-fecha span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sor-moto-fecha svg { width: 15px; height: 15px; margin-top: -1px; }
.sor-moto-dias { flex: none; display: grid; justify-items: center; min-width: 80px; padding: 11px 10px 10px; border-radius: 20px; background: var(--marino); color: #fff; rotate: 4deg; box-shadow: 0 14px 20px -12px rgba(27, 40, 54, .85); }
.sor-moto-dias small { font: 800 9.5px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--lima); }
.sor-moto-dias b { min-width: 1.3em; text-align: center; font: 800 42px/.9 var(--fd); letter-spacing: -.04em; padding-top: 6px; }
.sor-moto-dias b.sor-hoy { font-size: 30px; padding: 8px 0 3px; }
.sor-moto-dias b svg { width: 30px; height: 30px; margin: 4px 0; color: var(--lima); }
.sor-moto-dias em { font: 700 11.5px/1 var(--fd); font-style: normal; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.sor-ruta { position: relative; height: 106px; margin-top: 4px; }
.sor-ruta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: repeating-linear-gradient(90deg, rgba(27, 40, 54, .5) 0 22px, transparent 22px 38px); animation: sor-ruta .55s linear infinite; }
.sor-moto-ico { position: absolute; left: 33%; bottom: 0; display: block; width: 128px; height: 128px; }
.sor-moto-ico svg { width: 100%; height: 100%; stroke-width: 1.7; animation: sor-motor .34s ease-in-out infinite; transform-origin: 50% 85%; }
.sor-moto-ico svg circle { fill: rgba(255, 255, 255, .55); }
.sor-moto.visto .sor-moto-ico { animation: sor-llegar .45s var(--ease) both; }
.sor-viento, .sor-viento::before, .sor-viento::after { position: absolute; height: 3px; border-radius: 3px; background: rgba(27, 40, 54, .32); }
.sor-viento { left: 12%; bottom: 54px; width: 34px; animation: sor-viento .9s linear infinite; }
.sor-viento::before { content: ""; left: -14px; top: 15px; width: 26px; }
.sor-viento::after { content: ""; left: 10px; top: -15px; width: 18px; }
.sor-moto-pie { display: flex; align-items: center; gap: 11px; padding: 13px 18px 14px; background: var(--marino); color: #fff; }
.sor-ok { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--lima); color: var(--tinta); }
.sor-ok svg { width: 16px; height: 16px; }
.sor-moto-pie > span:last-child { display: grid; gap: 1px; min-width: 0; }
.sor-moto-pie b { font: 800 15.5px/1.15 var(--fd); letter-spacing: -.01em; }
.sor-moto-pie small { font: 500 12px/1.3 var(--fb); color: rgba(255, 255, 255, .75); }

/* ───── tu cuponera ───── */
.sor-cuponera { padding-top: 32px; }
.sor-cant { display: inline-flex; align-items: center; height: 30px; padding: 1px 13px 0; border-radius: 99px; background: var(--marino); color: #fff; font: 800 13px/1 var(--fd); white-space: nowrap; }
.sor .sor-bajada { margin: -4px 0 16px; font-size: 13.5px; text-wrap: balance; }
.sor-lista { display: grid; gap: 12px; }
.sor-item { position: relative; }
.sor-item:nth-child(odd) { rotate: -.6deg; }
.sor-item:nth-child(even) { rotate: .6deg; }
.sor-item .cupon { grid-template-columns: minmax(0, 1fr) 78px; }
.sor-item .cupon-cuerpo { padding: 13px 16px; }
.sor-item .cupon-num { margin-top: 4px; font-size: 22px; }
.sor-item .cupon-det { margin-top: 5px; }
.sor-anim .sor-item.es-nuevo.visto { animation: sor-nuevo .44s var(--resorte) both; animation-delay: calc(var(--k, 0) * 60ms); }
.sor-item.es-nuevo .cupon-cuerpo { position: relative; overflow: hidden; }
.sor-item.es-nuevo .cupon-cuerpo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) -100% 0 / 220% 100% no-repeat; }
.sor-item.es-nuevo.visto .cupon-cuerpo::after { animation: sor-destello 1.1s ease-out both; animation-delay: calc(var(--k, 0) * 60ms + 300ms); }
.sor-lista .btn { margin-top: 4px; }
.sor-sin { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); border: 2px dashed rgba(45, 67, 89, .25); color: var(--marino); }
.sor-sin svg { width: 30px; height: 30px; }
.sor-sin p { font-size: 13px; line-height: 1.35; color: var(--gris); }
.sor-sin b { display: block; font: 800 15.5px/1.2 var(--fd); color: var(--marino); }

/* ───── cómo sumar ───── */
.sor-sumar { padding-top: 34px; }
.sor-calc { padding: 16px; border-radius: var(--r-l); }
.sor-calc-cab { display: flex; align-items: center; gap: 12px; }
.sor-calc-cab p { min-width: 0; display: grid; gap: 2px; }
.sor-calc-cab b { font: 800 17px/1.1 var(--fd); letter-spacing: -.02em; color: var(--marino); }
.sor-calc-cab small { font-size: 12.5px; line-height: 1.3; color: var(--gris); }
.sor-calc-monto { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--linea); }
.sor-calc-monto span { font: 600 13.5px/1 var(--fb); color: var(--gris); }
.sor-calc-monto b { font: 800 30px/.9 var(--fd); letter-spacing: -.035em; color: var(--azul); }
.sor-rango { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 6px 0 4px; background: transparent; cursor: pointer; touch-action: pan-y; }
.sor-rango:focus { outline: none; }
.sor-rango::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--verde), var(--lima)) 0 0 / var(--v, 40%) 100% no-repeat, rgba(27, 40, 54, .1); }
.sor-rango::-moz-range-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--verde), var(--lima)) 0 0 / var(--v, 40%) 100% no-repeat, rgba(27, 40, 54, .1); }
.sor-rango::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -10px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--verde), 0 8px 14px -4px rgba(27, 40, 54, .5); transition: transform .25s var(--resorte); }
.sor-rango::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--verde), 0 8px 14px -4px rgba(27, 40, 54, .5); }
.sor-rango:active::-webkit-slider-thumb { transform: scale(1.14); }
.sor-rango:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--azul), 0 8px 14px -4px rgba(27, 40, 54, .5); }
.sor-calc-res { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.sor-calc-res p { flex: none; text-align: right; font: 600 13.5px/1.15 var(--fb); color: var(--gris); }
.sor-calc-res p b { font: 800 19px/1 var(--fd); letter-spacing: -.02em; color: var(--marino); margin-left: 3px; }
.sor-calc-res p small { display: block; margin-top: 3px; font: 700 11px/1 var(--fd); color: var(--verde-osc); }
.sor-tiques { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.sor-tiques i { width: 21px; height: 13px; border-radius: 3px; background: var(--lima); -webkit-mask: radial-gradient(circle 3px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 3px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 3px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 3px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; animation: sor-estampar .35s var(--resorte) both; }
.sor-tiques i:nth-child(4n+2) { background: var(--azul); }
.sor-tiques i:nth-child(4n+3) { background: var(--marino); }
.sor-tiques i:nth-child(4n+4) { background: var(--sol); }

.sor-vias { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sor-via { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border-radius: 20px; }
.sor-via b { margin-top: 12px; font: 800 16px/1.1 var(--fd); letter-spacing: -.02em; color: var(--marino); }
.sor-via p { flex: 1; margin: 4px 0 14px; font-size: 12.5px; line-height: 1.35; color: var(--gris); }
.sor-via .btn svg { width: 16px; height: 16px; }

.sor-doble { position: relative; display: flex; gap: 14px; margin-top: 10px; padding: 16px; border-radius: 20px; background: linear-gradient(120deg, var(--lima-3), #fff 80%); box-shadow: inset 0 0 0 1.5px var(--lima), var(--sombra); }
.sor-x2 { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--marino); color: var(--lima); font: 800 23px/1 var(--fd); letter-spacing: -.03em; padding-top: 3px; rotate: -8deg; box-shadow: 0 10px 16px -10px rgba(27, 40, 54, .9); }
.sor-doble.lograda .sor-x2 { background: var(--lima); color: var(--tinta); }
.sor-doble-txt { flex: 1; min-width: 0; }
.sor-doble h3 { margin-top: 4px; font: 800 19px/1.05 var(--fd); letter-spacing: -.025em; color: var(--marino); }
.sor-doble p { margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--marino); }
.sor-doble .barra { margin-top: 12px; }
.sor-doble .sor-doble-falta { margin-top: 7px; font-size: 12.5px; color: var(--gris); }
.sor-doble .sor-doble-falta b { color: var(--tinta); }
.sor-doble .enlace { margin-top: 6px; color: var(--verde-osc); }
.sor-doble.lograda .t-ceja { color: var(--verde-osc); }

/* ───── así se sortea ───── */
#sor-sim { padding-top: 34px; }
.sor-sim { --alto: 56px; position: relative; isolation: isolate; overflow: hidden; padding: 20px 18px 18px; border-radius: var(--r-l); background: linear-gradient(160deg, #35506B, var(--marino) 55%, var(--tinta)); color: #fff; box-shadow: var(--sombra-l); }
.sor-sim::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(161, 206, 79, .35) 1.2px, transparent 1.4px); background-size: 12px 12px; -webkit-mask: linear-gradient(200deg, #000, transparent 46%); mask: linear-gradient(200deg, #000, transparent 46%); }
.sor-sim > .pastilla { color: var(--sol); }
.sor-sim h2 { margin-top: 12px; font: 800 clamp(28px, 8.4cqw, 34px)/.98 var(--fd); letter-spacing: -.035em; }
.sor-sim-bajada { margin-top: 6px; max-width: 32ch; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.sor-urna { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 16px; padding: 14px 10px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sor-urna-vacia { padding: 6px 8px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .75); }
.sor-bol { display: inline-flex; align-items: center; height: 28px; padding: 2px 11px 0; border-radius: 5px; background: var(--lima); color: var(--tinta); font: 800 13px/1 var(--fd); font-style: normal; letter-spacing: .03em; font-variant-numeric: tabular-nums; white-space: nowrap; -webkit-mask: radial-gradient(circle 4px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 4px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; transition: opacity .35s, scale .45s var(--resorte), background-color .3s; }
.sor-bol.c1 { background: var(--celeste); color: #fff; }
.sor-bol.c2 { background: #fff; color: var(--marino); }
.sor-bol.c3 { background: var(--sol); }
.sor-bol.mas { background: rgba(255, 255, 255, .16); color: #fff; }
.sor-sim[data-fase="mezcla"] .sor-bol { animation: sor-mezclar .28s ease-in-out 2 alternate both; animation-delay: calc(var(--k, 0) * 12ms); }
.sor-sim[data-fase="gira"] .sor-bol { animation: sor-temblar .22s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * -40ms); }
.sor-sim[data-fase="listo"] .sor-bol:not(.gana) { opacity: .32; scale: .94; }
.sor-sim[data-fase="listo"] .sor-bol.gana { background: var(--sol); color: var(--tinta); scale: 1.16; }
.sor-visor { position: relative; display: flex; justify-content: center; gap: 5px; margin-top: 14px; }
.sor-chispas { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.sor-chispas i { position: absolute; left: -4px; top: -5px; width: 8px; height: 11px; border-radius: 2px; background: var(--c, var(--sol)); animation: sor-chispa .85s cubic-bezier(.15, .7, .3, 1) both; }
.sor-dig { width: clamp(36px, 11cqw, 46px); height: var(--alto); border-radius: 12px; background: #fff; color: var(--tinta); overflow: hidden; box-shadow: inset 0 9px 10px -8px rgba(27, 40, 54, .45), inset 0 -9px 10px -8px rgba(27, 40, 54, .45); }
.sor-dig:nth-child(3) { margin-right: 9px; }
.sor-dig i { display: block; font-style: normal; transform: translateY(calc(var(--f, 0) * -1 * var(--alto))); transition: transform var(--t, 1s) cubic-bezier(.16, .84, .24, 1); }
.sor-dig b { display: grid; place-items: center; height: var(--alto); padding-top: 4px; font: 800 33px/1 var(--fd); font-variant-numeric: tabular-nums; }
.sor-dig b:first-child { color: var(--gris-2); }
.sor-sim[data-fase="listo"] .sor-dig { background: var(--lima); animation: golpe .4s var(--resorte); }
.sor-sale { margin-top: 16px; animation: subir .5s var(--ease) both; }
.sor-sale-tit { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 12px; font: 800 18px/1.1 var(--fd); letter-spacing: -.01em; color: var(--sol); }
.sor-sale-tit svg { width: 18px; height: 18px; margin-top: -2px; }
.sor-sale .cupon { grid-template-columns: minmax(0, 1fr) 78px; rotate: -1.5deg; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .4)); animation: sor-caer .5s var(--resorte) both; }
.sor-sale .cupon-num { margin-top: 4px; font-size: 22px; }
.sor-sale-nota { margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .85); }
.sor-sim > .btn { margin-top: 18px; }
.sor-sim-nota { display: flex; gap: 8px; margin-top: 14px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.sor-sim-nota svg { width: 15px; height: 15px; margin-top: 1px; color: var(--sol); }

/* ───── ganadores y bases ───── */
.sor-ganadores { padding-top: 34px; }
.sor-ganadores .sello { margin-bottom: 3px; }
.sor-gan { padding: 4px 14px; border-radius: 20px; }
.sor-gan li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.sor-gan li + li { border-top: 1px solid var(--linea); }
.sor-gan-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sol); color: var(--tinta); }
.sor-gan-ico svg { width: 19px; height: 19px; }
.sor-gan p { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sor-gan p em { font: 800 9.5px/1 var(--fd); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.sor-gan p b { font: 800 15.5px/1.15 var(--fd); color: var(--marino); padding-top: 2px; }
.sor-gan p small { font-size: 12px; line-height: 1.3; color: var(--gris); }
.sor-gan-cupon { flex: none; display: grid; justify-items: center; gap: 3px; padding: 7px 11px 6px; border-radius: 6px; background: var(--lima-3); color: var(--tinta); font: 800 13px/1 var(--fd); letter-spacing: .03em; font-variant-numeric: tabular-nums; -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 5px at 0 50%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 96%, #000) right / 51% 100% no-repeat; }
.sor-gan-cupon em { font: 800 8.5px/1 var(--fd); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--verde-osc); }

.sor-bases { padding-top: 30px; }
.sor-bases ul { display: grid; gap: 10px; margin-top: 12px; }
.sor-bases li { display: flex; align-items: center; gap: 11px; }
.sor-bases p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--marino); }
.sor-bases b { color: var(--tinta); }
.sor-bases a { font-weight: 700; color: var(--azul); }

/* ───── animaciones ───── */
@keyframes sor-caer { from { opacity: 0; transform: translateY(-130px) rotate(-12deg) scale(.82); } }
@keyframes sor-caer-nuevo { from { opacity: 0; transform: translateY(-210px) rotate(16deg) scale(1.18); } }
@keyframes sor-estampar { from { opacity: 0; transform: scale(2.2) rotate(-16deg); } }
@keyframes sor-nuevo { from { opacity: 0; transform: translateY(-34px) rotate(-5deg) scale(.92); } }
@keyframes sor-destello { to { background-position: 200% 0; } }
@keyframes sor-girar { to { transform: rotate(360deg); } }
@keyframes sor-titilar { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes sor-ola { to { transform: translateX(-25%); } }
@keyframes sor-ruta { to { background-position-x: -38px; } }
@keyframes sor-motor { 50% { transform: translateY(-1.5px) rotate(-.8deg); } }
@keyframes sor-llegar { from { transform: translateX(-70cqw); } }
@keyframes sor-viento { 0% { opacity: 0; transform: translateX(18px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(-22px); } }
@keyframes sor-mezclar { to { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--dg, 0deg)); } }
@keyframes sor-chispa { from { opacity: 1; transform: scale(1.2); } 70% { opacity: 1; } to { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--g, 0deg)) scale(.5); } }
@keyframes sor-temblar { to { transform: translateY(-2px) rotate(1.5deg); } }
