/* ElHuertoMC — hoja de estilo única del sitio.
   Identidad: verde huerto, lima y dorado sobre oscuro, Poppins.
   Estética original basada en la plantilla RujuxMC (SmartsHub), rehecha sin Tailwind.
   Se edita a mano: no la genera construir.mjs. */

/* ===========================================================================
   1. Variables
   =========================================================================== */

:root {
  --verde: #2ECC40;
  --verde-osc: #1f9e2e;
  --lima: #B6FF6B;
  --oro: #FFD24A;
  --celeste: #7cc8ff;
  --fondo: #07120a;
  --panel: rgba(10, 24, 14, 0.86);
  --panel-solido: #0d1f12;
  --panel-2: #132b19;
  --panel-3: #1a3822;
  --borde: rgba(182, 255, 107, 0.16);
  --borde-fuerte: rgba(182, 255, 107, 0.35);
  --texto: #eef7ee;
  --texto-2: #b9cdb9;
  --texto-3: #8aa58c;
  --peligro: #ff6b6b;
  --discord: #5865F2;
  --radio: 16px;
  --radio-sm: 10px;
  --sombra: 0 12px 32px rgba(0, 0, 0, 0.35);
  --ancho: 1200px;
  --cabecera: 68px;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --espacio-seccion: 56px;
}

/* ===========================================================================
   2. Base
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cabecera) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto);
  background-color: var(--fondo);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Fondo de Minecraft fijo con capa oscura verdosa (también en móvil) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/img/fondo.jpg") center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(46, 204, 64, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(5, 14, 8, 0.82) 0%, rgba(5, 14, 8, 0.92) 45%, rgba(5, 14, 8, 0.97) 100%);
}
body.portada::after {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(46, 204, 64, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(5, 14, 8, 0.66) 0%, rgba(5, 14, 8, 0.86) 55%, rgba(5, 14, 8, 0.96) 100%);
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--lima); text-underline-offset: 3px; }
a:hover { color: #d8ffae; }

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--oro);
  color: #1b1400;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.saltar:focus { top: 12px; }

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 16px;
}
.contenedor-estrecho { max-width: 940px; }
@media (min-width: 700px) { .contenedor { padding: 0 24px; } }

/* ===========================================================================
   3. Cabecera y menú principal
   =========================================================================== */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 9, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.cabecera-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--cabecera);
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--texto);
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.marca img { width: auto; height: 42px; }
.marca span { font-size: 1.1rem; }
.marca b { color: var(--lima); font-weight: 800; }
.marca:hover { color: var(--texto); }

.nav { margin-left: auto; }
.nav-lista {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.nav-lista > li { position: relative; }
.nav-enlace {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--texto-2);
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.93rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav-enlace:hover,
.nav-grupo.abierto > .nav-boton { background: var(--panel-3); color: var(--texto); }
.nav-enlace[aria-current="page"] { color: #06140a; background: var(--lima); }
.nav-boton svg { width: 16px; height: 16px; transition: transform 0.2s; }
.nav-grupo.abierto > .nav-boton svg { transform: rotate(180deg); }
/* Sección activa: el botón lleva una marca discreta debajo */
.nav-grupo.activo > .nav-boton { color: var(--lima); }
.nav-grupo.activo > .nav-boton::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lima);
  transform: translateX(-50%);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: rgba(8, 20, 12, 0.98);
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-sm);
  box-shadow: var(--sombra);
  display: none;
  z-index: 60;
}
/* Puente invisible para no cerrar el menú al cruzar el hueco con el ratón */
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav-grupo.abierto > .nav-sub { display: block; }
.nav-sub li { margin: 0; }
.nav-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--texto);
  text-decoration: none;
  transition: background-color 0.15s;
}
.nav-sub a:hover,
.nav-sub a:focus-visible { background: var(--panel-3); color: var(--texto); }
.nav-sub a[aria-current="page"] { background: rgba(182, 255, 107, 0.12); }
.nav-sub a[aria-current="page"] b { color: var(--lima); }
.nav-sub-icono {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--panel-3);
  border: 1px solid var(--borde);
  color: var(--lima);
}
.nav-sub-icono svg { width: 18px; height: 18px; }
.nav-sub-texto { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nav-sub-texto b { font-weight: 600; font-size: 0.95rem; }
.nav-sub-texto small { color: var(--texto-3); font-size: 0.8rem; }
.nav-discord { margin-left: 8px; }

.menu-boton {
  display: none;
  margin-left: auto;
  background: var(--panel-2);
  border: 1px solid var(--borde-fuerte);
  color: var(--texto);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.menu-boton svg { width: 20px; height: 20px; }

/* Móvil y tablet: un botón de menú y un panel con las secciones como acordeones */
@media (max-width: 899px) {
  .menu-boton { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: #06100a;
    border-bottom: 1px solid var(--borde);
    box-shadow: var(--sombra);
    display: none;
    max-height: calc(100vh - var(--cabecera));
    max-height: calc(100dvh - var(--cabecera));
    overflow-y: auto;
  }
  .nav.abierto { display: block; }
  .nav-lista {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    gap: 2px;
  }
  .nav-lista > li { position: static; }
  .nav-enlace {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radio-sm);
  }
  .nav-grupo.activo > .nav-boton::after { display: none; }
  .nav-grupo.abierto > .nav-boton { background: var(--panel-2); }
  .nav-sub {
    position: static;
    min-width: 0;
    margin: 2px 0 6px 12px;
    padding: 4px 0 4px 8px;
    border: 0;
    border-left: 2px solid var(--borde);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-sub::before { display: none; }
  .nav-discord { margin: 10px 0 0; }
  .nav-discord .boton { width: 100%; }
}

/* ===========================================================================
   4. Botones
   =========================================================================== */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--borde-fuerte);
  background: rgba(19, 43, 25, 0.85);
  color: var(--texto);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.boton:hover { background: var(--panel-3); color: var(--texto); border-color: var(--lima); }
.boton:active { transform: scale(0.97); }
.boton svg { width: 20px; height: 20px; flex: none; }
.boton-primario { background: var(--verde); border-color: transparent; color: #041008; }
.boton-primario:hover { background: #45dc56; color: #041008; }
.boton-oro { background: var(--oro); border-color: transparent; color: #221900; }
.boton-oro:hover { background: #ffe07a; color: #221900; }
.boton-discord { background: var(--discord); border-color: transparent; color: #fff; }
.boton-discord:hover { background: #4752c4; color: #fff; }
.boton-peq { padding: 8px 16px; font-size: 0.9rem; }
.boton-peq svg { width: 17px; height: 17px; }
.boton[disabled], .boton[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.acciones .boton svg:last-child:not(:first-child) { width: 16px; height: 16px; }

.enlace-mas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.enlace-mas:hover { text-decoration: underline; }
.enlace-mas svg { width: 16px; height: 16px; }

/* ===========================================================================
   5. Portada
   =========================================================================== */

.hero { padding: 44px 0 24px; text-align: center; }
.hero-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}
.logo-portada {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
}
.lema {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--oro);
  font-style: italic;
  margin: 0;
}
.modos-lema {
  color: var(--texto-2);
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Un solo bloque de llamada a la acción */
.llamada {
  width: 100%;
  max-width: 640px;
  margin-top: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.llamada-nota { margin: 0; color: var(--texto-2); font-size: 0.9rem; }
.llamada-nota strong { color: var(--texto); }
.llamada .acciones { margin-top: 6px; }

.ip-copiar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px dashed var(--borde-fuerte);
  background: rgba(6, 16, 9, 0.7);
  color: var(--texto);
  font: inherit;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  max-width: 100%;
}
.ip-copiar:hover { border-color: var(--lima); color: var(--lima); }
.ip-copiar svg { width: 18px; height: 18px; flex: none; }
.ip-grande { font-size: clamp(1.05rem, 3.5vw, 1.3rem); padding: 12px 24px; }

/* Contadores integrados bajo la llamada */
.contadores {
  list-style: none;
  width: 100%;
  max-width: 640px;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.contador {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 12px 14px;
  background: rgba(6, 16, 9, 0.55);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.contador-num {
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--lima);
  font-variant-numeric: tabular-nums;
}
.contador-num.oro { color: var(--oro); }
.contador-etq { font-size: 0.95rem; color: var(--texto); font-weight: 500; }
.contador-sub { color: var(--texto-3); font-size: 0.85rem; min-height: 1.3em; }
.estado {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--texto-2);
}
.estado::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7d8a7f;
}
.estado.en-linea::before { background: var(--verde); box-shadow: 0 0 0 4px rgba(46, 204, 64, 0.25); }
.estado.caido::before { background: var(--peligro); }
.enlace-sutil {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--texto-2);
  text-decoration: none;
}
.enlace-sutil:hover { color: var(--lima); text-decoration: underline; }

/* ===========================================================================
   6. Secciones, rejillas y tarjetas
   =========================================================================== */

.seccion { padding: var(--espacio-seccion) 0; position: relative; }
.seccion-final { padding-bottom: 72px; }
/* Separador sutil entre secciones de la portada */
.portada .seccion + .seccion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 32px, 1100px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--borde-fuerte), transparent);
}
.seccion-titulo { text-align: center; margin-bottom: 32px; }
.seccion-titulo h2 { margin-bottom: 8px; }
.seccion-titulo p { color: var(--texto-2); max-width: 620px; margin: 0 auto; }
.antetitulo {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rejilla {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.rejilla-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.rejilla-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.tarjeta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  color: var(--texto);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}
a.tarjeta:hover { transform: translateY(-4px); border-color: var(--borde-fuerte); background: rgba(19, 43, 25, 0.92); color: var(--texto); }
.tarjeta h3 { margin: 0; font-size: 1.25rem; }
.tarjeta p { margin: 0; color: var(--texto-2); font-size: 0.95rem; }
.tarjeta .mas {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lima);
  font-weight: 600;
  font-size: 0.92rem;
}
.tarjeta .mas svg { width: 16px; height: 16px; transition: transform 0.2s; }
a.tarjeta:hover .mas svg { transform: translateX(3px); }
.tarjeta-icono {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--panel-3);
  border: 1px solid var(--borde-fuerte);
  color: var(--lima);
  flex: none;
}
.tarjeta-icono svg { width: 26px; height: 26px; }
.tarjeta-icono.oro { color: var(--oro); border-color: rgba(255, 210, 74, 0.4); }
.tarjeta.proximamente { border-style: dashed; border-color: rgba(255, 210, 74, 0.4); }
.tarjeta.nueva { border-color: rgba(255, 210, 74, 0.45); }
.etiqueta-prox,
.etiqueta-nuevo {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #221900;
  background: var(--oro);
  padding: 3px 10px;
  border-radius: 999px;
}
.etiqueta-nuevo { color: #06140a; background: var(--lima); }
.producto .etiqueta-prox { position: static; align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(46, 204, 64, 0.12);
  border: 1px solid var(--borde);
  color: var(--texto-2);
}

/* Accesos rápidos (fila con icono y texto) */
.rejilla-accesos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.acceso {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  color: var(--texto);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}
.acceso:hover { transform: translateY(-2px); border-color: var(--borde-fuerte); background: rgba(19, 43, 25, 0.92); color: var(--texto); }
.acceso .tarjeta-icono { width: 44px; height: 44px; border-radius: 12px; }
.acceso .tarjeta-icono svg { width: 22px; height: 22px; }
.acceso-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acceso-texto b { font-size: 1.02rem; font-weight: 600; }
.acceso-texto span { color: var(--texto-2); font-size: 0.9rem; }

/* Pasos numerados */
.pasos {
  counter-reset: paso;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.pasos li {
  counter-increment: paso;
  position: relative;
  padding: 22px 22px 22px 80px;
}
.pasos li::before {
  content: counter(paso);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #041008;
  background: var(--lima);
}
.pasos h3 { margin-bottom: 4px; }
.pasos p { margin: 0; color: var(--texto-2); }
.pasos li .cmd { white-space: normal; }

/* Destacados (cifra + texto) */
.destacados {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.destacados li { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.destacados strong { display: block; color: var(--texto); }
.destacados span { color: var(--texto-2); font-size: 0.92rem; }
.destacados .num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--oro);
  line-height: 1.1;
  min-width: 64px;
  flex: none;
  padding-top: 2px;
}

/* Bloque final de Discord */
.bloque-discord {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bloque-discord p { color: var(--texto-2); max-width: 620px; margin: 0 auto; }
.bloque-discord .acciones { margin-top: 22px; }
.discord-icono { color: #fff; background: var(--discord); border-color: transparent; margin-bottom: 14px; }

/* ===========================================================================
   7. Novedades (listas compactas, etiquetas de modo y página completa)
   =========================================================================== */

.modo {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.modo-gens { color: #8ff08f; background: rgba(46, 204, 64, 0.12); }
.modo-oneblock { color: var(--oro); background: rgba(255, 210, 74, 0.1); }
.modo-red { color: var(--celeste); background: rgba(124, 200, 255, 0.1); }

.novedad-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--texto-3);
}
.novedad-meta time { font-variant-numeric: tabular-nums; }

.novedades-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.novedad-corta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.novedad-corta h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.novedad-corta h3 a { color: var(--texto); text-decoration: none; }
.novedad-corta h3 a:hover { color: var(--lima); text-decoration: underline; }
.novedad-corta p:last-child { margin: 0; color: var(--texto-2); font-size: 0.9rem; }

/* Bloque «Últimas novedades de …» en las guías */
.novedades-modo {
  margin-bottom: 20px;
  padding: 20px 18px;
  background: rgba(255, 210, 74, 0.05);
  border: 1px solid rgba(255, 210, 74, 0.28);
  border-radius: var(--radio);
}
@media (min-width: 700px) { .novedades-modo { padding: 22px 28px; } }
.novedades-modo[hidden] { display: none; }
.novedades-modo-cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.novedades-modo h2 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--oro);
}
.novedades-modo h2 svg { width: 20px; height: 20px; flex: none; }
.novedades-modo .novedades-lista { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.novedades-modo .novedad-corta { background: rgba(4, 12, 7, 0.5); padding: 14px 16px; }
.novedades-modo .novedad-corta h3 { font-size: 0.98rem; }
.novedades-modo .novedad-corta p:last-child { font-size: 0.86rem; }

/* Página de novedades: filtros en pestañas */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  background: rgba(6, 16, 9, 0.65);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.filtro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--texto-2);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.filtro:hover { color: var(--texto); background: var(--panel-3); }
.filtro[aria-selected="true"] { background: var(--lima); color: #06140a; }
.filtro-num {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
}
.filtro[aria-selected="true"] .filtro-num { background: rgba(0, 0, 0, 0.16); }

.novedades { display: flex; flex-direction: column; gap: 20px; padding-bottom: 64px; }
.novedad {
  background: var(--panel);
  border: 1px solid var(--borde);
  border-left: 4px solid var(--verde);
  border-radius: var(--radio);
  padding: 24px 20px;
}
@media (min-width: 700px) { .novedad { padding: 30px 32px; } }
.novedad[data-modo="oneblock"] { border-left-color: var(--oro); }
.novedad[data-modo="red"] { border-left-color: var(--celeste); }
.novedad[hidden] { display: none; }
.novedad-cab { margin-bottom: 16px; }
.novedad-cab h2 { margin: 10px 0 8px; font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.novedad-resumen { margin: 0; color: var(--texto-2); font-size: 1.02rem; }
.novedad-cuerpo { border-top: 1px solid var(--borde); padding-top: 16px; }
.novedad-cuerpo:empty { display: none; }
.novedad-cuerpo > :last-child { margin-bottom: 0; }
.novedad-pie { margin: 18px 0 0; font-size: 0.82rem; color: var(--texto-3); }
.novedad-pie a { color: var(--texto-3); }
.novedad-pie a:hover { color: var(--lima); }
.filtro-vacio { text-align: center; color: var(--texto-2); padding: 40px 0; margin: 0; }
.filtro-vacio[hidden] { display: none; }

/* ===========================================================================
   8. Cabecera de página interior
   =========================================================================== */

.pagina-cabecera {
  padding: 40px 0 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--borde);
}
.pagina-cabecera h1 { margin-bottom: 10px; }
.pagina-cabecera h1 .acento { color: var(--lima); }
.pagina-cabecera .entradilla { font-size: 1.08rem; color: var(--texto-2); max-width: 780px; margin: 0; }
.migas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--texto-3);
  margin-bottom: 10px;
}
.migas a { color: var(--texto-2); text-decoration: none; }
.migas a:hover { color: var(--lima); text-decoration: underline; }
.datos-rapidos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.datos-rapidos li {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 24, 14, 0.85);
  border: 1px solid var(--borde);
  font-size: 0.88rem;
  color: var(--texto-2);
}
.datos-rapidos b { color: var(--lima); }

/* ===========================================================================
   9. Guías: índice lateral + contenido
   =========================================================================== */

.guia {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 64px;
  align-items: start;
}
@media (min-width: 1000px) {
  .guia { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; }
}

.lateral { min-width: 0; }
@media (min-width: 1000px) {
  .lateral {
    position: sticky;
    top: calc(var(--cabecera) + 16px);
  }
}

.buscador {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(6, 16, 9, 0.7);
  border: 1px solid var(--borde);
  transition: border-color 0.2s;
}
.buscador:hover { border-color: var(--borde-fuerte); }
.buscador svg { width: 16px; height: 16px; color: var(--texto-3); flex: none; }
.buscador input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--texto);
  font: inherit;
  font-size: 0.9rem;
  padding: 6px 0;
}
.buscador input::placeholder { color: var(--texto-3); }
.buscador input:focus { outline: none; }
.buscador:focus-within { outline: 3px solid var(--oro); outline-offset: 2px; border-color: var(--borde-fuerte); }
.buscador button {
  background: var(--panel-3);
  color: var(--texto-2);
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}
.buscador button[hidden] { display: none; }
.buscador-estado { font-size: 0.82rem; color: var(--texto-3); margin: 0 0 10px 12px; min-height: 1.2em; }

/* Índice: discreto, una lista con un filete a la izquierda */
.indice {
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
}
.indice summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.indice summary::-webkit-details-marker { display: none; }
.indice summary::after { content: "▾"; color: var(--lima); transition: transform 0.2s; }
.indice[open] summary::after { transform: rotate(180deg); }
.indice nav { display: flex; flex-direction: column; min-height: 0; }
.indice ol {
  list-style: none;
  margin: 0;
  padding: 0 8px 12px;
}
.indice li { margin: 0; }
.indice li a {
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--texto-3);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  border-left: 2px solid transparent;
}
.indice li a:hover { color: var(--texto); background: rgba(255, 255, 255, 0.04); }
.indice li a.activo { color: var(--lima); border-left-color: var(--lima); background: rgba(46, 204, 64, 0.07); }
@media (min-width: 1000px) {
  .indice {
    background: transparent;
    border: 0;
    border-radius: 0;
    max-height: calc(100vh - var(--cabecera) - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .indice summary {
    cursor: default;
    pointer-events: none;
    padding: 4px 12px 6px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--texto-3);
  }
  .indice summary::after { display: none; }
  .indice ol { padding: 0 0 8px; border-left: 2px solid var(--borde); }
  .indice li a { border-radius: 0 6px 6px 0; margin-left: -2px; }
}

.contenido { min-width: 0; }
.bloque {
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 22px 18px;
  margin-bottom: 20px;
}
@media (min-width: 700px) { .bloque { padding: 30px 32px; } }
.bloque[hidden] { display: none; }
.bloque > :last-child { margin-bottom: 0; }
.bloque h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borde);
  margin-bottom: 18px;
}
.bloque h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--verde);
  transform: rotate(45deg);
  flex: none;
  border-radius: 2px;
}
.bloque h3 { margin-top: 1.6em; color: var(--lima); }
.bloque h4 { margin-top: 1.3em; color: var(--oro); }
.bloque h2 + h3, .bloque h2 + p + h3 { margin-top: 0.4em; }
.bloque ul, .bloque ol,
.novedad-cuerpo ul, .novedad-cuerpo ol,
.respuesta ul, .respuesta ol { padding-left: 1.3em; margin: 0 0 1em; }
.bloque li, .novedad-cuerpo li, .respuesta li { margin-bottom: 0.35em; }
.bloque li::marker, .novedad-cuerpo li::marker, .respuesta li::marker { color: var(--verde); }
.bloque strong, .novedad-cuerpo strong { color: #ffffff; }
.bloque .acciones { justify-content: flex-start; margin-top: 16px; }

.intro { font-size: 1.02rem; }

.nota {
  margin: 0 0 1em;
  padding: 14px 18px;
  border-left: 4px solid var(--oro);
  border-radius: 0 var(--radio-sm) var(--radio-sm) 0;
  background: rgba(255, 210, 74, 0.08);
  color: var(--texto);
}
.nota p { margin: 0 0 0.4em; }
.nota p:last-child { margin: 0; }
.nota.verde { border-left-color: var(--verde); background: rgba(46, 204, 64, 0.09); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(182, 255, 107, 0.1);
  border: 1px solid rgba(182, 255, 107, 0.18);
  color: #dcffbd;
  overflow-wrap: anywhere;
}
code.cmd { cursor: copy; transition: background-color 0.2s, border-color 0.2s; }
code.cmd:hover { background: rgba(182, 255, 107, 0.2); border-color: var(--lima); }
code.cmd.copiado { background: rgba(255, 210, 74, 0.22); border-color: var(--oro); }

.bloque-cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1em;
  padding: 10px 10px 10px 16px;
  border-radius: var(--radio-sm);
  background: #06110a;
  border: 1px solid var(--borde-fuerte);
}
.bloque-cmd code {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.98rem;
  cursor: text;
}
.bloque-cmd code::before { content: "› "; color: var(--verde); }
.copiar {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel-3);
  border: 1px solid var(--borde-fuerte);
  color: var(--texto);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.copiar:hover { border-color: var(--lima); color: var(--lima); }
.copiar svg { width: 15px; height: 15px; }

/* Tablas: cabecera fija, filas alternas y desplazamiento interno */
.tabla-wrap {
  width: 100%;
  max-height: min(80vh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0 0 1.25em;
  border-radius: var(--radio-sm);
  border: 1px solid var(--borde);
  background: rgba(4, 12, 7, 0.55);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.tabla-wrap:focus-visible { outline-offset: 2px; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}
th, td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(182, 255, 107, 0.08);
}
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #11291a;
  color: var(--lima);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--borde-fuerte);
}
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }
tbody tr:hover td { background: rgba(46, 204, 64, 0.08); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.centro, th.centro { text-align: center; }
tr[hidden] { display: none; }
.tabla-ancha table { min-width: 860px; }
.tabla-ancha td:nth-child(2) { white-space: nowrap; }

.si { color: var(--verde); font-weight: 800; }

.rareza {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.r-comun { color: #cfd8cf; }
.r-poco-comun { color: #6fe07b; }
.r-raro { color: #62b6ff; }
.r-epico { color: #d38cff; }
.r-legendario { color: var(--oro); }
.r-mitico { color: #ff7ac8; }
.r-divino { color: #7cf5ff; }

mark {
  background: rgba(255, 210, 74, 0.35);
  color: #fff;
  border-radius: 3px;
  padding: 0 2px;
}

/* Etiquetas de rango */
.rango {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.rg-miembro { background: #3a403b; color: #e2e2e2; }
.rg-vip { background: #55FF55; color: #062a06; }
.rg-vipplus { background: #2ECC71; color: #052613; }
.rg-elite { background: #55FFFF; color: #052a2a; }
.rg-titan { background: #FFAA00; color: #2a1a00; }
.rg-youtuber { background: #FF0000; color: #fff; }
.rg-streamer { background: #9146FF; color: #fff; }
.rg-helper { background: #5555FF; color: #fff; }
.rg-mod { background: #00AAAA; color: #021f1f; }
.rg-admin { background: #FF5555; color: #2a0505; }
.rg-owner { background: #AA0000; color: #fff; }

.escalera {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}
.escalera li { display: flex; align-items: center; gap: 8px; margin: 0; }
.escalera li + li::before { content: "→"; color: var(--texto-3); }

.rangos-cartas {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-bottom: 1.2em;
}
.rango-carta {
  padding: 18px;
  border-radius: var(--radio-sm);
  background: rgba(4, 12, 7, 0.6);
  border: 1px solid var(--borde);
}
.rango-carta h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--texto); }
.rango-carta ul { margin: 0; padding-left: 1.1em; font-size: 0.92rem; color: var(--texto-2); }
.rango-carta li { margin-bottom: 6px; }
.rango-carta .rango { font-size: 0.75rem; padding: 1px 7px; }

/* Acordeones (FAQ) */
.pregunta {
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  background: rgba(4, 12, 7, 0.55);
  margin-bottom: 10px;
}
.pregunta[hidden] { display: none; }
.pregunta summary {
  cursor: pointer;
  padding: 14px 44px 14px 18px;
  font-weight: 600;
  position: relative;
  list-style: none;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lima);
}
.pregunta[open] summary::after { content: "−"; }
.pregunta[open] summary { color: var(--lima); }
.pregunta .respuesta { padding: 0 18px 16px; color: var(--texto-2); }
.pregunta .respuesta p:last-child { margin-bottom: 0; }

/* Staff */
.staff-rejilla {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.staff-carta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 20px;
  background: rgba(4, 12, 7, 0.55);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  transition: transform 0.2s, border-color 0.2s;
}
.staff-carta:hover { transform: translateY(-4px); border-color: var(--borde-fuerte); }
.staff-carta img {
  width: 104px;
  height: 104px;
  border-radius: 18px;
  image-rendering: pixelated;
  border: 3px solid var(--verde);
  background: var(--panel-2);
  margin-bottom: 6px;
}
.staff-carta h3 { margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.staff-carta p { margin: 0; color: var(--texto-2); font-size: 0.93rem; }
.staff-carta .rango { margin-bottom: 4px; }

/* Tienda */
.producto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: rgba(4, 12, 7, 0.6);
  border: 1px dashed rgba(255, 210, 74, 0.35);
  border-radius: var(--radio);
}
.producto h3 { margin: 0; font-size: 1.1rem; }
.producto p { margin: 0; color: var(--texto-2); font-size: 0.93rem; }
.producto .precio { color: var(--texto-3); font-weight: 600; }
.producto .boton { margin-top: auto; align-self: stretch; }

/* 404 */
.error-pagina { text-align: center; padding: 80px 0; }
.error-codigo {
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--lima);
  text-shadow: 0 8px 40px rgba(46, 204, 64, 0.4);
  margin: 0 0 12px;
}
.error-pagina .entradilla { color: var(--texto-2); font-size: 1.1rem; }

/* ===========================================================================
   10. Pie
   =========================================================================== */

.pie {
  margin-top: auto;
  background: rgba(4, 11, 6, 0.95);
  border-top: 1px solid var(--borde);
  padding: 48px 0 24px;
  color: var(--texto-2);
  font-size: 0.92rem;
}
.pie-grid {
  display: grid;
  gap: 32px 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .pie-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pie-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.pie-marca p { max-width: 320px; margin: 12px 0 14px; }
@media (min-width: 620px) and (max-width: 979px) { .pie-marca { grid-column: 1 / -1; } }
.pie h2 {
  font-size: 0.78rem;
  color: var(--texto);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 8px; }
.pie a { color: var(--texto-2); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.pie a:hover { color: var(--lima); text-decoration: underline; }
.pie li a svg { width: 13px; height: 13px; }
.pie .marca { margin-bottom: 0; }
.pie .ip-copiar { font-size: 0.9rem; padding: 8px 14px; }
.pie-discord { margin-top: 8px; }
.pie-discord:hover { text-decoration: none; }
.pie-legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
  font-size: 0.8rem;
  color: var(--texto-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.pie-legal p { margin: 0; }

/* ===========================================================================
   11. Aviso flotante y volver arriba
   =========================================================================== */

.aviso {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px);
  background: var(--verde);
  color: #041008;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--sombra);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  text-align: center;
}
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }
.aviso.error { background: var(--peligro); color: #1a0000; }

.arriba {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--borde-fuerte);
  background: rgba(10, 24, 14, 0.95);
  color: var(--lima);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.arriba.visible { opacity: 1; visibility: visible; }
.arriba:hover { background: var(--panel-3); }
.arriba svg { width: 22px; height: 22px; }

/* ===========================================================================
   12. Preferencias del usuario y pantallas pequeñas
   =========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  a.tarjeta:hover, .acceso:hover, .staff-carta:hover, .boton-primario:hover { transform: none; }
  a.tarjeta:hover .mas svg { transform: none; }
}

/* Más contraste: bordes y textos secundarios más marcados, fondo menos transparente */
@media (prefers-contrast: more) {
  :root {
    --borde: rgba(182, 255, 107, 0.45);
    --borde-fuerte: rgba(182, 255, 107, 0.75);
    --texto-2: #dcebdc;
    --texto-3: #b9cfb9;
    --panel: rgba(8, 20, 12, 0.97);
  }
  body::after, body.portada::after { background: rgba(5, 14, 8, 0.94); }
  .nav-enlace, .filtro { color: var(--texto); }
  .nav-sub { background: #08140c; }
}

/* Modo de colores forzados (alto contraste de Windows): que se vean los bordes y lo activo */
@media (forced-colors: active) {
  .boton, .tarjeta, .acceso, .panel, .bloque, .novedad, .novedad-corta, .nav-sub, .filtro, .contador, .pregunta, .producto, .indice { border: 1px solid CanvasText; }
  .nav-enlace[aria-current="page"], .filtro[aria-selected="true"], .indice li a.activo { outline: 2px solid Highlight; outline-offset: -2px; }
  .modo, .rango, .rareza, .chips li { border: 1px solid CanvasText; }
  .estado::before { border: 1px solid CanvasText; }
}

@media (max-width: 420px) {
  body { font-size: 15px; }
  .boton { padding: 12px 20px; }
  .pasos li { padding: 18px 16px 18px 70px; }
  .pasos li::before { left: 16px; top: 18px; width: 38px; height: 38px; }
  th, td { padding: 8px 10px; }
  .marca span { font-size: 1rem; }
  .bloque-cmd { flex-wrap: wrap; }
  .llamada { padding: 20px 14px; }
  .acciones .boton { width: 100%; }
  .filtros { width: 100%; }
  .filtro { flex: 1 1 auto; justify-content: center; padding: 8px 10px; }
}
@media (max-width: 360px) {
  .cabecera .marca span { font-size: 0.9rem; }
  .menu-boton span { display: none; }
  .menu-boton { padding: 8px 10px; }
}

@media print {
  body::before, body::after, .cabecera, .lateral, .pie, .arriba, .aviso, .filtros { display: none; }
  body { background: #fff; color: #000; }
  .bloque, .novedad { border: 0; background: none; }
  .tabla-wrap { max-height: none; overflow: visible; }
}
