/* Compact classroom navigation; large type is reserved for the activity. */
.compact-worlds,.skills-hub,.compact-special{margin:24px 0}.compact-worlds h2,.skills-hub h2,.compact-special h2{font-size:1.4rem;margin:0 0 14px}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.skill-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.skill-links details{background:white;border:1px solid #e6dce0;border-radius:14px;padding:14px}.skill-links summary{display:grid;gap:5px;cursor:pointer}.skill-links summary b{color:#a43c60;font-size:1.45rem}.skill-links summary small{font-size:.875rem}.skill-links details>div{display:grid;gap:8px;margin-top:12px}.world-game-picker{display:flex;align-items:end;flex-wrap:wrap;gap:8px;padding:14px 0}.world-game-picker label{display:grid;gap:4px}.world-game-picker select{min-height:44px}.compact-special .pdi-special-grid{grid-template-columns:repeat(4,1fr);gap:10px}.special-choice{background:white;border:1px solid #e1d9dc;border-radius:14px}.special-choice summary,.special-choice-heading{display:flex;align-items:center;gap:8px;padding:16px}.special-choice summary{cursor:pointer}.special-choice summary span,.special-choice-heading span{font-size:1.7rem}.special-choice>div{padding:0 12px 12px;display:grid;gap:8px}.special-choice-expanded>.special-choice-heading{padding-bottom:10px}.special-choice-expanded>div:last-child{padding-top:0}.special-choice:nth-child(1){background:#fff4e4}.special-choice:nth-child(2){background:#edf8ef}.special-choice:nth-child(3){background:#eefbf3}.pdi-later{margin:20px 0;padding:15px;border:1px dashed #d1bac3;border-radius:12px}.pdi-later summary{cursor:pointer;font-weight:700}.pdi-later label{display:grid;gap:8px;margin:12px 0}.pdi-teacher-tools{margin:16px 0}.pdi-teacher-tools>summary{cursor:pointer}.week-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.week-grid details{border:1px solid #ccdcd4;border-radius:14px;background:white;padding:16px}.week-grid summary{display:grid;gap:7px;cursor:pointer}.week-grid summary span{font-size:.85rem;color:#256d55;font-weight:800}.week-grid details>div{display:grid;gap:8px;margin-top:12px}.species-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.species-picker button{background:white;color:#323a35;border:1px solid #d4dfd8;display:grid;justify-items:center;padding:12px}.species-picker img{width:100%;height:110px;object-fit:contain}.species-picker strong{font-size:.9rem}.species-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.species-tabs button{font-size:.85rem!important;min-height:40px}.landscape-dino{width:100%;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:22px;text-align:left}.landscape-dino figure{margin:0;min-width:0}.landscape-dino figure img{width:100%;height:clamp(260px,40vh,480px);object-fit:contain}.landscape-dino h2{font-size:clamp(1.8rem,3.4vw,2.8rem)!important}.landscape-dino p{font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.5}.fact-buttons{display:flex;gap:10px;flex-wrap:wrap}.revealed-fact{min-height:90px;background:#fff;border-radius:12px;padding:16px}.lesson-position{font-size:1rem;font-weight:800;color:#246446;margin-bottom:12px}.lesson-prompt{font-weight:800;color:#256b49}.projection-main[data-theme="Dinosaurios"]{background:#eef8ef;border-bottom:7px solid #4a8462}.projection-main[data-theme="Halloween"]{background:#fff0de;border-bottom:7px solid #a95d16}.projection-main[data-theme="Navidad"]{background:#edf8ef;border-bottom:7px solid #bd484d}.projection-main[data-theme="Andalucía"]{background:linear-gradient(#fff 80%,#e5f4e9);border-top:12px solid #07834d;border-bottom:12px solid #07834d}.projection-main[data-theme="Océano"]{background:#eaf8ff;border-bottom:7px solid #2084ad}.projection-main[data-theme="Espacio"]{background:#f0edff;border-bottom:7px solid #6254b4}.projection-main[data-theme="Kusama"]{background:#fff5d6;border-bottom:7px dotted #d6474e}.projection-main:not([data-game="asistencia"]):not([data-game="calendario"]):not([data-game="encargado"]):not([data-game="numero"]):not([data-game="letra"]):not([data-game="estacion"]):not([data-game="tiempo"]):not([data-game="emociones"]){padding:22px 34px}.theme-collection,.theme-sequence{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:22px auto;max-width:920px}.classroom-symbol{font-size:clamp(3.2rem,6vw,5.5rem);display:inline-flex;align-items:center;justify-content:center;min-width:70px}.classroom-dot{display:inline-block;width:74px;height:74px;border:2px solid #46514c;border-radius:50%;box-sizing:border-box}.theme-sequence>b{font-size:3rem}.memory-card .classroom-symbol{font-size:clamp(2.2rem,5vw,4.2rem)}.movement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.movement-grid article,.song-originals article{padding:20px;border:1px solid #e2dce4;border-radius:16px;background:white;display:flex;flex-direction:column;align-items:start;gap:10px}.movement-grid article>span{font-size:2.5rem}.movement-grid h2,.song-originals h2{font-size:1.3rem;margin:0}.movement-grid button{margin-top:auto}.movement-symbol{font-size:6rem;margin:16px}.movement-note{font-size:1.1rem!important;max-width:750px}.alphabet-workspace{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.alphabet-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.alphabet-grid>div{display:grid;gap:5px}.alphabet-grid button{background:#fff4f8;color:#703247;border:1px solid #dab4c3;font-size:1.8rem}.alphabet-grid button.active{background:#963852;color:white}.alphabet-grid label{font-size:.8rem;display:flex;align-items:center;gap:4px}.alphabet-grid input{width:18px;height:18px}.alphabet-workspace figure{margin:0;text-align:center}.alphabet-workspace figure img{width:100%;max-height:500px;object-fit:contain}.alphabet-workspace figcaption{font-size:.875rem}.song-originals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.song-originals article>span{font-size:2rem;color:#a33e63}.embedded-song{height:75vh;padding:20px}.embedded-song iframe{width:100%;height:100%;border:0}.pdi-celebration{position:relative;overflow:hidden}.mini-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.mini-confetti i{position:absolute;left:calc(var(--x)*1%);top:-18px;width:var(--s);height:calc(var(--s)*1.55);background:#e35785;border-radius:2px;animation:classroom-confetti 1.55s ease-out both;animation-delay:calc(var(--d)*.045s)}.mini-confetti i:nth-child(3n){background:#f5c83b}.mini-confetti i:nth-child(3n + 1){background:#38a785}@keyframes classroom-confetti{0%{transform:translateY(-10px) rotate(0deg) scale(.85);opacity:0}12%{opacity:1}100%{transform:translateY(360px) rotate(620deg) scale(1.05);opacity:0}}@media(prefers-reduced-motion:reduce){.mini-confetti{display:none}}@media(max-width:900px){.attendance-scene-banner{width:min(500px,94%)}.skill-links,.compact-special .pdi-special-grid,.movement-grid,.song-originals{grid-template-columns:repeat(2,1fr)}.week-grid{grid-template-columns:repeat(2,1fr)}.species-picker{grid-template-columns:repeat(3,1fr)}.alphabet-grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:600px){.world-grid,.alphabet-workspace,.landscape-dino{grid-template-columns:1fr}.week-grid{grid-template-columns:1fr}.landscape-dino figure img{height:230px}.projection-main{padding:16px!important}.alphabet-grid{grid-template-columns:repeat(5,1fr)}.species-picker{grid-template-columns:repeat(2,1fr)}.compact-special .pdi-special-grid{grid-template-columns:repeat(2,1fr)}.special-choice summary,.special-choice-heading{padding:12px;font-size:.9rem}.classroom-dot{width:48px;height:48px}.theme-sequence{gap:8px}.song-originals{grid-template-columns:1fr}}

.print-aids{margin:28px 0;padding:18px;border:1px solid #dbcbd1;border-radius:16px}.print-aids summary{font-size:1.15rem;font-weight:800;cursor:pointer}
/* Daily tools stay visible; the complete catalogue remains a secondary choice. */
.pdi-quick-nav{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 18px}.pdi-quick-nav a{padding:11px 17px;border:1px solid #dccfc4;border-radius:12px;background:#fffaf4;text-decoration:none;font-weight:800;color:#513b43}.pdi-quick-nav a.active{background:#96395c;color:#fff;border-color:#96395c}.pdi-games-browser{margin-top:18px}.pdi-page-section{margin-top:18px}#pdi-sesion{scroll-margin-top:20px}.session-panel{margin:20px 0;padding:20px 24px;border:2px solid #d9a3b7;background:#fff8fc}.session-panel h2{font-size:24px}.session-panel .session-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.session-panel .hint{margin:8px 0 14px}.pdi-teacher-tools{margin:16px 0 25px}.skills-hub{margin:20px 0}.skill-links details{border:1px solid #ded6cd;box-shadow:none}.skill-links summary{min-height:100px}.skill-links details>div{display:grid;gap:8px}.resource-group{margin-bottom:36px}.resource-group>h2{border-top:1px solid #e0d9d1;padding-top:22px}.song-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,380px));gap:24px}.song-card{background:#fff;border:1px solid #eadbdc;border-radius:20px;padding:14px}.song-card h2{font-size:22px;margin:16px 0}.song-cover{position:relative;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#efe2de}.song-cover img{width:100%;height:100%;object-fit:cover}.song-cover span{position:absolute;inset:40% auto auto 43%;background:#ad365f;color:white;border-radius:50%;width:48px;height:48px;display:grid;place-items:center}.song-add{max-width:620px;margin-top:24px}.song-add label{display:block;margin:15px 0}.song-add input{width:100%;margin-top:7px}
/* PDI navigation uses the same cream and sage treatment as the sidebar. */
.pdi-quick-nav.pdi-section-nav {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));
  gap:10px;
}
.pdi-section-nav a,.pdi-games-browser .pdi-filter-chips .chip {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:62px;
  padding:8px 12px;
  border:1px solid #e8dac8;
  border-radius:16px;
  background:#fffdf9;
  color:#203467;
  font:700 .95rem/1.2 'DM Sans',sans-serif;
  text-decoration:none;
  white-space:normal;
}
.pdi-tab-icon {
  flex:none;
  width:38px;
  height:38px;
  object-fit:contain;
}
.pdi-section-nav a:hover,.pdi-games-browser .pdi-filter-chips .chip:hover { background:#f7efdf; }
.pdi-section-nav a.active,.pdi-games-browser .pdi-filter-chips .chip[aria-pressed="true"] {
  border-color:#c6d3ad;
  background:#e8efd9;
  color:#203467;
}
.pdi-games-browser .pdi-filter-chips {
  gap:8px;
  margin:0 0 20px;
  padding-bottom:14px;
  border-bottom:1px solid #e3d7c9;
}
.pdi-games-browser .pdi-filter-chips .chip { min-height:46px; }
.pdi-filter-chips .pdi-tab-icon { width:25px; height:25px; }

.pdi-catalog-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));
  gap:14px;
}
.pdi-catalog-grid .pdi-catalog-card {
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  padding:7px;
  border:1px solid #e8dac8;
  border-radius:17px;
  background:#fffdf9;
  box-shadow:0 3px 10px #4d382311;
  color:#203467;
  text-align:left;
  white-space:normal;
  overflow:hidden;
}
.pdi-catalog-grid .pdi-catalog-card:hover {
  border-color:#a6b786;
  background:#f6f8ed;
  box-shadow:0 6px 16px #4d38231c;
}
.pdi-catalog-card > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:11px;
  background:#f2eadf;
}
.pdi-catalog-caption {
  display:flex;
  flex:1;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  min-height:52px;
  padding:8px 6px 3px 9px;
  font:700 1rem/1.22 'DM Sans',sans-serif;
}
.pdi-catalog-caption > span {
  display:grid;
  place-items:center;
  flex:none;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#e8efd9;
  color:#3d603f;
  font-size:.73rem;
}
.pdi-section-nav a:focus-visible,.pdi-filter-chips .chip:focus-visible,
.pdi-catalog-card:focus-visible { outline:3px solid #536a41; outline-offset:2px; }

@media (max-width:540px) {
  .pdi-quick-nav.pdi-section-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .pdi-section-nav a { min-height:54px; padding:6px 8px; font-size:.85rem; }
  .pdi-section-nav .pdi-tab-icon { width:30px; height:30px; }
}

/* Illustrated PDI: image space is separate from readable text. */
.projection-main:has(.storyboard){padding:18px 24px;justify-content:flex-start;gap:12px}.storyboard{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:24px;align-items:center;width:100%;max-width:1360px;margin:auto}.illustrated-scene{margin:0;overflow:hidden;border-radius:20px;background:#eee4d5}.illustrated-scene>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.illustrated-scene figcaption{font-size:15px;padding:8px}.story-caption{text-align:left}.projection-main .story-caption h2{font-size:clamp(23px,2.4vw,37px);line-height:1.17;margin:0 0 16px}.projection-main .story-caption p{font-size:clamp(20px,1.9vw,29px);line-height:1.48;max-width:none;margin:0}.story-caption .choice-grid{gap:10px;margin-top:20px;grid-template-columns:1fr 1fr}.story-caption .choice{font-size:22px;min-height:70px;padding:12px}.story-caption .feedback{font-size:20px;min-height:0}.story-caption .celebration{padding:12px}.lesson-position{font-size:15px;letter-spacing:.06em;display:flex;gap:18px;flex-wrap:wrap;align-items:center;width:100%;max-width:1360px}.lesson-position span{margin-left:auto}.lesson-dots{display:flex;gap:8px;margin-top:8px}.lesson-dots button{min-width:44px}.dino-compare{display:flex;align-items:center;justify-content:center;gap:12px;background:#f0eadb;border-radius:20px;padding:20px}.dino-compare figure{margin:0;width:48%;text-align:center}.dino-compare img{width:100%;height:auto;object-fit:contain}.dino-compare figcaption{font-size:23px;font-weight:800}.covered-dinos{display:flex;gap:20px;padding:40px;background:#efe3d3;border-radius:20px}.covered-dinos span{display:grid;place-items:center;font-size:100px;width:45%;height:240px;background:#ce9a76;border-radius:14px;color:#fff}.routine-scene-banner{width:100%;max-width:1180px;height:175px;border-radius:20px;overflow:hidden;margin-bottom:12px}.routine-scene-banner img{width:100%;height:100%;object-fit:cover;object-position:center 55%}.attendance-scene-banner{width:min(560px,92%);height:auto;aspect-ratio:612/467;margin:0 auto 10px;background:#fff7e8}.attendance-scene-banner img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.projection-main.classroom-scene{gap:10px;padding-top:18px}.classroom-scene .prompt-symbol{display:none}.classroom-scene h2{font-size:36px;margin:8px}.classroom-scene>p{font-size:22px}.classroom-scene .attendance-roster{gap:10px}.classroom-scene .attendance-name{min-height:52px;font-size:22px}.classroom-scene .duty-grid{margin-top:4px}.classroom-scene .duty-card{padding:16px}.classroom-scene .duty-card>span{font-size:30px}.classroom-scene .duty-card h3{font-size:24px;margin:8px}.classroom-scene .duty-card select{font-size:23px}.weather-scene{position:relative;width:min(850px,100%);aspect-ratio:16/5;max-height:250px;background-image:url('assets/scenes/weather-atlas.webp');background-size:200% 200%;border-radius:20px;overflow:hidden}.weather-scene strong{position:absolute;bottom:14px;left:20px;background:#fffef3e8;padding:8px 20px;border-radius:12px;font-size:28px;color:#354954}.weather-routine{gap:12px!important;padding-top:18px!important}.weather-routine h2{font-size:36px;margin:4px}.weather-routine .emotion-choices{width:100%;max-width:1050px;grid-template-columns:repeat(6,1fr);gap:10px}.weather-routine .choice{font-size:22px;min-height:90px;padding:12px}.weather-routine .choice span{font-size:40px}.weather-routine .feedback{font-size:23px}.snowing:after{content:'❄   ❄      ❄   ❄';position:absolute;inset:0;font-size:50px;color:white;letter-spacing:30px;pointer-events:none;animation:snow-fall 5s linear infinite}.monster-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;width:min(1200px,100%)}.monster-choice{padding:10px 8px;background:#fffaf1;border:2px solid #e8dac5;border-radius:20px;color:#49394c;min-width:0}.monster-choice strong{font-size:21px;display:block}.emotion-monster{display:block;aspect-ratio:1;width:100%;background-image:url('assets/scenes/monsters-atlas.webp');background-size:300% 200%;border-radius:20px;animation:monster-breathe 3.5s ease-in-out infinite;transform-origin:bottom center}.monster-0{background-position:0 0}.monster-1{background-position:50% 0;animation-delay:.3s}.monster-2{background-position:100% 0;animation-delay:.6s}.monster-3{background-position:0 100%;animation-delay:.9s}.monster-4{background-position:50% 100%;animation-delay:1.2s}.monster-5{background-position:100% 100%;animation-delay:1.5s}.monster-choice.correct{border-color:#7c9270;background:#ebf3e8}.emotion-skip{display:flex;gap:14px;margin-top:20px}.andalucia-flag{width:240px;aspect-ratio:3/2;display:grid;grid-template-rows:repeat(3,1fr);border:2px solid #3c5844;border-radius:4px;overflow:hidden;margin:18px 0}.andalucia-flag i{background:#07834d}.andalucia-flag i:nth-child(2){background:#fff}.andalucia-flag b{text-align:center;font-size:32px;background:#f0e8cf}.story-caption .classroom-dot{width:36px;height:36px;vertical-align:middle;margin-right:6px}
@keyframes monster-breathe{50%{transform:translateY(-5px) rotate(1.5deg)}}@keyframes snow-fall{from{transform:translateY(-60px)}to{transform:translateY(250px)}}
@media(max-width:900px){.attendance-scene-banner{width:min(500px,94%)}.storyboard{grid-template-columns:1fr}.illustrated-scene>img{max-height:300px;object-fit:cover}.story-caption{text-align:center}.projection-main .story-caption p{font-size:22px}.monster-grid{grid-template-columns:repeat(3,1fr);max-width:680px}.emotion-monster{max-width:140px;margin:auto}.weather-routine .emotion-choices{grid-template-columns:repeat(3,1fr)}.routine-scene-banner{height:130px}.dino-compare img{max-height:210px}.andalucia-flag{margin:18px auto}}@media(prefers-reduced-motion:reduce){.emotion-monster,.snowing:after{animation:none}}
.projection-main .monster-choice{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.projection-main .monster-choice .emotion-monster{width:140px;max-width:100%;height:auto;min-height:110px;flex:none}.projection-main[data-game="emociones"] h2{font-size:clamp(30px,3.2vw,44px)}.projection-main[data-game="emociones"]>p{font-size:24px}.projection-main[data-game="emociones"]{min-height:0;flex:1;gap:18px;padding:30px 24px}
.weather-scene{width:min(640px,100%);aspect-ratio:16/9;max-height:none}.skill-game-row{display:flex;flex-direction:column;gap:3px;border-bottom:1px solid #e8ded5;padding-bottom:10px}.skill-game-row:last-child{border-bottom:0}.skill-game-row>.quiet{align-self:center}

/* Abecedario: compacto y plegado por defecto en Lenguaje. */
.alphabet-panel{margin:0 0 20px;padding:0;overflow:hidden}
.alphabet-summary{display:flex;align-items:center;gap:14px;padding:18px 22px;cursor:pointer;list-style:none}
.alphabet-summary::-webkit-details-marker{display:none}
.alphabet-summary>span{display:grid;gap:3px}
.alphabet-summary strong{font:900 1.35rem/1.2 Nunito,sans-serif;color:#702040}
.alphabet-summary small{font-size:.9rem;color:#6b6270}
.alphabet-summary:after{content:'+';margin-left:auto;font:800 1.6rem/1 Nunito,sans-serif;color:#a6295d}
.alphabet-panel[open] .alphabet-summary{border-bottom:1px solid #e8dce0;background:#fff9fb}
.alphabet-panel[open] .alphabet-summary:after{content:'−'}
.alphabet-panel-body{padding:0 22px 22px}
.alphabet-heading{margin-top:18px}
.alphabet-ink{min-width:220px}
.alphabet-workspace{grid-template-columns:minmax(0,1.45fr) minmax(220px,.7fr);align-items:start}
.alphabet-workspace figure img{max-height:360px}
@media(max-width:760px){.alphabet-panel-body{padding:0 14px 16px}.alphabet-heading{align-items:stretch;flex-direction:column}.alphabet-ink{min-width:0}.alphabet-workspace{grid-template-columns:1fr}.alphabet-workspace figure img{max-height:330px}}

/* === PDI FEEDBACK V2 · CONFETI AMPLIADO === */
.pdi-celebration .mini-confetti{
  position:absolute;
  inset:-8px 0 0;
  overflow:visible;
  pointer-events:none;
  z-index:3;
}
.pdi-celebration .mini-confetti i{
  left:var(--x)!important;
  top:-18px!important;
  width:10px!important;
  height:17px!important;
  border-radius:2px;
  animation:rosa-big-confetti 1.55s cubic-bezier(.18,.72,.35,1) both!important;
  animation-delay:calc((var(--i) % 9) * .025s)!important;
}
.pdi-celebration .mini-confetti i:nth-child(4n){width:8px!important;height:14px!important}
.pdi-celebration .mini-confetti i:nth-child(5n){border-radius:50%}
@keyframes rosa-big-confetti{
  0%{transform:translate3d(0,-12px,0) rotate(0);opacity:1}
  85%{opacity:1}
  100%{transform:translate3d(var(--drift),260px,0) rotate(var(--spin));opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .pdi-celebration .mini-confetti{display:none}
}

/* === PDI CONFETI PANTALLA COMPLETA V2 === */
#projector .screen-confetti{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  overflow:hidden!important;
  pointer-events:none!important;
  z-index:2147483000!important;
  isolation:isolate!important;
}

#projector .screen-confetti i{
  position:absolute!important;
  left:var(--x)!important;
  top:-8vh!important;
  width:var(--size)!important;
  height:calc(var(--size) * 1.55)!important;
  border-radius:3px!important;
  background:#ed4f82!important;
  opacity:0;
  transform:translate3d(0,-12vh,0) rotate(0deg);
  animation:pdi-screen-confetti-fall var(--duration) cubic-bezier(.18,.72,.32,1) var(--delay) forwards!important;
  will-change:transform,opacity;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}

#projector .screen-confetti i:nth-child(6n+1){background:#ffd54f!important}
#projector .screen-confetti i:nth-child(6n+2){background:#55c69f!important}
#projector .screen-confetti i:nth-child(6n+3){background:#6e9ce8!important;border-radius:50%!important}
#projector .screen-confetti i:nth-child(6n+4){background:#f48b51!important}
#projector .screen-confetti i:nth-child(6n+5){background:#c56be1!important;border-radius:50%!important}
#projector .screen-confetti i:nth-child(6n){background:#ff6f91!important}

@keyframes pdi-screen-confetti-fall{
  0%{
    opacity:0;
    transform:translate3d(0,-12vh,0) rotate(0deg);
  }
  8%{opacity:1}
  90%{opacity:1}
  100%{
    opacity:0;
    transform:translate3d(var(--drift),112vh,0) rotate(var(--spin));
  }
}

#projector .mini-confetti{display:none!important}

@media(prefers-reduced-motion:reduce){
  #projector .screen-confetti{display:none!important}
}

/* Reproductor continuo de canciones para la PDI. */
.song-studio{padding:clamp(16px,2.2vw,30px);border:1px solid #ead7df;border-radius:28px;background:linear-gradient(145deg,#fff 0%,#fff8fb 52%,#f5fbf8 100%);box-shadow:0 18px 55px #74405712}
.song-review-bar{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(430px,1.2fr);align-items:center;gap:24px;margin-bottom:28px;padding:22px 24px;border-radius:22px;background:linear-gradient(120deg,#f8d4e3,#ffeac0 58%,#dff2e9);color:#57273d}
.song-review-bar h2{margin:3px 0 4px;font-size:clamp(1.55rem,2.6vw,2.25rem);color:#6f2949}
.song-review-bar p{margin:0;font-weight:900;letter-spacing:.04em}
.song-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.song-review-actions button{min-height:48px;padding:11px 17px;font-size:.88rem}
.song-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;align-items:stretch}
.song-gallery .song-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:9px 9px 16px;overflow:hidden;border:2px solid #eadde2;border-radius:22px;background:#fff;box-shadow:0 9px 24px #67384c12;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.song-gallery .song-card:hover{transform:translateY(-4px);background:#fff;box-shadow:0 15px 32px #67384c20}
.song-gallery .song-card.is-selected{border-color:#ad3763;box-shadow:0 0 0 4px #f3c9da,0 15px 32px #67384c20}
.song-picker{position:absolute;z-index:4;top:18px;right:18px;display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #ffffffcc;border-radius:999px;background:#fffef4ed;box-shadow:0 3px 10px #3b172b28;color:#722747;font:900 .7rem/1 Nunito,sans-serif;cursor:pointer}
.song-picker input{width:19px;height:19px;margin:0;accent-color:#a62f5d}
.song-gallery .song-cover{position:relative;width:100%;padding:0;overflow:hidden;border:0;border-radius:15px;aspect-ratio:16/9;background:#eadde2}
.song-gallery .song-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,#26121d70)}
.song-gallery .song-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.song-gallery .song-cover:hover img{transform:scale(1.045)}
.song-play-mark{position:absolute!important;z-index:2;inset:50% auto auto 50%!important;display:grid!important;place-items:center;width:58px!important;height:58px!important;padding-left:4px;border:3px solid #fff;background:#a72e5fe8!important;box-shadow:0 8px 20px #38102055;transform:translate(-50%,-50%);font-size:1.35rem}
.song-card-copy{display:grid;gap:7px;padding:15px 9px 0;text-align:left}
.song-card-copy .song-category{justify-self:start;padding:5px 9px;border-radius:999px;background:#f8e6ed;color:#8c3154;font:900 .7rem/1 Nunito,sans-serif;letter-spacing:.09em}
.song-card-copy h2{margin:0!important;color:#142b65;font-size:clamp(1.05rem,1.45vw,1.3rem)!important;line-height:1.16}
.song-add{margin-top:26px;background:#fffaf7}
.song-player-toolbar>div:first-child{display:grid;gap:2px;min-width:0}
.song-player-toolbar>div:first-child span{color:#a32e5c;font-size:.72rem;font-weight:900;letter-spacing:.1em}
.song-player-toolbar>div:first-child strong{max-width:min(60vw,780px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1rem,2vw,1.45rem)}
.song-player-shell{display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:12px;height:calc(100dvh - 92px);min-height:520px;padding:14px;background:radial-gradient(circle at 15% 0,#45334f 0,#211827 42%,#100d14 100%);color:#fff}
.song-player-stage{position:relative;min-height:0;overflow:hidden;border:3px solid #ffffff26;border-radius:22px;background:#09070b;box-shadow:0 18px 45px #0009}
#song-player-host,#song-player-host iframe,.song-player-stage>iframe{width:100%;height:100%;border:0}
.song-transition{position:absolute;z-index:5;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;padding:30px;background:radial-gradient(circle,#a63263f2,#281426f7 72%);opacity:0;pointer-events:none;transform:scale(1.04);transition:opacity .22s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.song-transition.is-visible{opacity:1;transform:scale(1)}
.song-transition img{width:min(42vw,480px);aspect-ratio:16/9;object-fit:cover;border:5px solid #fff;border-radius:20px;box-shadow:0 20px 50px #0007}
.song-transition span{font-size:.9rem;font-weight:900;letter-spacing:.14em;color:#ffd6e6}
.song-transition strong{font-size:clamp(1.5rem,3vw,2.8rem);text-align:center}
.song-player-controls{display:grid;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;gap:14px}
.song-player-controls>span{text-align:center;font-size:.8rem;font-weight:900;letter-spacing:.055em;color:#f8dbe7}
.song-player-controls button{min-height:46px}
.song-player-rail{display:flex;gap:10px;min-height:82px;padding:8px;overflow-x:auto;scrollbar-color:#bc4777 #ffffff18}
.song-player-rail button{display:grid;grid-template-columns:104px minmax(130px,1fr);align-items:center;gap:9px;min-width:270px;padding:6px;border:2px solid transparent;border-radius:13px;background:#ffffff12;color:#fff;text-align:left;opacity:.66}
.song-player-rail button.is-current{border-color:#ff92bd;background:#ffffff25;opacity:1}
.song-player-rail img{width:104px;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.song-player-rail span{font-size:.78rem;font-weight:900;line-height:1.1}
@media(max-width:900px){.song-review-bar{grid-template-columns:1fr}.song-review-actions{justify-content:flex-start}.song-player-shell{height:calc(100dvh - 82px)}.song-player-controls{grid-template-columns:1fr 1fr}.song-player-controls>span{grid-column:1/-1;grid-row:1}.song-player-controls button{grid-row:2}}
@media(max-width:600px){.song-gallery{grid-template-columns:1fr}.song-review-actions button{width:100%}.song-player-shell{padding:8px}.song-player-rail{display:none}.song-transition img{width:78vw}.song-player-toolbar>div:first-child span{display:none}}
@media(prefers-reduced-motion:reduce){.song-gallery .song-card,.song-gallery .song-cover img,.song-transition{transition:none}.song-gallery .song-card:hover{transform:none}}

.world-card {
  display:grid;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  border:1px solid #e3d4bd;
  border-radius:22px;
  background:#fffaf1;
  box-shadow:0 7px 20px #68553c12;
}
.world-card-art {
  display:grid;
  place-items:center;
  height:clamp(155px,19vw,265px);
  padding:14px;
  background:linear-gradient(100deg,#e7f2d57a,#fff2d147),url('assets/dino-world/cretaceous-valley.webp') center 53%/cover;
}
.world-card-art img {
  width:min(78%,420px);
  height:100%;
  min-height:0;
  object-fit:contain;
  filter:drop-shadow(0 7px 5px #343b312f);
}
.world-kusama .world-card-art {
  background:radial-gradient(circle,#e790923b 3px,transparent 4px) 0 0/29px 29px,#f9e8e1;
}
.world-kusama .world-card-art img { width:auto; max-width:100%; border-radius:16px; }
.world-card-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  padding:clamp(14px,2.3vw,27px);
}
.world-card-content h3 { margin:0; font-size:clamp(1.3rem,2.1vw,1.95rem); line-height:1.1; }
.world-card-content p { margin:0 0 9px; }
.world-card-content .button { margin-top:auto; }
