/* Pizarra digital: clear targets, short turns and happy discoveries. */
.game-tile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:14px}
.game-tile-top .game-symbol{margin-bottom:0}
.pdi-new{background:#f9e2ed;color:#8a2851;font-size:.72rem;text-align:center}
.pdi-welcome{display:flex;align-items:center;gap:22px;background:#fff0d9;border:1px solid #f0d9b6;border-radius:22px;padding:24px 28px}
.pdi-welcome>span:first-child{font-size:3.4rem;line-height:1}
.pdi-welcome>div{flex:1}
.pdi-welcome strong{font:800 1.3rem Nunito,sans-serif;color:#633b26}
.pdi-welcome p{margin:7px 0 0;color:#695348;max-width:690px}
.pdi-welcome>.tag{background:white;color:#8a2851;white-space:nowrap}
.pdi-emoji{display:inline-block;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:clamp(3.5rem,7vw,5rem);line-height:1.25;vertical-align:middle}
.pdi-model{display:grid;place-items:center;min-width:138px;min-height:138px;border:2px dashed #d6b7c3;border-radius:26px;padding:14px;margin-bottom:8px;background:white}
.pdi-model>.pdi-emoji{font-size:clamp(5rem,10vw,7rem)}
.pdi-number{font:900 clamp(5rem,11vw,8rem)/1.1 Nunito,sans-serif;color:var(--rose);margin:0 0 12px}
.pdi-collection{display:inline-grid;grid-template-columns:repeat(3,clamp(30px,4.5vw,48px));align-content:center;justify-content:center;gap:5px;vertical-align:middle;min-height:100px}
.pdi-collection .pdi-emoji{font-size:clamp(1.8rem,4vw,2.7rem)}
.pdi-sum{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px}
.pdi-sum>div{border:2px solid #e2bacc;background:white;border-radius:22px;padding:14px}
.pdi-sum>span{font:800 3rem Nunito,sans-serif;color:var(--rose)}
.pdi-train{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 20px}
.pdi-train>span:first-child{font-size:clamp(2.3rem,7vw,4.5rem)}
.pdi-wagon{display:grid;place-items:center;width:clamp(58px,11vw,110px);height:clamp(74px,13vw,120px);border:3px solid #d793af;border-radius:18px;background:#fae3ec;font:900 clamp(2.5rem,6vw,4.5rem) Nunito,sans-serif;color:#873151;border-bottom:10px solid #ac567e}
.pdi-size-frame{display:grid;align-items:end;justify-items:center;width:112px;height:125px}
.pdi-size-frame .pdi-size-0{font-size:40px}
.pdi-size-frame .pdi-size-1{font-size:74px}
.pdi-size-frame .pdi-size-2{font-size:110px}
.pdi-word{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;margin:0 0 12px}
.pdi-word>.pdi-emoji{font-size:clamp(4rem,8vw,6rem)}
.pdi-word strong{font:900 clamp(1.8rem,5vw,3.6rem) Nunito,sans-serif;letter-spacing:.06em;color:var(--rose)}
.pdi-claps{display:flex;flex-direction:column;gap:8px;align-items:center}
.pdi-claps>span:last-child{font-size:clamp(1.1rem,2.2vw,1.7rem);letter-spacing:1px;white-space:nowrap}
.pdi-color{display:inline-block;width:88px;height:88px;background:var(--disc);border:3px solid #55464d;border-radius:50%;vertical-align:middle}
.pdi-order{display:flex;justify-content:center;gap:14px;margin:0 0 24px}
.pdi-order-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:clamp(80px,16vw,142px);height:150px;background:white;border:2px solid #dcc8d0;border-radius:20px}
.pdi-order-card small{font:800 1.1rem Nunito,sans-serif;color:#76566a}
.pdi-mystery{font:900 4rem Nunito,sans-serif;color:var(--rose)}
.pdi-position{width:180px;border:2px solid #d4bccc;border-radius:24px;background:white;overflow:hidden}
.pdi-position>div{padding:8px 20px}
.pdi-position>div+div{border-top:2px dashed #d4bccc;background:#f6edf3}
.pdi-position .pdi-emoji{font-size:3.7rem}
.pdi-neighbor{display:flex;gap:18px;margin:10px 0 22px}.pdi-neighbor span{display:grid;place-items:center;width:130px;height:100px;border:3px solid #cba8b9;border-radius:18px;background:#fff;font:900 3.7rem Nunito,sans-serif;color:#0b2865}.pdi-neighbor span:first-child:last-child{color:var(--rose)}
.pdi-missing-sum,.pdi-story-problem{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin:8px 0 22px}.pdi-missing-sum>b,.pdi-story-problem>b{font:900 2.7rem Nunito,sans-serif;color:#0b2865}.pdi-missing-sum>strong{display:grid;place-items:center;width:92px;height:92px;border:4px dashed var(--rose);border-radius:18px;font-size:3.5rem}.pdi-missing-sum>em{font:900 3.5rem Nunito,sans-serif;color:#0b2865;font-style:normal}.pdi-category-label{padding:15px 28px;border-radius:14px;background:#e8f3ea;color:#24633c;font:900 2rem Nunito,sans-serif}.pdi-advanced-pattern{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:10px 0 24px}.pdi-advanced-pattern span,.pdi-advanced-pattern strong{display:grid;place-items:center;width:78px;height:78px;border-radius:14px;background:#fff;border:2px solid #dcc1cc;font-size:2.8rem}.pdi-advanced-pattern strong{border-style:dashed;color:var(--rose)}.pdi-pattern-option{font-size:3rem}.choice strong{font-size:1rem}
.pdi-name-initial{display:grid;place-items:center;width:clamp(120px,20vw,190px);height:clamp(120px,20vw,190px);margin:0 auto 16px;border:4px solid #8e3159;border-radius:34px;background:#fff0f6;box-shadow:10px 10px 0 #f2c6d8;font:900 clamp(5rem,12vw,9rem)/1 Nunito,sans-serif;color:var(--rose)}
.pdi-name-model{padding:12px 22px;border-radius:18px;background:#fff;border:2px solid #dfb5c7;font:900 clamp(2rem,6vw,4.6rem)/1.2 Nunito,sans-serif;letter-spacing:.08em;color:#78304f}
.pdi-name-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0}.pdi-name-dots span{width:24px;height:24px;border-radius:50%;background:#df5b91;border:3px solid #73304e}
.pdi-name-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(850px,100%);margin:0 auto 22px}.pdi-name-compare>span{display:grid;place-items:center;gap:14px;min-height:140px;padding:18px;border:2px solid #ddbdca;border-radius:22px;background:#fff;font:900 clamp(1.3rem,4vw,3rem)/1.2 Nunito,sans-serif;color:#76304e}.pdi-name-compare small{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.pdi-name-compare i{display:block;width:15px;height:15px;border-radius:50%;background:#e16b9a}
.pdi-name-memory{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0 0 24px}.pdi-name-memory span{display:grid;place-items:center;min-width:150px;min-height:88px;padding:12px 18px;border:2px solid #ddb8c8;border-radius:18px;background:#fff;font:900 clamp(1.2rem,3.3vw,2.4rem)/1.2 Nunito,sans-serif;color:#73304d}
.pdi-special-day{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 0 24px}.pdi-special-day span{font-size:clamp(4rem,9vw,7rem)}.pdi-special-day strong{font:900 clamp(1.7rem,4.5vw,3.3rem)/1.15 Nunito,sans-serif;color:#7a3150}
.projection-main>h2,.projection-main .choice,.pdi-special-day strong,.pdi-dino-word,.pdi-dino-single,.pdi-movement{text-transform:uppercase}
.projection-main .choice{min-height:96px}
.pdi-dino-image{width:min(310px,52vw);height:min(310px,36vh);object-fit:contain;background:#fff;border-radius:24px}
.pdi-dino-word{display:grid;grid-template-columns:minmax(190px,310px) minmax(260px,520px);align-items:center;gap:28px;width:min(900px,96%);padding:22px 28px;border:3px solid #adc9a2;border-radius:30px;background:#f4faee;text-align:left}
.pdi-dino-word strong{font:900 clamp(2rem,5vw,4rem)/1 Nunito,sans-serif;color:#2d7045}.projection-main .pdi-dino-word p{font-size:clamp(1.05rem,2.2vw,1.6rem);font-weight:800;margin:16px 0 0}
.pdi-dino-clue{padding:12px 22px;border-radius:16px;background:#fff1c9;font-weight:800}.projection-main[data-game="dino-buscar"] .choice{display:grid;gap:6px;padding:10px;font-size:1.1rem}.projection-main[data-game="dino-buscar"] .choice .pdi-dino-image{width:190px;height:170px}.projection-main[data-game="dino-buscar"] .choice span{display:block}
.pdi-dino-single,.pdi-movement{display:grid;justify-items:center;gap:12px}.pdi-dino-single strong,.pdi-movement strong{font:900 clamp(1.5rem,3.4vw,2.5rem)/1.25 Nunito,sans-serif;max-width:800px;color:#2d7045}.pdi-movement .pdi-dino-image{width:min(370px,62vw);height:min(340px,38vh)}
.pdi-complete-sentence{font:800 clamp(1.3rem,3vw,2.1rem)/1.4 Nunito,sans-serif;max-width:760px;color:#2d7045}
.pdi-blank{display:inline-block;border-bottom:4px dashed #7caa86;padding:0 14px;color:transparent}
.pdi-costume{width:min(460px,72vw)!important;aspect-ratio:auto!important;background:white!important;padding:10px 10px 8px;margin:0 auto 12px!important;border-radius:28px!important}
.pdi-costume img{width:100%;max-height:50vh;object-fit:contain;border-radius:20px;background:#fff}.pdi-costume figcaption{font:700 .7rem/1.4 'DM Sans',sans-serif;color:#6b6270;letter-spacing:.035em;margin-top:7px}
.name-student-picker{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 20px;font:800 1.05rem Nunito,sans-serif}.name-student-picker select{min-width:210px;font-size:1.05rem}.pdi-name-copy{padding:24px 30px;margin:0 auto 20px;border:3px solid #c9678f;border-radius:24px;background:#fff;box-shadow:9px 9px 0 #f2c4d7;font:900 clamp(2.3rem,7vw,5.5rem)/1.1 Nunito,sans-serif;letter-spacing:.09em;color:#75304d}.pdi-name-slots{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;margin:8px 0 30px}.pdi-name-word{display:flex;gap:7px}.pdi-name-word i{display:grid;place-items:center;width:clamp(38px,6vw,68px);height:clamp(50px,8vw,82px);border-bottom:5px solid #873656;font:900 clamp(1.65rem,5vw,3.6rem)/1 Nunito,sans-serif;color:#873656;font-style:normal}.pdi-letter-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:11px;width:min(980px,100%)}.pdi-letter-bank .name-letter{display:grid;place-items:center;min-width:64px;min-height:64px;padding:10px 15px;border:2px solid #89405f;border-radius:16px;background:#fff;font:900 clamp(1.5rem,3.4vw,2.5rem)/1 Nunito,sans-serif;color:#73304d}.pdi-letter-bank .name-letter.used{visibility:hidden;pointer-events:none}
.feedback{max-width:100%;scroll-margin:20px}
.pdi-celebration{display:flex;align-items:center;justify-content:center;gap:14px;width:min(740px,90vw);padding:12px 24px;border:2px solid #eec778;border-radius:26px;background:#fff0cf;color:#67384e;box-shadow:0 7px 0 #f4dfb2;margin:4px auto 12px;animation:rosa-celebrate-in .5s ease-out both}
.pdi-celebration-art{position:relative;flex:0 0 166px;height:122px;display:grid;place-items:center}
.pdi-happy-face{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:84px;line-height:1;animation:rosa-happy-bounce .85s ease-out both}
.pdi-star{position:absolute;font-size:29px;animation:rosa-star-pop .8s ease-out both}
.star-left{left:0;top:8px;transform:rotate(-16deg)}
.star-right{right:1px;bottom:9px;transform:rotate(12deg);animation-delay:.12s}
.pdi-spark{position:absolute;font-size:19px;color:#c05c8a}
.spark-one{right:8px;top:9px}
.spark-two{left:10px;bottom:13px;color:#778857}
.pdi-celebration-copy{text-align:left;flex:1}
.pdi-celebration-copy strong{font:900 clamp(1.45rem,3vw,2rem)/1.25 Nunito,sans-serif;color:#853255}
.projection-main .pdi-celebration-copy p{font:500 1.05rem/1.45 'DM Sans',sans-serif;color:#684f45;margin:8px 0 0}
@keyframes rosa-celebrate-in{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes rosa-happy-bounce{0%{transform:scale(.5) rotate(-10deg)}45%{transform:scale(1.12) rotate(7deg)}70%{transform:scale(.96) rotate(-3deg)}100%{transform:scale(1) rotate(0)}}
@keyframes rosa-star-pop{0%{opacity:0;scale:.3}65%{opacity:1;scale:1.2}100%{opacity:1;scale:1}}
@media(max-width:600px){
  .pdi-welcome{padding:20px;gap:14px;flex-wrap:wrap}
  .pdi-welcome>div{flex-basis:65%}
  .pdi-welcome>.tag{margin-left:65px}
  .choice{padding:12px;min-width:90px}
  .choice-grid{gap:12px}
  .pdi-size-frame{width:78px;height:105px}
  .pdi-size-frame .pdi-size-0{font-size:32px}
  .pdi-size-frame .pdi-size-1{font-size:58px}
  .pdi-size-frame .pdi-size-2{font-size:86px}
  .pdi-sum{gap:8px}
  .pdi-sum>div{padding:8px}
  .pdi-color{width:66px;height:66px}
  .pdi-celebration{padding:14px 12px;gap:2px;flex-direction:column}
  .pdi-celebration-art{flex-basis:auto;width:150px;height:96px}
  .pdi-happy-face{font-size:72px}
  .pdi-celebration-copy{text-align:center}
  .pdi-order-card{height:128px}
  .pdi-dino-word{grid-template-columns:1fr;padding:16px;text-align:center;gap:10px}.pdi-dino-word .pdi-dino-image{width:180px;height:160px;margin:auto}.projection-main[data-game="dino-buscar"] .choice{min-width:130px}.projection-main[data-game="dino-buscar"] .choice .pdi-dino-image{width:120px;height:105px}.pdi-costume{width:min(390px,88vw)!important}.pdi-costume img{max-height:48vh}
  .pdi-name-compare{grid-template-columns:1fr}.pdi-name-compare>span{min-height:95px}.pdi-name-memory span{min-width:120px}.pdi-special-day{gap:12px;flex-direction:column}
  .name-student-picker{align-items:stretch;flex-direction:column}.name-student-picker select{min-width:0}.pdi-name-slots{gap:14px}.pdi-name-word{gap:4px}.pdi-letter-bank .name-letter{min-width:54px;min-height:54px;padding:8px 12px}
}
@media(prefers-reduced-motion:reduce){
  .pdi-celebration,.pdi-happy-face,.pdi-star{animation:none}
}

/* Galaxia de las palabras: lectura visual con ilustraciones grandes, sin iconos. */
#projector .projection-main[data-game="palabra-imagen"]{
  position:relative;isolation:isolate;justify-content:flex-start;width:100%;max-width:none;
  padding:clamp(12px,2dvh,24px) clamp(18px,3vw,52px);overflow:hidden;color:white;
  background:#55539e url('assets/pdi-word-picture/galaxia-lectora.webp') center/cover no-repeat;
}
#projector .projection-main[data-game="palabra-imagen"]::before{
  content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(165deg,#e1dcff45,#b7d6ff31 53%,#ead0ff42);
}
#projector .projection-main[data-game="palabra-imagen"]>h2{
  display:grid;place-items:center;width:min(760px,72vw);min-height:clamp(82px,13dvh,124px);
  margin:0 auto clamp(4px,1dvh,10px);padding:10px 34px 14px;border:5px solid #9d72ed;border-radius:34px;
  background:linear-gradient(180deg,#fff 0%,#f2efff 100%);box-shadow:0 9px 0 #472995,0 18px 42px #03083888,inset 0 0 26px #c9bbff88;
  color:#5528b7;font:900 clamp(3.1rem,7vw,6.2rem)/.95 Nunito,sans-serif;letter-spacing:.055em;text-shadow:0 3px 0 #fff;
}
#projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-meta{
  display:flex;align-items:center;justify-content:center;gap:10px;margin:clamp(4px,1dvh,10px) auto 3px;
}
#projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-meta>span{
  margin:0;padding:7px 20px;border:1px solid #ffffff70;border-radius:999px;
  background:#0e1b69b8;color:#fff;font:900 clamp(.9rem,1.45vw,1.15rem)/1.1 Nunito,sans-serif;letter-spacing:.13em;box-shadow:0 5px 18px #04093866;
}
#projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-meta>span{background:#ffe176;color:#53296f;border-color:#fff5bc}
#projector .projection-main[data-game="palabra-imagen"] .choice-grid{
  flex:1;align-items:center;justify-content:center;flex-wrap:nowrap;width:min(1540px,100%);min-height:0;margin:0 auto;gap:clamp(14px,2vw,34px);
}
#projector .projection-main[data-game="palabra-imagen"] .choice-grid:has(.choice:nth-child(2):last-child){width:min(1040px,88%)}
#projector .projection-main[data-game="palabra-imagen"] .choice-grid:has(.choice:nth-child(3):last-child){width:min(1300px,96%)}
#projector .projection-main[data-game="palabra-imagen"] .choice{
  position:relative;isolation:isolate;flex:0 1 clamp(245px,22vw,350px);width:clamp(245px,22vw,350px);height:auto!important;min-width:0;min-height:0!important;max-width:350px;aspect-ratio:1;padding:clamp(24px,2.2vw,38px);overflow:visible;
  border:7px solid #d7c4ff;border-radius:49% 51% 47% 53% / 52% 47% 53% 48%;
  background:radial-gradient(circle at 25% 22%,#ffffff72 0 5%,#b84fc166 5.5% 7.5%,transparent 8%),radial-gradient(circle at 76% 72%,#7836b777 0 7%,#f195e244 7.5% 10%,transparent 10.5%),radial-gradient(circle at 75% 27%,#b348b066 0 4%,transparent 4.5%),linear-gradient(145deg,#ee78d2 0%,#bd61d8 48%,#7547bf 100%);
  box-shadow:inset -18px -22px 0 #40218d36,inset 12px 14px 0 #fff3,0 14px 0 #150c5c80,0 25px 42px #02062ca0;
  transition:transform .25s ease,filter .25s ease,box-shadow .25s ease;
}
#projector .projection-main[data-game="palabra-imagen"] .choice::before{
  content:'';position:absolute;z-index:0;inset:7%;border-radius:inherit;pointer-events:none;
  background:radial-gradient(circle at 18% 58%,transparent 0 5%,#60299935 5.5% 7%,transparent 7.5%),radial-gradient(circle at 59% 16%,transparent 0 4%,#fff4 4.5% 6%,transparent 6.5%),radial-gradient(circle at 84% 53%,transparent 0 4.5%,#50258138 5% 7%,transparent 7.5%);
}
#projector .projection-main[data-game="palabra-imagen"] .choice::after{
  content:'';position:absolute;z-index:1;left:9%;bottom:18%;width:13%;aspect-ratio:1;border-radius:50%;pointer-events:none;background:#7438a647;box-shadow:inset 4px 5px 0 #49236c45,2px 2px 0 #ffffff32;
}
#projector .projection-main[data-game="palabra-imagen"] .choice:nth-child(2n){
  border-color:#a1edff;background:radial-gradient(circle at 72% 23%,#fff8 0 5%,#3887ca66 5.5% 7.5%,transparent 8%),radial-gradient(circle at 23% 73%,#2b64bf77 0 7%,#78e6f344 7.5% 10%,transparent 10.5%),radial-gradient(circle at 28% 26%,#3182c766 0 4%,transparent 4.5%),linear-gradient(145deg,#79e0f2 0%,#638edc 51%,#674bc4 100%);
}
#projector .projection-main[data-game="palabra-imagen"] .choice:nth-child(3n){
  border-color:#ffc7e4;background:radial-gradient(circle at 27% 24%,#fff8 0 5%,#c7448a66 5.5% 7.5%,transparent 8%),radial-gradient(circle at 76% 72%,#a33f8177 0 7%,#ffabd344 7.5% 10%,transparent 10.5%),radial-gradient(circle at 73% 28%,#a43d8166 0 4%,transparent 4.5%),linear-gradient(145deg,#ff9cca 0%,#da69b2 52%,#8e4ec4 100%);
}
#projector .projection-main[data-game="palabra-imagen"] .choice:nth-child(4n){
  border-color:#ffe9a8;background:radial-gradient(circle at 72% 23%,#fff9 0 5%,#dc833c66 5.5% 7.5%,transparent 8%),radial-gradient(circle at 22% 71%,#bd6b3677 0 7%,#ffe08d55 7.5% 10%,transparent 10.5%),radial-gradient(circle at 29% 25%,#d17d3d66 0 4%,transparent 4.5%),linear-gradient(145deg,#ffda78 0%,#f59a82 52%,#d663a2 100%);
}
#projector .projection-main[data-game="palabra-imagen"] .choice:hover{
  transform:translateY(-9px) scale(1.025);filter:saturate(1.12) brightness(1.04);
  box-shadow:inset -18px -22px 0 #40218d36,inset 12px 14px 0 #fff3,0 18px 0 #150c5c80,0 32px 48px #02062cb3;
}
.pdi-word-picture-art{position:relative;z-index:3;display:grid;place-items:center;width:100%;height:100%}
#projector .projection-main[data-game="palabra-imagen"] .choice img{
  width:88%;height:88%;max-width:none;max-height:none;object-fit:contain;filter:drop-shadow(0 13px 9px #15104c55);
}
#projector .projection-main[data-game="palabra-imagen"] .choice-grid:has(.choice:nth-child(2):last-child) .choice{flex-basis:clamp(320px,31vw,440px);width:clamp(320px,31vw,440px);max-width:440px}
#projector .projection-main[data-game="palabra-imagen"] .choice-grid:has(.choice:nth-child(3):last-child) .choice{flex-basis:clamp(280px,27vw,390px);width:clamp(280px,27vw,390px);max-width:390px}
#projector:has(.projection-main[data-game="palabra-imagen"]) .projection-footer button{text-transform:uppercase}
#projector .projection-main[data-game="palabra-imagen"] .choice.correct{
  border-color:#abff82;
  background:radial-gradient(circle at 25% 23%,#fff9,transparent 36%),linear-gradient(145deg,#b5f96d,#3ebd55 60%,#148043);
  box-shadow:0 0 0 5px #20763f,0 0 35px #9dff87bf,0 15px 28px #163d5d75;
  animation:pdi-word-picture-correct .7s ease both;
}
#projector .projection-main[data-game="palabra-imagen"] .choice.incorrect{
  border-color:#ffb7aa;
  background:radial-gradient(circle at 25% 23%,#fff7,transparent 36%),linear-gradient(145deg,#ff9b83,#e95855 58%,#ae2538);
  box-shadow:0 0 0 5px #9c293b,0 0 33px #ff7f7680,0 15px 28px #56213b75;
  animation:pdi-word-picture-wrong .35s ease 2;
}
#projector .projection-main[data-game="palabra-imagen"] .choice:is(.correct,.incorrect)::after{
  position:absolute; z-index:5; display:grid; place-items:center; left:auto; bottom:auto;
  right:-3%; top:-2%; width:clamp(39px,6vw,92px); border:3px solid white;
  color:white; font:900 clamp(1.5rem,4.2vw,4rem)/1 system-ui,sans-serif; box-shadow:0 4px 11px #39204f69;
}
#projector .projection-main[data-game="palabra-imagen"] .choice.correct::after{content:'✓';background:#187439}
#projector .projection-main[data-game="palabra-imagen"] .choice.incorrect::after{content:'✕';background:#b72c3f}
#projector .projection-main[data-game="palabra-imagen"]>.feedback{
  position:absolute;z-index:20;left:50%;bottom:clamp(59px,9dvh,85px);transform:translateX(-50%);
  width:min(780px,88vw);margin:0;pointer-events:none;
}
.galaxy-result{
  display:flex;align-items:center;justify-content:center;gap:.5em;width:fit-content;margin:auto;
  padding:.36em .9em;border:2px solid #fff;border-radius:999px;font:900 clamp(.85rem,2.2vw,1.75rem)/1.15 Nunito,sans-serif;
  box-shadow:0 5px 20px #24206055;
}
.galaxy-result span{font-size:1.25em}
.galaxy-result-correct{background:#e1ffce;color:#155e32}
.galaxy-result-retry{background:#ffe4dd;color:#982337}
.word-picture-controls{justify-content:center;padding-block:5px!important;background:#f8f2ff!important}.word-picture-controls .aula-level{margin:0}.word-picture-controls .aula-level select{text-transform:uppercase}
.pdi-word-picture-finish{display:grid;place-items:center;align-content:center;width:100%;height:100%;gap:18px;color:#fff}.pdi-word-picture-finish-count{padding:9px 24px;border:2px solid #fff8;border-radius:999px;background:#ffe175;color:#5a296d;font:1000 clamp(1.1rem,2vw,1.5rem)/1 Nunito,sans-serif;letter-spacing:.14em}.pdi-word-picture-finish h2{margin:0;padding:18px 35px;border:4px solid #b9f5ff;border-radius:26px;background:#111b70d9;color:#fff;font:1000 clamp(2rem,5vw,4.5rem)/1 Nunito,sans-serif;letter-spacing:.04em;box-shadow:0 14px 0 #080d4e88}.pdi-word-picture-finish-planet{position:relative;width:min(35vmin,360px);aspect-ratio:1;border:7px solid #fff1b0;border-radius:48% 52% 47% 53%;background:radial-gradient(circle at 27% 24%,#fff8 0 6%,transparent 6.5%),radial-gradient(circle at 72% 67%,#772eb877 0 8%,transparent 8.5%),linear-gradient(145deg,#ff92cf,#a261df 58%,#5b45bd);box-shadow:inset -20px -24px #3d208638,inset 14px 16px #fff3,0 0 50px #80ebff99,0 18px 0 #0b10588c}.pdi-word-picture-finish-planet i{position:absolute;width:13%;aspect-ratio:1;border-radius:50%;background:#7335a04f;box-shadow:inset 4px 5px #4b246e44}.pdi-word-picture-finish-planet i:nth-child(1){left:18%;top:42%}.pdi-word-picture-finish-planet i:nth-child(2){right:19%;top:23%;width:9%}.pdi-word-picture-finish-planet i:nth-child(3){right:25%;bottom:17%;width:16%}
.pdi-word-picture-success{position:fixed;z-index:999;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;background:radial-gradient(circle at center,#faffdbd9 0 11%,#a7ef97b0 26%,#50b78375 48%,#355f784c 76%,#2b3f7959 100%);animation:pdi-word-success-scene 2.2s ease both}
.pdi-word-picture-winner{position:relative;z-index:4;display:grid;place-items:center;width:min(44vmin,520px);height:min(44vmin,520px);border:8px solid #fff;border-radius:50%;background:radial-gradient(circle,#fff 0 56%,#d7fff5 72%,#67dbc5 73% 78%,#fff 79% 82%,transparent 83%);filter:drop-shadow(0 0 34px #fff);animation:pdi-word-winner 2.2s cubic-bezier(.18,.7,.28,1) both}
.pdi-word-picture-winner img{width:72%;height:72%;object-fit:contain;filter:drop-shadow(0 16px 12px #28206555)}
.pdi-word-picture-orbit{position:absolute;z-index:2;width:min(67vmin,760px);height:min(30vmin,340px);border:6px solid #fff9;border-radius:50%;box-shadow:0 0 26px #92f5ff,inset 0 0 22px #ecbcff;animation:pdi-word-orbit 1.5s ease-out both}.pdi-word-picture-orbit::before,.pdi-word-picture-orbit::after{content:'';position:absolute;width:24px;height:24px;border-radius:50%;background:#fff5a4;box-shadow:0 0 24px #fff}.pdi-word-picture-orbit::before{left:8%;top:15%}.pdi-word-picture-orbit::after{right:9%;bottom:14%}.pdi-word-picture-orbit.orbit-two{transform:rotate(62deg);border-color:#9ff6e7aa;animation-delay:.08s}
.pdi-word-picture-burst{position:absolute;z-index:1;inset:50%}.pdi-word-picture-burst i{position:absolute;left:0;top:0;width:clamp(7px,1vmin,13px);height:clamp(7px,1vmin,13px);border-radius:50%;background:#fff6a4;box-shadow:0 0 16px #fff;transform:rotate(var(--a)) translateX(0);animation:pdi-word-spark 1.5s calc(var(--i)*.012s) cubic-bezier(.15,.7,.2,1) both}.pdi-word-picture-burst i:nth-child(3n){background:#84f5e5}.pdi-word-picture-burst i:nth-child(3n+1){background:#ff9ed8}
@keyframes pdi-word-success-scene{0%{opacity:0}12%,72%{opacity:1}100%{opacity:0}}
@keyframes pdi-word-winner{0%{opacity:0;transform:scale(.25) rotate(-12deg)}35%{opacity:1;transform:scale(1.08) rotate(3deg)}55%{transform:scale(.96) rotate(-1deg)}80%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
@keyframes pdi-word-orbit{0%{opacity:0;scale:.25;rotate:-25deg}30%,75%{opacity:1}100%{opacity:0;scale:1.18;rotate:18deg}}
@keyframes pdi-word-spark{0%{opacity:0;transform:rotate(var(--a)) translateX(2vmin) scale(.3)}24%,72%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--d)) scale(1.4)}}
@keyframes pdi-word-picture-correct{50%{transform:translateY(-20px) scale(1.09);filter:brightness(1.2)}100%{transform:translateY(-10px) scale(1.055)}}
@keyframes pdi-word-picture-wrong{25%{transform:translateX(-8px) rotate(-1deg)}75%{transform:translateX(8px) rotate(1deg)}}
@media(max-width:760px){
  #projector .projection-main[data-game="palabra-imagen"]>h2{width:min(650px,90vw);font-size:clamp(2.5rem,10vw,4.2rem)}
  #projector .projection-main[data-game="palabra-imagen"] .choice-grid{flex-wrap:wrap;align-content:center;gap:10px}
  #projector .projection-main[data-game="palabra-imagen"] .choice{flex-basis:min(40vw,245px);width:min(40vw,245px);max-width:245px;padding:16px;border-width:4px}
  #projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-meta{gap:5px}.pdi-word-picture-meta>span{padding:6px 10px!important}
}
@media(prefers-reduced-motion:reduce){
  #projector .projection-main[data-game="palabra-imagen"] .choice.correct,
  #projector .projection-main[data-game="palabra-imagen"] .choice.incorrect{animation:none}
  .pdi-word-picture-success{animation:pdi-word-success-reduced 2.2s ease both}.pdi-word-picture-winner,.pdi-word-picture-orbit,.pdi-word-picture-burst i{animation:none}
}
@keyframes pdi-word-success-reduced{0%,100%{opacity:0}10%,80%{opacity:1}}

/* Series ilustradas: escenas grandes y respuestas visuales para PDI. */
.projection-main[data-game="series-ilustradas"]{justify-content:flex-start;padding-top:18px}
.projection-main[data-game="series-ilustradas"]>h2{font-size:clamp(1.65rem,3vw,2.6rem);margin:10px 0 14px}
.illustrated-series-progress{margin-bottom:2px}
.illustrated-series-scene{margin:0;width:min(900px,88vw);display:flex;justify-content:center}
.illustrated-series-scene img{display:block;width:100%;height:auto;max-height:46vh;object-fit:contain;border-radius:22px;box-shadow:0 12px 32px #5d3b2b24;background:#fff}
.projection-main .illustrated-series-hint{margin:12px 0 4px;font-size:clamp(.95rem,1.7vw,1.2rem);font-weight:800;color:#6b5961}
.projection-main[data-game="series-ilustradas"] .choice-grid{margin:12px 0 6px;gap:14px}
.projection-main[data-game="series-ilustradas"] .choice{min-width:190px;min-height:105px;padding:12px 18px}
.illustrated-series-option{display:flex;align-items:center;justify-content:center;gap:12px;font-size:1.05rem}
.illustrated-series-option strong{max-width:115px;line-height:1.05}
.illustrated-series-shape{display:inline-block;width:62px;height:62px;flex:0 0 62px;border:3px solid #5f463b;box-shadow:inset 0 -5px 0 #0000000c}
.illustrated-series-shape.circle{border-radius:50%}
.illustrated-series-shape.triangle{clip-path:polygon(50% 0,100% 100%,0 100%);border:0}
.illustrated-series-shape.red{background:#ef4438}
.illustrated-series-shape.blue{background:#2d7fd0}
.illustrated-series-shape.yellow{background:#f5bf2e}
@media(max-width:780px){.illustrated-series-scene{width:min(760px,94vw)}.illustrated-series-scene img{max-height:41vh}.projection-main[data-game="series-ilustradas"] .choice{min-width:145px}.illustrated-series-option{gap:8px}.illustrated-series-shape{width:50px;height:50px;flex-basis:50px}}
.illustrated-pdi-spotlight{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:24px;align-items:center;margin-bottom:22px;overflow:hidden}
.illustrated-pdi-spotlight>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.illustrated-pdi-spotlight h2{margin:5px 0 8px}
.illustrated-pdi-spotlight p{max-width:680px}
@media(max-width:780px){.illustrated-pdi-spotlight{grid-template-columns:1fr}.illustrated-pdi-spotlight>img{max-height:280px}}

/* Error visible y leído en «Escribe tu nombre». */
.pdi-letter-bank .name-letter.incorrect{border-color:#bd334d;background:#ffe5e8;color:#8d1730;box-shadow:0 0 0 3px #bd334d22;animation:rosa-name-error .22s ease-in-out 2}
@keyframes rosa-name-error{50%{transform:translateX(5px)}}

/* Vocales ilustradas: actividad extra solo en PDI. */
.projection-main[data-game="vocales-ilustradas"]{justify-content:flex-start;padding-top:18px}
.projection-main[data-game="vocales-ilustradas"]>h2{font-size:clamp(1.7rem,3.2vw,2.75rem);margin:10px 0 14px}
.illustrated-language-progress{margin-bottom:2px}
.illustrated-language-scene{margin:0;width:min(900px,88vw);display:flex;justify-content:center}
.illustrated-language-scene img{display:block;width:100%;height:auto;max-height:50vh;object-fit:contain;border-radius:22px;box-shadow:0 12px 32px #5d3b2b24;background:#fff}
.projection-main[data-game="vocales-ilustradas"] .choice-grid{margin:14px 0 6px;gap:16px}
.projection-main[data-game="vocales-ilustradas"] .choice{min-width:150px;min-height:88px;font-size:clamp(2.2rem,5vw,3.8rem);padding:10px 24px}
@media(max-width:780px){.illustrated-language-scene{width:min(760px,94vw)}.illustrated-language-scene img{max-height:43vh}.projection-main[data-game="vocales-ilustradas"] .choice{min-width:105px}}
@media(prefers-reduced-motion:reduce){.pdi-letter-bank .name-letter.incorrect{animation:none}}

/* ¿Qué pasaría si…? Preguntas abiertas para conversación en gran grupo. */
.what-if-intro{display:grid;grid-template-columns:minmax(180px,300px) 1fr;align-items:center;gap:34px;overflow:hidden;background:linear-gradient(135deg,#fff7cf 0%,#ffe4ef 52%,#e7f5ff 100%);border-color:#ebc6d7;text-transform:uppercase}
.what-if-intro-art{position:relative;display:grid;place-items:center;min-height:235px;border-radius:36px;background:#fff8;box-shadow:inset 0 0 0 2px #fff}
.what-if-intro-art span{font-size:7rem;filter:drop-shadow(0 12px 0 #dda9bf)}.what-if-intro-art b{position:absolute;right:22%;top:18%;font:900 4rem/1 Nunito,sans-serif;color:#873151}
.what-if-intro h2{font-size:clamp(1.8rem,4vw,3rem);margin:8px 0}.what-if-intro p{max-width:720px;font-size:1.08rem;line-height:1.6}.what-if-stats{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.what-if-stats>*{padding:8px 13px;border-radius:999px;background:#fff;border:1px solid #ebc9d7;color:#75304d}
.projection-main[data-game="que-pasaria"]{background:radial-gradient(circle at 15% 15%,#fff5ae 0 5%,transparent 5.3%),radial-gradient(circle at 88% 18%,#fbc6dc 0 6%,transparent 6.3%),linear-gradient(145deg,#eaf8ff,#fff4d7 48%,#ffe8f1);padding:28px}
.what-if-card{position:relative;display:grid;justify-items:center;width:min(950px,94vw);padding:clamp(28px,5vw,60px);border:3px solid #d8a9bd;border-radius:42px;background:#fffdf9;box-shadow:0 14px 0 #e7bfd0;text-align:center;text-transform:uppercase;overflow:hidden}.what-if-sky{display:flex;align-items:center;justify-content:center;gap:20px;min-height:90px}.what-if-sky span{font-size:4.8rem}.what-if-sky b{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#f8d364;color:#71364f;font:900 3.5rem/1 Nunito,sans-serif}.what-if-kicker{font:900 .9rem/1 Nunito,sans-serif;letter-spacing:.14em;color:#a0446d}.what-if-card h2{max-width:800px;margin:18px 0 13px;font:900 clamp(2rem,5.5vw,4.5rem)/1.12 Nunito,sans-serif;color:#71324e;text-transform:uppercase!important}.projection-main .what-if-card p{font-size:clamp(1rem,2vw,1.35rem);color:#66505a}.what-if-counter{align-self:center;padding:9px 15px;border-radius:999px;background:#f9e2ed;color:#7d3152;font-weight:900}
@media(max-width:720px){.what-if-intro{grid-template-columns:1fr}.what-if-intro-art{min-height:160px}.what-if-intro-art span{font-size:5rem}.what-if-card{padding:25px 18px;border-radius:28px}.what-if-sky span{font-size:3.4rem}}

/* CUENTA Y ENCESTA · 1 A 15 */
#projector .projection-main[data-game="cubos-canasta"]{width:min(1320px,98vw);padding:8px 18px;background:linear-gradient(#dff4ff 0 70%,#d7efa9 70%)}
.basket-count-game{width:100%;color:#17365f}.basket-count-game header>span{display:inline-block;padding:5px 16px;border-radius:999px;background:#fff0a9;color:#74445b;font-weight:900;letter-spacing:.12em}#projector .basket-count-game header h2{max-width:none;margin:3px 0 0;font-size:clamp(1.65rem,2.7vw,2.7rem);line-height:1}#projector .basket-count-game header p{max-width:none;margin:2px 0 7px;font-size:clamp(.78rem,1.1vw,1rem);font-weight:900}
.basket-court{position:relative;width:100%;height:min(48dvh,455px);overflow:hidden;border:6px solid #fff;border-radius:28px;background:linear-gradient(180deg,#8fd4f3 0 72%,#e8ad66 72%);box-shadow:0 7px 0 #7c7890}.basket-court::before{content:'';position:absolute;inset:auto 0 0;height:28%;background:repeating-linear-gradient(90deg,#e7a45d 0 70px,#db934e 70px 74px);opacity:.7}.basket-court::after{content:'';position:absolute;left:8%;bottom:-35%;width:38%;height:68%;border:5px solid #fff9;border-radius:50%}
.basket-hoop{position:absolute;z-index:4;left:3%;top:22%;width:18%;height:45%}.basket-hoop::before{content:'';position:absolute;left:0;top:0;width:38%;height:72%;border:6px solid #fff;border-radius:8px;background:#f5f8ff;box-shadow:0 5px 0 #7190b5}.basket-hoop i{position:absolute;z-index:2;left:22%;top:54%;width:74%;height:14px;border:7px solid #df653d;border-radius:50%}.basket-hoop b{position:absolute;left:34%;top:60%;width:50%;height:38%;clip-path:polygon(0 0,100% 0,77% 100%,23% 100%);background:repeating-linear-gradient(55deg,transparent 0 12px,#fff 13px 16px),repeating-linear-gradient(-55deg,transparent 0 12px,#fff 13px 16px)}
.basket-cubes{position:absolute;z-index:2;left:25%;right:4%;top:6%;bottom:27%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);place-items:center;gap:clamp(5px,1vw,13px);padding:8px 4%}.basket-cubes-few{grid-template-columns:repeat(3,minmax(0,120px));justify-content:center}.basket-cubes-medium{grid-template-columns:repeat(4,minmax(0,105px));justify-content:center}
.counting-cube{--cube:#ec655c;position:relative;display:block;width:clamp(54px,6vw,82px);aspect-ratio:1;border:4px solid #6f3543;background:var(--cube);transform:rotate(30deg) skew(-5deg);border-radius:8px;box-shadow:inset -12px -10px #bd3f45,0 6px 0 #803b46}.counting-cube::before,.counting-cube::after{content:'';position:absolute;border:3px solid #6f3543;background:#ff8580}.counting-cube::before{left:8%;right:8%;top:-23%;height:35%;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.counting-cube::after{right:-22%;top:10%;bottom:7%;width:34%;clip-path:polygon(0 0,100% 18%,100% 82%,0 100%);background:#c4484e}.counting-cube.cube-color-1{--cube:#f1ba49}.counting-cube.cube-color-1::before{background:#ffd873}.counting-cube.cube-color-1::after{background:#cf8f30}.counting-cube.cube-color-2{--cube:#69b9d5}.counting-cube.cube-color-2::before{background:#98dded}.counting-cube.cube-color-2::after{background:#428ba9}.counting-cube.cube-color-3{--cube:#80bd78}.counting-cube.cube-color-3::before{background:#afe0a1}.counting-cube.cube-color-3::after{background:#579756}
.basket-balls{position:relative;z-index:8;display:grid;grid-template-columns:repeat(4,minmax(0,150px));justify-content:center;gap:clamp(14px,3vw,44px);margin-top:-58px}#projector .number-basketball{position:relative;width:clamp(86px,9vw,124px);height:clamp(86px,9vw,124px);min-height:0;padding:0;border:5px solid #713525;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffb04f,#e86e26 62%,#b94720);color:#fff;box-shadow:inset -9px -10px #a9401f,0 8px 0 #7e4d3e,0 12px 20px #3d314030;font:900 clamp(2.2rem,4.2vw,4rem)/1 Nunito,sans-serif;text-shadow:0 3px #7a321e;overflow:hidden}#projector .number-basketball::before,#projector .number-basketball::after{content:'';position:absolute;inset:-10% 42%;border:4px solid #713525;border-radius:50%;transform:rotate(28deg)}#projector .number-basketball::after{inset:42% -10%;transform:rotate(-10deg)}#projector .number-basketball span{position:relative;z-index:2}#projector .number-basketball:hover{background:radial-gradient(circle at 35% 28%,#ffc165,#f07d2c 62%,#c34d22);transform:translateY(-5px)}
.basket-flying-ball{position:absolute;z-index:12;left:50%;bottom:4%;display:grid;place-items:center;width:92px;height:92px;border:5px solid #713525;border-radius:50%;background:#ed792d;color:#fff;font:900 2.5rem/1 Nunito,sans-serif;text-shadow:0 2px #713525;box-shadow:inset -8px -8px #b74721;pointer-events:none}.basket-flying-ball.score{animation:basketScore 1.05s cubic-bezier(.25,.75,.35,1) forwards}.basket-flying-ball.miss{animation:basketMiss 1s cubic-bezier(.25,.7,.4,1) forwards}
@keyframes basketScore{0%{transform:translate(0,0) rotate(0) scale(1)}55%{transform:translate(-390%,-260%) rotate(420deg) scale(.8)}78%{transform:translate(-455%,-205%) rotate(600deg) scale(.65)}100%{transform:translate(-445%,-125%) rotate(720deg) scale(.5);opacity:0}}@keyframes basketMiss{0%{transform:translate(0,0) rotate(0)}55%{transform:translate(-310%,-235%) rotate(380deg)}72%{transform:translate(-385%,-180%) rotate(480deg)}100%{transform:translate(-260%,80%) rotate(700deg);opacity:0}}
.basket-score-message{position:absolute;z-index:10;inset:20% 26% auto;display:grid;place-items:center;padding:22px;border:5px solid #fff;border-radius:28px;background:#fff1a8;color:#a23f59;box-shadow:0 8px 0 #d38b66;animation:scorePop .45s .72s both}.basket-score-message strong{font:1000 clamp(2rem,4vw,4rem)/1 Nunito,sans-serif}.basket-score-message span{font-weight:900;margin-top:7px}.basket-feedback{min-height:28px;margin-top:8px;font-weight:900;color:#8c3e5e;letter-spacing:.03em}@keyframes scorePop{from{opacity:0;transform:scale(.5) rotate(-5deg)}to{opacity:1;transform:scale(1)}}
@media(max-height:800px) and (min-width:800px){.basket-court{height:390px}.counting-cube{width:55px}.basket-balls{margin-top:-50px}#projector .number-basketball{width:82px;height:82px;font-size:2.5rem}.basket-flying-ball{width:76px;height:76px}}@media(max-width:700px){.basket-hoop{width:25%}.basket-cubes{left:28%;right:1%;padding-inline:1%}.counting-cube{width:42px}.basket-balls{gap:7px}.basket-flying-ball{width:62px;height:62px}}@media(prefers-reduced-motion:reduce){.basket-flying-ball.score,.basket-flying-ball.miss,.basket-score-message{animation-duration:.01ms}}

/* SEGUNDA VERSIÓN: POLICUBO ÚNICO Y CANASTA CON ENCESTE VISIBLE. */
#projector .projection-main[data-game="cubos-canasta"]{background:linear-gradient(#f7f0df 0 72%,#d8e9bd 72%);}
.basket-count-game header>span{background:#f8d971;color:#71344c}.basket-court{height:min(50dvh,470px);border:7px solid #fff8ea;border-radius:34px;background:linear-gradient(180deg,#aeddeb 0 16%,#f3dfb8 16% 70%,#d99055 70%);box-shadow:0 8px 0 #6d5264,0 16px 30px #57374725}.basket-court::before{height:30%;background:repeating-linear-gradient(90deg,#d58a4e 0 95px,#bc7545 95px 100px);opacity:1}.basket-court::after{left:auto;right:2%;bottom:-33%;width:38%;height:62%;border-color:#fff8;border-width:5px}
.basket-wall{position:absolute;inset:5% 39% auto 6%;height:44px;display:flex;justify-content:space-around}.basket-wall i{width:80px;height:38px;border:4px solid #fff;border-radius:8px;background:linear-gradient(135deg,#ec6e82 50%,#f8cc6f 50%);box-shadow:0 4px 0 #987080}.basket-wall i:nth-child(2){background:linear-gradient(135deg,#70b8c6 50%,#fff 50%)}.basket-wall i:nth-child(3){background:linear-gradient(135deg,#86b771 50%,#f39b76 50%)}
.polycube-card{position:absolute;z-index:3;left:5%;top:18%;bottom:9%;width:57%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 22px;border:5px solid #fff;border-radius:28px;background:#fffdf5e8;box-shadow:0 7px 0 #cba87d}.polycube-card>strong{margin-bottom:12px;color:#743650;font-size:clamp(.72rem,1vw,.95rem);letter-spacing:.11em}.polycube-shape{display:grid;grid-template-columns:repeat(5,clamp(48px,5.2vw,72px));grid-auto-rows:clamp(48px,5.2vw,72px);gap:5px;place-content:center}.polycube-block{position:relative;display:block;width:100%;height:100%;border:4px solid #225f70;border-radius:9px;background:linear-gradient(145deg,#78d2df,#48aabd);box-shadow:inset -8px -8px #35899e,0 4px 0 #174f62}.polycube-block::before{content:'';position:absolute;inset:7px;border:3px solid #a9edf2;border-radius:5px;opacity:.72}.polycube-block i{position:absolute;left:10px;top:8px;width:32%;height:15%;border-radius:8px;background:#d3f8f4;transform:rotate(-12deg);opacity:.9}
.basket-hoop{left:auto;right:3%;top:10%;width:31%;height:72%;z-index:7}.basket-hoop::before{display:none}.basket-backboard{position:absolute;right:5%;top:0;width:72%;height:49%;border:8px solid #f7fbff;border-radius:14px;background:linear-gradient(145deg,#e7f4fa,#b7dbe7);box-shadow:0 7px 0 #6d8295}.basket-backboard::after{content:'';position:absolute;left:28%;right:28%;bottom:10%;height:38%;border:6px solid #fff;border-bottom:0}.basket-rim{position:absolute;z-index:9;left:5%;right:16%;top:45%;height:22px;border:9px solid #ec5b31;border-radius:50%;background:transparent;box-shadow:0 5px 0 #a83f28}.basket-net{position:absolute;z-index:8;left:17%;top:51%;width:54%;height:38%;clip-path:polygon(0 0,100% 0,76% 100%,24% 100%);background:repeating-linear-gradient(60deg,transparent 0 17px,#fff 18px 22px),repeating-linear-gradient(-60deg,transparent 0 17px,#fff 18px 22px);filter:drop-shadow(0 2px #8799a2);transform-origin:top}.basket-pole{position:absolute;z-index:-1;right:21%;top:45%;bottom:-18%;width:16px;border-radius:8px;background:#667b8f}.basket-hoop.is-scoring .basket-rim{animation:rimBounce .55s .72s}.basket-hoop.is-scoring .basket-net{animation:netSwish .75s .76s}@keyframes rimBounce{50%{transform:translateY(7px) scaleY(.82)}}@keyframes netSwish{35%{transform:skewX(14deg) scaleY(1.18)}70%{transform:skewX(-8deg) scaleY(.9)}}
.basket-balls{margin-top:-54px}.basket-flying-ball{left:42%;bottom:3%;z-index:10}.basket-flying-ball i{position:absolute;inset:-5px;border-radius:50%;background:linear-gradient(90deg,transparent 45%,#713525 46% 51%,transparent 52%),linear-gradient(20deg,transparent 45%,#713525 46% 51%,transparent 52%)}.basket-flying-ball b{position:relative;z-index:2}.basket-flying-ball.score{animation:basketScoreReal 1.35s cubic-bezier(.22,.65,.32,1) forwards}.basket-flying-ball.miss{animation:basketMissReal 1.15s cubic-bezier(.22,.65,.4,1) forwards}@keyframes basketScoreReal{0%{transform:translate(0,0) rotate(0) scale(1)}48%{transform:translate(42vw,-255px) rotate(480deg) scale(.82)}64%{transform:translate(45vw,-210px) rotate(600deg) scale(.72)}82%{transform:translate(45vw,-135px) rotate(760deg) scale(.62);opacity:1}100%{transform:translate(45vw,-65px) rotate(900deg) scale(.48);opacity:0}}@keyframes basketMissReal{0%{transform:translate(0,0) rotate(0)}52%{transform:translate(39vw,-250px) rotate(460deg)}64%{transform:translate(43vw,-205px) rotate(560deg)}100%{transform:translate(29vw,45px) rotate(900deg);opacity:0}}
.basket-score-message{inset:24% 38% auto 8%;padding:24px;background:#fff4ad;animation:scorePop .45s 1.02s both}.basket-finish{display:grid;place-items:center;width:min(850px,92vw);padding:55px;border:5px solid #fff;border-radius:40px;background:linear-gradient(145deg,#fff3af,#f8d9e6,#d9f0e5);box-shadow:0 10px 0 #c79aad}.basket-finish>span{font-size:7rem}.basket-finish h2{margin:10px 0!important}.basket-finish p{font-weight:900;color:#713a52}
@media(max-height:800px) and (min-width:800px){.basket-court{height:395px}.polycube-shape{grid-template-columns:repeat(5,53px);grid-auto-rows:53px}.polycube-card{top:15%;bottom:8%}.basket-hoop{height:68%}}@media(max-width:900px){.polycube-card{width:55%;left:2%;padding-inline:8px}.polycube-shape{grid-template-columns:repeat(5,42px);grid-auto-rows:42px}.basket-hoop{width:38%;right:0}@keyframes basketScoreReal{48%{transform:translate(35vw,-235px) rotate(480deg) scale(.8)}64%{transform:translate(39vw,-195px) rotate(600deg) scale(.7)}100%{transform:translate(39vw,-55px) rotate(900deg) scale(.45);opacity:0}}}

/* POLICUBOS 2D: CINCO FIGURAS CONECTADAS Y CONTABLES. */
.basket-wall,.basket-flying-ball{display:none!important}.polycube-card{top:8%;bottom:7%;background:#fffdf9}.polycube-card>strong{display:none}.polycube-shape{width:min(500px,100%);height:100%;display:grid;grid-template-columns:repeat(7,minmax(34px,58px));grid-template-rows:repeat(7,minmax(34px,58px));gap:2px;place-content:center}.polycube-block{width:100%;height:100%;transform:none;border:3px solid #685c24;border-radius:3px;background:#f2df45;box-shadow:inset 0 0 0 3px #fff37a}.polycube-block::before{inset:4px;border:0;border-radius:2px;background:linear-gradient(135deg,#fff99388,transparent 55%)}.polycube-block::after,.polycube-block i{display:none}
/* 3: ELE */
.polycube-shape .polycube-block:nth-child(1){grid-column:3;grid-row:3}.polycube-shape .polycube-block:nth-child(2){grid-column:3;grid-row:4}.polycube-shape .polycube-block:nth-child(3){grid-column:4;grid-row:4}
/* 6: PUENTE */
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(1){grid-column:2;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(2){grid-column:3;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(3){grid-column:4;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(4){grid-column:2;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(5){grid-column:2;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(6){grid-column:3;grid-row:4}
/* 9: FLOR */
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(1){grid-column:3;grid-row:1}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(2){grid-column:2;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(3){grid-column:3;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(4){grid-column:4;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(5){grid-column:3;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(6){grid-column:3;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(7){grid-column:2;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(8){grid-column:3;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(9){grid-column:4;grid-row:5}
/* 12: PERRO */
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(1){grid-column:2;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(2){grid-column:3;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(3){grid-column:4;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(4){grid-column:5;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(5){grid-column:6;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(6){grid-column:6;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(7){grid-column:7;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(8){grid-column:7;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(9){grid-column:2;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(10){grid-column:2;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(11){grid-column:5;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(12){grid-column:5;grid-row:5}
/* 15: JIRAFA */
.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(1){grid-column:2;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(2){grid-column:3;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(3){grid-column:4;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(4){grid-column:2;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(5){grid-column:3;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(6){grid-column:4;grid-row:5}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(7){grid-column:2;grid-row:6}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(8){grid-column:2;grid-row:7}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(9){grid-column:4;grid-row:6}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(10){grid-column:4;grid-row:7}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(11){grid-column:4;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(12){grid-column:4;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(13){grid-column:4;grid-row:1}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(14){grid-column:5;grid-row:1}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(15){grid-column:6;grid-row:1}
.basket-shot-clone{position:fixed;z-index:10000;display:grid;place-items:center;margin:0;padding:0;border:5px solid #713525;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffb04f,#e86e26 62%,#b94720);color:#fff;box-shadow:inset -9px -10px #a9401f,0 8px 0 #7e4d3e;font:900 clamp(2rem,4vw,3.5rem)/1 Nunito,sans-serif;text-shadow:0 3px #7a321e;pointer-events:none}.basket-shot-clone::before,.basket-shot-clone::after{content:'';position:absolute;inset:-10% 42%;border:4px solid #713525;border-radius:50%;transform:rotate(28deg)}.basket-shot-clone::after{inset:42% -10%;transform:rotate(-10deg)}.basket-shot-clone span{position:relative;z-index:2}
#projection-content:has(.basket-count-game .basket-score-message) .projection-footer{display:none}
@media(max-height:800px) and (min-width:800px){.polycube-shape{grid-template-columns:repeat(7,42px);grid-template-rows:repeat(7,42px)}}

/* ESCALA Y SILUETAS FINALES: LA FIGURA OCUPA EL PANEL, NO FLOTA EN ÉL. */
.polycube-card{left:3%;width:61%;padding:10px}.polycube-shape{width:100%;height:100%;grid-template-columns:repeat(7,72px);grid-template-rows:repeat(7,72px);gap:3px}.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))){grid-template-columns:repeat(5,100px);grid-template-rows:repeat(5,100px)}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))){grid-template-columns:repeat(6,86px);grid-template-rows:repeat(5,86px)}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){grid-template-columns:repeat(6,76px);grid-template-rows:repeat(6,76px)}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))){grid-template-columns:repeat(7,64px);grid-template-rows:repeat(6,64px)}.polycube-shape:has(.polycube-block:nth-child(15)){grid-template-columns:repeat(7,52px);grid-template-rows:repeat(7,52px)}
/* 6 CUBOS: PATO 2D */
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(1){grid-column:4;grid-row:2;background:radial-gradient(circle at 67% 34%,#40351c 0 5px,transparent 6px),#f2df45}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(2){grid-column:5;grid-row:2;background:#bc713a;box-shadow:inset 0 0 0 3px #dc9b60}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(3){grid-column:2;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(4){grid-column:3;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(5){grid-column:4;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(6){grid-column:3;grid-row:4;background:#bc713a;box-shadow:inset 0 0 0 3px #dc9b60}
/* DETALLES DE COLOR COMO EN LOS MODELOS DE POLICUBOS. */
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(3),.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(8){background:#bc713a;box-shadow:inset 0 0 0 3px #dc9b60}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(6),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(10),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(12){background:#bc713a;box-shadow:inset 0 0 0 3px #dc9b60}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(2),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(7),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(10),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(12),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(15){background:#9a653d;box-shadow:inset 0 0 0 3px #c48a5c}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(15)::before{background:radial-gradient(circle at 66% 38%,#241d18 0 4px,transparent 5px)}
@media(max-height:800px) and (min-width:800px){.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))){grid-template-columns:repeat(5,82px);grid-template-rows:repeat(5,82px)}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))){grid-template-columns:repeat(6,72px);grid-template-rows:repeat(5,72px)}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){grid-template-columns:repeat(6,63px);grid-template-rows:repeat(6,63px)}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))){grid-template-columns:repeat(7,54px);grid-template-rows:repeat(6,54px)}.polycube-shape:has(.polycube-block:nth-child(15)){grid-template-columns:repeat(7,45px);grid-template-rows:repeat(7,45px)}}

/* COMPOSICIÓN PDI: ANCHO COMPLETO, SIN SUBTÍTULOS NI PANELES QUE ROBEN ESPACIO. */
#projector .projection-main[data-game="cubos-canasta"]{width:100%;max-width:none;padding:5px 14px;justify-content:flex-start}.basket-count-game{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}.basket-count-game header{padding:3px 0 8px}.basket-count-game header>span{padding:4px 15px}.basket-count-game header p{display:none!important}#projector .basket-count-game header h2{margin:4px 0;font-size:clamp(2rem,3.2vw,3.25rem)}.basket-court{height:auto;min-height:0;border-radius:30px}.polycube-card{left:1%;top:1%;bottom:21%;width:66%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.polycube-card::before{content:'';position:absolute;z-index:-1;left:10%;right:8%;top:8%;bottom:5%;border-radius:50%;background:#fff8d977;filter:blur(2px)}.basket-hoop{right:1%;top:4%;width:33%;height:72%}.basket-balls{align-self:end;margin:-92px 0 0;grid-template-columns:repeat(4,minmax(0,150px));gap:clamp(22px,5vw,72px)}.basket-feedback{min-height:24px;margin:5px 0 0}
/* CADA SILUETA SE ESCALA CON EL ALTO REAL DE LA PDI. */
.polycube-shape{--cell:min(7dvh,60px);grid-template-columns:repeat(7,var(--cell))!important;grid-template-rows:repeat(7,var(--cell))!important;gap:3px}.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))){--cell:min(11dvh,96px)}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))){--cell:min(8.8dvh,78px)}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){--cell:min(7.2dvh,62px)}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))){--cell:min(6.5dvh,56px)}.polycube-shape:has(.polycube-block:nth-child(15)){--cell:min(5.8dvh,50px)}
/* FLOR DE NUEVE POLICUBOS: 5 PÉTALOS/CENTRO + 2 TALLO + 2 MACETA. */
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(1){grid-column:3;grid-row:1}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(2){grid-column:2;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(3){grid-column:3;grid-row:2;background:#a86a3d;box-shadow:inset 0 0 0 3px #d29a68}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(4){grid-column:4;grid-row:2}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(5){grid-column:3;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(6){grid-column:3;grid-row:4;background:#75a94e;box-shadow:inset 0 0 0 3px #a8d27b}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(7){grid-column:3;grid-row:5;background:#75a94e;box-shadow:inset 0 0 0 3px #a8d27b}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(8){grid-column:3;grid-row:6;background:#a86a3d;box-shadow:inset 0 0 0 3px #d29a68}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(9){grid-column:4;grid-row:6;background:#a86a3d;box-shadow:inset 0 0 0 3px #d29a68}
@media(max-height:720px) and (min-width:800px){.basket-count-game header{padding-bottom:3px}#projector .basket-count-game header h2{font-size:2.15rem}.basket-balls{margin-top:-72px}#projector .number-basketball{width:74px;height:74px;font-size:2.15rem}.polycube-card{bottom:20%}}

/* VERSIÓN LIMPIA: SIN CABECERA, SIN ÓVALO Y CON TODA LA ALTURA PARA JUGAR. */
.basket-count-game{grid-template-rows:minmax(0,1fr) auto auto}.basket-count-game>header{display:none}.basket-court{height:100%;min-height:0}.polycube-card{top:0;bottom:18%;width:67%;overflow:visible}.polycube-card::before{display:none}.basket-hoop{top:2%;height:76%}.basket-balls{margin-top:-94px}.basket-feedback{min-height:20px;font-size:.82rem}
/* 9 CUBOS: PÁJARO LATERAL, GRANDE Y LEGIBLE. */
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){--cell:min(9.2dvh,78px)}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(1){grid-column:1;grid-row:3;background:#a86a3d;box-shadow:inset 0 0 0 3px #d29a68}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(2){grid-column:2;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(3){grid-column:3;grid-row:3;background:#f2df45;box-shadow:inset 0 0 0 3px #fff37a}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(4){grid-column:4;grid-row:3}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(5){grid-column:2;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(6){grid-column:3;grid-row:4}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(7){grid-column:4;grid-row:2;background:radial-gradient(circle at 68% 34%,#30251c 0 5px,transparent 6px),#f2df45;box-shadow:inset 0 0 0 3px #fff37a}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(8){grid-column:5;grid-row:2;background:#e58b37;box-shadow:inset 0 0 0 3px #ffc269}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(9){grid-column:3;grid-row:5;background:#e58b37;box-shadow:inset 0 0 0 3px #ffc269}
@media(max-height:720px) and (min-width:800px){.basket-balls{margin-top:-78px}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){--cell:min(8.4dvh,66px)}}

/* SILUETAS PROFESIONALES: GRANDES, HORIZONTALES Y RECONOCIBLES A DISTANCIA. */
.basket-court{background:linear-gradient(180deg,#f8e7be 0 77%,#d88d4e 77%)}
.basket-court::after{display:none}
.polycube-card{left:0;top:0;bottom:16%;width:68%;padding:0 1.5%}
.polycube-shape{width:100%;height:100%;grid-template-columns:repeat(8,var(--cell))!important;grid-template-rows:repeat(5,var(--cell))!important;place-content:center;gap:5px}
.polycube-block{border-width:4px;border-color:#584721;border-radius:7px;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-block::before{inset:7px;background:linear-gradient(135deg,#fffbd0a8,transparent 58%)}

/* 3 CUBOS · ORUGA: TRES CUERPOS EN FILA Y CARA. */
.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))){--cell:min(14dvh,8vw,124px)}
.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))) .polycube-block:nth-child(1){grid-column:3;grid-row:3;background:#83c95d;box-shadow:inset 0 0 0 4px #b8e88f,0 5px 0 #4f8f3f}
.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))) .polycube-block:nth-child(2){grid-column:4;grid-row:3;background:#f5d84c}
.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))) .polycube-block:nth-child(3){grid-column:5;grid-row:3;background:radial-gradient(circle at 35% 38%,#33261d 0 6px,transparent 7px),radial-gradient(circle at 70% 38%,#33261d 0 6px,transparent 7px),#f29b54;box-shadow:inset 0 0 0 4px #ffc987,0 5px 0 #ad6337}

/* 6 CUBOS · PATO DE PERFIL. */
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))){--cell:min(13dvh,7.5vw,112px)}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(1){grid-column:5;grid-row:2;background:radial-gradient(circle at 66% 35%,#2d261b 0 6px,transparent 7px),#f4dc47;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(2){grid-column:6;grid-row:2;background:#ef8c3c;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a8512d}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(3){grid-column:2;grid-row:3;background:#f4dc47;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(4){grid-column:3;grid-row:3;background:#f4dc47;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(5){grid-column:4;grid-row:3;background:#f4dc47;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))) .polycube-block:nth-child(6){grid-column:3;grid-row:4;background:#ef8c3c;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a8512d}

/* 9 CUBOS · PÁJARO: COLA, CUERPO, ALA, CABEZA, PICO Y PATA. */
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){--cell:min(13dvh,7.2vw,108px)}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(1){grid-column:2;grid-row:3;background:#4a9bba;box-shadow:inset 0 0 0 4px #83cfe0,0 5px 0 #29677d}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(2){grid-column:3;grid-row:3;background:#f2d94b;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(3){grid-column:4;grid-row:3;background:#f2d94b;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(4){grid-column:5;grid-row:3;background:#f2d94b;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(5){grid-column:3;grid-row:4;background:#ef765b;box-shadow:inset 0 0 0 4px #ffa18d,0 5px 0 #a64639}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(6){grid-column:4;grid-row:4;background:#ef765b;box-shadow:inset 0 0 0 4px #ffa18d,0 5px 0 #a64639}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(7){grid-column:5;grid-row:2;background:radial-gradient(circle at 68% 34%,#30251c 0 6px,transparent 7px),#f2d94b;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(8){grid-column:6;grid-row:2;background:#ef8c3c;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a8512d}
.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))) .polycube-block:nth-child(9){grid-column:4;grid-row:5;background:#ef8c3c;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a8512d}

/* 12 CUBOS · PEZ: COLA AZUL, CUERPO NARANJA Y OJO. */
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))){--cell:min(11.5dvh,6.3vw,94px)}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(1){grid-column:2;grid-row:3;background:#57a8c7;box-shadow:inset 0 0 0 4px #8bd7e7,0 5px 0 #306d85}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(2){grid-column:3;grid-row:3;background:#57a8c7;box-shadow:inset 0 0 0 4px #8bd7e7,0 5px 0 #306d85}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(3){grid-column:4;grid-row:3;background:#ef8a50;box-shadow:inset 0 0 0 4px #ffc08c,0 5px 0 #a55037}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(4){grid-column:5;grid-row:3;background:#ef8a50;box-shadow:inset 0 0 0 4px #ffc08c,0 5px 0 #a55037}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(5){grid-column:6;grid-row:3;background:radial-gradient(circle at 70% 34%,#30251c 0 6px,transparent 7px),#ef8a50;box-shadow:inset 0 0 0 4px #ffc08c,0 5px 0 #a55037}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(6){grid-column:3;grid-row:2;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(7){grid-column:4;grid-row:2;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(8){grid-column:5;grid-row:2;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(9){grid-column:3;grid-row:4;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(10){grid-column:4;grid-row:4;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(11){grid-column:5;grid-row:4;background:#f6ce4a}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(12){grid-column:2;grid-row:4;background:#57a8c7;box-shadow:inset 0 0 0 4px #8bd7e7,0 5px 0 #306d85}

/* 15 CUBOS · TREN: MÁQUINA HORIZONTAL CON CABINA, CHIMENEA Y RUEDAS. */
.polycube-shape:has(.polycube-block:nth-child(15)){--cell:min(9.5dvh,5.5vw,82px)}
.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(1){grid-column:1;grid-row:3;background:#e85d58}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(2){grid-column:2;grid-row:3;background:#e85d58}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(3){grid-column:3;grid-row:3;background:#e85d58}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(4){grid-column:4;grid-row:3;background:#e85d58}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(5){grid-column:5;grid-row:3;background:#e85d58}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(6){grid-column:6;grid-row:3;background:#4a9bba}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(7){grid-column:7;grid-row:3;background:#4a9bba}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(8){grid-column:5;grid-row:2;background:#efc448}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(9){grid-column:6;grid-row:2;background:#4a9bba}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(10){grid-column:7;grid-row:2;background:radial-gradient(circle at 67% 35%,#fff 0 13px,#315d77 14px 18px,transparent 19px),#4a9bba}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(11){grid-column:5;grid-row:1;background:#efc448}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(12){grid-column:6;grid-row:1;background:#efc448}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(13){grid-column:7;grid-row:1;background:#efc448}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(14){grid-column:2;grid-row:4;border-radius:50%;background:#71485d;box-shadow:inset 0 0 0 7px #d9a9c1,0 5px 0 #4b2d3e}.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(15){grid-column:6;grid-row:4;border-radius:50%;background:#71485d;box-shadow:inset 0 0 0 7px #d9a9c1,0 5px 0 #4b2d3e}
/* Sombras coherentes: los colores describen partes del dibujo, no piezas al azar. */
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(6),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(7),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(8),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(9),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(10),.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(11){box-shadow:inset 0 0 0 4px #fff08a,0 5px 0 #9c7b29}
.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))) .polycube-block:nth-child(12){box-shadow:inset 0 0 0 4px #8bd7e7,0 5px 0 #306d85}
.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(-n+5){box-shadow:inset 0 0 0 4px #ff9990,0 5px 0 #9d3835}
.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(6),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(7),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(9),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(10){box-shadow:inset 0 0 0 4px #82d0df,0 5px 0 #286a80}
.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(8),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(11),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(12),.polycube-shape:has(.polycube-block:nth-child(15)) .polycube-block:nth-child(13){box-shadow:inset 0 0 0 4px #ffe987,0 5px 0 #9b7728}

@media(max-height:720px) and (min-width:800px){.polycube-shape:has(.polycube-block:nth-child(3)):not(:has(.polycube-block:nth-child(6))){--cell:min(13dvh,108px)}.polycube-shape:has(.polycube-block:nth-child(6)):not(:has(.polycube-block:nth-child(9))){--cell:min(11.5dvh,92px)}.polycube-shape:has(.polycube-block:nth-child(9)):not(:has(.polycube-block:nth-child(12))){--cell:min(11.5dvh,92px)}.polycube-shape:has(.polycube-block:nth-child(12)):not(:has(.polycube-block:nth-child(15))){--cell:min(10dvh,80px)}.polycube-shape:has(.polycube-block:nth-child(15)){--cell:min(8.3dvh,68px)}}

/* PALETA SEMÁNTICA DEL BANCO ALEATORIO DE POLICUBOS. */
.polycube-shape[data-figure] .cube-yellow{background:#f2d94b!important;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e!important}
.polycube-shape[data-figure] .cube-green{background:#69b957!important;box-shadow:inset 0 0 0 4px #a9df8b,0 5px 0 #3e7f37!important}
.polycube-shape[data-figure] .cube-lime{background:#9dd65d!important;box-shadow:inset 0 0 0 4px #cff19d,0 5px 0 #648f36!important}
.polycube-shape[data-figure] .cube-blue{background:#49a2c1!important;box-shadow:inset 0 0 0 4px #83d3e2,0 5px 0 #2c6b82!important}
.polycube-shape[data-figure] .cube-aqua{background:#63c5c0!important;box-shadow:inset 0 0 0 4px #a2e8de,0 5px 0 #387f7b!important}
.polycube-shape[data-figure] .cube-red{background:#e75f5c!important;box-shadow:inset 0 0 0 4px #ff9c94,0 5px 0 #983a39!important}
.polycube-shape[data-figure] .cube-orange{background:#ee8a3d!important;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a6512d!important}
.polycube-shape[data-figure] .cube-pink{background:#ed78aa!important;box-shadow:inset 0 0 0 4px #ffb2d0,0 5px 0 #a84170!important}
.polycube-shape[data-figure] .cube-purple{background:#9867c6!important;box-shadow:inset 0 0 0 4px #c9a4e9,0 5px 0 #624385!important}
.polycube-shape[data-figure] .cube-flame{background:#f06d3f!important;box-shadow:inset 0 0 0 4px #ffaf72,0 5px 0 #a44029!important}
.polycube-shape[data-figure] .cube-wheel{border-radius:50%!important;background:#634357!important;box-shadow:inset 0 0 0 8px #cda1b8,0 5px 0 #412b39!important}
.polycube-shape[data-figure] .cube-window{background:radial-gradient(circle at 50% 47%,#e9fbff 0 24%,#37758f 26% 34%,transparent 36%),#4a9fbd!important;box-shadow:inset 0 0 0 4px #83d3e2,0 5px 0 #2c6b82!important}
.polycube-shape[data-figure] .cube-eye-yellow{background:radial-gradient(circle at 68% 35%,#2d261b 0 7px,#fff 8px 12px,transparent 13px),#f2d94b!important;box-shadow:inset 0 0 0 4px #fff58b,0 5px 0 #9c812e!important}
.polycube-shape[data-figure] .cube-eye-orange{background:radial-gradient(circle at 68% 35%,#2d261b 0 7px,#fff 8px 12px,transparent 13px),#ee8a3d!important;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a6512d!important}
.polycube-shape[data-figure] .cube-eye-lime{background:radial-gradient(circle at 68% 35%,#2d261b 0 7px,#fff 8px 12px,transparent 13px),#9dd65d!important;box-shadow:inset 0 0 0 4px #cff19d,0 5px 0 #648f36!important}
.polycube-shape[data-figure] .cube-eye-blue{background:radial-gradient(circle at 68% 35%,#2d261b 0 7px,#fff 8px 12px,transparent 13px),#49a2c1!important;box-shadow:inset 0 0 0 4px #83d3e2,0 5px 0 #2c6b82!important}
.polycube-shape[data-figure] .cube-face-orange{background:radial-gradient(circle at 34% 36%,#2d261b 0 6px,#fff 7px 10px,transparent 11px),radial-gradient(circle at 70% 36%,#2d261b 0 6px,#fff 7px 10px,transparent 11px),#ee8a3d!important;box-shadow:inset 0 0 0 4px #ffc06d,0 5px 0 #a6512d!important}
.polycube-shape[data-figure] .cube-face-lime{background:radial-gradient(circle at 68% 35%,#2d261b 0 7px,#fff 8px 12px,transparent 13px),#9dd65d!important;box-shadow:inset 0 0 0 4px #cff19d,0 5px 0 #648f36!important}
/* Cada cantidad usa una escala alta; las figuras anchas aprovechan el panel completo. */
.polycube-shape[data-figure="oruga"],.polycube-shape[data-figure="cohete"]{--cell:min(14dvh,8vw,124px)}
.polycube-shape[data-figure="pato"],.polycube-shape[data-figure="tortuga"]{--cell:min(13dvh,7.5vw,112px)}
.polycube-shape[data-figure="pajaro"],.polycube-shape[data-figure="pez"]{--cell:min(12.5dvh,7vw,104px)}
.polycube-shape[data-figure="camion"],.polycube-shape[data-figure="mariposa"]{--cell:min(11.5dvh,6.3vw,94px)}
.polycube-shape[data-figure="tren"],.polycube-shape[data-figure="dinosaurio"]{--cell:min(9.5dvh,5.5vw,82px)}

/* SELECTOR DE DIFICULTAD: TRES TARJETAS GRANDES PARA ELEGIR DESDE LA PDI. */
.basket-level-picker{display:grid;place-items:center;align-content:center;width:min(1100px,94vw);height:100%;min-height:520px;padding:clamp(28px,5vw,64px);border:6px solid #fff;border-radius:42px;background:linear-gradient(145deg,#fff8d9,#f9dfeb 52%,#dff3ed);box-shadow:0 10px 0 #c58da6,0 20px 45px #57374725;text-align:center}
.basket-level-ball{display:grid;place-items:center;width:clamp(92px,10vw,132px);aspect-ratio:1;margin-bottom:12px;border-radius:50%;background:#fff5dc;font-size:clamp(4rem,7vw,6rem);box-shadow:0 8px 0 #e7bd91}
#projector .basket-level-picker h2{margin:6px 0 clamp(24px,4vh,42px);font-size:clamp(2.3rem,4.2vw,4rem);color:#702f4e}
.basket-level-options{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:clamp(18px,2.5vw,32px);width:100%}
.basket-level-options button{position:relative;display:grid;place-items:center;min-height:220px;padding:28px 18px;border:4px solid #713552;border-radius:30px;background:#fff;color:#713552;box-shadow:0 8px 0 #b77994;cursor:pointer;transition:transform .18s,box-shadow .18s}
.basket-level-options button:nth-child(1){background:#e5f5d2}.basket-level-options button:nth-child(2){background:#fff0b9}.basket-level-options button:nth-child(3){background:#f8dce9}
.basket-level-options button:hover,.basket-level-options button:focus-visible{transform:translateY(-7px);box-shadow:0 15px 0 #b77994;outline:5px solid #fff}
.basket-level-options strong{font:1000 clamp(1.65rem,3vw,2.6rem)/1 Nunito,sans-serif}.basket-level-options span{margin-top:13px;font:900 clamp(1rem,1.7vw,1.35rem)/1 Nunito,sans-serif;letter-spacing:.08em}.basket-level-options small{margin-top:22px;font-size:3rem}
@media(max-width:800px){.basket-level-picker{min-height:0;padding:22px}.basket-level-options{grid-template-columns:1fr}.basket-level-options button{min-height:105px;grid-template-columns:1fr auto;column-gap:18px}.basket-level-options span{margin-top:6px}.basket-level-options small{grid-column:2;grid-row:1/3;margin:0}}

/* Photos sit inside a circular porthole; transparent illustrations keep their silhouette. */
#projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-art.pdi-word-picture-photo{
  aspect-ratio:1;height:auto;overflow:hidden;border-radius:50%;
  border:4px solid #fff9;background:#f9f3ff;
  box-shadow:0 0 0 5px #ffffff24,0 10px 20px #20105250;
}
#projector .projection-main[data-game="palabra-imagen"] .pdi-word-picture-photo img{
  display:block;width:100%;height:100%;aspect-ratio:1;border-radius:50%;
  object-fit:cover;object-position:center 55%;filter:none;
}
.pdi-word-picture-winner img.pdi-word-picture-photo{
  aspect-ratio:1;border-radius:50%;object-fit:cover;object-position:center 55%;
}

