/* Barra de aviso (Discord y WhatsApp), barra de navegación flotante y buscador de addons.
   Se carga después de glass.css. */

:root { --promo-h: 44px; }
@media (max-width: 639px) { :root { --promo-h: 40px; } }

/* el encabezado lleva la barra de aviso arriba y la barra flotante debajo;
   al bajar, la barra de aviso se esconde y queda solo la flotante */
header.nav {
  height: calc(var(--promo-h) + var(--nav));
  background: transparent !important; border-bottom: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
header.nav.is-scrolled { transform: translateY(calc(-1 * var(--promo-h))); }
@media (prefers-reduced-motion: reduce) { header.nav { transition: none; } }

/* ---------- barra de aviso */
.promo {
  height: var(--promo-h); display: flex; align-items: center;
  background: linear-gradient(90deg, rgb(88 101 242 / .9), rgb(10 24 34 / .92) 45%, rgb(10 24 34 / .92) 55%, rgb(37 211 102 / .75));
  border-bottom: 1px solid rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  color: #fff; font-size: 14px;
}
.promo__bar { display: flex; align-items: center; justify-content: center; gap: var(--s-3); white-space: nowrap; }
.promo__bar strong { font-weight: 600; }
.promo__text { color: rgb(255 255 255 / .78); }
.promo__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 var(--s-4); border-radius: 999px;
  font-weight: 600; font-size: 13px; color: #fff; text-decoration: none;
  border: 1px solid rgb(255 255 255 / .35); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45);
  transition: transform 150ms, filter 150ms;
}
.promo__btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.promo__btn img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.promo__btn--discord { background: linear-gradient(180deg, #7b87ff, #5865f2); }
.promo__btn--wa { background: linear-gradient(180deg, #45e07e, #1fb957); }
@media (max-width: 1023px) { .promo__text { display: none; } }
@media (max-width: 639px) {
  .promo { font-size: 13px; }
  .promo__bar { gap: var(--s-2); }
  .promo__bar strong { display: none; }
  .promo__btn { height: 28px; padding: 0 10px; }
}

/* ---------- barra flotante de vidrio */
header.nav > .nav__bar {
  height: calc(var(--nav) - 12px); margin-top: 6px;
  padding: 0 var(--s-2) 0 var(--s-5); border-radius: 20px;
  background: rgb(10 24 34 / .55);
  border: 1px solid rgb(255 255 255 / .12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 12px 36px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  gap: var(--s-6);
}
@media (max-width: 639px) { header.nav > .nav__bar { padding: 0 var(--s-2) 0 var(--s-3); border-radius: 16px; } }
.nav__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }

/* botones redondos de Discord y WhatsApp */
.social-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .35);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 6px 18px rgb(0 0 0 / .25);
  transition: transform 150ms, filter 150ms;
}
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-btn img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.social-btn--discord { background: linear-gradient(180deg, #7b87ff, #5865f2); }
.social-btn--wa { background: linear-gradient(180deg, #45e07e, #1fb957); }

/* ---------- buscador */
.search { position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 14px; width: 18px; height: 18px; color: rgb(255 255 255 / .6); pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 var(--s-4) 0 42px; border-radius: 999px;
  font: 400 15px/1 var(--font-text); color: var(--p-ink);
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 150ms, background-color 150ms;
}
.search input::placeholder { color: rgb(255 255 255 / .55); }
.search input:focus { border-color: rgb(245 154 35 / .8); background: rgb(255 255 255 / .1); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.nav .search { width: clamp(220px, 22vw, 320px); }
@media (max-width: 1279px) { .nav .search { width: 220px; } .nav__links { gap: var(--s-4); } }
@media (max-width: 1023px) { .nav .search { display: none; } .nav.is-open .search { display: flex; width: 100%; } }

/* resultados */
.search__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; min-width: 300px;
  margin: 0; padding: 6px; list-style: none; border-radius: 18px;
  background: rgb(12 28 40 / .97); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 20px 50px rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
}
.nav .search__results { left: auto; width: 340px; }
.search__results a {
  display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: var(--s-3);
  padding: 6px; border-radius: 12px; color: var(--p-ink); text-decoration: none;
}
.search__results a:hover, .search__results [aria-selected="true"] a { background: rgb(255 255 255 / .1); }
.search__results img { width: 72px; height: 40px; object-fit: cover; border-radius: 8px; }
.search__results b { display: block; font-weight: 600; font-size: 15px; }
.search__results small { color: var(--p-muted); font-size: 13px; }
.search__empty { padding: var(--s-3) var(--s-4); color: var(--p-muted); font-size: 14px; }

/* buscador grande del inicio */
.hero-search { margin: var(--s-6) 0 var(--s-2); }
.hero-search input { height: 52px; font-size: 16px; background: rgb(255 255 255 / .1); }
@media (max-width: 1023px) { .hero-search { margin-top: var(--s-4); } }
@media (max-width: 639px) { .hero-search { margin: var(--s-3) 0 0; } .hero-search input { height: 48px; } }

/* botones del inicio: Addons, Texturas y Tutoriales */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.hero-actions .btn { height: 48px; padding: 0 var(--s-5); gap: var(--s-2); }
.hero-emoji { font-size: 18px; line-height: 1; }
.solo-movil { display: none; }
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); height: 48px; padding: 0 var(--s-5);
  border-radius: 999px; color: #fff; text-decoration: none; font: 500 16px/1 var(--font-text); white-space: nowrap;
  background: linear-gradient(140deg, rgb(255 255 255 / .2), rgb(255 255 255 / .06));
  border: 1px solid rgb(255 255 255 / .3);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 8px 22px rgb(0 0 0 / .18);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  transition: transform 160ms cubic-bezier(.2,.7,.2,1), background-color 160ms;
}
.btn-glass:hover { transform: translateY(-2px); background: linear-gradient(140deg, rgb(255 255 255 / .28), rgb(255 255 255 / .1)); }
.btn-glass:active { transform: translateY(0) scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn-glass { transition: none; } }
@media (max-width: 639px) {
  .hero-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 0; }
  .hero-actions .btn, .hero-actions .btn-glass { width: 100%; height: 48px; padding: 0 4px; gap: 5px; font-size: 14px; }
  .hero-emoji { font-size: 15px; }
  .solo-pc { display: none; }
  .solo-movil { display: inline; }
}

/* buscador dentro de cada sección */
.section-head.section-head--filtro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; max-width: none; width: 100%; }
.section-head--filtro h2 { margin: 0; flex: 1 1 420px; max-width: 760px; }
.filtro { width: min(340px, 100%); flex: none; }
.filtro input { height: 48px; background: rgb(255 255 255 / .08); }
.filtro__vacio { margin: 0 0 var(--s-5); padding: var(--s-5) var(--s-6); border-radius: 18px; color: var(--p-muted);
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.item-card[hidden] { display: none !important; }
@media (max-width: 639px) { .section-head--filtro { gap: var(--s-4); } .filtro { width: 100%; } }

/* ---------- celular y tablet: el cielo de la foto llega hasta arriba, sin franja oscura bajo la barra */
@media (max-width: 1023px) {
  /* foto más baja que se difumina hacia el fondo; el título entra sobre el difuminado */
  .hero--photo { --photo: min(30svh, 42vw); background: var(--p-bg) !important; height: auto !important; min-height: 0 !important; padding-bottom: var(--s-4) !important; }
  .hero--photo > .hero__bg {
    top: 0 !important; height: calc(var(--promo-h) + var(--nav) + var(--photo) + 96px) !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgb(0 0 0 / .55) 72%, rgb(0 0 0 / .15) 88%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgb(0 0 0 / .55) 72%, rgb(0 0 0 / .15) 88%, transparent 100%);
  }
  .hero--photo h1 { text-shadow: 0 2px 18px rgb(10 24 34 / .85), 0 1px 3px rgb(10 24 34 / .6); }
  .hero--photo .hero__lead { margin-bottom: 0; }
}
@media (max-width: 639px) {
  .hero-actions { margin-top: var(--s-3); }
  .promo { background: linear-gradient(90deg, rgb(88 101 242 / .55), rgb(37 211 102 / .45)); border-bottom-color: rgb(255 255 255 / .18); }
}

/* ---------- cada sección mide lo que su contenido, sin pantallas vacías */
main > :is(section, .section):not(.hero) {
  height: auto !important; min-height: 0 !important;
  padding-top: clamp(88px, 8vw, 120px) !important; padding-bottom: clamp(32px, 4vw, 56px) !important;
}
main > :is(section, .section):not(.hero) > .wrap { height: auto !important; }
footer.closing { height: auto !important; min-height: 0 !important; padding-top: clamp(72px, 7vw, 104px) !important; }

/* ---------- cierre: comunidad */
.cierre { padding-bottom: var(--s-7); margin-bottom: 0; border-bottom: 1px solid var(--line); }
.cierre__card {
  display: grid; grid-template-columns: minmax(180px, 280px) 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px); border-radius: 32px;
  background: linear-gradient(120deg, rgb(88 101 242 / .22), rgb(255 255 255 / .05) 45%, rgb(37 211 102 / .16));
  border: 1px solid rgb(255 255 255 / .18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 24px 60px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
}
.cierre__logo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 40px rgb(0 0 0 / .35); transform: rotate(-3deg); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.cierre__card:hover .cierre__logo { transform: rotate(0deg) scale(1.02); }
.cierre__texto { display: grid; gap: var(--s-4); }
.cierre__texto h2 { margin: 0; font-family: "Inter", var(--font-display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; max-width: 16ch; }
.cierre__texto p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--p-ink); opacity: .85; max-width: 46ch; }
.cierre__btns { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.cierre__btn {
  display: inline-flex; align-items: center; gap: var(--s-2); height: 52px; padding: 0 var(--s-6); border-radius: 999px;
  color: #fff; text-decoration: none; font: 600 16px/1 var(--font-text); white-space: nowrap;
  border: 1px solid rgb(255 255 255 / .4); box-shadow: inset 0 1px 1px rgb(255 255 255 / .55), 0 10px 26px rgb(0 0 0 / .25);
  transition: transform 160ms cubic-bezier(.2,.7,.2,1), filter 160ms;
}
.cierre__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cierre__btn:active { transform: scale(.97); }
.cierre__btn img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.cierre__btn--discord { background: linear-gradient(180deg, #7b87ff, #5865f2); }
.cierre__btn--wa { background: linear-gradient(180deg, #45e07e, #1fb957); }
@media (max-width: 760px) {
  .cierre__card { grid-template-columns: 1fr; text-align: left; }
  .cierre__logo { width: 140px; }
  .cierre__btns { display: grid; grid-template-columns: 1fr; }
  .cierre__btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cierre__logo, .cierre__btn { transition: none; } }

/* ---------- menú del celular y tablet: hoja de pantalla completa
   (el vidrio de la barra encerraba la hoja dentro de la barra; al abrir, el vidrio pasa a todo el encabezado) */
.social-btn__txt { display: none; }
@media (max-width: 1023px) {
  header.nav.is-open {
    transform: none !important; height: 100dvh; overflow: hidden;
    background: rgb(8 20 29 / .96) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important; backdrop-filter: blur(24px) saturate(160%) !important;
  }
  header.nav.is-open > .nav__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / .06); box-shadow: none; }
  .nav.is-open .nav__links {
    top: calc(var(--promo-h) + var(--nav)); background: transparent;
    padding: var(--s-5) var(--gut) 240px;
  }
  .nav.is-open .nav__item { border-bottom-color: rgb(255 255 255 / .1); }
  .nav.is-open .nav__link { height: 62px; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
  .nav.is-open .nav__expand { height: 62px; color: #fff; }
  .nav.is-open .nav__menu { background: transparent !important; }
  .nav.is-open .menu-col > a, .nav.is-open .menu-card { color: rgb(255 255 255 / .9); }
  /* abajo: buscador y comunidad, a mano del pulgar */
  .nav.is-open .nav__actions {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin: 0;
    background: rgb(8 20 29 / .98); border-top: 1px solid rgb(255 255 255 / .1);
    padding: var(--s-4) var(--gut) calc(var(--s-4) + env(safe-area-inset-bottom));
  }
  .nav.is-open .nav__actions .search { grid-column: 1 / -1; display: flex; width: 100%; }
  .nav.is-open .nav__actions .search__results { top: auto; bottom: calc(100% + 8px); left: 0; right: 0; width: auto; min-width: 0; max-height: 50vh; overflow-y: auto; }
  .nav.is-open .social-btn { width: 100%; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
  .nav.is-open .social-btn__txt { display: inline; color: #fff; font: 600 16px/1 var(--font-text); }
  .nav.is-open .nav__toggle { background: rgb(255 255 255 / .12); }
}

/* ---------- nombre Buxban en la barra y el pie: misma letra gruesa de los títulos */
.brand-face { font-family: "Inter", var(--font-display) !important; font-weight: 800; text-transform: uppercase !important; letter-spacing: -0.01em !important; font-size: 20px; }
.nav__logo { gap: 10px; }
.nav__logo .brand-avatar { border-radius: 9px; }

/* ---------- botón de menú (celular y tablet): más chico y centrado en la barra, con zona de toque de 44px */
@media (max-width: 1023px) {
  header.nav > .nav__bar { padding-right: 8px; }
  .nav__toggle {
    position: relative; width: 36px !important; height: 36px !important; border-radius: 12px !important;
    background: rgb(255 255 255 / .1) !important; border: 1px solid rgb(255 255 255 / .16) !important;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .2) !important;
  }
  .nav__toggle::after { content: ""; position: absolute; inset: -5px; }
  .nav__toggle svg { width: 16px; height: 16px; }
}
@media (max-width: 639px) {
  .brand-face { font-size: 18px; }
  .nav__logo .brand-avatar { width: 28px !important; height: 28px !important; border-radius: 8px; }
  header.nav > .nav__bar { padding-left: 10px !important; padding-right: 6px !important; }
}

/* ---------- versión junto al nombre: más chica y transparente */
.item-card__ver, .search__ver {
  font-family: var(--font-text); font-weight: 500; letter-spacing: 0; white-space: nowrap;
  font-size: .62em; opacity: .55; margin-left: .2em; vertical-align: .14em;
}
.search__ver { font-size: .8em; vertical-align: 0; }

/* ---------- "Ver más" en Addons y Texturas */
.ver-mas { display: flex; justify-content: center; margin-top: var(--s-7); }
.ver-mas__btn { min-width: 240px; height: 52px; font-size: 16px; font-weight: 600; cursor: pointer; }
@media (max-width: 639px) { .ver-mas__btn { width: 100%; } }
/* antes de que cargue el script, no mostrar las tarjetas que van a quedar ocultas (evita el salto) */
html.js-ver-mas [data-filtro-grid] > .item-card:nth-child(n + 7) { display: none; }
@media (min-width: 640px) and (max-width: 1023px) { html.js-ver-mas [data-filtro-grid] > .item-card:nth-child(n + 5) { display: none; } }

/* ---------- fecha (y luego descargas) en cada tarjeta */
.item-card__meta { display: flex; align-items: center; gap: var(--s-4); padding: 0 var(--s-2); margin-top: -4px; color: var(--p-muted); font-size: 13px; font-weight: 500; }
.item-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.item-card__meta svg { width: 14px; height: 14px; opacity: .8; flex: none; }
.item-card__dl[hidden], .pill--dl[hidden] { display: none !important; }
.item-card__dl b { font-weight: 600; color: var(--p-ink); }
.pill--dl { display: inline-flex; align-items: center; gap: 6px; }
.pill--dl svg { width: 14px; height: 14px; }

/* ---------- videos: botón "Ver tráiler", diapositiva de video en la galería y ventana del video */
.video-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.video-btn {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: 6px 20px 6px 6px; border-radius: 999px; cursor: pointer;
  color: #fff; text-align: left; font: inherit;
  background: linear-gradient(140deg, rgb(255 255 255 / .16), rgb(255 255 255 / .05));
  border: 1px solid rgb(255 255 255 / .26);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 10px 26px rgb(0 0 0 / .25);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  transition: transform 160ms cubic-bezier(.2,.7,.2,1), background-color 160ms;
}
.video-btn:hover { transform: translateY(-2px); background: linear-gradient(140deg, rgb(255 255 255 / .24), rgb(255 255 255 / .08)); }
.video-btn:active { transform: scale(.97); }
.video-btn__play {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(180deg, #ff5a4f, #e0261a); box-shadow: inset 0 1px 1px rgb(255 255 255 / .55), 0 6px 16px rgb(224 38 26 / .45);
}
.video-btn__play svg { width: 20px; height: 20px; margin-left: 2px; }
.video-btn b { display: block; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.video-btn small { display: block; font-size: 13px; opacity: .75; }

.gallery__video { position: relative; flex: 0 0 100%; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.gallery__video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms cubic-bezier(.2,.7,.2,1), filter 300ms; }
.gallery__video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgb(0 0 0 / .15), rgb(0 0 0 / .45)); pointer-events: none; }
.gallery__video:hover img { transform: scale(1.03); filter: brightness(.95); }
.gallery__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgb(255 255 255 / .18); border: 1px solid rgb(255 255 255 / .5);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 14px 40px rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), background-color 200ms;
}
.gallery__play svg { width: 34px; height: 34px; margin-left: 4px; }
.gallery__video:hover .gallery__play { transform: scale(1.08); background: rgb(224 38 26 / .85); }
.gallery__video-label {
  position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 1; padding: 6px 12px; border-radius: 999px;
  background: rgb(10 24 34 / .7); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.gallery__thumb--video { position: relative; }
.gallery__thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(0 0 0 / .35); }
.gallery__thumb-play svg { width: 18px; height: 18px; }

.video-modal { width: min(1100px, 100vw - 24px); max-width: none; padding: 0; border: 0; background: none; overflow: visible; }
.video-modal::backdrop { background: rgb(2 8 12 / .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-modal__box { position: relative; }
.video-modal__marco { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgb(0 0 0 / .6); border: 1px solid rgb(255 255 255 / .14); }
.video-modal__marco iframe, .video-modal__marco video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video-modal__cerrar {
  position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: #fff; font-size: 18px;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3);
}
.video-modal__cerrar:hover { background: rgb(255 255 255 / .26); }
@media (max-width: 639px) { .video-btn { flex: 1 1 100%; } .gallery__play { width: 64px; height: 64px; } .gallery__play svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .video-btn, .gallery__video img, .gallery__play { transition: none; } }
.ver-mas__btn[hidden] { display: none; }

/* ---------- catálogo completo: addons.html y texturas.html */
.catalogo .crumb { margin-bottom: var(--s-2); }
.catalogo__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-6); }
.catalogo__titulo { display: grid; gap: var(--s-3); max-width: 720px; }
.catalogo__titulo h1 { margin: 0; font-family: "Inter", var(--font-display); font-weight: 800; letter-spacing: -0.04em; font-stretch: normal; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1; }
.catalogo__titulo .t-lead { margin: 0; color: var(--p-muted); max-width: 56ch; }
.catalogo__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); }
.catalogo__tabs a { display: inline-flex; align-items: center; gap: var(--s-2); height: 44px; padding: 0 var(--s-5); border-radius: 999px; color: var(--p-muted); text-decoration: none; font-weight: 600; transition: background-color 160ms, color 160ms; }
.catalogo__tabs a:hover { color: #fff; }
.catalogo__tabs a[aria-current="page"] { color: #1d1000; background: linear-gradient(180deg, #ffdea8, #f7a334 45%, #e27a0c); box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), 0 6px 18px rgb(245 154 35 / .3); }
.catalogo__tabs span, .chip span { font-size: 13px; font-weight: 500; opacity: .7; }

/* barra de herramientas: se queda pegada arriba al bajar */
.catalogo__barra { position: sticky; top: calc(var(--nav-h, 64px) + 20px); z-index: 4; display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3); border-radius: 26px; margin-bottom: var(--s-4); }
.catalogo__buscar { flex: 1 1 280px; }
.catalogo__buscar input { height: 48px; background: rgb(255 255 255 / .08); }
.catalogo__filtros { display: flex; align-items: center; gap: var(--s-3); flex: 1 1 auto; }
.catalogo__chips, .catalogo__orden { display: flex; gap: 6px; }
.catalogo__orden { margin-left: auto; }
/* vidrio más oscuro: al bajar queda encima de portadas de muchos colores y tiene que leerse */
.catalogo__barra.glass { background: linear-gradient(140deg, rgb(26 54 72 / .86), rgb(10 24 34 / .82)); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s-4); border-radius: 999px; cursor: pointer;
  color: #fff; font: 500 14px/1 var(--font-text); white-space: nowrap;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); transition: background-color 160ms, border-color 160ms, transform 160ms cubic-bezier(.2,.7,.2,1); }
.chip:hover { background: rgb(255 255 255 / .14); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: rgb(255 255 255 / .9); color: #0a1822; border-color: transparent; }
.catalogo__cuenta { margin: 0 0 var(--s-5) var(--s-2); color: var(--p-muted); font-size: 14px; font-weight: 500; }
.catalogo__grid { row-gap: var(--s-6); }
@media (max-width: 1023px) {
  .catalogo__barra { top: calc(var(--nav-h, 56px) + 12px); }
}
@media (max-width: 639px) {
  .catalogo__head { gap: var(--s-4); margin-bottom: var(--s-5); }
  .catalogo__tabs { width: 100%; }
  .catalogo__tabs a { flex: 1; justify-content: center; padding: 0 var(--s-3); }
  .catalogo__barra { border-radius: 22px; gap: var(--s-2); padding: var(--s-2); }
  .catalogo__buscar { flex-basis: 100%; }
  .catalogo__buscar input { height: 44px; }
  /* una sola fila que se desliza de lado, para que la barra pegada ocupe poco */
  .catalogo__filtros { gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--s-2)); padding: 0 var(--s-2); }
  .catalogo__filtros::-webkit-scrollbar { display: none; }
  .catalogo__orden { margin-left: 0; padding-left: 6px; border-left: 1px solid rgb(255 255 255 / .14); }
  .chip { height: 34px; padding: 0 var(--s-3); font-size: 13px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .chip, .catalogo__tabs a { transition: none; } }

/* ---------- celular: tarjetas en cuadrícula de dos (catálogo y secciones del inicio) */
@media (max-width: 639px) {
  .catalogo__grid, [data-filtro-grid] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .catalogo__grid > .item-card, [data-filtro-grid] > .item-card { grid-column: auto; min-width: 0; padding: 6px 6px 12px; gap: 8px; border-radius: 18px; }
  .catalogo__grid .item-card__img, [data-filtro-grid] .item-card__img { border-radius: 12px; }
  .catalogo__grid .item-card__body, [data-filtro-grid] .item-card__body { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 4px; }
  .catalogo__grid .item-card h3, [data-filtro-grid] .item-card h3 { font-size: 15px; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .catalogo__grid .item-card__tag, [data-filtro-grid] .item-card__tag { order: -1; font-size: 10px; letter-spacing: .08em; }
  .catalogo__grid .item-card__meta, [data-filtro-grid] .item-card__meta { padding: 0 4px; margin-top: auto; gap: var(--s-3); font-size: 11px; }
  .catalogo__grid .item-card__meta svg, [data-filtro-grid] .item-card__meta svg { width: 12px; height: 12px; }
  /* toda la tarjeta ya es el enlace: el texto "Ver y descargar" sobra en tan poco espacio */
  .catalogo__grid .item-card > .link, [data-filtro-grid] .item-card > .link { display: none; }
}

/* ---------- addons que necesitan experimentos */
.item-card__exp { color: #9fe6ff; }
.item-card__exp i { font-style: normal; }
.pill--exp { display: inline-flex; align-items: center; gap: 6px; color: #c9f1ff !important; border-color: rgb(76 201 247 / .55) !important; background: linear-gradient(140deg, rgb(76 201 247 / .22), rgb(76 201 247 / .06)) !important; }
.pill--exp svg { width: 15px; height: 15px; flex: none; }
.aviso-exp { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; padding: var(--s-4); border-radius: 18px; font-size: 15px; line-height: 1.45;
  color: #e6f8ff; background: linear-gradient(140deg, rgb(76 201 247 / .2), rgb(76 201 247 / .06)); border: 1px solid rgb(76 201 247 / .45); }
.aviso-exp svg { width: 22px; height: 22px; flex: none; color: #7fdcff; margin-top: 1px; }
.aviso-exp b, .dl-steps b { color: #fff; font-weight: 600; }
@media (max-width: 639px) { .item-card__exp i { display: none; } .aviso-exp { font-size: 14px; } }

/* la lista del buscador de arriba no debe quedar detrás de la sección siguiente (el hero es su propia capa) */
.hero { z-index: 3; }

/* ---------- tutoriales en video (inicio)
   La tarjeta es de vidrio, como las de "3 pasos". La portada es un botón que abre el video.
   La portada de PC está hecha con HTML: Windows, el título y el camino Buxban → UC Drive → Minecraft. */
.tut-video { display: block; width: auto; padding: 0; font: inherit; color: #fff; text-align: left; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.tut-video:focus-visible { outline: 3px solid rgb(245 154 35 / .9); outline-offset: 3px; }

#tutoriales .tut-poster.frame { container-type: size; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 3cqmin;
  padding: 22px; border: 1px solid rgb(255 255 255 / .2) !important; isolation: isolate;
  background:
    radial-gradient(70% 55% at 100% 100%, rgb(245 154 35 / .55), transparent 70%),
    radial-gradient(65% 50% at 0% 0%, rgb(76 201 247 / .42), transparent 70%),
    linear-gradient(165deg, #12405c, #0b2130 55%, #1c1409) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 14px 36px rgb(0 0 0 / .3) !important; }
#tutoriales .tut-poster.frame::before { display: none; }
/* cuadrícula de bloques muy suave, que se desvanece hacia abajo */
#tutoriales .tut-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: none; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 7cqmin 7cqmin;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }

.tut-poster__top { display: flex; align-items: center; gap: 8px; }
.tut-poster__os { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .24); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tut-poster__os img { width: 14px; height: 14px; }
.tut-poster__titulo { display: block; max-width: 13ch; font: 800 clamp(20px, 9cqmin, 38px)/1.02 var(--font-display, Inter), Inter, sans-serif; letter-spacing: -.03em; text-wrap: balance; }

/* el camino: Buxban → UC Drive → Minecraft */
.tut-poster__flujo { display: flex; align-items: flex-start; justify-content: space-between; gap: 1cqmin; }
.tut-paso { display: grid; justify-items: center; gap: 1.6cqmin; flex: 1 1 0; min-width: 0; }
.tut-paso small { font-size: clamp(11px, 4cqmin, 15px); font-weight: 700; line-height: 1.1; color: rgb(255 255 255 / .9); white-space: nowrap; }
.tut-paso__ic { display: grid; place-items: center; width: clamp(40px, 21cqmin, 80px); aspect-ratio: 1; border-radius: 28%; overflow: hidden;
  border: 1px solid rgb(255 255 255 / .35); box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 10px 24px rgb(0 0 0 / .35);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1); }
.tut-paso__ic img { width: 100%; height: 100%; object-fit: cover; }
.tut-paso__ic--bux { background: linear-gradient(160deg, #6fd3ff, #2a9fd6); }
.tut-paso__ic--uc { background: linear-gradient(180deg, #ffae3d, #f7931e 50%, #e8790c); }
.tut-paso__ic--uc img { width: 68%; height: auto; object-fit: contain; }
.tut-paso__ic--mc { background: linear-gradient(160deg, rgb(255 255 255 / .22), rgb(255 255 255 / .06)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tut-paso__ic--mc img { width: 64%; height: auto; border-radius: 3px; }
.tut-flecha { flex: none; width: clamp(14px, 5cqmin, 22px); margin-top: clamp(13px, 8cqmin, 30px); color: rgb(255 255 255 / .55); }

/* etiqueta de vidrio "▶ Ver tutorial · 2:13" */
.tut-video.frame > .tut-video__cta { position: relative; align-self: flex-start; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff;
  background: rgb(10 24 34 / .55); border: 1px solid rgb(255 255 255 / .28); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 10px 26px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%); }
.tut-video__play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #1d1000;
  background: linear-gradient(180deg, rgb(255 222 168), rgb(247 163 52) 45%, rgb(226 122 12)); box-shadow: inset 0 1px 1px rgb(255 255 255 / .8);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1); }
.tut-video__play svg { width: 16px; height: 16px; margin-left: 2px; }
.tut-video__dur { font-weight: 500; opacity: .75; font-variant-numeric: tabular-nums; }
.tut-video__dur::before { content: "·"; margin-right: 8px; }

@media (hover: hover) {
  .tut-video:hover .tut-video__play { transform: scale(1.12); }
  .tut-video:hover .tut-paso__ic { transform: translateY(-3px); }
  .tut-video:hover .tut-paso:nth-of-type(2) .tut-paso__ic { transition-delay: 50ms; }
  .tut-video:hover .tut-paso:nth-of-type(3) .tut-paso__ic { transition-delay: 100ms; }
}
.tut-video:active .tut-video__play { transform: scale(.92); }

/* en el celular los recuadros de los tutoriales son más altos (4:3) */
@media (max-width: 639px) {
  #tutoriales .card--row > .panel { aspect-ratio: 4 / 3; }
  #tutoriales .tut-poster.frame { padding: 16px; }
  .tut-video.frame > .tut-video__cta { gap: 8px; padding: 4px 12px 4px 4px; font-size: 13px; }
  .tut-video__play { width: 30px; height: 30px; }
  .tut-poster__os { font-size: 11px; padding: 4px 10px 4px 8px; }
}
@media (prefers-reduced-motion: reduce) { .tut-video__play, .tut-paso__ic { transition: none; } }

/* tutoriales: colores de cada sistema y la tarjeta "próximamente" */
#tutoriales .tut-poster--android.frame { background:
    radial-gradient(70% 55% at 100% 100%, rgb(245 154 35 / .5), transparent 70%),
    radial-gradient(65% 50% at 0% 0%, rgb(61 220 132 / .4), transparent 70%),
    linear-gradient(165deg, #0f3d3a, #0b2130 55%, #1c1409) !important; }
#tutoriales .tut-poster--iphone.frame { background:
    radial-gradient(70% 55% at 100% 100%, rgb(245 154 35 / .32), transparent 70%),
    radial-gradient(65% 50% at 0% 0%, rgb(200 214 230 / .3), transparent 70%),
    linear-gradient(165deg, #263848, #0b2130 55%, #17120c) !important; }
.tut-poster__os .tut-poster__ic-ink { width: 12px; height: 15px; filter: invert(1); }
.tut-poster__os img[src*="android"] { width: 18px; height: 11px; }
.tut-poster--pronto .tut-poster__flujo { opacity: .55; filter: saturate(.6); }
.tut-video__cta--pronto { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: #fff; background: rgb(10 24 34 / .55); border: 1px dashed rgb(255 255 255 / .35); }
.tut-video__cta--pronto .tut-video__play { color: #fff; background: rgb(255 255 255 / .16); box-shadow: inset 0 1px 1px rgb(255 255 255 / .4); }
@media (max-width: 639px) { .tut-video__cta--pronto { gap: 8px; padding: 4px 12px 4px 4px; font-size: 13px; } }

/* ventana de video alta para videos verticales (grabaciones del celular) */
.video-modal--vertical { width: min(100vw - 24px, (100svh - 96px) * 720 / 1640); }
.video-modal--vertical .video-modal__marco { aspect-ratio: 720 / 1640; }

/* ---------- "Descarga un addon en 3 pasos": tarjetas bajitas con un dibujo hecho con código arriba */
.pasos { align-items: stretch; }
.card.paso { padding: 12px 12px 24px; gap: 0; }
.paso > h3 { display: flex; align-items: center; gap: 10px; margin: 18px 12px 0; }
.paso > h3 .step-num { flex: none; width: 28px; height: 28px; font-size: 13px; }
.paso > p { margin: 6px 12px 0 50px; min-height: 0 !important; }
.paso__ilus { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 148px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 50% 120%, rgb(245 154 35 / .22), transparent 70%), radial-gradient(70% 80% at 0% 0%, rgb(76 201 247 / .18), transparent 70%), rgb(255 255 255 / .04);
  border: 1px solid rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14); }
.paso__ilus::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }

/* la ardilla de UC en su cuadrito naranja */
.ilus-uc { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(180deg, #ffae3d, #f7931e 50%, #e8790c); box-shadow: inset 0 1px 1px rgb(255 255 255 / .6); }
.ilus-uc img { width: 72%; height: auto; }
.ilus-uc--grande { width: 64px; height: 64px; border-radius: 18px; box-shadow: inset 0 1px 1px rgb(255 255 255 / .7), 0 12px 28px rgb(245 154 35 / .35); }

/* paso 1: una tarjeta de addon chiquita con su botón y un cursor que lo toca */
.ilus-addon { display: grid; gap: 7px; width: 168px; padding: 7px; border-radius: 14px; background: rgb(10 24 34 / .6); border: 1px solid rgb(255 255 255 / .16);
  box-shadow: 0 14px 30px rgb(0 0 0 / .35); transform: rotate(-3deg); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.ilus-addon__portada { width: 100%; height: 66px; object-fit: cover; border-radius: 9px; display: block; }
.ilus-addon__btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #1d1000;
  background: linear-gradient(180deg, rgb(255 222 168), rgb(247 163 52) 45%, rgb(226 122 12)); box-shadow: inset 0 1px 1px rgb(255 255 255 / .8); }
.ilus-addon__btn .ilus-uc { width: 18px; height: 18px; border-radius: 5px; }
/* la ardilla en naranja sobre blanco (dentro del botón naranja) */
.ilus-uc--inv { background: #fff; box-shadow: none; }
.ilus-uc--inv i { width: 74%; aspect-ratio: 1; background: #ef8710; -webkit-mask: url(tutoriales/uc-ardilla.png) center / contain no-repeat; mask: url(tutoriales/uc-ardilla.png) center / contain no-repeat; }
.ilus-cursor { position: absolute; left: calc(50% + 34px); top: calc(50% + 34px); width: 26px; height: 26px; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .4)); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }

/* paso 2: la app de UC y los tres sistemas */
.ilus-app { display: grid; justify-items: center; gap: 8px; }
.ilus-app b { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: rgb(255 255 255 / .85); }
.ilus-os { display: grid; gap: 7px; }
.ilus-os span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1); }
.ilus-os img { width: 16px; height: auto; }
.ilus-ink { filter: invert(1); }

/* paso 3: el archivo entra a Minecraft */
.ilus-archivo { display: grid; justify-items: center; gap: 6px; padding: 12px 12px 10px; border-radius: 14px; color: rgb(255 255 255 / .85); background: rgb(10 24 34 / .55); border: 1px solid rgb(255 255 255 / .16); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.ilus-archivo svg { width: 30px; height: 30px; }
.ilus-archivo code { font: 600 12px/1 var(--font-mono, monospace); color: #ffd9a0; }
.ilus-flecha { width: 22px; color: rgb(255 255 255 / .55); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.ilus-mc { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(160deg, rgb(255 255 255 / .2), rgb(255 255 255 / .06)); border: 1px solid rgb(255 255 255 / .28); box-shadow: inset 0 1px 1px rgb(255 255 255 / .5), 0 12px 26px rgb(0 0 0 / .3); }
.ilus-mc img { width: 38px; height: 38px; border-radius: 4px; }

/* al pasar el mouse por la tarjeta, el dibujo se mueve un poquito */
@media (hover: hover) {
  .paso:hover .ilus-addon { transform: rotate(0deg) translateY(-2px); }
  .paso:hover .ilus-cursor { transform: translate(-6px, -6px) scale(.92); }
  .paso:hover .ilus-os span:nth-child(1) { transform: translateX(-3px); }
  .paso:hover .ilus-os span:nth-child(2) { transform: translateX(-3px); transition-delay: 40ms; }
  .paso:hover .ilus-os span:nth-child(3) { transform: translateX(-3px); transition-delay: 80ms; }
  .paso:hover .ilus-archivo { transform: translateX(4px) rotate(-4deg); }
  .paso:hover .ilus-flecha { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .ilus-addon, .ilus-cursor, .ilus-os span, .ilus-archivo, .ilus-flecha { transition: none; } }

/* celular: el dibujo a la izquierda y el texto a la derecha, una fila por paso */
@media (max-width: 639px) {
  .card.paso { display: grid; grid-template-columns: 116px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; padding: 10px 14px 10px 10px; align-items: start; }
  .paso__ilus { grid-row: 1 / 3; height: 116px; gap: 4px; padding: 0 6px; }
  .paso > h3 { margin: 8px 0 0; font-size: 16px; line-height: 1.25; gap: 8px; }
  .paso > h3 .step-num { width: 24px; height: 24px; font-size: 12px; }
  .paso > p { margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
  .ilus-addon { width: 92px; padding: 5px; gap: 5px; border-radius: 11px; }
  .ilus-addon__portada { height: 40px; border-radius: 7px; }
  .ilus-addon__btn { height: 20px; font-size: 0; gap: 0; }
  .ilus-addon__btn .ilus-uc { width: 14px; height: 14px; }
  .ilus-cursor { left: calc(50% + 18px); top: calc(50% + 22px); width: 20px; height: 20px; }
  .ilus-uc--grande { width: 46px; height: 46px; border-radius: 13px; }
  .ilus-app b { display: none; }
  .ilus-os { gap: 4px; }
  .ilus-os span { width: 26px; height: 26px; border-radius: 8px; }
  .ilus-os img { width: 13px; }
  .ilus-archivo { padding: 7px 4px 6px; gap: 3px; border-radius: 9px; }
  .ilus-archivo svg { width: 20px; height: 20px; }
  .ilus-archivo code { font-size: 8px; letter-spacing: -.02em; }
  .ilus-flecha { width: 12px; flex: none; }
  .ilus-mc { width: 34px; height: 34px; border-radius: 10px; flex: none; }
  .ilus-mc img { width: 22px; height: 22px; }
}

/* ---------- "Tutoriales" resaltado en celeste (el botón de arriba y el menú) */
.btn-glass.tut-chip { position: relative; overflow: hidden; isolation: isolate; color: #04202e; font-weight: 600;
  background: linear-gradient(180deg, rgb(196 240 255 / .97) 0%, rgb(92 206 248 / .95) 45%, rgb(24 156 214 / .95) 100%);
  border: 1px solid rgb(255 255 255 / .6);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), inset 0 -3px 8px rgb(0 60 100 / .3), 0 8px 24px rgb(76 201 247 / .38); }
.btn-glass.tut-chip::before { content: ""; position: absolute; inset: 1px 1px auto; height: 50%; z-index: -1; pointer-events: none;
  border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%; background: linear-gradient(180deg, rgb(255 255 255 / .45), rgb(255 255 255 / 0)); }
.btn-glass.tut-chip:hover { background: linear-gradient(180deg, rgb(214 245 255) 0%, rgb(110 214 250) 45%, rgb(30 168 226) 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), inset 0 -3px 8px rgb(0 60 100 / .3), 0 14px 34px rgb(76 201 247 / .5); }
.nav__link[href$="#tutoriales"] { color: #7fdcff; }
.nav__link[href$="#tutoriales"]:hover { color: #b8ecff; }

/* ---------- botones de tutorial dentro de cada página de addon y textura (celestes, como "Tutoriales" del inicio) */
.dl-tut { display: grid; gap: 10px; padding: 14px; border-radius: 18px;
  background: linear-gradient(140deg, rgb(76 201 247 / .16), rgb(76 201 247 / .05)); border: 1px solid rgb(76 201 247 / .4); }
.dl-tut__txt { margin: 0; font-size: 15px; font-weight: 600; color: #dff6ff; }
.dl-tut__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dl-tut__btn { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border-radius: 999px; font: 600 14px/1 var(--font-text); color: #04202e; cursor: pointer;
  background: linear-gradient(180deg, rgb(196 240 255 / .97) 0%, rgb(92 206 248 / .95) 45%, rgb(24 156 214 / .95) 100%);
  border: 1px solid rgb(255 255 255 / .6);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), inset 0 -3px 8px rgb(0 60 100 / .28), 0 6px 18px rgb(76 201 247 / .3);
  transition: transform 160ms cubic-bezier(.2,.7,.2,1), box-shadow 160ms; }
.dl-tut__btn::before { content: ""; position: absolute; inset: 1px 1px auto; height: 50%; z-index: -1; pointer-events: none;
  border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%; background: linear-gradient(180deg, rgb(255 255 255 / .45), rgb(255 255 255 / 0)); }
.dl-tut__btn b { font-weight: 700; }
.dl-tut__btn small { font-size: 12px; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }
.dl-tut__ic { flex: none; }
.dl-tut__ic--ink { filter: brightness(0) saturate(100%) invert(9%) sepia(40%) saturate(2000%) hue-rotate(170deg); }
@media (hover: hover) { .dl-tut__btn:not(.dl-tut__btn--pronto):hover { transform: translateY(-2px); box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), inset 0 -3px 8px rgb(0 60 100 / .28), 0 12px 26px rgb(76 201 247 / .45); } }
.dl-tut__btn:not(.dl-tut__btn--pronto):active { transform: scale(.97); }
.dl-tut__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.dl-tut__btn--pronto { cursor: default; color: rgb(255 255 255 / .75); background: rgb(255 255 255 / .06); border: 1px dashed rgb(255 255 255 / .3); box-shadow: none; }
.dl-tut__btn--pronto::before { display: none; }
.dl-tut__btn--pronto .dl-tut__ic--ink { filter: invert(1); opacity: .75; }
@media (max-width: 639px) {
  .dl-tut { padding: 12px; }
  .dl-tut__txt { font-size: 14px; }
  .dl-tut__btns { gap: 6px; }
  .dl-tut__btn { flex-direction: column; gap: 3px; min-height: 58px; padding: 6px 4px; border-radius: 16px; font-size: 13px; }
  .dl-tut__btn::before { border-radius: 16px 16px 40% 40% / 16px 16px 100% 100%; }
}
@media (prefers-reduced-motion: reduce) { .dl-tut__btn { transition: none; } }
