/* =====================================================================
   Diosesmon: escaparate de exclusivos, kit de entrenador y mapa 3D.
   ===================================================================== */

.mc-escaparate { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.mc-ficha-ex { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; align-items: center; gap: 28px; }
.mc-ficha-txt h3 { margin: 0 0 10px; font-family: var(--pixel); font-size: 48px; font-weight: 400; line-height: 1.05; color: #fff; text-shadow: .125em .125em 0 #3f3f3f; }
.mc-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-ficha-txt p { margin: 14px 0 20px; max-width: 42ch; color: var(--tinta-2); }
.mc-brillo { position: absolute; top: 12px; right: 14px; font-family: var(--pixel); font-size: 24px; color: var(--oro-claro); text-shadow: .125em .125em 0 var(--oro-hondo); }

.mc-inventario-ex { padding: 16px; }
.mc-ranuras { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 4px; }
.mc-ranura {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 6px;
  border: 0;
  background: var(--pz-0);
  box-shadow: inset 2px 2px 0 #000, inset -2px -2px 0 var(--pz-5);
  cursor: pointer;
}
.mc-ranura img { width: 100%; height: auto; max-width: 72px; }
@media (hover: hover) and (pointer: fine) { .mc-ranura:hover { background: #2a2326; } }
/* Ranura elegida: el marco blanco de la selección del juego */
.mc-ranura[aria-pressed="true"]::after { content: ""; position: absolute; inset: -2px; border: 4px solid #fff; box-shadow: 0 0 0 2px #000, inset 0 0 0 2px #000; pointer-events: none; }
.mc-nota { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; color: var(--tinta-2); font-size: 15px; }
.mc-nota .mc-slot { width: 40px; height: 40px; }
.mc-nota .mc-slot img { width: 24px; height: 24px; }


/* Mapa 3D: se carga a demanda, como la pantalla de «generando terreno» */
.mc-mapa { position: relative; height: 70vh; min-height: 420px; border: 2px solid #000; box-shadow: inset 0 0 0 2px var(--pz-4); overflow: hidden; }
.mc-mapa-cargar {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  border: 0;
  background: linear-gradient(rgba(10, 8, 9, .62), rgba(10, 8, 9, .62)), url(../img/mundo/ladrillos.png) 0 0 / 64px 64px;
  image-rendering: pixelated;
  color: var(--tinta);
  text-align: center;
  cursor: pointer;
}
.mc-mapa-cargar img { width: 64px; height: 64px; }
.mc-mapa-titulo {
  display: inline-block; margin-top: 6px; padding: 12px 22px 14px; border: 2px solid #000; background: var(--pz-4);
  box-shadow: inset 2px 2px 0 #4f434a, inset -2px -4px 0 #120d10; font-family: var(--pixel); font-size: 24px; color: #fff;
  text-shadow: .125em .125em 0 #3f3f3f; transition: border-color 120ms ease;
}
.mc-mapa-cargar:hover .mc-mapa-titulo, .mc-mapa-cargar:focus-visible .mc-mapa-titulo { border-color: #fff; }
.mc-mapa-sub { color: var(--tinta-2); font-size: 15px; }
.mc-mapa-controles { max-width: 52ch; margin-top: 8px; color: var(--tinta-3); font-size: 14px; image-rendering: auto; }
.mc-mapa-controles strong { color: var(--tinta) !important; }
.mc-mapa-marco { position: absolute; inset: 0; }
.mc-mapa-marco iframe { width: 100%; height: 100%; border: 0; }
.mc-mapa-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }

@media (max-width: 1023px) {
  .mc-escaparate { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mc-ficha-ex { grid-template-columns: 1fr; gap: 16px; }
  .mc-ficha-txt h3 { font-size: 32px; }
  .mc-mapa { height: 60vh; min-height: 360px; }
  .mc-mapa-titulo { font-size: 16px; }
}
