/* Asamblea infantil (/asamblea-infantil/). GENERADO por ../ideas/asamblea-infantil/llevar-a-fichas-web.py: se cambia allí. */
.asamblea{--tinta:#23263B; --tinta-2:#4B4F6B; --fondo:#FFF8EC; --blanco:#FFFFFF; --linea:#E8E1D2;
  --sol:#FFCC33; --sol-fondo:#FFF1C2; --azul:#1478D4; --azul-fondo:#D6EEFF; --verde:#12A150; --verde-fondo:#C9F5DC;
  --rojo:#E5484D; --gris:#F1EEE7;
  --titulos:"Baloo 2", ui-rounded, "Segoe UI", sans-serif;
  --texto:"Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --borde:3px solid var(--tinta); --sombra:0 5px 0 var(--tinta);
  color-scheme:light;}
.asamblea,.asamblea *{box-sizing:border-box}
.asamblea [hidden]{display:none!important}
.asamblea{color:var(--tinta);font-family:var(--texto);background:var(--fondo);height:100vh;height:100dvh;display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;gap:10px;padding:12px max(14px, env(safe-area-inset-left, 0px));overflow:hidden;position:relative}
.asamblea h1,.asamblea h2,.asamblea p{margin:0}
.asamblea button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
.asamblea button:focus-visible{outline:4px solid var(--azul);outline-offset:3px}
.asamblea .cab{display:flex;align-items:center;justify-content:space-between;gap:12px}
.asamblea .cab-clase{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;min-width:0}
.asamblea .cab-clase b{font:800 clamp(1.3rem,2.4vw,2rem)/1 var(--titulos)}
.asamblea .cab-clase span{font-weight:800;color:var(--tinta-2);font-size:clamp(.95rem,1.4vw,1.15rem)}
.asamblea .cab-mandos{display:flex;gap:8px;flex:none}
.asamblea .pildora{border:2px solid var(--tinta);background:var(--blanco);border-radius:999px;padding:6px 16px;min-height:44px;font-weight:800;font-size:1rem}
.asamblea .pildora[aria-pressed="true"]{background:var(--tinta);color:var(--blanco)}
.asamblea .boton{border:var(--borde);background:var(--sol);border-radius:16px;padding:8px 22px;min-height:52px;font-weight:900;font-size:1.15rem;box-shadow:0 4px 0 var(--tinta)}
.asamblea .boton:active{transform:translateY(3px);box-shadow:0 1px 0 var(--tinta)}
.asamblea .escenario{min-height:0;background:var(--blanco);border:var(--borde);border-radius:28px;box-shadow:var(--sombra);padding:clamp(12px,2vw,26px);overflow:auto;position:relative}
.asamblea .momento{height:100%;display:flex;flex-direction:column;gap:clamp(10px,1.6vh,18px);min-height:0}
.asamblea .pregunta{font:800 clamp(1.6rem,3.4vw,2.9rem)/1.05 var(--titulos);text-align:center}
.asamblea .consigna{text-align:center;font-weight:800;color:var(--tinta-2);font-size:clamp(1rem,1.6vw,1.3rem)}
.asamblea .momentos{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:stretch}
.asamblea .flecha{width:clamp(56px,6vw,76px);border:var(--borde);border-radius:20px;background:var(--blanco);box-shadow:0 4px 0 var(--tinta);display:grid;place-items:center;padding:0}
.asamblea .flecha svg{width:60%;height:auto;max-height:44px}
.asamblea .flecha:disabled{opacity:.35;cursor:default}
.asamblea .pestanas{display:grid;grid-template-columns:repeat(var(--n,7),minmax(0,1fr));gap:8px}
.asamblea .pestanas[data-n="8"] .pestana,.asamblea .pestanas[data-n="9"] .pestana{font-size:clamp(.8rem,1.1vw,1.05rem);gap:6px;padding:4px 6px}
@media (max-width:1439px){.asamblea .pestanas[data-n="8"] .pestana span,.asamblea .pestanas[data-n="9"] .pestana span{display:none}
.asamblea .pestanas[data-n="8"] .pestana :is(svg,img),.asamblea .pestanas[data-n="9"] .pestana :is(svg,img){width:clamp(34px,4.4vw,50px);height:clamp(34px,4.4vw,50px)}}
.asamblea .pestana{border:var(--borde);background:var(--blanco);border-radius:18px;min-height:clamp(58px,9vh,84px);display:flex;align-items:center;justify-content:center;gap:8px;
  padding:4px 8px;font-weight:900;font-size:clamp(.85rem,1.3vw,1.1rem);line-height:1.05;box-shadow:0 4px 0 var(--tinta);text-align:left}
.asamblea .pestana :is(svg,img){width:clamp(30px,3.4vw,44px);height:clamp(30px,3.4vw,44px);flex:none}
.asamblea .pestana span{min-width:0;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
.asamblea .pestana[aria-current="step"]{background:var(--sol);transform:translateY(2px);box-shadow:0 2px 0 var(--tinta)}
.asamblea .pestana.hecho::after{content:"✓";font-weight:900;color:var(--verde);margin-left:2px}
.asamblea .hola{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,24vw,320px);gap:clamp(12px,1.8vw,22px)}
.asamblea .lista{display:grid;grid-template-columns:repeat(auto-fill,minmax(clamp(150px,13vw,190px),1fr));gap:10px;align-content:start;overflow:auto;padding:4px}
.asamblea .nino{border:3px solid var(--linea);background:var(--gris);border-radius:20px;padding:8px 10px;min-height:64px;display:flex;align-items:center;gap:10px;
  font-weight:900;font-size:clamp(1rem,1.5vw,1.3rem);text-align:left;color:var(--tinta-2);transition:transform .15s}
.asamblea .avatar{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:3px solid var(--tinta);overflow:hidden;padding:0}
.asamblea .avatar :is(img,svg){width:86%;height:86%;object-fit:contain}
.asamblea .avatar.grande{width:clamp(90px,12vw,150px);height:clamp(90px,12vw,150px);border-width:4px}
.asamblea .nino .avatar{width:52px;height:52px;opacity:.45;filter:grayscale(.7)}
.asamblea[data-edad="3"] .nino .avatar{width:64px;height:64px}
.asamblea .nino .cumple-chapa{position:absolute;top:-12px;left:-10px;width:38px;height:38px}
.asamblea .nino .cumple-chapa img{width:100%;height:100%}
.asamblea .nino.de-cumple{border-color:#FF9BD2}
.asamblea .nino .nombre{min-width:0;line-height:1.1;overflow-wrap:normal;word-break:keep-all}
.asamblea .nino[aria-pressed="true"]{background:var(--verde-fondo);border-color:var(--verde);color:var(--tinta)}
.asamblea .nino[aria-pressed="true"] .avatar{opacity:1;filter:none}
.asamblea .nino{position:relative}
.asamblea .nino[aria-pressed="true"]::after{content:"✓";position:absolute;top:-8px;right:-8px;width:30px;height:30px;border-radius:50%;background:var(--verde);color:#fff;
  display:grid;place-items:center;font-size:18px;border:2px solid var(--tinta)}
.asamblea .nino:active{transform:scale(.97)}
.asamblea .lista-vacia{grid-column:1/-1;text-align:center;padding:30px 10px;font-weight:800;font-size:1.2rem;color:var(--tinta-2)}
.asamblea .contador{background:var(--sol-fondo);border-radius:24px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
.asamblea .contador .numero{font:800 clamp(4rem,9vw,7.5rem)/.9 var(--titulos)}
.asamblea .contador .rotulo{font-weight:900;font-size:clamp(1.05rem,1.6vw,1.35rem)}
.asamblea .contador .faltan{font-weight:800;color:var(--tinta-2);font-size:clamp(.95rem,1.4vw,1.15rem)}
.asamblea .marcos{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.asamblea .marco{display:grid;grid-template-columns:repeat(5,clamp(14px,1.6vw,22px));gap:3px;padding:4px;border:2px solid var(--tinta);border-radius:8px;background:#fff}
.asamblea .marco i{aspect-ratio:1;border-radius:50%;background:var(--linea)}
.asamblea .marco i.lleno{background:var(--verde)}
.asamblea[data-edad="3"] .marcos{display:none}
.asamblea .dia{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,26vw,340px);gap:clamp(12px,1.8vw,22px)}
.asamblea[data-edad="3"] .dia{grid-template-columns:minmax(0,1fr)}
.asamblea[data-edad="3"] .dia-lado{display:none}
.asamblea .dia-principal{display:flex;flex-direction:column;gap:clamp(12px,2vh,22px);min-height:0;justify-content:center}
.asamblea .tren{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(4px,.8vw,10px);align-items:end}
.asamblea .vagon{border:var(--borde);border-radius:16px 16px 10px 10px;min-height:clamp(70px,13vh,120px);background:var(--c);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;padding:6px 2px;font-weight:900;font-size:clamp(.8rem,1.3vw,1.15rem);position:relative;box-shadow:0 4px 0 var(--tinta)}
.asamblea .vagon .ini{font:800 clamp(1.6rem,3vw,2.6rem)/1 var(--titulos)}
.asamblea .vagon .entero{line-height:1}
.asamblea .vagon::before,.asamblea .vagon::after{content:"";position:absolute;bottom:-14px;width:16px;height:16px;border-radius:50%;background:var(--tinta)}
.asamblea .vagon::before{left:18%}
.asamblea .vagon::after{right:18%}
.asamblea .vagon.hoy-visto{transform:translateY(-12px) scale(1.06);outline:5px solid var(--tinta);outline-offset:3px}
.asamblea .vagon.no{animation:asamblea-no .4s}
.asamblea .vagon.ayer-visto,.asamblea .vagon.manana-visto{opacity:.85}
.asamblea .vagon .marca{position:absolute;top:-30px;left:50%;transform:translateX(-50%);font:800 .95rem/1 var(--titulos);background:var(--tinta);color:#fff;border-radius:999px;padding:4px 10px;white-space:nowrap}
.asamblea .dia-respuesta{text-align:center;min-height:2em;display:flex;flex-direction:column;align-items:center;gap:10px}
.asamblea .dia-respuesta .grande{font:800 clamp(2rem,5vw,4.2rem)/1 var(--titulos)}
.asamblea .dia-respuesta .grande b{color:var(--c);-webkit-text-stroke:2px var(--tinta);paint-order:stroke fill}
.asamblea .dia-respuesta .fecha{font-weight:900;font-size:clamp(1.1rem,2vw,1.7rem)}
.asamblea .tres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:760px}
.asamblea .tres div{border:2px solid var(--linea);border-radius:16px;padding:8px;font-weight:800;color:var(--tinta-2);font-size:clamp(.9rem,1.4vw,1.15rem)}
.asamblea .tres div b{display:block;font:800 clamp(1.1rem,2vw,1.6rem)/1.1 var(--titulos);color:var(--tinta)}
.asamblea .tres .es-hoy{border:var(--borde);background:var(--sol-fondo);color:var(--tinta)}
.asamblea .dia-lado{display:flex;flex-direction:column;gap:12px;min-height:0}
.asamblea .calendario{background:var(--gris);border-radius:20px;padding:12px}
.asamblea .calendario .mes{font:800 1.4rem/1 var(--titulos);text-align:center;margin-bottom:8px}
.asamblea .calendario .dias{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center;font-weight:800;font-size:clamp(.8rem,1.1vw,1rem)}
.asamblea .calendario .dias b{color:var(--tinta-2);font-size:.85em}
.asamblea .calendario .dias span{border-radius:8px;min-height:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;background:#fff}
.asamblea .calendario .dias span :is(svg,img){width:20px;height:20px}
.asamblea .calendario .dias .hoy{background:var(--sol);outline:2px solid var(--tinta)}
.asamblea .calendario .dias .finde{color:var(--rojo)}
.asamblea .estacion{display:flex;align-items:center;gap:10px;background:var(--verde-fondo);border-radius:20px;padding:10px 14px;font-weight:900;font-size:clamp(1rem,1.5vw,1.25rem)}
.asamblea .estacion :is(svg,img){width:64px;height:64px;flex:none}
.asamblea .aviso-cole{background:var(--rojo);color:#fff;border-radius:16px;padding:10px 14px;font:800 clamp(1.1rem,1.8vw,1.5rem)/1.1 var(--titulos);text-align:center}
.asamblea .proximo{background:var(--azul-fondo);border-radius:20px;padding:10px 14px;font-weight:900;font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.2;text-align:center}
.asamblea .ajustes select{font:700 1.05rem var(--texto);border:2px solid var(--tinta-2);border-radius:12px;padding:8px 10px}
.asamblea .cole{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:clamp(12px,2vw,26px);align-items:center}
.asamblea .tabla100{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;aspect-ratio:1;max-height:100%;width:min(100%,58vh);justify-self:center;
  font:800 clamp(.7rem,1.25vw,1.05rem)/1 var(--titulos)}
.asamblea .tabla100 span{display:grid;place-items:center;border-radius:6px;background:var(--gris);color:var(--tinta-2)}
.asamblea .tabla100 .pasado{background:var(--verde);color:#fff}
.asamblea .tabla100 .hoy{background:var(--sol);color:var(--tinta);outline:3px solid var(--tinta);transform:scale(1.12)}
.asamblea .cole-lado{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.asamblea .cole-numero{font:800 clamp(4.5rem,11vw,9rem)/.9 var(--titulos)}
.asamblea .cole-frase{font:800 clamp(1.2rem,2.2vw,1.9rem)/1.1 var(--titulos)}
.asamblea .cole-mas{font-weight:900;font-size:clamp(1rem,1.6vw,1.35rem)}
.asamblea .bloques{display:flex;align-items:flex-end;gap:5px;flex-wrap:wrap;justify-content:center}
.asamblea .bloques i{display:block;border:2px solid var(--tinta);border-radius:3px}
.asamblea .bloques .centena{width:60px;height:60px;background:repeating-linear-gradient(90deg,#8E5BD6 0 5px,#7A47C4 5px 6px)}
.asamblea .bloques .decena{width:12px;height:60px;background:repeating-linear-gradient(180deg,#1E9BD7 0 5px,#167FB3 5px 6px)}
.asamblea .bloques .sueltas{display:grid;grid-template-columns:repeat(2,12px);gap:3px;align-self:flex-end}
.asamblea .bloques .unidad{width:12px;height:12px;background:var(--sol)}
.asamblea .tiempo{flex:1;min-height:0;display:flex;flex-direction:column;gap:clamp(8px,1.4vh,16px);justify-content:safe center}
.asamblea .tiempo.con-mas .opciones:first-child .opcion{min-height:clamp(90px,15vh,150px)}
.asamblea .tiempo.con-mas .opciones:first-child .opcion :is(svg,img){width:clamp(50px,6.5vw,92px);height:clamp(50px,6.5vw,92px)}
.asamblea .tiempo.con-ropa .frase{font-size:clamp(1.3rem,2.6vw,2.1rem)}
.asamblea .tiempo.con-ropa .opciones:first-child .opcion{min-height:clamp(76px,12.5vh,124px);padding:6px}
.asamblea .tiempo.con-ropa .opciones:first-child .opcion :is(svg,img){width:clamp(44px,5.4vw,80px);height:clamp(44px,5.4vw,80px)}
.asamblea .tiempo.con-ropa .opciones.pequenas .opcion{min-height:clamp(64px,10.5vh,104px);padding:4px;gap:2px}
.asamblea .tiempo.con-ropa .opciones.pequenas .opcion :is(svg,img){width:clamp(38px,4.6vw,68px);height:clamp(38px,4.6vw,68px)}
.asamblea .tiempo.con-ropa .subpregunta{margin-top:0}
.asamblea .opciones{display:grid;grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:clamp(8px,1.2vw,16px)}
.asamblea .opcion{border:var(--borde);background:#fff;border-radius:22px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;
  font-weight:900;font-size:clamp(.95rem,1.5vw,1.3rem);box-shadow:0 4px 0 var(--tinta);min-height:clamp(120px,22vh,200px);justify-content:center}
.asamblea .opcion :is(svg,img){width:clamp(64px,9vw,120px);height:clamp(64px,9vw,120px);object-fit:contain}
.asamblea .opcion[aria-pressed="true"]{background:var(--sol-fondo);outline:5px solid var(--sol);outline-offset:2px}
.asamblea .opciones.pequenas .opcion{min-height:clamp(84px,14vh,130px)}
.asamblea .opciones.pequenas .opcion :is(svg,img){width:clamp(44px,6vw,80px);height:clamp(44px,6vw,80px)}
.asamblea .frase{text-align:center;font:800 clamp(1.5rem,3.2vw,2.6rem)/1.1 var(--titulos);min-height:1.1em}
.asamblea .momento{position:relative}
.asamblea .conmutador{display:flex;justify-content:center;gap:8px;position:absolute;top:4px;right:0;z-index:1}
.asamblea .conmutador .pildora{min-height:44px;font-size:1.05rem;padding:6px 22px}
.asamblea .grafico{flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(6px,1vw,14px);align-items:end}
.asamblea .columna{display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:900;font-size:clamp(.85rem,1.3vw,1.1rem);min-height:0}
.asamblea .columna b{font:800 clamp(1.4rem,2.6vw,2.2rem)/1 var(--titulos)}
.asamblea .columna.gana b{color:var(--verde)}
.asamblea .pila{display:flex;flex-direction:column-reverse;align-items:center;gap:2px;border-bottom:4px solid var(--tinta);width:100%;min-height:20px}
.asamblea .pila :is(img,svg){width:clamp(28px,min(4.2vw,calc(44vh / var(--max))),56px);height:auto;aspect-ratio:1}
.asamblea .subpregunta{text-align:center;font:800 clamp(1.15rem,2vw,1.7rem)/1.1 var(--titulos);margin-top:4px}
.asamblea .emociones{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;justify-content:center}
.asamblea .emocion{position:relative}
.asamblea .emocion .votos{position:absolute;top:-12px;right:-8px;min-width:44px;height:44px;border-radius:999px;background:var(--tinta);color:#fff;display:grid;place-items:center;
  font:800 1.4rem/1 var(--titulos);padding:0 8px}
.asamblea .emocion .votos:empty{display:none}
.asamblea .emociones-pie{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.asamblea .encargado{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,28px);align-items:center}
.asamblea .ruleta-caja{position:relative;justify-self:center;width:min(100%, 58vh);aspect-ratio:1;overflow:hidden}
.asamblea .ruleta{width:100%;height:100%;transition:transform 4.2s cubic-bezier(.12,.75,.12,1)}
.asamblea .ruleta text{font-family:var(--texto);font-weight:900;fill:var(--tinta)}
.asamblea .ruleta-flecha{position:absolute;top:0;left:50%;transform:translateX(-50%);width:44px;height:52px}
.asamblea .encargado-lado{display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}
.asamblea .ganador{font:800 clamp(1.8rem,4vw,3.4rem)/1.05 var(--titulos);min-height:1.1em}
.asamblea .ganador small{display:block;font:800 clamp(1.05rem,1.8vw,1.45rem)/1.2 var(--texto);color:var(--tinta-2);margin-bottom:6px}
.asamblea .ruleta text{font-weight:800}
.asamblea .boton.girar{font-size:clamp(1.2rem,2vw,1.6rem);min-height:68px;padding:10px 34px}
.asamblea .boton:disabled{opacity:.55;cursor:default;transform:none}
.asamblea .ganador .avatar.grande{margin:4px auto 8px;width:clamp(80px,min(12vw,17vh),150px);height:clamp(80px,min(12vw,17vh),150px)}
.asamblea .encargado.varios{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.asamblea .encargado.varios .ruleta-caja{width:min(100%,52vh)}
.asamblea .cargos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--cols,1),minmax(0,1fr));gap:8px;width:100%}
.asamblea .cargo{width:100%;border:var(--borde);background:#fff;border-radius:16px;display:flex;align-items:center;gap:8px;padding:6px 8px;
  min-height:clamp(58px,8vh,96px);text-align:left;box-shadow:0 3px 0 var(--tinta)}
.asamblea .cargo > :is(img,svg){width:clamp(46px,3.8vw,72px);height:clamp(46px,3.8vw,72px);flex:none;object-fit:contain}
.asamblea .cargo-texto{flex:1;min-width:0;font:800 clamp(1.05rem,1.7vw,1.9rem)/1.05 var(--titulos);overflow-wrap:anywhere}
.asamblea .cargo-texto small{display:block;font:800 clamp(.72rem,.9vw,1.05rem)/1.15 var(--texto);color:var(--tinta-2)}
.asamblea .cargo .avatar{width:clamp(44px,3.6vw,68px);height:clamp(44px,3.6vw,68px)}
.asamblea .cargo[aria-pressed="true"]{background:var(--sol-fondo);outline:4px solid var(--sol);outline-offset:1px}
.asamblea .cargo.nuevo{animation:asamblea-salta .7s}
@keyframes asamblea-salta{0%,100%{background:#fff}35%{background:var(--sol)}}
.asamblea .cumple{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,28px);align-items:center}
.asamblea .tarta-caja{position:relative;justify-self:center;width:min(100%,50vh);aspect-ratio:1}
.asamblea .tarta-caja > img{width:100%;height:100%;object-fit:contain;display:block}
.asamblea .velas{position:absolute;left:22%;right:22%;bottom:var(--velas-y,58%);display:flex;justify-content:center;align-items:flex-end;gap:clamp(6px,1.2vw,14px);z-index:1}
.asamblea .vela{position:relative;width:clamp(16px,2vw,26px);height:clamp(60px,10vh,100px);border:3px solid var(--tinta);border-radius:6px;padding:0;
  background:repeating-linear-gradient(160deg,var(--c) 0 9px,#FFFFFF 9px 15px)}
.asamblea .vela::before{content:"";position:absolute;inset:-46px -14px -8px}
.asamblea .vela .llama{position:absolute;bottom:calc(100% + 4px);left:50%;width:170%;aspect-ratio:.68;transform:translateX(-50%);transform-origin:50% 100%;
  border-radius:50% 50% 45% 45%/62% 62% 38% 38%;background:radial-gradient(circle at 50% 70%,#FFF6B0 0 25%,#FFC93C 45%,#FF8A1F 80%);
  border:2px solid #C95A00;animation:asamblea-llama .5s ease-in-out infinite alternate}
@keyframes asamblea-llama{from{transform:translateX(-50%) scale(1,1) rotate(-4deg)}to{transform:translateX(-50%) scale(.9,1.1) rotate(4deg)}}
.asamblea .vela.apagada .llama{display:none}
.asamblea .vela.apagada::after{content:"";position:absolute;bottom:calc(100% + 2px);left:50%;width:6px;height:18px;margin-left:-3px;border-radius:3px;background:#B9BCCB;opacity:.8}
.asamblea .cumple-lado{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.asamblea .cumple-quien{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.asamblea .cumple-cuenta{font:800 clamp(1.3rem,2.6vw,2.2rem)/1.1 var(--titulos);min-height:1.2em}
.asamblea .cumple-cuenta b{display:block;font-size:2.4em;line-height:1}
.asamblea .cumple-prox{display:flex;align-items:center;gap:10px;text-align:left}
.asamblea .cumple-prox :is(img,svg){width:46px;height:46px;flex:none}
.asamblea .agenda{flex:1;min-height:0;display:flex;flex-direction:column;gap:clamp(8px,1.4vh,16px);justify-content:safe center}
.asamblea .pasos{list-style:none;margin:0;padding:16px 0 4px;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(8px,1.2vw,16px)}
.asamblea .pasos li{display:flex}
.asamblea .paso{width:100%;border:var(--borde);background:#fff;border-radius:22px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;font-weight:900;font-size:clamp(.9rem,1.4vw,1.25rem);line-height:1.1;box-shadow:0 4px 0 var(--tinta);position:relative;text-align:center}
.asamblea .paso :is(img,svg){width:clamp(56px,min(8vw,calc(30vh / var(--filas))),130px);height:clamp(56px,min(8vw,calc(30vh / var(--filas))),130px);object-fit:contain}
.asamblea .paso-nombre{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere;max-width:100%}
.asamblea .paso.hecho{background:var(--gris);box-shadow:0 2px 0 var(--tinta)}
.asamblea .paso.hecho :is(img,svg),.asamblea .paso.hecho .paso-nombre{opacity:.45}
.asamblea .paso.hecho::after{content:"✓";position:absolute;top:-10px;right:-8px;width:34px;height:34px;border-radius:50%;background:var(--verde);color:#fff;
  display:grid;place-items:center;font-size:20px;border:2px solid var(--tinta)}
.asamblea .paso.ahora{background:var(--sol-fondo);outline:5px solid var(--sol);outline-offset:2px;transform:translateY(-6px)}
.asamblea .paso:disabled{cursor:default;color:inherit}
.asamblea .paso-n{position:absolute;top:6px;left:10px;font:800 1.15rem/1 var(--titulos);color:var(--tinta-2)}
.asamblea .paso-ahora{position:absolute;top:-17px;left:50%;transform:translateX(-50%);background:var(--tinta);color:#fff;border-radius:999px;padding:3px 12px;
  font:800 .95rem/1.2 var(--titulos);white-space:nowrap}
.asamblea .resumen{flex:1;min-height:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:clamp(10px,1.6vw,18px);align-content:center}
.asamblea .tarjeta{border:var(--borde);border-radius:22px;padding:14px;display:flex;align-items:center;gap:14px;background:var(--fondo);font-weight:900;font-size:clamp(1.1rem,1.9vw,1.6rem);line-height:1.15}
.asamblea .tarjeta :is(svg,img){width:clamp(56px,6vw,84px);height:clamp(56px,6vw,84px);flex:none}
.asamblea .tarjeta .avatar{width:clamp(56px,6vw,84px);height:clamp(56px,6vw,84px)}
.asamblea .tarjeta .avatar :is(svg,img){width:86%;height:86%}
.asamblea .tarjeta.falta{opacity:.55;font-weight:800}
.asamblea .tarjeta .ir{margin-left:auto;font-size:.7em}
.asamblea .fiesta{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:5}
.asamblea .fiesta i{position:absolute;top:-20px;width:14px;height:20px;border-radius:3px;animation:asamblea-cae 1.6s ease-in forwards}
@keyframes asamblea-cae{to{transform:translateY(110vh) rotate(540deg)}}
@keyframes asamblea-no{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
.asamblea .aviso{text-align:center;font-weight:900;font-size:clamp(1.05rem,1.8vw,1.5rem);min-height:1.2em;color:var(--tinta-2)}
.asamblea .ajustes{border:var(--borde);border-radius:24px;padding:0;max-width:min(780px,96vw);width:100%;height:min(780px,94vh);box-shadow:0 8px 0 var(--tinta)}
.asamblea .ajustes::backdrop{background:rgba(35,38,59,.45)}
.asamblea .ajustes-caja{height:100%;padding:18px 20px;display:flex;flex-direction:column;gap:12px;font-family:var(--texto);color:var(--tinta)}
.asamblea .ajustes-pestanas{display:flex;gap:6px;flex-wrap:wrap}
.asamblea .ajustes-pestanas button{border:2px solid var(--tinta);background:#fff;border-radius:999px;padding:6px 14px;min-height:42px;font-weight:900;font-size:1rem}
.asamblea .ajustes-pestanas [aria-selected="true"]{background:var(--tinta);color:#fff}
.asamblea .ajustes-panel{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:4px 6px 4px 2px}
.asamblea .ajustes-sub{font-weight:900}
.asamblea .ajustes-sub small{font-weight:700;color:var(--tinta-2)}
.asamblea .fichas-ninos{display:flex;flex-direction:column;gap:6px}
.asamblea .ficha-nino{display:flex;align-items:center;gap:10px;border:2px solid var(--linea);border-radius:14px;padding:6px 10px;flex-wrap:wrap}
.asamblea .ficha-nino b{flex:1;min-width:90px;font-size:1.05rem}
.asamblea .ajustes .avatar-btn{width:52px;height:52px}
.asamblea .cumple-campos{display:flex;align-items:center;gap:6px}
.asamblea .cumple-campos :is(img,svg){width:30px;height:30px}
.asamblea .ajustes .cumple-campos select{padding:6px 6px;font-size:1rem}
.asamblea .selector-avatar{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:8px;padding:10px;background:var(--gris);border-radius:14px}
.asamblea .selector-avatar .avatar{width:100%;height:auto;aspect-ratio:1;position:relative;overflow:visible}
.asamblea .selector-avatar .avatar img{border-radius:50%}
.asamblea .selector-avatar .avatar[aria-pressed="true"]{outline:4px solid var(--azul);outline-offset:2px}
.asamblea .selector-avatar small{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--tinta-2);border-radius:6px;
  font-size:.62rem;font-weight:800;padding:0 4px;white-space:nowrap;max-width:120%;overflow:hidden;text-overflow:ellipsis}
.asamblea .lista-momentos,.asamblea .agenda-elegidas{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.asamblea .lista-momentos li,.asamblea .agenda-elegidas li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid var(--linea);border-radius:14px;padding:4px 8px}
.asamblea .lista-momentos li.apagado{opacity:.55}
.asamblea .lista-momentos label{flex:1}
.asamblea .lista-momentos :is(img,svg),.asamblea .lista-cargos :is(img,svg),.asamblea .agenda-elegidas :is(img,svg){width:38px;height:38px;flex:none;object-fit:contain}
.asamblea .agenda-elegidas li > span:first-of-type{flex:1;font-weight:800}
.asamblea .mover{display:flex;gap:4px;flex:none}
.asamblea .mover .pildora{min-height:42px;min-width:44px;padding:4px 10px}
.asamblea .mover .pildora:disabled{opacity:.3}
.asamblea .lista-cargos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.asamblea .ajustes .cargo-op{border:2px solid var(--linea);border-radius:14px;padding:4px 8px;font-weight:800}
.asamblea .agenda-dias{display:flex;gap:6px;flex-wrap:wrap}
.asamblea .agenda-catalogo{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px}
.asamblea .rutina-op{border:2px solid var(--linea);background:#fff;border-radius:14px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;
  font-weight:800;font-size:.85rem;line-height:1.1;text-align:center}
.asamblea .rutina-op :is(img,svg){width:50px;height:50px;object-fit:contain}
.asamblea .rutina-op:disabled{opacity:.4;cursor:default}
.asamblea #aCopiarAgenda{align-self:flex-start}
.asamblea .ajustes h2{font:800 1.6rem/1 var(--titulos)}
.asamblea .ajustes label{display:flex;flex-direction:column;gap:6px;font-weight:900}
.asamblea .ajustes label small{font-weight:700;color:var(--tinta-2)}
.asamblea .ajustes input:not([type=radio]),.asamblea .ajustes textarea{font:700 1.05rem var(--texto);border:2px solid var(--tinta-2);border-radius:12px;padding:8px 10px}
.asamblea .ajustes fieldset{border:2px solid var(--linea);border-radius:14px;display:flex;gap:16px;flex-wrap:wrap;padding:8px 12px}
.asamblea .ajustes legend{font-weight:900;padding:0 4px}
.asamblea .ajustes legend small{font-weight:700;color:var(--tinta-2)}
.asamblea .ajustes .radio{flex-direction:row;align-items:center;gap:6px}
.asamblea .ajustes .radio input{width:22px;height:22px}
.asamblea .ajustes .nota{font-weight:700;color:var(--tinta-2);font-size:.95rem}
.asamblea .ajustes-botones{display:flex;justify-content:space-between;gap:10px}
.asamblea .pildora.peligro{border-color:var(--rojo);color:var(--rojo)}
.asamblea:fullscreen{padding:14px 18px}
.asamblea.inmersiva{position:fixed;inset:0;z-index:2000}
@media (max-width:900px){.asamblea .pestana span{display:none}
.asamblea .hola,.asamblea .dia,.asamblea .encargado,.asamblea .encargado.varios,.asamblea .cole,.asamblea .cumple{grid-template-columns:minmax(0,1fr)}
.asamblea .pasos{--n:3!important}
.asamblea .tarta-caja{width:min(100%,320px)}
.asamblea .contador{flex-direction:row;flex-wrap:wrap}
.asamblea .contador .numero{font-size:3.4rem}
.asamblea .opciones{--n:3!important}
.asamblea .opciones.pequenas{--n:3!important}
.asamblea .ruleta-caja{width:min(100%,360px)}
.asamblea .conmutador{position:static}}
@media (max-width:520px){.asamblea .cab-clase span,.asamblea #btnPantalla{display:none}
.asamblea .cab-clase b{font-size:1.15rem}
.asamblea .flecha{width:48px;font-size:2rem}
.asamblea .pestanas{gap:4px}
.asamblea .pestanas[data-n="7"],.asamblea .pestanas[data-n="8"],.asamblea .pestanas[data-n="9"]{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:48px;
    overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.asamblea .pestana{border-width:2px;min-height:52px;padding:2px}
.asamblea .pestana :is(svg,img){width:28px;height:28px}
.asamblea .tren{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:22px}}
@media (prefers-reduced-motion:reduce){.asamblea *{transition:none!important;animation:none!important}}
/* Solo en fichas.es: llevar-a-fichas-web.py lo añade detrás de asamblea.css (ya encerrado en .asamblea). Encaja la asamblea en
   la página (un recuadro de la altura de la pantalla, que en pantalla completa ocupa todo) y deshace lo que el CSS de la web
   pone a .boton, .avatar, .hola (el saludo de la portada) y al texto. */
/* Ningún aviso flotante encima de las pestañas */
.pagina-asamblea .flotante-bruja{display:none!important}
.asamblea-cabecera{margin:4px 0 14px}
.asamblea-cabecera h1{margin:0 0 6px}
.asamblea-cabecera p{margin:0;font-size:clamp(17px,1.6vw,20px);font-weight:700}
.asamblea-marco{max-width:1500px;margin:0 auto 22px;padding:0 max(12px, env(safe-area-inset-left, 0px))}
.asamblea-marco .asamblea{height:clamp(600px, calc(100vh - 32px), 980px);height:clamp(600px, calc(100dvh - 32px), 980px);border:3px solid #23263B;
  border-radius:30px;box-shadow:0 6px 0 #23263B;font-size:16px;font-weight:400;line-height:normal;text-align:left}
.asamblea-marco .asamblea:fullscreen{height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:none}
.asamblea-marco .asamblea.inmersiva{height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:none}
.asamblea .hola{margin:0;max-width:none;padding:0}
.asamblea .hola p{font-size:inherit;font-weight:inherit}
.asamblea .avatar{align-self:auto;aspect-ratio:auto}
.asamblea .cumple-lado .avatar.grande,.asamblea .ganador .avatar.grande{align-self:center}
.asamblea .boton{display:inline-flex;align-items:center;justify-content:center;font-family:var(--texto);line-height:1.15;text-decoration:none;color:var(--tinta)}
.asamblea .boton:disabled{background:var(--sol);color:var(--tinta)}
.asamblea .pregunta{margin:0;letter-spacing:normal}
@media (max-width:520px){.asamblea-marco{padding:0 6px}.asamblea-marco .asamblea{height:calc(100vh - 16px);height:calc(100dvh - 16px);border-radius:22px}}

/* Texto de debajo */
.asamblea-texto .asamblea-lista{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:0;list-style:none}
.asamblea-texto .asamblea-lista li{background:#fff;border:var(--borde-juguete);border-radius:20px;padding:14px 18px}
.asamblea-texto .asamblea-pasos{padding-left:1.4em}
.asamblea-texto .asamblea-pasos li{margin:0 0 8px}
.asamblea-faq{display:grid;gap:12px}
.asamblea-faq > div{background:#fff;border:var(--borde-juguete);border-radius:20px;padding:14px 18px}
.asamblea-faq h3{font-size:20px;margin:0 0 6px}
.asamblea-faq p{margin:0}
