/* Ikasleen txokoa: pantalla para proyectar en clase. Común a todos los cuentos; el color del país llega en
   --pais (style del .ikas). Usa colores, botones (.ipuin-boton) y título con adornos de home.css.
   Arriba, una banda estrecha sobre la ilustración con el camino de borobilak y el botón de inicio; debajo,
   un panel beige con Isuri y su bocadillo, el título, la actividad y los botones Atzera / Hurrengoa. */

/* Sin cabecera ni pie: el escenario ocupa toda la ventana (el botón de inicio lleva de vuelta a la web) */
body:has(#ikas) #header, body:has(#ikas) #footer-page, body:has(#ikas) #footer, body:has(#ikas) #socket, body:has(#ikas) #scroll-top-link { display: none !important; }
body:has(#ikas) #main { padding-top: 0 !important; }
#top .ikas-pag .ikas-pag__titulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#top .ikas-pag .container { max-width: none; padding: 0; }

#top .ikas {
  --pais: #d81818; --tinta: var(--ipuin-titulo, #13305d); --borde: var(--ipuin-pergamino-borde, #e3cc9f);
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100svh; min-height: 560px; overflow: hidden;
  background: #2a160a; font-family: var(--ipuin-fuente-texto); color: var(--tinta);
}
body.admin-bar #top .ikas { height: calc(100svh - 32px); }
#top .ikas .ikas__fondo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; }
#top .ikas br { display: none; }
#top .ikas p { margin: 0; }

/* ---------- Banda: camino de borobilak sobre un sendero dorado ---------- */
#top .ikas__banda { position: relative; z-index: 2; display: flex; justify-content: center; padding: 72px 96px 12px; }
#top .ikas__nav { position: relative; max-width: 100%; }
#top .ikas__camino { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 22px; margin: 0; padding: 0; list-style: none; }
#top .ikas__camino::before {
  content: ''; position: absolute; z-index: -1; left: 60px; right: 60px; top: 27px; height: 6px;
  background: radial-gradient(circle, #fff3c4 0 2.4px, transparent 3px) 0 50% / 13px 6px repeat-x;
  filter: drop-shadow(0 0 3px #f4bb4a) drop-shadow(0 0 7px rgba(244, 187, 74, .9));
}
#top .ikas__paso { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 128px; margin: 0; }
#top .ikas__borobila {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 3px solid #e8e0d0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c6bdb0, #8a7f72); color: #fffaf0; cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4); transition: transform .2s, box-shadow .2s;
}
#top .ikas__borobila svg { width: 27px; height: 27px; }
#top .ikas__borobila.vista, #top .ikas__borobila.activa {
  border-color: #f7d37c; background: radial-gradient(circle at 35% 30%, #e19a50, #a8541a);
  box-shadow: 0 0 0 3px rgba(255, 222, 140, .5), 0 0 16px rgba(255, 196, 80, .9), 0 4px 10px rgba(0, 0, 0, .35);
}
#top .ikas__borobila.activa { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(255, 230, 160, .75), 0 0 26px rgba(255, 200, 80, 1), 0 4px 10px rgba(0, 0, 0, .35); }
#top .ikas__borobila:hover, #top .ikas__borobila:focus-visible { outline: 0; transform: scale(1.12); }
#top .ikas__borobila.vista:not(.activa)::after {
  content: '✓'; position: absolute; right: -5px; bottom: -3px; width: 20px; height: 20px; border: 2px solid #fffaf0; border-radius: 50%;
  background: #e2a43a; color: #fff; font-size: 11px; font-weight: 900; line-height: 16px; text-align: center;
}
#top .ikas__etiqueta {
  padding: 4px 10px 5px; border-radius: 6px; background: linear-gradient(180deg, #fffaf0, #f2e2bf); box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
  color: var(--tinta); font-family: var(--ipuin-fuente-titulos); font-size: 13px; font-weight: 700; line-height: 1.15; text-align: center;
}
#top .ikas__borobila.activa + .ikas__etiqueta { font-weight: 900; box-shadow: 0 0 0 2px #f7d37c, 0 3px 8px rgba(0, 0, 0, .3); }
/* Isuri sentado encima del borobil activo (el JS lo coloca en el centro del borobil) */
#top .ikas__guia { position: absolute; z-index: 3; left: 0; top: 0; width: 66px; margin: -104px 0 0 -33px; pointer-events: none; filter: drop-shadow(0 0 8px rgba(255, 214, 120, .9)); transition: left .55s cubic-bezier(.5, -0.3, .4, 1.3), top .55s; }
#top .ikas__guia img { display: block; width: 100%; max-width: none; height: auto; }
@media (prefers-reduced-motion: reduce) { #top .ikas__guia { transition: none; } }
#top .ikas__home {
  position: absolute; z-index: 3; top: 14px; right: 20px; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid #e9c98e; border-radius: 50%;
  background: #fffaf0; color: var(--tinta); text-decoration: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}
#top .ikas__home svg { width: 23px; height: 23px; }
#top .ikas__home:hover, #top .ikas__home:focus-visible { color: var(--tinta); box-shadow: 0 0 0 3px #f4c766, 0 4px 10px rgba(0, 0, 0, .35); }

/* ---------- Panel beige ---------- */
#top .ikas__panel {
  position: relative; z-index: 2; width: calc(100% - 44px); max-width: 1560px; min-height: 0; margin: 4px auto 18px; padding: 18px 34px 18px 22px;
  background: linear-gradient(180deg, var(--ipuin-pergamino-claro, #fbf4e4), var(--ipuin-pergamino, #f7ecd5)); border: 2px solid var(--borde); border-radius: 18px;
  box-shadow: 0 14px 34px rgba(40, 20, 5, .4);
}
#top .ikas__pantalla {
  display: grid; height: 100%; gap: 12px 30px; grid-template-columns: clamp(200px, 21%, 310px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "isuri titulo" "isuri actividad" "isuri pie"; animation: ikas-entra .4s ease both;
}
#top .ikas__pantalla[hidden] { display: none; }
@keyframes ikas-entra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #top .ikas__pantalla { animation: none; } }

/* Isuri y su bocadillo */
#top .ikas__isuri { grid-area: isuri; display: flex; flex-direction: column; gap: 22px; min-height: 0; }
#top .ikas__bocadillo {
  position: relative; padding: 16px 20px; border: 2px solid var(--borde); border-radius: 24px; background: #fffaf0; box-shadow: 0 4px 12px rgba(90, 58, 26, .15);
  color: var(--tinta); font-family: var(--ipuin-fuente-titulos); font-size: clamp(15px, 1.05vw, 19px); line-height: 1.35;
}
#top .ikas__bocadillo::after { content: ''; position: absolute; right: 26%; bottom: -12px; width: 20px; height: 20px; background: #fffaf0; border: solid var(--borde); border-width: 0 2px 2px 0; transform: rotate(45deg) skew(8deg, 8deg); }
#top .ikas__isuri-img { position: relative; flex: 1 1 auto; min-height: 110px; }
#top .ikas .ikas__isuri-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px rgba(74, 44, 18, .25)); }

/* Título */
#top .ikas .ikas__titulo { grid-area: titulo; color: var(--tinta); font-size: clamp(26px, 2.3vw, 40px); line-height: 1.1; }
#top .ikas__titulo-ic { display: inline-grid; margin-right: 12px; vertical-align: -4px; }
#top .ikas__titulo-ic svg { width: 1em; height: 1em; }
#top .ikas__titulo h2:focus, #top .ikas__titulo:focus { outline: 0; }
#top .ikas__titulo--sarrera { display: flex; align-items: center; justify-content: center; gap: 16px; }
#top .ikas__titulo--sarrera h2 { margin: 0; color: var(--tinta); font-family: var(--ipuin-fuente-titulos); font-size: inherit; font-weight: 900; }
#top .ikas__abanico svg { display: block; width: 64px; }
#top .ikas__pais { color: var(--pais); font-family: var(--ipuin-fuente-titulos); font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

/* Recuadro de la actividad */
#top .ikas__actividad {
  grid-area: actividad; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; overflow: hidden;
  padding: 16px 22px; border: 1px solid var(--borde); border-radius: 14px; background: rgba(255, 251, 242, .8); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .45);
}
#top .ikas__instruccion { color: var(--tinta); font-size: clamp(15px, 1.05vw, 18px); font-weight: 700; text-align: center; }

/* Botones de abajo */
#top .ikas__pie { grid-area: pie; display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; align-items: center; gap: 20px; }
#top .ikas .ikas__pie .ipuin-boton { min-width: 200px; padding: 12px 30px; font-size: 18px; white-space: nowrap; cursor: pointer; }
#top .ikas__atzera { justify-self: start; }
#top .ikas__aurrera { justify-self: end; }
#top .ikas__floritura {
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cpath d='M30 2c3 6 7 8 12 9-5 1-9 3-12 9-3-6-7-8-12-9 5-1 9-3 12-9z' fill='%23c8902f'/%3E%3Cpath d='M2 11c6 0 9-4 14-4M58 11c-6 0-9-4-14-4' fill='none' stroke='%23c8902f' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 60px 22px no-repeat,
    linear-gradient(#c8902f, #c8902f) center / 100% 1.5px no-repeat;
}

/* ---------- Reproductor (vídeo y audio; sin archivo todavía: avisa «Laster») ---------- */
#top .ikas__media { position: relative; flex: 1 1 0; min-height: 0; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 5px solid #c99a4e; border-radius: 12px; background: #1a1206; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
#top .ikas__poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#top .ikas__media--audioa { border-color: var(--borde); background: linear-gradient(180deg, #fffaf0, #f2dfb6); }
#top .ikas__notas { position: absolute; inset: 0 0 40px; display: grid; place-items: center; color: var(--pais); font-size: 44px; letter-spacing: 30px; }
#top .ikas__play { position: absolute; left: 50%; top: 45%; z-index: 1; width: 78px; height: 78px; margin: -39px 0 0 -39px; padding: 0; border: 4px solid #fff; border-radius: 50%; background: #7a3b12; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); transition: transform .2s; }
#top .ikas__play:hover { transform: scale(1.08); }
#top .ikas__play span { position: absolute; left: 29px; top: 20px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
#top .ikas__controles { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 9px 16px; background: rgba(10, 10, 20, .82); color: #fff; font-size: 13px; }
#top .ikas__media--audioa .ikas__controles { background: rgba(255, 250, 240, .9); color: var(--tinta); }
#top .ikas__barra { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
#top .ikas__media--audioa .ikas__barra { background: rgba(19, 48, 93, .25); }
#top .ikas__barra i { display: block; width: 3%; height: 100%; border-radius: 2px; background: currentColor; }
#top .ikas__aviso { position: absolute; left: 50%; top: 70%; z-index: 2; padding: 8px 18px; transform: translate(-50%, 10px); border-radius: 999px; background: #fffaf0; color: var(--tinta); font-weight: 900; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
#top .ikas__media.laster .ikas__aviso { opacity: 1; transform: translate(-50%, 0); }

/* Abestia: reproductor y letra a la vista */
#top .ikas__abestia { display: flex; align-items: center; justify-content: center; gap: 22px; flex: 1 1 0; min-height: 0; width: 100%; }
#top .ikas__abestia .ikas__media { flex: 0 1 auto; height: min(100%, 400px); }
#top .ikas__letra { flex: 0 1 380px; padding: 18px 24px; border: 1px solid var(--borde); border-radius: 12px; background: #fffaf0; box-shadow: 0 6px 14px rgba(90, 58, 26, .15); }
#top .ikas__letra p { color: var(--ipuin-texto, #2a2f45); font-family: var(--ipuin-fuente-titulos); font-size: clamp(15px, 1.1vw, 19px); font-style: italic; line-height: 1.5; }
#top .ikas__letra .ikas__letra-titulo { margin-bottom: 6px; color: var(--tinta); font-style: normal; font-weight: 900; }
#top .ikas__letra-titulo span { color: var(--pais); }

/* Jolasa */
#top .ikas__galdera { width: 100%; max-width: 780px; text-align: center; }
#top .ikas__pregunta { margin: 0 0 14px !important; color: var(--tinta); font-family: var(--ipuin-fuente-titulos); font-size: clamp(18px, 1.4vw, 24px); font-weight: 900; }
#top .ikas__aukerak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#top .ikas__aukera, #top .ikas__txartela {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px 16px; border: 2px solid var(--borde); border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7, #f6e9cc); color: var(--tinta); font: inherit; font-family: var(--ipuin-fuente-titulos); font-size: 17px; font-weight: 900; line-height: 1.25; cursor: pointer;
  box-shadow: 0 6px 14px rgba(90, 58, 26, .18); transition: transform .2s, box-shadow .2s;
}
#top .ikas__aukera:hover, #top .ikas__txartela:hover, #top .ikas__aukera:focus-visible, #top .ikas__txartela:focus-visible { transform: translateY(-3px); outline: 0; box-shadow: 0 0 0 3px #f4c766, 0 8px 16px rgba(90, 58, 26, .25); }
#top .ikas__aukera-ic, #top .ikas__txartela-ic { font-size: 54px; line-height: 1.1; }
#top .ikas__aukera.ondo { border-color: #2e8b3e; background: #e3f5e1; }
#top .ikas__aukera.gaizki { border-color: #c0392b; background: #fbe1dc; animation: ikas-no .35s; }
@keyframes ikas-no { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
#top .ikas__erantzuna { min-height: 26px; margin-top: 12px !important; color: var(--tinta); font-size: 17px; font-weight: 900; }

/* Tarjetas con popup */
#top .ikas__txartelak { display: flex; justify-content: center; gap: 18px; width: 100%; }
#top .ikas__txartela { flex: 1 1 0; max-width: 250px; min-height: 170px; }

/* Zigilua: el pasaporte abierto y el sello que cae en el círculo del país (--x, --y: centro; --t: diámetro).
   Las imágenes van en absoluto: si WordPress las envuelve en <p>, no se mueven. La animación se repite cada
   vez que se entra en la pantalla (al mostrarse vuelve a empezar). */
#top .ikas__zigilua { position: relative; flex: 1 1 0; min-height: 0; max-width: 100%; aspect-ratio: 1491 / 1055; border-radius: 10px; box-shadow: 0 10px 24px rgba(40, 20, 5, .35); }
#top .ikas__zigilua p:not(.ikas__falta-texto) { display: contents; }
#top .ikas .ikas__pasaportea { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 10px; }
#top .ikas .ikas__zigilua-img {
  position: absolute; left: calc(var(--x) - var(--t) / 2); top: calc(var(--y) - var(--t) * 1491 / 1055 / 2); width: var(--t); height: auto; max-width: none;
  opacity: .22; filter: grayscale(1); transform: rotate(-8deg); mix-blend-mode: multiply;
}
#top .ikas__zigilua.lortua .ikas__zigilua-img { opacity: .95; filter: none; animation: ikas-sello .7s .45s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes ikas-sello {
  0% { transform: translateY(-40%) scale(2.4) rotate(-26deg); opacity: 0; }
  60% { transform: scale(.92) rotate(-6deg); opacity: 1; }
  100% { transform: rotate(-8deg); opacity: .95; }
}
@media (prefers-reduced-motion: reduce) { #top .ikas__zigilua.lortua .ikas__zigilua-img { animation: none; } }
#top .ikas__falta-texto { position: absolute; left: 50%; bottom: 8%; width: min(420px, 80%); padding: 12px 16px; border: 2px solid var(--borde); border-radius: 12px; background: rgba(255, 250, 240, .96); color: var(--tinta); font-size: 15px; line-height: 1.35; text-align: center; transform: translateX(-50%); box-shadow: 0 6px 16px rgba(40, 20, 5, .3); }
#top .ikas__falta-texto strong { display: block; font-size: 17px; }
#top .ikas__zigilua.lortua .ikas__falta-texto { display: none; }
#top .ikas__pantalla--zigilua:has(.ikas__zigilua:not(.lortua)) .ikas__titulo,
#top .ikas__pantalla--zigilua:has(.ikas__zigilua:not(.lortua)) .ikas__bidaia,
#top .ikas__pantalla--zigilua:has(.ikas__zigilua:not(.lortua)) .ikas__instruccion { visibility: hidden; }

/* ---------- Popups: fondo gris sobre toda la página (el JS los lleva al final del <body>) ---------- */
#top .ikas__popup { --tinta: var(--ipuin-titulo, #13305d); position: fixed; z-index: 100001; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(25, 22, 30, .68); backdrop-filter: blur(2px); font-family: var(--ipuin-fuente-texto); }
#top .ikas__popup[hidden] { display: none; }
#top .ikas__popup-caja { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: end; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px 30px 26px 10px; background: linear-gradient(180deg, #fffaf0, #f4e3c0); border: 3px solid #c9a46a; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: ikas-entra .3s ease both; }
#top .ikas__popup-isuri { width: 170px; align-self: end; }
#top .ikas__popup-cuerpo { padding-left: 14px; }
#top .ikas__popup-icono { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 8px; border-radius: 50%; background: var(--pais); color: #fff; font-size: 26px; }
#top .ikas__popup h3 { margin: 0 0 8px; color: var(--tinta); font-family: var(--ipuin-fuente-titulos); font-size: 24px; font-weight: 900; }
#top .ikas__popup p { margin: 0 0 12px; color: var(--ipuin-texto, #2a2f45); font-size: 16px; line-height: 1.5; }
#top .ikas__popup ol { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: ikas; }
#top .ikas__popup ol li { position: relative; margin: 0 0 8px; padding-left: 36px; color: var(--ipuin-texto, #2a2f45); font-size: 15px; line-height: 1.4; counter-increment: ikas; }
#top .ikas__popup ol li::before { content: counter(ikas); position: absolute; left: 0; top: -2px; width: 25px; height: 25px; border-radius: 50%; background: var(--tinta); color: #fff; font-size: 13px; font-weight: 900; line-height: 25px; text-align: center; }
#top .ikas__cerrar { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; padding: 0; border: 2px solid var(--tinta); border-radius: 50%; background: #fff; color: var(--tinta); font-size: 18px; font-weight: 900; cursor: pointer; }
#top .ikas__boton {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 30px; border: 2px solid var(--ipuin-naranja-osc, #9c4f18); border-radius: 999px;
  background: linear-gradient(180deg, #db8a43 0%, var(--ipuin-naranja, #c86c27) 55%, #b35d1f 100%); color: #fff6e6; font-family: var(--ipuin-fuente-titulos); font-size: 17px; font-weight: 700; cursor: pointer;
}
#top .ikas__boton:hover { color: #fff; filter: brightness(1.08); }
#top .ikas__boton span { font-size: 22px; line-height: 1; }

/* ---------- Pantallas bajas (portátil): todo un poco más compacto ---------- */
@media only screen and (min-width: 990px) and (max-height: 720px) {
  #top .ikas__banda { padding-top: 62px; }
  #top .ikas__borobila { width: 52px; height: 52px; }
  #top .ikas__camino::before { top: 23px; }
  #top .ikas__borobila svg { width: 23px; height: 23px; }
  #top .ikas__guia { width: 56px; margin: -88px 0 0 -28px; }
  #top .ikas__panel { padding: 12px 26px 12px 18px; margin-bottom: 12px; }
  #top .ikas__pantalla { gap: 8px 24px; }
  #top .ikas .ikas__titulo { font-size: 26px; }
  #top .ikas__actividad { padding: 10px 16px; gap: 8px; }
  #top .ikas .ikas__pie .ipuin-boton { min-width: 160px; padding: 9px 22px; font-size: 16px; }
  #top .ikas__aukera, #top .ikas__txartela { padding: 10px; min-height: 0; }
  #top .ikas__aukera-ic, #top .ikas__txartela-ic { font-size: 40px; }
}

/* ---------- Tablet y móvil: el escenario crece en alto y todo va en columna ---------- */
@media only screen and (max-width: 989px) {
  #top .ikas, body.admin-bar #top .ikas { height: auto; min-height: 100svh; }
  #top .ikas__banda { padding: 60px 12px 10px; justify-content: flex-start; }
  #top .ikas__nav { width: 100%; }
  #top .ikas__camino { gap: 8px; overflow-x: auto; padding: 0 64px 6px 4px; scrollbar-width: none; }
  #top .ikas__paso { flex: 0 0 96px; width: 96px; }
  #top .ikas__borobila { width: 48px; height: 48px; }
  #top .ikas__borobila svg { width: 22px; height: 22px; }
  #top .ikas__camino::before { top: 21px; left: 40px; right: 40px; }
  #top .ikas__etiqueta { font-size: 11px; padding: 3px 7px; }
  #top .ikas__guia { width: 48px; margin: -78px 0 0 -24px; }
  #top .ikas__home { top: 10px; right: 10px; width: 44px; height: 44px; }
  #top .ikas__panel { width: calc(100% - 20px); margin: 4px auto 10px; padding: 14px; }
  #top .ikas__pantalla { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "isuri" "titulo" "actividad" "pie"; }
  #top .ikas__isuri { flex-direction: row-reverse; align-items: flex-end; gap: 14px; }
  #top .ikas__bocadillo { flex: 1; font-size: 15px; }
  #top .ikas__bocadillo::after { right: auto; left: -11px; bottom: 22px; transform: rotate(135deg); }
  #top .ikas__isuri-img { flex: 0 0 90px; height: 110px; min-height: 0; }
  #top .ikas .ikas__titulo { font-size: 24px; }
  #top .ikas .ikas__titulo::before, #top .ikas .ikas__titulo::after { display: none; }
  #top .ikas__actividad { padding: 12px; }
  #top .ikas__media { flex: none; width: 100%; }
  #top .ikas__abestia { flex-direction: column; }
  #top .ikas__abestia .ikas__media { height: auto; }
  #top .ikas__letra { flex: none; width: 100%; }
  #top .ikas__aukerak { grid-template-columns: 1fr; }
  #top .ikas__aukera { flex-direction: row; justify-content: flex-start; padding: 10px 14px; }
  #top .ikas__aukera-ic, #top .ikas__txartela-ic { font-size: 36px; }
  #top .ikas__txartelak { flex-direction: column; }
  #top .ikas__txartela { flex: none; max-width: none; min-height: 0; flex-direction: row; justify-content: flex-start; padding: 12px 16px; }
  #top .ikas__zigilua { flex: none; width: 100%; }
  #top .ikas__pie { grid-template-columns: auto 1fr auto; gap: 10px; }
  #top .ikas__floritura { visibility: hidden; }
  #top .ikas .ikas__pie .ipuin-boton { min-width: 0; padding: 10px 16px; font-size: 15px; }
  #top .ikas__popup-caja { grid-template-columns: 1fr; padding: 24px 20px; }
  #top .ikas__popup-isuri { display: none; }
  #top .ikas__popup-cuerpo { padding-left: 0; }
}
