.ge-world-shell{
  --ge-panel:rgba(255,252,242,.96);
  --ge-ink:#3c2b1f;
  width:100%;
  max-width:1280px;
  aspect-ratio:16/9;
  min-height:430px;
  margin:0 auto;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#83c968;
  border:1px solid rgba(42,60,36,.18);
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ge-ink);
  box-sizing:border-box;
  isolation:isolate;
}
.ge-world-shell *{box-sizing:border-box}
.ge-phaser-root{position:absolute;inset:0;overflow:hidden;touch-action:none}
.ge-phaser-root canvas{display:block;width:100%!important;height:100%!important;image-rendering:pixelated}

.ge-world-hud{
  position:absolute;
  z-index:30;
  top:12px;
  left:12px;
  right:12px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  gap:8px;
  pointer-events:none;
}
.ge-world-status{
  margin-right:auto;
  max-width:38%;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 3px 14px rgba(37,50,30,.16);
  font-weight:900;
  font-size:clamp(13px,1.6vw,18px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ge-world-progress-wrap{
  width:min(220px,29vw);
  background:rgba(255,255,255,.90);
  border-radius:14px;
  padding:7px 10px 9px;
  box-shadow:0 3px 14px rgba(37,50,30,.14);
}
.ge-world-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:900;line-height:1.15}
.ge-world-progress{height:8px;margin-top:5px;border-radius:999px;background:#ddd7ce;overflow:hidden}
.ge-world-progress-bar{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#ef4444,#f59e0b 45%,#22c55e);transition:width .25s ease}
.ge-mapview,.ge-fullscreen{
  pointer-events:auto;
  min-height:42px;
  border:none;
  border-radius:13px;
  background:rgba(255,255,255,.92);
  color:#2f3a2b;
  font-size:24px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 3px 14px rgba(37,50,30,.14);
}
.ge-fullscreen{width:42px;padding:0}
.ge-mapview{padding:0 12px;font-size:14px;display:flex;align-items:center;gap:5px}

.ge-world-quiz{
  position:absolute;
  z-index:35;
  right:12px;
  top:72px;
  width:min(34%,360px);
  padding:0;
  display:grid;
  align-content:start;
  gap:8px;
  background:transparent;
  border:none;
  box-shadow:none;
  transform:translateX(110%);
  opacity:0;
  transition:transform .28s ease,opacity .2s ease;
}
.ge-world-quiz.show{transform:translateX(0);opacity:1}
.ge-quiz-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ge-world-category{
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.11em;
  font-weight:950;
  color:#7a664f;
  background:rgba(255,252,242,.96);
  border-radius:999px;
  padding:5px 9px;
  box-shadow:0 4px 18px rgba(55,42,23,.16);
}
.ge-care-dots{display:flex;gap:5px;flex:0 0 auto;background:rgba(255,252,242,.96);padding:7px 10px;border-radius:999px;box-shadow:0 4px 18px rgba(55,42,23,.16)}
.ge-care-dots span{width:9px;height:9px;border-radius:50%;background:#d4cec5;border:1px solid #b8aa98}
.ge-care-dots span.done{background:#4caf50;border-color:#3d8f41}
.ge-world-question{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:14px 12px;
  font-size:clamp(23px,2.6vw,34px);
  line-height:1.08;
  font-weight:950;
  overflow-wrap:anywhere;
  background:var(--ge-panel);
  border:3px solid rgba(143,92,42,.22);
  border-radius:24px;
  box-shadow:0 10px 30px rgba(55,42,23,.18);
}
.ge-world-question.long{font-size:clamp(18px,2.15vw,27px);line-height:1.12}
.ge-world-question.very-long{font-size:clamp(15px,1.8vw,22px);line-height:1.16;align-items:flex-start;overflow:auto;max-height:27vh}
.ge-world-feedback{min-height:22px;text-align:center;font-size:14px;font-weight:900}
.ge-world-feedback.ok{color:#16823c}.ge-world-feedback.bad{color:#b42318}
.ge-world-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:0 0 auto}
.ge-world-answer,.ge-world-continue{
  min-height:48px;
  border-radius:16px;
  border:2px solid #c9b9a6;
  background:rgba(255,255,255,.97);
  box-shadow:0 8px 24px rgba(55,42,23,.12);
  color:#2c241d;
  font-size:clamp(18px,1.8vw,24px);
  font-weight:950;
  cursor:pointer;
  touch-action:manipulation;
}
.ge-world-answer:active{transform:scale(.985)}
.ge-world-answer.correct{background:#dcfce7;border-color:#22c55e}
.ge-world-answer.wrong{background:#fee2e2;border-color:#ef4444}
.ge-world-answer:disabled{cursor:default}
.ge-world-continue{grid-column:1/-1;background:#304c2d;color:#fff;border-color:#304c2d;font-size:16px;padding:8px}
.ge-world-continue[hidden]{display:none}

.ge-world-toast{
  position:absolute;z-index:45;left:50%;bottom:22px;transform:translate(-50%,20px);
  max-width:min(82%,520px);padding:10px 16px;border-radius:999px;background:rgba(38,64,34,.92);color:#fff;
  font-weight:900;text-align:center;opacity:0;pointer-events:none;transition:.22s ease;
}
.ge-world-toast.show{opacity:1;transform:translate(-50%,0)}

.ge-rotate-hint{display:none;position:absolute;inset:0;z-index:80;background:rgba(39,55,36,.88);place-items:center;padding:20px}
.ge-rotate-card{max-width:320px;background:#fff9ec;border-radius:20px;padding:24px;text-align:center;display:grid;gap:8px;font-size:28px;box-shadow:0 12px 34px rgba(0,0,0,.24)}
.ge-rotate-card strong{font-size:20px}.ge-rotate-card span{font-size:14px;color:#65584c}
.ge-error-box{height:100%;display:grid;place-items:center;padding:30px;text-align:center;background:#fff7ed;color:#9a3412;font-weight:800}

.ge-world-shell:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;border:none!important;border-radius:0!important;margin:0!important}
.ge-world-shell:-webkit-full-screen{width:100vw!important;height:100vh!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;border-radius:0!important}

@media(max-width:900px) and (orientation:landscape){
  .ge-world-shell{max-width:none;min-height:340px;border-radius:12px}
  .ge-world-hud{top:7px;left:7px;right:7px;gap:7px}
  .ge-world-status{padding:6px 10px;font-size:13px;max-width:34%}
  .ge-world-progress-wrap{width:min(215px,30vw);padding:5px 8px 7px}
  .ge-world-progress-label{font-size:10px}.ge-world-progress{height:6px}
  .ge-mapview,.ge-fullscreen{min-height:36px;border-radius:10px}
  .ge-fullscreen{width:36px;font-size:20px}
  .ge-mapview{padding:0 8px;font-size:12px}
  .ge-world-quiz{right:7px;top:53px;width:min(35%,320px);gap:5px}
  .ge-world-category{font-size:10px;padding:5px 8px}
  .ge-care-dots{padding:6px 8px}
  .ge-world-question{font-size:clamp(18px,2.4vw,24px);padding:10px;border-radius:16px;border-width:2px}
  .ge-world-question.long{font-size:clamp(15px,2vw,20px)}
  .ge-world-question.very-long{font-size:clamp(12px,1.7vw,17px);max-height:29vh}
  .ge-world-feedback{min-height:17px;font-size:11px}
  .ge-world-answers{gap:6px}
  .ge-world-answer{min-height:38px;border-radius:11px;font-size:clamp(15px,2vw,20px)}
  .ge-world-continue{min-height:40px;font-size:14px}
}

@media(max-width:700px) and (orientation:landscape){.ge-mapview span{display:none}.ge-mapview{width:36px;padding:0;justify-content:center}}

@media(orientation:portrait) and (max-width:760px){
  .ge-world-shell{min-height:520px;aspect-ratio:9/13}
  .ge-rotate-hint{display:grid}
}

@media(prefers-reduced-motion:reduce){
  .ge-world-quiz,.ge-world-toast,.ge-world-progress-bar{transition:none}
}


.ge-map-mode .ge-world-quiz,
.ge-map-mode #ge-status-pill{display:none !important;}

/* v1.4.0 · Misiones, cofres y retorno a casa */
.ge-mission-progress{
  margin-top:5px;
  font-size:11px;
  font-weight:800;
  color:#675744;
  text-align:right;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ge-homebtn{background:rgba(255,249,219,.95)}
.ge-chest-count{
  min-width:78px;
  justify-content:center;
  font-size:11px;
  font-weight:950;
  color:#76521d;
}
.ge-map-mode #ge-mission-pill,
.ge-map-mode .ge-world-progress-wrap{
  opacity:.18;
}
@media(max-width:900px) and (orientation:landscape){
  .ge-mission-progress{font-size:9px}
  .ge-world-status{max-width:31%}
}
@media(max-width:760px) and (orientation:landscape){
  .ge-homebtn span{display:none}
  .ge-homebtn{width:36px;padding:0;justify-content:center}
}

/* v1.4.4 · Esercizi con euro */
.ge-money-visual{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:7px;
  padding:9px;
  background:rgba(255,252,242,.96);
  border:2px solid rgba(143,92,42,.18);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(55,42,23,.14);
}
.ge-money-visual[hidden]{display:none!important}
.ge-money-item{display:flex;align-items:center;justify-content:center;min-width:0}
.ge-money-item img{display:block;max-width:88px;max-height:62px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.16))}
@media(max-width:900px) and (orientation:landscape){
  .ge-money-visual{gap:4px;padding:6px;border-radius:13px}
  .ge-money-item img{max-width:62px;max-height:45px}
}
