/* fonts:start — generado por tools/self_host_fonts.js, no editar a mano */
@font-face { font-family: "Bangers"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bangers-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bangers"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bangers-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-italic-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-italic-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* fonts:end */
/* Reservas con las métricas de Barlow / Barlow Condensed (Arial reescalada):
   mientras llegan las fuentes, el texto ocupa casi lo mismo y no salta. */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"); size-adjust: 93.75%; ascent-override: 106.67%; descent-override: 21.33%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial"); size-adjust: 79.5%; ascent-override: 125.8%; descent-override: 25.2%; line-gap-override: 0%; }
/* =============================================================
   TIENDA MY HERO ACADEMIA — styles.css
   Diseño «academia de héroes» (2026-11-22): azul U.A. de base, rojo y
   amarillo de acento, verde Deku de apoyo; tramas de semitono, viñetas de
   cómic con bordes inclinados, onomatopeyas y «PLUS ULTRA» como motivo
   tipográfico; las fichas de personaje son expedientes / licencias.
   1. Tokens  2. Reset & base  3. Utilities  4. Typography
   5. Components  6. Sections  7. Effects  8. Responsive
   9. Reduced motion  10. Motivos de la academia
   ============================================================= */

/* =============================================================
   1. Tokens
   Mantener PALETTE de main.js igual a --c1..--c6.
   ============================================================= */
:root {
  /* papel: blanco azulado de cuaderno de la academia */
  --bg: #f2f5fb;
  --bg-elevated: #e4ebf7;
  --bg-card: #ffffff;
  --bg-card-hover: #f6f8fe;
  --line: #c9d4e8;
  --line-soft: #dde4f1;

  /* tinta azul noche (texto, bordes de viñeta) */
  --ink: #0b1633;
  --ink-dim: #3a4766;
  --ink-faint: #55617d; /* 5.1:1 sobre --bg-elevated */

  /* marca */
  --ua: #1a4bd6;          /* azul U.A.: botones secundarios, enlaces, marcas */
  --ua-deep: #0a1d52;     /* azul uniforme: cabecera, hero, bandas */
  --night: #061238;       /* el más oscuro: pie, podio */
  --red: #e3122b;         /* rojo All Might */
  --yellow: #ffcc1a;      /* amarillo cómic: solo de fondo, nunca texto sobre claro */
  --green: #0a7d43;       /* verde Deku (texto/fondo con blanco: 5.2:1) */
  --green-bright: #3ddc84;/* verde sobre fondos oscuros */
  --accent: var(--ua);
  --accent-2: var(--red);
  --accent-2-ink: #b50f23; /* rojo de TEXTO sobre claro (6:1) */
  --accent-ink: #ffffff;
  --accent-soft: rgba(26, 75, 214, 0.10);
  --court: #dbe4f4;

  --ok: #0a7d43;
  --warn: #8a5300;

  --header-bg: #0a1d52;
  --header-bg-soft: #10276b;
  --header-line: #23408f;
  --header-ink: #ffffff;
  --header-ink-dim: #c7d3f2;

  /* paleta de radar (igual que PALETTE en main.js) */
  --c1: #1a4bd6;
  --c2: #e3122b;
  --c3: #0a7d43;
  --c4: #f08a00;
  --c5: #d9a400;
  --c6: #3fa7c4;

  /* viñetas: esquinas casi rectas y sombra dura de cómic */
  --radius: 6px;
  --radius-sm: 4px;
  --panel-border: 2px solid var(--ink);
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-blue: 5px 5px 0 var(--ua);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 1280px;

  /* trama de semitono reutilizable (color en --dot) */
  --halftone: radial-gradient(circle, var(--dot, rgba(26,75,214,.22)) 1.3px, transparent 1.7px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Barlow Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --comic: "Bangers", "Impact", "Arial Narrow", sans-serif; /* solo onomatopeyas y sellos */
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; letter-spacing: 0; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ua);
  outline-offset: 3px;
  border-radius: 2px;
}
.site-header :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible,
.hero :focus-visible, .cat-hero :focus-visible, .top-picks :focus-visible, .vs-arena :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--yellow); color: var(--ink);
  z-index: 9999; border: var(--panel-border); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { position: relative; padding-block: clamp(3rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
/* Etiqueta de sección: pestaña azul inclinada, como la solapa de un expediente */
.eyebrow {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--display); font-weight: 700; font-style: normal;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: #fff; font-size: .8rem;
  padding: .42em .9em .38em .75em; margin-bottom: .7rem;
}
.eyebrow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ua); transform: skewX(-14deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; flex: none; background: var(--yellow);
  transform: rotate(45deg);
}
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.divider-diag {
  height: 46px; background: var(--bg-elevated);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.badge {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .32em .7em; border-radius: 2px;
  font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
  background: var(--bg-card); border: 1.5px solid var(--ink);
  color: var(--ink);
}
.badge-accent { background: var(--ua); color: #fff; border-color: var(--ua); }
a.badge-accent:hover { background: var(--ua-deep); border-color: var(--ua-deep); }
.badge-sample { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.badge-ok { background: rgba(10,125,67,.12); color: var(--ok); border-color: rgba(10,125,67,.4); }

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: .92; letter-spacing: -.005em; }
h2, .h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: .95; }
h3, .h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1; letter-spacing: .01em; }
h4, .h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--ink-dim); max-width: 62ch; }
.text-dim { color: var(--ink-dim); }
.text-faint { color: var(--ink-faint); }
.text-accent { color: var(--accent-2-ink); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- buttons: placa inclinada con sombra dura de cómic --- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.7em;
  font-family: var(--display); font-weight: 800; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.05;
  color: var(--btn-ink, #fff);
  transition: transform .18s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg, var(--red)); border: 2px solid var(--btn-border, var(--ink));
  transform: skewX(-10deg); border-radius: 2px;
  box-shadow: 4px 4px 0 var(--btn-shadow, var(--ink));
  transition: box-shadow .18s var(--ease-out), background .18s var(--ease-out);
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:hover::before { box-shadow: 6px 6px 0 var(--btn-shadow, var(--ink)); }
.btn:active { transform: translate(2px, 2px); }
.btn:active::before { box-shadow: 1px 1px 0 var(--btn-shadow, var(--ink)); }
.btn-primary { --btn-bg: var(--red); --btn-ink: #fff; }
.btn-primary:hover { --btn-bg: #c80f25; }
.btn-ghost { --btn-bg: #fff; --btn-ink: var(--ink); --btn-shadow: var(--ua); }
.btn-ghost:hover { --btn-bg: var(--yellow); }
.btn-sm { min-height: 40px; padding: .5em 1.15em; font-size: .95rem; }
.btn-sm::before { box-shadow: 3px 3px 0 var(--btn-shadow, var(--ink)); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
/* --- nav: azul uniforme con la franja tricolor (azul, rojo, amarillo) --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  color: var(--header-ink);
  box-shadow: 0 4px 0 var(--ink);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--ua) 66% 100%);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem calc(.75rem + 4px); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--header-ink); }
.brand span { text-shadow: 2px 2px 0 var(--red); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.nav-links { display: none; align-items: center; gap: 1.35rem; }
.nav-links a { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: .05em; text-transform: uppercase; color: var(--header-ink-dim); transition: color .2s var(--ease-out); position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--header-ink); }
.nav-links a.is-active { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 10px; }
/* «Ofertas»: placa amarilla inclinada */
.nav-cta.nav-cta { position: relative; isolation: isolate; color: var(--ink); padding: .4em 1.05em; font-weight: 800; }
.nav-cta.nav-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: skewX(-12deg); box-shadow: 3px 3px 0 var(--red); }
.nav-cta.nav-cta:hover { color: var(--ink); }
.nav-cta.nav-cta:hover::before { box-shadow: 4px 4px 0 var(--red); background: #fff; }
.nav-cta.nav-cta.is-active { text-decoration: none; }

/* --- nav dropdown (desktop) --- */
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-item > a { display: flex; align-items: center; gap: .32rem; }
.nav-item > a::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.nav-dropdown {
  /* Pegado al elemento del menú (top:100%, sin hueco) a propósito: un puente
     invisible para cubrir el hueco se solapaba con el elemento vecino. */
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  background: #fff; color: var(--ink); border: var(--panel-border); border-radius: 0;
  padding: .45rem; min-width: 220px;
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  box-shadow: 6px 6px 0 var(--ua);
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-links .nav-dropdown a {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
  font-size: .95rem; font-weight: 500; color: var(--ink); padding: .5em .7em; white-space: nowrap;
  border-left: 3px solid transparent;
}
.nav-links .nav-dropdown a:hover, .nav-links .nav-dropdown a:focus-visible { background: var(--bg-elevated); border-left-color: var(--red); color: var(--ink); }

/* --- nav submenu (mobile) --- */
.mobile-submenu { padding-left: 1.1rem; margin-top: -.4rem; margin-bottom: .5rem; border-bottom: 1px solid var(--header-line); padding-bottom: .3rem; }
.mobile-menu .mobile-submenu a {
  font-family: var(--sans); text-transform: none; font-style: normal; font-size: 1rem; font-weight: 500;
  color: var(--header-ink-dim); padding: .6rem 0; border-bottom: none;
}
.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--red); }
.nav-toggle svg { width: 24px; height: 24px; stroke-width: 2.2; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--dot-bg, var(--header-bg)); padding: 5.5rem 1.5rem 2rem;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.3px, transparent 1.7px);
  background-size: 12px 12px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--header-line); font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.55rem; line-height: 1.1; color: var(--header-ink); }

/* --- breadcrumbs (every page except home) --- */
.breadcrumbs { padding-block: .7rem; border-bottom: 2px solid var(--ink); background: var(--bg-elevated); }
.breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; font-size: .9rem; }
.breadcrumbs a, .breadcrumbs span[aria-current] { display: inline-flex; align-items: center; gap: .4em; padding: .38em .65em; line-height: 1; white-space: nowrap; }
.breadcrumbs a { color: var(--ink-dim); font-weight: 500; transition: background .18s var(--ease-out), color .18s var(--ease-out); }
.breadcrumbs a:hover { background: #fff; color: var(--ua); }
.breadcrumbs a svg { width: 14px; height: 14px; color: var(--ua); flex: none; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 700; background: #fff; border: 1.5px solid var(--ink); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.breadcrumb-sep { color: var(--red); font-weight: 700; font-size: 1.15em; line-height: 1; padding: 0 .15rem; }
/* --- cards: product (viñeta de cómic: borde de tinta y sombra dura) --- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.p-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: var(--panel-border); border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--line);
  overflow: hidden; transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.p-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ua); }
.p-card-media {
  aspect-ratio: 1; position: relative; overflow: hidden;
  background: var(--halftone) 0 0 / 10px 10px, linear-gradient(160deg, #fff 30%, #e6edfa);
  display: flex; align-items: center; justify-content: center;
  border-bottom: var(--panel-border);
}
.p-card-media svg { width: 42%; height: 42%; color: var(--ink-faint); }
.p-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.p-card-media .badge {
  position: absolute; top: .55rem; left: .55rem; z-index: 2;
  background: var(--ink); color: #fff; border: none;
  font-size: .78rem; padding: .38em .7em;
  box-shadow: 2px 2px 0 var(--ua);
}
.p-card-media a.badge:hover { background: var(--ua); }
/* descuento: estallido amarillo de cómic */
.p-card-media .badge-discount {
  position: absolute; top: .3rem; left: auto; right: .3rem; z-index: 2;
  width: 3.7rem; height: 3.7rem; padding: 0; justify-content: center;
  font-family: var(--display); font-size: 1.05rem; font-weight: 800; font-style: italic; letter-spacing: 0;
  background: var(--yellow); color: var(--ink); border: none; box-shadow: none;
  clip-path: polygon(50% 0, 61% 18%, 82% 9%, 80% 31%, 100% 38%, 85% 54%, 97% 73%, 75% 76%, 71% 98%, 52% 86%, 33% 100%, 27% 78%, 4% 80%, 15% 60%, 0 43%, 19% 33%, 13% 11%, 36% 17%);
  transform: rotate(-8deg);
}
.p-card-body { display: flex; flex-direction: column; gap: .5rem; padding: .95rem 1.05rem 1.15rem; flex: 1; }
.p-card-cat { font-family: var(--display); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ua); }
.p-card-name { font-family: var(--sans); text-transform: none; font-size: 1.02rem; font-weight: 700; line-height: 1.28; }
.p-card-link { position: absolute; inset: 0; z-index: 1; }
.p-card-desc { font-size: .86rem; line-height: 1.42; color: var(--ink-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-meta { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-dim); }
.stars { color: #c98a00; letter-spacing: 1px; }
.p-card-price-row { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1; color: var(--ink); }
.price-strike { text-decoration: line-through; color: var(--ink-faint); font-size: .88rem; }
.p-card-cta { margin-top: .7rem; position: relative; z-index: 2; }

/* --- tarjeta de personaje: carné / expediente de estudiante --- */
.pc-card {
  position: relative; overflow: hidden;
  border: var(--panel-border); border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 4px 4px 0 var(--line);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
/* cabecera del carné: «Expediente» + código de barras de adorno */
.pc-card::before {
  content: "Expediente"; content: "Expediente" / ""; display: block; position: relative; z-index: 2;
  padding: .42rem .8rem .38rem; border-bottom: var(--panel-border);
  font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 2px, transparent 2px 4px, rgba(255,255,255,.85) 4px 5px, transparent 5px 8px) right .8rem center / 52px 11px no-repeat,
    var(--ua);
}
.pc-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--red); }
.pc-face {
  position: relative; aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: .9rem;
  background:
    radial-gradient(circle, rgba(255,255,255,.16) 1.3px, transparent 1.7px) 0 0 / 10px 10px,
    linear-gradient(155deg, var(--pc1), var(--pc2) 120%);
  color: #fff;
  overflow: hidden;
}
.pc-face:not(.has-photo)::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255,255,255,.09) 0 4deg, transparent 4deg 12deg);
}
.pc-face:not(.has-photo)::after { content: none; }
/* --- character card, real-photo variant (user-supplied images) --- */
.pc-face.has-photo { background: var(--pc1); }
.pc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pc-photo-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,18,56,.92) 0%, rgba(6,18,56,0) 42%, rgba(0,0,0,0) 72%, rgba(6,18,56,.4) 100%);
}
/* crédito del fan art, en pequeño bajo la foto */
.pc-credit { margin: 0; padding: .35rem .8rem .3rem; font-size: .7rem; line-height: 1.3; color: var(--ink-faint); background: var(--bg-elevated); border-top: var(--panel-border); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pc-credit a:hover { color: var(--ua); }
.pc-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem; }
.pc-number { flex: none; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(3.4rem, 9vw, 4.6rem); line-height: .8; text-shadow: 3px 3px 0 var(--ink); }
/* nombres de héroe / alias en vez de dorsales: más pequeños y pueden partirse */
.pc-number.pc-number-text { flex: 0 1 auto; min-width: 0; font-size: clamp(1.7rem, 4.2vw, 2.3rem); line-height: .9; overflow-wrap: break-word; text-transform: uppercase; }
.pc-top:has(.pc-number-text) { flex-wrap: wrap-reverse; }
/* el Don puede ser largo: se encoge y se corta con puntos suspensivos */
.pc-position {
  min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1;
  background: var(--ink); color: #fff; padding: .35em .6em; border-radius: 0;
}
.pc-ball { position: relative; width: 30%; margin-inline: auto; opacity: .9; filter: drop-shadow(3px 3px 0 rgba(11,22,51,.5)); }
.pc-bottom { position: relative; }
.pc-team { display: inline-block; font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); background: var(--yellow); padding: .2em .55em; transform: skewX(-10deg); }
.pc-name { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.65rem); text-transform: uppercase; line-height: .95; margin-top: .35rem; text-shadow: 2px 2px 0 var(--ink); }
.pc-info { padding: .8rem 1rem .9rem; display: flex; flex-direction: column; gap: .3rem; }
.pc-info-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; font-size: .86rem; color: var(--ink-dim); padding-bottom: .3rem; border-bottom: 1.5px dashed var(--line); }
.pc-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-info-row span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--ink-faint); flex: none; }
.pc-info-row b { color: var(--ink); font-weight: 700; text-align: right; }
.pc-cta { padding: 0 1rem 1.1rem; }

/* --- category tile (rótulo de viñeta) --- */
.cat-tile {
  position: relative; overflow: hidden; padding: 1.3rem;
  border: var(--panel-border); border-radius: var(--radius-sm); background: var(--bg-card);
  display: flex; flex-direction: column; gap: .55rem; min-height: 150px; justify-content: flex-end;
  box-shadow: 4px 4px 0 var(--line);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
a.cat-tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ua); }
.cat-tile::before {
  content: ""; position: absolute; top: 0; right: 0; width: 55%; height: 70%;
  background: var(--halftone) 0 0 / 9px 9px;
  -webkit-mask-image: linear-gradient(225deg, #000 10%, transparent 70%); mask-image: linear-gradient(225deg, #000 10%, transparent 70%);
}
.cat-tile svg { width: 32px; height: 32px; color: var(--ua); position: relative; stroke-width: 2.2; }
.cat-tile h3 { position: relative; font-size: 1.3rem; }
.cat-tile span { position: relative; font-size: .88rem; color: var(--ink-dim); }
.cat-tile img { position: relative; border: 2px solid var(--ink); }

/* --- category showcase card (portada: foto a sangre + rótulo amarillo) --- */
.cat-showcase {
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 3 / 4; min-height: 320px; background: var(--bg-elevated);
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ua);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.cat-showcase:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--red); }

.cat-showcase-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease-out);
}
.cat-showcase-fallback { display: flex; align-items: center; justify-content: center; background: var(--bg-elevated); }
.cat-showcase-fallback svg { width: 25%; height: 25%; color: var(--ink-faint); }
.cat-showcase:hover .cat-showcase-img { transform: scale(1.06); }
.cat-showcase::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,.12) 1.3px, transparent 1.7px) 0 0 / 9px 9px,
    linear-gradient(to top, rgba(6,18,56,.97) 0%, rgba(6,18,56,.88) 44%, rgba(6,18,56,.05) 78%);
}
.cat-showcase-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem 1.1rem 1.6rem; text-align: center; color: #fff;
}
.cat-showcase-body h3 {
  display: inline-block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink);
  background: var(--yellow); padding: .12em .5em; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--red);
}
.cat-showcase-body p {
  font-size: .9rem; line-height: 1.4; color: rgba(255,255,255,.92);
  margin-top: .7rem; max-width: 28ch; margin-inline: auto;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.cat-showcase-btn { margin-top: 1.1rem; }
/* por debajo de ~496px de columna, el min-height ensanchaba la tarjeta; en
   móvil el rótulo y la capa oscura se encogen para que se vea el producto */
@media (max-width: 539px) {
  .cat-showcase { min-height: 0; }
  .cat-showcase::after { background: linear-gradient(to top, rgba(6,18,56,.97) 0%, rgba(6,18,56,.85) 36%, rgba(6,18,56,0) 64%); }
  .cat-showcase-body { padding: .8rem .6rem 1rem; }
  .cat-showcase-body h3 { font-size: 1.15rem; }
  .cat-showcase-body p { font-size: .8rem; margin-top: .5rem; }
  .cat-showcase-btn { margin-top: .7rem; }
}/* --- category/subcategory hero (foto de producto bajo azul uniforme y semitono) --- */
.cat-hero {
  position: relative; overflow: clip; isolation: isolate; color: #fff;
  background: var(--ua-deep); padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(3.2rem, 8vw, 5.5rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}
.cat-hero-bg { position: absolute; inset: 0; z-index: -1; }
.cat-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.1); transform: scale(1.06); }
.cat-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.10) 1.4px, transparent 1.8px) 0 0 / 11px 11px,
    linear-gradient(100deg, rgba(10,29,82,.97) 0%, rgba(10,29,82,.9) 50%, rgba(10,29,82,.74) 100%);
}
.cat-hero-grid { display: grid; gap: 2rem; align-items: center; }
.cat-hero-title {
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .92; letter-spacing: 0;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem); margin-top: .5rem; max-width: 16ch; text-wrap: balance;
  text-shadow: 3px 3px 0 var(--red);
}
.cat-hero-sub { margin-top: 1rem; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.55; color: rgba(255,255,255,.9); max-width: 56ch; }
.cat-hero-chips { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-hero-chips li {
  font-size: .86rem; padding: .38em .8em; color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35);
}
.cat-hero-chips b { color: var(--yellow); }
.cat-hero .lede { color: rgba(255,255,255,.88); margin-top: 1.2rem; font-size: .98rem; }
.cat-hero .lede .text-accent { color: var(--yellow); }
.cat-hero a:not(.btn) { text-decoration-color: var(--yellow); }
.cat-hero-figure {
  margin: 0; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; overflow: hidden;
  background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow);
  transform: rotate(2deg);
}
.cat-hero-figure img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
@media (min-width: 720px) {
  .cat-hero-grid { grid-template-columns: 1.25fr .75fr; gap: 3rem; }
  .cat-hero-figure { justify-self: end; }
}
@media (max-width: 719px) {
  .cat-hero-figure { width: min(62%, 250px); }
}

/* subcategory cards: same .cat-showcase as the home, always centred */
.cat-subcats-head { justify-content: center; text-align: center; }
.cat-showcase-row { --gap: clamp(1rem, 2.2vw, 1.5rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cat-showcase-row > .cat-showcase { flex: 0 1 calc((100% - 3 * var(--gap, 1.2rem)) / 4); min-width: 0; }
@media (max-width: 959px) {
  .cat-showcase-row > .cat-showcase { flex-basis: calc((100% - var(--gap, 1.2rem)) / 2); }
}

/* --- category "Top 3" podium (banda azul noche con líneas de velocidad) --- */
.top-picks {
  position: relative; overflow: clip; isolation: isolate; color: #fff; padding-block: clamp(3.2rem, 7vw, 5rem);
  background: var(--night);
  clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%);
}
.top-picks::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(26,75,214,.28) 0 3deg, transparent 3deg 9deg);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 90% at 50% 0%, #000 20%, transparent 75%);
}
.top-picks-head { justify-content: center; text-align: center; }
.top-picks-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-style: italic; text-shadow: 3px 3px 0 var(--red); }
.top-picks-head p { margin-top: .5rem; color: rgba(255,255,255,.82); font-size: .95rem; max-width: 60ch; margin-inline: auto; }
.top-picks-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); align-items: stretch; }
.top-pick {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #0f1d4a; border: 2px solid #3554b0; border-radius: var(--radius-sm);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.top-pick:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ua); }
.top-pick.is-first { border: 3px solid var(--yellow); box-shadow: 7px 7px 0 var(--red); }
.top-pick-rank {
  position: absolute; top: .7rem; left: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .45em;
  padding: .35em .75em; font-family: var(--display); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--ink); color: #fff; border: 1.5px solid rgba(255,255,255,.35);
}
.top-pick-rank b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--yellow); }
.top-pick.is-first .top-pick-rank { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.top-pick.is-first .top-pick-rank b { color: var(--red); }
.top-pick-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 2px solid var(--ink); }
.top-pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .45s var(--ease-out); }
.top-pick:hover .top-pick-media img { transform: scale(1.05); }
.top-pick-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.top-pick-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.top-pick-tags li {
  font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .28em .6em; background: rgba(255,255,255,.1); color: #dbe5ff;
}
.top-pick h3 { font-family: var(--sans); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.top-pick h3 a { color: #fff; }
.top-pick h3 a:hover { color: var(--yellow); }
.top-pick-rating { font-size: .86rem; color: rgba(255,255,255,.78); }
.top-pick-rating b { color: #fff; }
.top-pick-rating .stars { color: var(--yellow); }
.top-pick-why { font-size: .88rem; line-height: 1.45; color: rgba(255,255,255,.86); padding-left: .7rem; border-left: 4px solid var(--yellow); }
.top-pick-price { margin-top: auto; display: flex; align-items: baseline; gap: .6rem; }
.top-pick-price b { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--yellow); }
.top-pick-price s { font-size: .88rem; color: rgba(255,255,255,.6); }
.top-pick-ficha { text-align: center; font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }
.top-pick-ficha:hover { color: var(--yellow); }
@media (min-width: 720px) {
  .top-picks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .top-picks-grid { align-items: center; }
  .top-pick.is-first, .top-pick.is-first.reveal.is-visible { order: 2; transform: scale(1.04); }
  .top-pick.is-first.reveal.is-visible:hover { transform: scale(1.04) translateY(-4px); }
  .top-pick:nth-child(2) { order: 1; }
  .top-pick:nth-child(3) { order: 3; }
}
/* --- category buying guide ("Qué mirar antes de comprar") --- */
.qg-intro { max-width: 75ch; }
.qg-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.qg-facts li { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--bg-card); border: 2px solid var(--ink); }
.qg-facts b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--accent-2-ink); }
.qg-facts span { font-size: .8rem; color: var(--ink-dim); }
.qg-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 720px) { .qg-grid { grid-template-columns: 1fr 1fr; } }
.qg-point { position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem; border-radius: var(--radius); background: var(--bg-card); border: 2px solid var(--ink); }
.qg-num { position: absolute; left: 1.2rem; top: 1.25rem; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--accent); }
.qg-point h3 { font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.qg-point p { margin-top: .45rem; font-size: .92rem; line-height: 1.6; color: var(--ink-dim); }
.qg-tip {
  margin-top: 1.6rem; padding: 1.5rem 1.6rem; border-radius: var(--radius); color: #fff;
  background: radial-gradient(circle, rgba(255,255,255,.08) 1.3px, transparent 1.7px) 0 0 / 11px 11px, var(--ua-deep); border: 2px solid var(--ink); border-left: 8px solid var(--yellow); box-shadow: 5px 5px 0 var(--red);
  display: grid; gap: .8rem; justify-items: start;
}
.qg-tip-label { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--yellow); }
.qg-tip p { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 75ch; }

/* --- hero --- */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  background: var(--ua-deep); color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; /* inset 0 (no -10%): con porcentajes la capa se desplazaba al cambiar la altura del hero y contaba como salto de diseño (CLS) */
  background: radial-gradient(circle, rgba(255,255,255,.09) 1.4px, transparent 1.8px) 0 0 / 12px 12px;
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-bg::after { content: ""; position: absolute; inset: 0; }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }
.compare-promo-grid { display: grid; gap: 1.6rem; align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hero-title { max-width: 15ch; color: #fff; text-shadow: 3px 3px 0 var(--ink); }
.hero-title em { color: var(--yellow); font-style: inherit; text-shadow: 3px 3px 0 var(--red); }
.hero .lede { color: #e3e9fb; margin-top: 1.1rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero .btn-ghost { --btn-bg: #fff; --btn-shadow: var(--yellow); }
.hero .btn-primary { --btn-shadow: var(--yellow); }
.hero-stats { display: flex; gap: 0; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stat { padding: .2rem 1.3rem .2rem 0; margin-right: 1.3rem; border-right: 2px solid rgba(255,255,255,.25); }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
@media (max-width: 539px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .hero-stat { margin: 0; padding: 0 .6rem 0 0; }
  .hero-stat span { display: block; font-size: .74rem; line-height: 1.2; }
}
.hero-stat b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--yellow); }
.hero-stat span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #c7d3f2; }

/* --- trust stats band (home): fichas de puntuación tipo marcador --- */
.trust-stats-section {
  position: relative; isolation: isolate;
  background: var(--bg-elevated); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding-block: clamp(2.6rem, 5vw, 3.8rem);
}
.trust-stats-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--halftone) 0 0 / 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000); mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
.trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin-top: 1.8rem; max-width: 980px; margin-inline: auto;
}
.trust-stat {
  padding: 1.3rem 1rem; background: var(--bg-card);
  border: var(--panel-border); box-shadow: 4px 4px 0 var(--ua);
}
.trust-stat:nth-child(2n) { box-shadow: 4px 4px 0 var(--red); }
.trust-stat b {
  display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(2.2rem, 4.6vw, 3rem);
  color: var(--ua); line-height: 1;
}
.trust-stat .stars { display: block; margin-top: .4rem; font-size: 1.15rem; }
.trust-stat .label { display: block; margin-top: .5rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .86rem; color: var(--ink-dim); }
@media (max-width: 719px) { .trust-stats { grid-template-columns: repeat(2, 1fr); } }
/* --- ficha (product page) --- */
.ficha-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.gallery-main {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--halftone) 0 0 / 10px 10px, linear-gradient(160deg, #fff 30%, #e6edfa);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.gallery-main svg { width: 34%; height: 34%; color: var(--ink-faint); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 1.4rem; }
.ficha-header .badge { margin-bottom: .8rem; }
.ficha-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.ficha-brand { color: var(--ink-dim); margin-top: .3rem; }
.ficha-rating { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; }
.ficha-price-box {
  margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--bg-card); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.ficha-price { font-family: var(--display); font-weight: 800; font-size: 2rem; }
.price-date { font-size: .75rem; color: var(--ink-faint); margin-top: .2rem; }
.ficha-buy-repeat { margin-top: 1rem; }

.radar-wrap { background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.2rem clamp(1.2rem, 6vw, 3rem); }
.radar-wrap h3 { margin-bottom: .6rem; }
.radar-stage-toggle { display: inline-flex; gap: .3rem; padding: .25rem; background: var(--bg-elevated); border-radius: 3px; margin-bottom: 1rem; }
.radar-stage-toggle button { padding: .45em 1.1em; border-radius: 3px; font-size: .82rem; font-weight: 700; color: var(--ink-dim); }
.radar-stage-toggle button.is-active { background: var(--accent); color: var(--accent-ink); }
.radar-note { font-size: .76rem; color: var(--ink-faint); margin-top: .5rem; }
.radar-svg { width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto; overflow: visible; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.radar-legend .chip { display: flex; align-items: center; gap: .4em; font-size: .78rem; color: var(--ink-dim); }
.radar-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

.spec-table { margin-top: .6rem; }
.spec-group { margin-bottom: 1.2rem; }
.spec-group h4 { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.spec-row span:first-child { color: var(--ink-dim); }
.spec-row span:last-child { font-weight: 700; text-align: right; }

.pc-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pc-columns h4 { margin-bottom: .5rem; }
.pc-columns ul li { display: flex; gap: .5em; align-items: flex-start; font-size: .9rem; padding: .3rem 0; color: var(--ink-dim); }
.pc-columns .pros li::before { content: "+"; color: var(--ok); font-weight: 900; }
.pc-columns .cons li::before { content: "–"; color: var(--accent-2); font-weight: 900; }
.ideal-para { margin-top: 1rem; padding: .9rem 1rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0; font-weight: 600; }

.review-card { background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 1rem; }

/* --- reviews carousel (category pages) --- */
.reviews-carousel {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .6rem; margin-top: 1.2rem; -webkit-overflow-scrolling: touch;
}

/* --- product carousel (home: "explora más categorías") --- */
.product-carousel {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .6rem; margin-top: 1.2rem; -webkit-overflow-scrolling: touch;
}
.product-carousel .p-card { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 720px) { .product-carousel .p-card { flex-basis: calc(50% - .5rem); } }
@media (min-width: 960px) { .product-carousel .p-card { flex-basis: calc(33.333% - .667rem); } }

/* --- carousel shell: side arrows + drag-to-scroll (product & reviews carousels) --- */
.carousel-wrap { position: relative; }
.carousel-wrap .product-carousel,
.carousel-wrap .reviews-carousel { cursor: grab; user-select: none; }
.carousel-wrap .product-carousel.is-dragging,
.carousel-wrap .reviews-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 2px;
  background: var(--yellow); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink); cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { background: var(--ua); color: #fff; }
.carousel-arrow-prev { left: -8px; }
.carousel-arrow-next { right: -8px; }
@media (max-width: 539px) {
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-arrow-prev { left: -4px; }
  .carousel-arrow-next { right: -4px; }
}
.review-slide {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 1.1rem;
}
.review-slide-text { font-size: .9rem; color: var(--ink-dim); margin-top: .6rem; line-height: 1.5; }
.review-slide-product { font-size: .78rem; margin-top: .8rem; color: var(--ink-faint); }
.review-slide-product a { color: var(--accent-2-ink); font-weight: 600; }

/* --- FAQ accordion (category pages, rich snippet) --- */
.faq-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.faq-item {
  background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: .2rem 1.1rem;
}
.faq-item summary {
  cursor: pointer; padding: .9rem 0; font-weight: 700; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-size: 1.2rem; color: var(--accent); transition: transform .2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1rem; color: var(--ink-dim); font-size: .92rem; line-height: 1.55; }

.disclosure {
  margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 2px solid var(--ink); font-size: .82rem; color: var(--ink-dim);
}

/* --- character ficha --- */
.wiki-hero { display: grid; gap: 2rem; align-items: start; }
.wiki-card-big { max-width: 340px; }
/* single column: this now lives inside the narrow (max 340px) photo
   card, not the wide text column it used to sit in, so two columns of
   facts would be too cramped to read. */
.wiki-facts { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 1.2rem; background: var(--bg-card); border: var(--panel-border); box-shadow: 5px 5px 0 var(--ua); }
.wiki-fact { padding: .55rem .9rem .6rem; border-bottom: 1.5px dashed var(--line); }
.wiki-fact:last-child { border-bottom: 0; }
.wiki-fact span { display: block; font-family: var(--display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ua); }
.wiki-fact b { font-size: .95rem; font-weight: 700; }

/* Trayectoria now lives in the hero's own text column (next to the photo
   card) instead of a separate section below — otherwise, whenever the
   photo+facts column ran taller than the short intro text, the grid row
   stretched to match it and left a dead gap before the next section. */
.wiki-hero-main h3 { margin-top: 1.4rem; }

/* team path — the equipos_historial array as a connected chip trail */
.team-path { margin-top: 1.8rem; }
.team-path-track { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .7rem; }
.team-path-chip {
  padding: .5rem .95rem; border-radius: 3px; background: var(--bg-card); border: 2px solid var(--ink);
  font-size: .86rem; font-weight: 600; color: var(--ink-dim);
}
.team-path-chip.team-path-current { background: var(--accent-soft); border-color: transparent; color: var(--accent-2-ink); }
.team-path-arrow { color: var(--ink-faint); font-size: 1rem; flex: none; }

/* popularity poll highlight — one card per poll, a bar showing how close
   to the #1 spot the rank was, and (when both polls exist) a trend line
   comparing them. */
.poll-highlight { margin-top: 1.4rem; padding: 1.1rem 1.2rem; background: var(--bg-elevated); border: 2px solid var(--ink); border-radius: var(--radius); }
.poll-highlight-title { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); font-weight: 700; }
.poll-cards { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: .9rem; }
.poll-card { flex: 1 1 150px; min-width: 140px; }
.poll-card-label { display: block; font-size: .76rem; font-weight: 700; color: var(--ink-dim); }
.poll-card-rank { display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent-2-ink); line-height: 1.15; margin-top: .1rem; }
.poll-card-rank sup { font-size: 1.1rem; top: -.6em; }
.poll-card.poll-card-top3 .poll-card-rank { color: var(--accent); }
.poll-card-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: .3rem; }
.poll-card-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.poll-card-votes { display: block; font-size: .76rem; color: var(--ink-faint); margin-top: .35rem; }
.poll-trend { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-dim); }
.poll-trend-arrow { font-size: .9rem; }
.poll-trend-up .poll-trend-arrow { color: var(--ok); }
.poll-trend-down .poll-trend-arrow { color: #c0392b; }
.poll-trend-same .poll-trend-arrow { color: var(--ink-faint); }

/* subtitle under a section heading (Ficha oficial / Más allá del manga) */
.section-lede { font-size: .9rem; color: var(--ink-dim); margin-top: .3rem; max-width: 62ch; }

/* the site header is `position: sticky`, so a plain fragment jump (TOC
   links, breadcrumb's #categorias) would land the target flush behind it
   — give every real jump target some breathing room above it. */
h1[id], h2[id], h3[id], section[id] { scroll-margin-top: 90px; }

/* character ficha's in-page table of contents */
.page-toc { margin-top: 1.8rem; padding: 1.1rem 1.3rem 1.2rem; background: var(--bg-elevated); border: 2px solid var(--ink); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); max-width: 440px; }
.page-toc-title { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--accent-2-ink); margin-bottom: .75rem; }
.page-toc-title::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px; }
.page-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.page-toc > ol > li { counter-increment: toc; position: relative; padding-left: 2.1rem; margin-top: .5rem; }
.page-toc > ol > li:first-child { margin-top: 0; }
.page-toc > ol > li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: var(--ink-faint); }
.page-toc a { display: inline-block; font-size: .92rem; font-weight: 700; color: var(--ink); transition: color .18s var(--ease-out), transform .18s var(--ease-out); }
.page-toc a:hover { color: var(--accent); transform: translateX(3px); }
.page-toc > ol > li > ol { margin: .45rem 0 .25rem; padding-left: .9rem; border-left: 2px solid var(--line); }
.page-toc > ol > li > ol li { margin-top: .3rem; }
.page-toc > ol > li > ol a { font-size: .84rem; font-weight: 500; color: var(--ink-dim); }
.page-toc > ol > li > ol a::before { content: "›"; margin-right: .45em; color: var(--accent); font-weight: 700; }

/* trayectoria chapter headings — the "Trayectoria" h2 uses the .h3 size
   (same as every other section title on the ficha), so bare <h3>
   chapters rendered at the exact same size and the hierarchy vanished.
   Chapters are one clear step smaller, with an accent bar as a marker. */
h3.trayectoria-chapter { display: flex; align-items: center; gap: .6em; margin-top: 1.9rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(.95rem, 1.5vw, 1.1rem); color: var(--ink); }
h3.trayectoria-chapter::before { content: ""; flex: none; width: 18px; height: 3px; background: var(--accent); border-radius: 2px; }
h3.trayectoria-chapter:first-of-type { margin-top: 1.1rem; }
h3.trayectoria-chapter { clear: both; }
.escena-fig { margin: 1.1rem 0 .4rem; }
.escena-fig img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.18); background: var(--bg-elevated); }
.escena-fig figcaption { margin-top: .4rem; font-size: .78rem; line-height: 1.4; color: var(--ink-dim); }
.escena-fig figcaption span:first-child:not(.escena-credit) { display: block; font-style: italic; }
.escena-credit { display: block; font-size: .66rem; color: var(--ink-faint); }
.escena-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.escena-credit a:hover { color: var(--accent); }
@media (min-width: 760px) {
  .escena-fig { width: 46%; margin-top: .5rem; margin-bottom: .8rem; }
  .escena-der { float: right; margin-left: 1.6rem; }
  .escena-izq { float: left; margin-right: 1.6rem; }
}

/* trivia cards shared by "Ficha oficial", "Más allá del manga" and
   "¿Sabías que...?" — same shape throughout, a different accent mark per
   section so the reader can tell which kind of fact they're looking at. */
.sabias-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: 1.1rem; }
.sabias-card {
  display: flex; align-items: flex-start; gap: .8rem; padding: .9rem 1.1rem;
  background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.sabias-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ua); }
.sabias-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; margin-top: .1rem;
}
.sabias-mark.mark-databook { background: rgba(30,125,69,.14); color: var(--ok); }
.sabias-mark.mark-medios { background: var(--red); color: #fff; font-size: .68rem; }
.sabias-card p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-dim); }
@media (min-width: 760px) {
  .sabias-grid { grid-template-columns: 1fr 1fr; }
}

/* --- comparator --- */
.comparator-picker { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.comparator-search { position: relative; flex: 1 1 260px; }
.comparator-search input {
  width: 100%; padding: .8em 1em; border-radius: 3px; background: var(--bg-card);
  border: 2px solid var(--ink); color: var(--ink); font-size: 1rem;
}
.comparator-search-results {
  position: absolute; top: calc(100% + .4rem); left: 0; right: 0; z-index: 20;
  background: var(--bg-elevated); border: 2px solid var(--ink); border-radius: var(--radius);
  max-height: 280px; overflow: auto; display: none; box-shadow: 0 20px 40px -14px rgba(0,0,0,.6);
}
.comparator-search-results.is-open { display: block; }
.comparator-search-results button {
  display: flex; width: 100%; align-items: center; gap: .6rem; padding: .6rem .8rem; text-align: left; font-size: .88rem;
}
.comparator-search-results button:hover { background: var(--bg-card-hover); }

/* Character picker (VS comparator) — a photo grid, not a text list: sits
   in normal flow below the search box (pushes the page down) rather than
   floating over it, since it's meant to be browsed, not just filtered. */
[data-comparator="personajes"] .comparator-search { flex: 1 1 100%; }
[data-comparator="personajes"] .comparator-search-results {
  position: static; margin-top: .6rem; max-height: 420px;
  padding: .8rem; box-shadow: none;
}
[data-comparator="personajes"] .comparator-search-results.is-open {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem;
}
[data-comparator="personajes"] .comparator-search-results button {
  flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: .7rem .4rem; border-radius: var(--radius);
}
.vs-pick-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--bg-card); border: 2px solid var(--line); }
.vs-pick-name { font-size: .76rem; font-weight: 700; line-height: 1.2; }
.comparator-slots { display: flex; flex-wrap: wrap; gap: .6rem; }
.slot-wrap { position: relative; padding: .4rem .4rem 0; }
.compare-chip {
  display: flex; align-items: center; gap: .5rem; padding: .45em .5em .45em .9em; border-radius: 3px;
  background: var(--bg-card); border: 2px solid var(--ink); font-size: .84rem; font-weight: 700;
}
.remove-badge {
  width: 20px; height: 20px; border-radius: 50%; background: var(--bg-elevated); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; line-height: 1;
}
.remove-badge:hover { background: var(--accent); color: var(--accent-ink); }

.compare-table-wrap { overflow-x: auto; margin-top: 1.6rem; }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-soft); font-size: .88rem; text-align: left; white-space: nowrap; }
.compare-table th { color: var(--ink-dim); font-weight: 700; position: sticky; top: 0; background: var(--bg); }
.compare-table td.best { color: var(--ok); font-weight: 800; }
.compare-table .row-label { color: var(--ink-dim); position: sticky; left: 0; background: var(--bg); }
.compare-head-card { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-width: 160px; }
.compare-head-card img, .compare-head-card svg { width: 46px; height: 46px; }
.compare-radar-wrap { margin-top: 2rem; }
.empty-compare { padding: 3rem 1rem; text-align: center; color: var(--ink-dim); border: 1px dashed var(--line); border-radius: var(--radius); }

/* --- character face-off (VS board) --- */
.vs-arena {
  position: relative; padding: 2.2rem clamp(1rem, 4vw, 2.4rem); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-soft) 100%); overflow: hidden;
}
.vs-arena::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(60% 70% at 12% 20%, rgba(227,18,43,.22), transparent 60%),
    radial-gradient(60% 70% at 88% 80%, rgba(30,155,171,.20), transparent 60%);
}
.vs-board { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 3vw, 2rem); }
@media (max-width: 639px) { .vs-board { flex-direction: column; } }
.vs-slot {
  flex: 1 1 0; position: relative; aspect-ratio: 3/4; max-width: 320px;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
}
@media (max-width: 639px) { .vs-slot { flex: none; max-width: 260px; width: 100%; } } /* flex-basis 0 in a column collapsed the height and beat aspect-ratio */
.vs-slot-pick {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  border: 2px dashed rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(255,255,255,.04); color: rgba(255,255,255,.65);
  font-weight: 700; font-size: .9rem; transition: border-color .2s var(--ease-out), color .2s var(--ease-out), background .2s var(--ease-out);
}
.vs-slot-pick svg { width: 34px; height: 34px; opacity: .7; }
.vs-slot-pick:hover { border-color: var(--accent); color: #fff; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.vs-slot-card {
  width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; text-align: left; color: #fff;
  background: linear-gradient(155deg, var(--pc1, var(--accent)), var(--pc2, var(--accent-2)) 120%);
}
.vs-slot-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.vs-slot-card::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.05) 55%, transparent 80%);
}
.vs-slot-name, .vs-slot-team { position: relative; z-index: 1; }
.vs-slot-name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.vs-slot-team { font-size: .78rem; opacity: .9; margin-top: .15rem; }
.vs-slot-remove {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: .9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px);
}
.vs-slot-remove:hover { background: var(--accent); border-color: var(--accent); }
.vs-badge {
  flex: none; position: relative; z-index: 1; width: 4.6rem; height: 4.6rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--red);
  font-family: var(--comic); font-size: 1.9rem; letter-spacing: .02em; text-shadow: 2px 2px 0 var(--ink);
  clip-path: polygon(50% 0, 61% 18%, 82% 9%, 80% 31%, 100% 38%, 85% 54%, 97% 73%, 75% 76%, 71% 98%, 52% 86%, 33% 100%, 27% 78%, 4% 80%, 15% 60%, 0 43%, 19% 33%, 13% 11%, 36% 17%);
}
/* Entrance: each freshly-picked side slides in from its own edge, the
   VS badge pops in after — plays whenever the markup is (re)inserted
   (a fresh pick, or a saved matchup restored on load), skipped entirely
   for anyone who prefers reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  [data-vs-slot="0"] .vs-slot-card { animation: vs-in-left .5s var(--ease-out) both; }
  [data-vs-slot="1"] .vs-slot-card { animation: vs-in-right .5s var(--ease-out) both; }
  .vs-badge { animation: vs-pop .45s var(--ease-out) .12s both, vs-glow 1.6s ease-out .5s 1; }
  @keyframes vs-in-left { from { transform: translateX(-32px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes vs-in-right { from { transform: translateX(32px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes vs-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes vs-glow { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(-6deg); } }
}

/* height comparison bars, inside the face-off panel */
.height-battle { display: flex; align-items: flex-end; justify-content: center; gap: clamp(1rem, 4vw, 2.6rem); margin: 1.6rem 0 .4rem; }
.height-battle-side { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 5.5rem; }
.height-battle-val { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.height-battle-track { width: 2.1rem; height: 130px; border-radius: 3px; background: var(--bg-elevated); display: flex; align-items: flex-end; overflow: hidden; border: 2px solid var(--ink); }
.height-battle-fill { width: 100%; border-radius: 3px; transition: height .5s var(--ease-out); }
.height-battle-label { align-self: flex-end; margin-bottom: 2.2rem; color: var(--ink-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }

.face-off-table { min-width: 0; width: 100%; }
.face-off-table th, .face-off-table td { text-align: center; white-space: normal; }
.face-off-head th { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.face-off-head th.side-a { color: var(--face-a, var(--ink)); }
.face-off-head th.side-b { color: var(--face-b, var(--ink)); }
.face-off-label { color: var(--ink-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; width: 1%; white-space: nowrap; }
.face-off-val { font-weight: 700; }
.face-off-val.best-a { color: var(--face-a, var(--ok)); }
.face-off-val.best-b { color: var(--face-b, var(--ok)); }

.record-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  padding: 1.4rem 1rem; background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius);
}
.record-tile:hover { border-color: var(--accent); }
.record-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: block; background: var(--bg-elevated); }
.record-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.record-photo svg { width: 100%; height: 100%; padding: 14px; color: var(--ink-faint); }
.record-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin-top: .3rem; }
.record-name { font-weight: 800; }
.record-stat { color: var(--accent); font-family: var(--display); font-weight: 800; font-size: 1.05rem; }

.vs-matchups { display: flex; flex-wrap: wrap; gap: .6rem; }
.vs-matchup-chip {
  display: flex; align-items: center; gap: .5rem; padding: .5em .9em .5em .5em; border-radius: 3px;
  background: var(--bg-card); border: 2px solid var(--ink); font-size: .86rem; font-weight: 700;
}
.vs-matchup-chip:hover { border-color: var(--accent); }
.vs-matchup-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: top; }
.vs-matchup-chip .vs-matchup-x { color: var(--ink-faint); font-weight: 500; }

/* --- guide / ranking --- */
.guide-body { max-width: 74ch; margin-inline: auto; }
.guide-body p { margin-block: 1rem; color: var(--ink-dim); }
.guide-body h2 { margin-top: 2.4rem; margin-bottom: .8rem; }
.rank-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 2px solid var(--ink);
  border-radius: var(--radius-sm); background: var(--bg-card); margin-bottom: .8rem;
  box-shadow: 4px 4px 0 var(--line); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
a.rank-item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ua); }
.rank-num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.1rem; line-height: 1; color: #fff; background: var(--ua); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; flex: none; text-align: center; transform: skewX(-8deg); box-shadow: 3px 3px 0 var(--ink); }

/* --- quick-compare table (category pages) --- */
.table-scroll { overflow-x: auto; margin-top: 1.2rem; }
.quick-compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.quick-compare-table th {
  text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink-faint); padding: .5rem .8rem; border-bottom: 1px solid var(--line);
}
.quick-compare-table td { padding: .8rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.qc-rank { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--accent); text-align: center; }
.qc-product a { display: flex; align-items: center; gap: .7rem; font-weight: 700; max-width: 32ch; }
.qc-product img { width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); background: var(--bg-elevated); flex: none; }

/* --- filters bar --- */
.filters-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.filters-bar select, .filters-bar button {
  padding: .55em 1em; border-radius: 3px; background: var(--bg-card); border: 2px solid var(--ink);
  color: var(--ink); font-size: .84rem; font-weight: 700;
}
.filters-bar button.is-active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* --- footer: azul noche con «PLUS ULTRA» de marca de agua --- */
.site-footer {
  position: relative; overflow: clip; isolation: isolate;
  padding-block: 3.4rem 2rem; background: var(--night); color: #dbe3f7;
  border-top: 4px solid var(--ink);
  box-shadow: inset 0 4px 0 var(--yellow);
}
.site-footer::before {
  content: "Plus Ultra"; content: "Plus Ultra" / ""; position: absolute; z-index: -1; right: -.04em; bottom: -.2em;
  font-family: var(--comic); font-size: clamp(5rem, 16vw, 13rem); line-height: 1; letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.07); transform: rotate(-4deg);
  pointer-events: none;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer .text-dim { color: #c2cdea; }
.footer-col h4, .footer-col .h4 { font-family: var(--display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: .8rem; }
.footer-col a { display: block; padding: .32rem 0; font-size: .95rem; color: #dbe3f7; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-col a.brand { color: #fff; font-size: 1.45rem; padding: 0; }
.footer-disclosure { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #aab7da; max-width: 90ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; font-size: .82rem; color: #aab7da; }

/* --- amazon note --- */
.amazon-note { font-size: .74rem; color: var(--ink-faint); margin-top: .4rem; }

/* --- legal pages --- */
.legal-body { max-width: 74ch; margin-inline: auto; }
.legal-body h2 { margin-top: 2rem; margin-bottom: .7rem; }
.legal-body p, .legal-body li { color: var(--ink-dim); margin-bottom: .6rem; }
.legal-body li { margin-left: 1.2rem; list-style: disc; }

/* =============================================================
   7. Effects (reveal-on-scroll, chip hover, tilt-free)
   ============================================================= */
/* .reveal es visible por defecto: main.js solo esconde (.reveal-wait) lo que queda por debajo del primer pantallazo y lo descubre al llegar con el scroll. Así el contenido de arriba (hero, cabecera de ficha) se pinta con el HTML, sin esperar al JavaScript (antes retrasaba el LCP). */
.reveal-wait { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-wait.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
.compare-promo-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .compare-promo-grid { grid-template-columns: 1.3fr 1fr; }
  .hero-bg::after {
    background: linear-gradient(100deg, rgba(10,29,82,.96) 0%, rgba(10,29,82,.9) 34%, rgba(10,29,82,.4) 56%, transparent 78%);
  }
  .ficha-grid { grid-template-columns: .9fr 1.1fr; }
  .wiki-hero { grid-template-columns: 320px 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pc-columns { grid-template-columns: 1fr; }
  /* Below 720px the hero text stack (kicker+title+lede+buttons+stats)
     spans nearly the section's full height, so the old full-bleed
     background photo + top-to-bottom scrim (built for the 2-column
     desktop layout) had to hide almost the whole image to keep text
     readable — which buried the main character's face under the title. Show the
     photo as its own banner above the text instead: a contained,
     non-absolute image with a shorter aspect ratio needs far less
     cropping, so both characters (face included) stay in frame with
     no scrim needed at all. */
  .hero { padding-block: 0 clamp(3rem, 8vw, 5rem); }
  .hero-bg { position: static; inset: auto; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; z-index: auto; }
  .hero-bg-img { position: static; width: 100%; height: 100%; object-position: 76% 18%; }
  .hero-bg::after { display: none; }
  .hero-bg:empty { display: none; } /* no hero art yet: do not reserve an empty 4:3 block */
  .hero-grid { padding-top: 2rem; }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 959px) and (min-width: 540px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 539px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  /* long CTA sentences (e.g. "Ver más productos de <anime> en Amazon")
     can exceed the container width at this size — .btn is nowrap by
     design (icon+label pairs elsewhere must stay on one line), so only
     let text wrap here as a safety net instead of clipping off-screen. */
  .btn { white-space: normal; text-align: center; }
}
@media (min-width: 1280px) {
  .container { padding-inline: 0; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects gated
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { display: none; }
}

/* --- Índice de poder (wiki) --- */
.power-card { background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; }
.power-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.power-num { font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--accent); }
.power-num small { font-size: .9rem; color: var(--ink-faint); margin-left: .15rem; }
.power-meta { display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; color: var(--ink-dim); }
.power-meta span:first-child { font-weight: 700; color: var(--ink); }
.power-row { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; }
.power-bar { flex: 1; height: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.power-bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pc1, var(--accent)), var(--accent-2)); }
.power-tier { flex: none; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 6px; font-family: var(--display); font-weight: 800; font-size: .95rem; color: #fff; background: #6b7280; }
.power-tier-S { background: var(--yellow); color: var(--ink); box-shadow: 2px 2px 0 var(--red); }
.power-tier-A { background: var(--red); }
.power-tier-B { background: var(--ua); }
.power-tier-C { background: var(--green); }
.power-tier-D { background: #5b6478; }
.power-tier-title { display: flex; align-items: center; gap: .6rem; margin-top: 2.4rem; }
.power-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.power-item { background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius); padding: .9rem 1rem; }
.power-item-link { display: flex; align-items: center; gap: .8rem; color: inherit; }
.power-item-pos { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink-faint); min-width: 2ch; text-align: right; }
.power-item-link img { width: 52px; height: 57px; object-fit: cover; object-position: top; border-radius: var(--radius); flex: none; }
.power-item-name { display: flex; flex-direction: column; }
.power-item-name b { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; }
.power-item-name small { font-size: .78rem; color: var(--ink-dim); }
.power-item-num { font-family: var(--display); font-weight: 800; min-width: 2ch; text-align: right; }
.power-item-text { margin: .6rem 0 0; font-size: .88rem; color: var(--ink-dim); }
.power-apoyos { margin: 1rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .92rem; }
.power-apoyos-title { margin-top: 1.1rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-dim); }
.height-battle-val small { font-size: .6em; opacity: .7; margin-left: .1rem; }

/* --- Supermovimientos (ficha de personaje) --- */
.moves-box { background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.moves-list { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.moves-list li { padding: .35rem .75rem; border-radius: 3px; border: 2px solid var(--ink); background: var(--bg-elevated); font-weight: 600; font-size: .88rem; }
.moves-list li:first-child { border-color: var(--accent-2); color: var(--accent-2-ink); }
.moves-box .ideal-para { margin-top: 1rem; }

/* --- Contador animado del índice de poder --- */
.countup { display: inline-block; transform-origin: left bottom; font-variant-numeric: tabular-nums; will-change: transform; }
.height-battle-val .countup { transform-origin: center bottom; }
.countup.is-done { animation: countup-pop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes countup-pop { 0% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .countup { transform: none !important; animation: none !important; } }

/* Hero de portada: logo de la tienda en la columna derecha (solo escritorio). */
.hero-art { display: none; justify-self: center; }
.hero-art img { width: min(100%, 460px); height: auto; filter: drop-shadow(6px 6px 0 rgba(11,22,51,.35)); }
@media (min-width: 960px) { .hero-art { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: hero-float 6s ease-in-out infinite; }
  @keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* Enlace de texto a la ficha propia, bajo el botón de compra; queda por
   encima del enlace-capa a Amazon que cubre el resto de la tarjeta. */
.p-card-ficha { position: relative; z-index: 3; display: block; margin-top: .55rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }
.p-card-ficha:hover, .p-card-ficha:focus-visible { color: var(--accent); }

/* Bloque «También te puede interesar» de las categorías (enlazado interno). */
.rel-block h2 { margin-bottom: .9rem; }
.rel-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.rel-links a { display: inline-block; padding: .5rem .9rem; border: 2px solid var(--ink); border-radius: 3px; background: var(--bg-card); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.rel-links a:hover, .rel-links a:focus-visible { border-color: var(--accent); color: var(--accent); }

/* Wiki: secciones de fondo (cómo piensa, choques de ideas, ¿y si…?). */
.wiki-prose { max-width: 820px; }
.wiki-prose > p { margin-top: .9rem; line-height: 1.7; }
.choque-card, .ysi-card { margin-top: 1.1rem; padding: 1.1rem 1.25rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg-card); }
.choque-card { border-left: 5px solid var(--accent-2); }
.ysi-card { border-left: 5px solid var(--accent); }
.choque-card p, .ysi-card p { margin-top: .55rem; line-height: 1.65; color: var(--ink); }
.choque-vs { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .35rem; }
.choque-vs b { color: var(--accent-2-ink); padding: 0 .25em; }
.sabias-fuente { display: block; margin-top: .45rem; font-size: .76rem; color: var(--ink-faint); font-style: italic; }

/* Hero de portada con la ilustración de la serie: en escritorio el texto va
   en una viñeta azul uniforme con el borde inclinado (y un filo amarillo) a
   la izquierda, y la ilustración se ve entera a la derecha; en móvil la
   imagen va arriba, con el corte inclinado, y el texto debajo en azul. */
@media (min-width: 720px) {
  .hero-con-arte { min-height: min(80vh, 700px); display: flex; align-items: center; }
  .hero-con-arte .hero-bg-img { object-position: 70% 22%; }
  .hero-con-arte .hero-bg::after {
    background:
      radial-gradient(circle, rgba(255,255,255,.10) 1.4px, transparent 1.8px) 0 0 / 12px 12px,
      linear-gradient(180deg, var(--ua-deep), #0d2466);
    clip-path: polygon(0 0, 60% 0, 49% 100%, 0 100%);
  }
  .hero-con-arte .hero-bg::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: var(--yellow);
    clip-path: polygon(60% 0, 61.4% 0, 50.4% 100%, 49% 100%);
  }
  .hero-con-arte::before { display: none; }
  .hero-con-arte .hero-grid { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-con-arte .hero-title { font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
  .hero-con-arte .lede { max-width: 46ch; }
}
@media (max-width: 719px) {
  .hero-con-arte .hero-bg { aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero-con-arte .hero-bg-img { object-position: 72% 20%; }
  .hero-con-arte .hero-grid { padding-top: 1.2rem; }
}

/* ---- Activos enlazables de la wiki (reparto, encuestas, tipos de Don, cita) ---- */
.data-char { display: inline-flex; align-items: center; gap: .6rem; color: inherit; font-weight: 600; }
.data-char img { width: 36px; height: 39px; object-fit: cover; object-position: top; border-radius: 6px; flex: none; }
.data-char-dot { width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.data-table td { vertical-align: middle; white-space: normal; min-width: 7rem; }
.data-table td:first-child { min-width: 11rem; }
.data-table td small { display: block; margin-top: .2rem; }
.poll-table td, .poll-table th { text-align: center; min-width: 0; }
.poll-table td:first-child, .poll-table th:first-child { text-align: left; }
.poll-highlight-more { display: inline-block; margin-top: .8rem; font-size: .84rem; font-weight: 600; }
.wiki-fact-more { display: block; margin-top: .2rem; font-size: .78rem; font-weight: 600; color: var(--accent); }
.wiki-fact b a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.link-pills a { display: inline-block; padding: .45em .9em; border: 2px solid var(--ink); border-radius: 3px; background: var(--bg-card); color: var(--ink); font-size: .85rem; font-weight: 600; }
.link-pills a:hover { border-color: var(--accent); color: var(--accent); }
.method-list { padding-left: 1.2rem; display: grid; gap: .5rem; margin: 1rem 0; }
.cite-box { background: var(--bg-card); border: 2px solid var(--ink); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.cite-box > p { margin: .4rem 0 .8rem; font-size: .92rem; }
.cite-row { margin-top: .7rem; }
.cite-row label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-dim); margin-bottom: .3rem; }
.cite-field { display: flex; gap: .5rem; }
.cite-field input { flex: 1; min-width: 0; font: inherit; font-size: .85rem; padding: .5rem .7rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.share-box { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 320px) 1fr; align-items: start; margin-top: 1rem; }
.share-box img { width: 100%; height: auto; border-radius: var(--radius); border: 2px solid var(--ink); }
@media (max-width: 700px) { .share-box { grid-template-columns: 1fr; } .share-box > a { max-width: 320px; } }
/* Tablas de datos en móvil: cada fila pasa a ficha apilada */
@media (max-width: 640px) {
  .stack-table { min-width: 0; width: 100%; }
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; }
  .stack-table tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .stack-table td { border: 0; padding: .25rem .2rem; min-width: 0; }
  .stack-table td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); font-weight: 700; }
}

/* ---- Blog (datos/blog/*.json) ---- */
.blog-grid { margin-top: 1.2rem; }
.blog-card { display: flex; flex-direction: column; background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; transition: border-color .18s var(--ease-out), transform .18s var(--ease-out); }
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card-media { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line-soft); }
.blog-card-media img { width: 100%; height: 100%; object-fit: contain; padding: .8rem; }
.blog-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.blog-card-date { font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-2-ink); }
.blog-card-body h2, .blog-card-body h3 { margin: 0; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--ink); }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: .88rem; line-height: 1.5; margin: 0; }
.blog-byline { font-size: .86rem; margin-top: .5rem; }
.blog-byline a { color: var(--accent); font-weight: 600; }
.blog-spoiler { margin-top: 1.2rem; padding: .9rem 1.1rem; border: 2px solid var(--ink); border-left: 8px solid var(--red); border-radius: var(--radius-sm); background: #fff4f5; color: var(--ink); font-size: .92rem; }
.blog-spoiler strong { color: var(--accent-2-ink); }
.blog-hero { margin: 1.4rem 0 0; aspect-ratio: 16 / 9; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.blog-hero img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.blog-body ul, .blog-body ol { padding-left: 1.3rem; margin: 1rem 0; color: var(--ink-dim); display: grid; gap: .4rem; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { line-height: 1.55; }
.blog-body li::marker { color: var(--accent); font-weight: 700; }
.blog-body h3 { margin-top: 1.6rem; }
.blog-body a, .blog-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.blog-body blockquote { margin: 1.4rem 0; padding: .8rem 1.1rem; border-left: 4px solid var(--accent); background: var(--bg-elevated); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.blog-body details { margin: 1.4rem 0; background: var(--bg-card); border: 2px solid var(--ink); border-left: 4px solid var(--accent-2); border-radius: var(--radius-sm); padding: 0 1.1rem; }
.blog-body details > summary { cursor: pointer; list-style: none; padding: .9rem 0; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.blog-body details > summary::-webkit-details-marker { display: none; }
.blog-body details > summary::after { content: "Mostrar"; flex: none; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-2-ink); border: 1px solid currentColor; border-radius: 3px; padding: .15em .7em; }
.blog-body details[open] > summary::after { content: "Ocultar"; }
.blog-body details[open] > summary { border-bottom: 1px solid var(--line-soft); }
.blog-body details > :not(summary) { margin-block: .9rem; }
.blog-table { min-width: 0; }
.blog-table th, .blog-table td { white-space: normal; min-width: 0; vertical-align: top; }
.blog-table td:first-child { min-width: 0; }
.blog-sources { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .45rem; font-size: .9rem; color: var(--ink-dim); }
@media (max-width: 640px) {
  .blog-table .blog-head-row { display: none; }
}
@media (max-width: 539px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Aviso de cookies (lo crea main.js solo si hay analítica configurada) */
.cookie-banner {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-inline: auto;
  display: grid; gap: .9rem; padding: 1.1rem 1.2rem;
  background: var(--header-bg); color: var(--header-ink);
  border: 1px solid var(--header-line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.45);
  font-family: var(--sans); font-size: .88rem; line-height: 1.5;
}
.cookie-banner p { margin: 0; color: var(--header-ink-dim); }
.cookie-banner .cookie-banner-title { margin-bottom: -.5rem; color: var(--header-ink); font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .05em; }
.cookie-banner a { color: var(--header-ink); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.cookie-banner-actions .btn { min-width: 120px; }
@media (max-width: 480px) { .cookie-banner-actions .btn { flex: 1; } }

/* Lectura más cómoda en las fichas (nov. 2026) */
.lead-in { font-weight: 700; color: var(--ink); }
.pensar-wrap { display: block; }
.pensar-foto { margin: 1rem 0; }
.pensar-foto img { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 640 / 696; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.18); background: var(--bg-elevated); }
.pensar-foto figcaption { margin-top: .4rem; font-size: .75rem; color: var(--ink-dim); }
.pensar-text p { margin-top: 1rem; line-height: 1.7; }
.pensar-text p.pensar-lead { font-size: 1.12rem; line-height: 1.6; padding: .9rem 1.1rem; border-left: 4px solid var(--accent); background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }
@media (min-width: 860px) {
  .pensar-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2rem; align-items: start; }
  .pensar-foto { grid-column: 2; grid-row: 1; position: sticky; top: 90px; margin: 1rem 0 0; }
  .pensar-text { grid-column: 1; grid-row: 1; }
}
.choque-head { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .4rem; }
.choque-head .choque-vs { margin: 0 0 0 .4rem; }
.vs-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--line); background: var(--bg-elevated); flex: none; }
.vs-avatar-txt { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; color: var(--ink-dim); }
.choque-x { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--accent-2-ink, var(--accent-2)); text-transform: uppercase; }
.fold { margin-top: .5rem; }
.fold > summary { cursor: pointer; display: inline-block; font-weight: 700; font-size: .88rem; color: var(--accent); list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: " ↓"; }
.fold[open] > summary::after { content: " ↑"; }
.fold[open] > summary { margin-bottom: .2rem; }
details.ysi-card > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details.ysi-card > summary::-webkit-details-marker { display: none; }
details.ysi-card > summary h3 { margin: 0; }
details.ysi-card > summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; background: var(--accent); color: #fff; }
details.ysi-card[open] > summary::after { content: "−"; }
details.ysi-card[open] > summary { margin-bottom: .3rem; }

/* Rankings: fotos más grandes y corona en el número 1 (2026-11-10) */
.rank-photo { position: relative; display: inline-flex; flex: none; }
.rank-crown { position: absolute; left: 50%; top: -21px; width: 34px; height: 27px; transform: translateX(-50%) rotate(-10deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cpath d='M6 16l13 12L32 6l13 22 13-12-5 28H11z' fill='%23F7C948' stroke='%239A6A00' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='6' cy='15' r='4.5' fill='%23F7C948' stroke='%239A6A00' stroke-width='2'/%3E%3Ccircle cx='32' cy='6' r='4.5' fill='%23F7C948' stroke='%239A6A00' stroke-width='2'/%3E%3Ccircle cx='58' cy='15' r='4.5' fill='%23F7C948' stroke='%239A6A00' stroke-width='2'/%3E%3Crect x='12' y='38' width='40' height='6' rx='2' fill='%23E2A91C'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); pointer-events: none; z-index: 1; }
.data-char img { width: 56px; height: 61px; border-radius: var(--radius); }
.data-table tr.is-top1 td { background: rgba(247,201,72,.10); padding-top: 1.5rem; }
.power-item-link img { width: 76px; height: 84px; object-fit: cover; object-position: top; border-radius: var(--radius); flex: none; }
.power-item.is-top1 { border-color: rgba(247,201,72,.75); box-shadow: 0 0 0 1px rgba(247,201,72,.35), 0 8px 24px rgba(247,201,72,.14); padding-top: 1.6rem; }
@media (max-width: 720px) {
  .data-char img { display: block; width: 42px; height: 46px; }
  .power-item-link img { width: 56px; height: 62px; }
}

/* Variantes agrupadas en una sola ficha (2026-11-19) */
.p-card-variants { position: relative; z-index: 2; font-size: .78rem; font-weight: 700; color: var(--accent); }
.variant-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.variant-item { display: flex; flex-direction: column; background: var(--bg-card); border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.variant-item.is-current { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.variant-photo { aspect-ratio: 1; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; }
.variant-photo img { width: 100%; height: 100%; object-fit: cover; }
.variant-photo svg { width: 40%; height: 40%; color: var(--ink-faint); }
.variant-body { display: flex; flex-direction: column; gap: .35rem; padding: .6rem .7rem .75rem; flex: 1; }
.variant-name { font-size: .85rem; line-height: 1.3; }
.variant-price { font-family: var(--display); font-weight: 800; letter-spacing: .02em; margin-top: auto; }

/* swatches:start — variantes con círculos (ficha y tarjetas), 2026-11-26 */
.ficha-swatches { margin-top: 1.1rem; }
.ficha-swatches-label { margin: 0 0 .6rem; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-dim); }
.ficha-swatches-label b { color: var(--ink); text-transform: none; letter-spacing: 0; }
.ficha-swatches-label .text-dim { text-transform: none; letter-spacing: 0; font-family: var(--sans, inherit); font-weight: 500; font-size: .86rem; }
.ficha-swatches-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.sw-ficha, .sw-dot { position: relative; flex: none; padding: 0; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: pointer; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.sw-ficha { width: 48px; height: 48px; }
.sw-dot { width: 28px; height: 28px; border-width: 1.5px; }
.sw-ficha img, .sw-dot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 50%; display: block; pointer-events: none; }
.sw-ficha.is-color, .sw-dot.is-color { background: var(--sw); }
.sw-ficha:hover, .sw-dot:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.sw-ficha[aria-pressed="true"] { border-color: var(--ua); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ua), 4px 5px 0 4px var(--yellow); }
.sw-dot[aria-pressed="true"] { border-color: var(--ua); box-shadow: 0 0 0 1.5px #fff, 0 0 0 3.5px var(--ua); }
.sw-ficha:focus-visible, .sw-dot:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.p-card-swatches { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .55rem 0 .3rem; padding: 2px; }
.sw-more { font-family: var(--display); font-weight: 800; font-size: .92rem; color: var(--ua); text-decoration: none; padding: .1rem .2rem; }
.sw-more:hover { text-decoration: underline; }
.badge-discount[hidden], .price-strike[hidden] { display: none !important; }
.variant-photo.is-pick { cursor: pointer; }
.ficha-desc.is-fresh, .ficha-title.is-fresh { animation: swFade .35s ease; }
@keyframes swFade { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ficha-desc.is-fresh, .ficha-title.is-fresh { animation: none; } .sw-ficha, .sw-dot { transition: none; } }
/* swatches:end */

/* =============================================================
   10. Motivos de la academia (2026-11-22)
   Onomatopeyas, cinta «PLUS ULTRA», sellos y viñetas. Todo es CSS sobre
   texto propio: sin logos ni arte oficial nuevos.
   ============================================================= */
/* pestañas de sección en rojo sobre los fondos azul noche */
.hero .eyebrow::after, .cat-hero .eyebrow::after, .top-picks .eyebrow::after, .qg-tip .eyebrow::after, .vs-arena .eyebrow::after { background: var(--red); box-shadow: 3px 3px 0 rgba(0,0,0,.45); }

/* onomatopeya-sello junto al antetítulo del hero */
.sfx-stamp {
  display: inline-block; font-family: var(--comic); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; letter-spacing: .03em;
  color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--red); transform: rotate(-7deg); margin-left: .4rem; margin-bottom: .5rem;
}
.hero-kicker { flex-wrap: wrap; }

/* estallido de cómic (404) */
.sfx-burst {
  display: grid; place-items: center; width: 8.5rem; height: 8.5rem; margin: 0 auto 1rem;
  font-family: var(--comic); font-size: 2.2rem; color: var(--red); text-shadow: 2px 2px 0 var(--ink);
  background: var(--yellow); transform: rotate(-8deg);
  clip-path: polygon(50% 0, 61% 18%, 82% 9%, 80% 31%, 100% 38%, 85% 54%, 97% 73%, 75% 76%, 71% 98%, 52% 86%, 33% 100%, 27% 78%, 4% 80%, 15% 60%, 0 43%, 19% 33%, 13% 11%, 36% 17%);
}

/* cinta roja «PLUS ULTRA» bajo el hero */
.ua-ribbon {
  position: relative; z-index: 3; overflow: hidden; margin-top: -14px;
  background: var(--red); color: #fff; border-block: 3px solid var(--ink);
  transform: skewY(-1.4deg); /* skewY: inclina sin ensanchar (rotate desbordaba en horizontal) */
}
.ua-ribbon-track { display: flex; align-items: center; gap: 1.4rem; width: max-content; padding: .55rem 0; }
.ua-ribbon span { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ua-ribbon i { width: .9rem; height: .9rem; flex: none; background: var(--yellow); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%); }
@media (prefers-reduced-motion: no-preference) {
  .ua-ribbon-track { animation: ua-ribbon 60s linear infinite; }
  @keyframes ua-ribbon { to { transform: translateX(-50%); } }
}

/* títulos de sección: trazo tricolor bajo el título */
.head-row h2:not(.h3)::after {
  content: ""; display: block; width: 72px; height: 6px; margin-top: .55rem;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--ua) 66%);
  transform: skewX(-20deg);
}

/* secciones con fondo elevado: semitono en una esquina */
section[style*="--bg-elevated"] { position: relative; isolation: isolate; border-block: 2px solid var(--ink); }
section[style*="--bg-elevated"]::before {
  content: ""; position: absolute; top: 0; right: 0; width: min(40%, 420px); height: 100%; z-index: -1;
  background: var(--halftone) 0 0 / 12px 12px;
  -webkit-mask-image: linear-gradient(240deg, #000 5%, transparent 60%); mask-image: linear-gradient(240deg, #000 5%, transparent 60%);
}

/* ---- Licencia de héroe (ficha de personaje) ---- */
.pc-card-license { box-shadow: 6px 6px 0 var(--ua); }
.pc-card-license:hover { transform: none; box-shadow: 6px 6px 0 var(--ua); }
.pc-card-license::before { content: "Expediente de la wiki"; content: "Expediente de la wiki" / ""; }
.license-stamp {
  position: absolute; z-index: 3; right: .6rem; top: 46%;
  font-family: var(--comic); font-size: 1.35rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); background: rgba(255,255,255,.9); padding: .3em .55em .2em;
  border: 3px double var(--red); transform: rotate(8deg);
  box-shadow: 2px 2px 0 rgba(11,22,51,.35);
}
.wiki-hero-main > .badge { font-size: .85rem; }
.wiki-hero-main .ficha-title { text-shadow: 3px 3px 0 var(--yellow); }
.wiki-hero-main .ficha-brand { font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-2-ink); }
.poll-highlight { background: var(--bg-card); border: var(--panel-border); box-shadow: 5px 5px 0 var(--red); border-radius: var(--radius-sm); }
.poll-card-rank { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.6rem; }
.poll-card-bar { height: 8px; border-radius: 0; background: var(--bg-elevated); border: 1px solid var(--ink); }
.poll-card-bar-fill { border-radius: 0; background: repeating-linear-gradient(-45deg, var(--ua) 0 6px, #2d5ef0 6px 12px); }
.page-toc { background: var(--bg-card); border: var(--panel-border); border-left: 8px solid var(--ua); box-shadow: 5px 5px 0 var(--line); }
.page-toc-title { color: var(--ua); font-size: .95rem; font-weight: 800; }
.page-toc-title::before { background: var(--red); height: 4px; transform: skewX(-20deg); }
h3.trayectoria-chapter { font-weight: 800; font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: .03em; }
h3.trayectoria-chapter::before { width: 22px; height: 5px; background: var(--red); transform: skewX(-20deg); border-radius: 0; }
.escena-fig img { border: var(--panel-border); border-radius: var(--radius-sm); box-shadow: 5px 5px 0 var(--ua); }
.team-path-chip { border-radius: 0; font-weight: 500; }
.team-path-chip.team-path-current { background: var(--yellow); color: var(--ink); border-color: var(--ink); font-weight: 700; }
.team-path-arrow { color: var(--red); font-weight: 700; }
.sabias-mark { border-radius: 0; background: var(--ua); color: #fff; transform: rotate(-6deg); }
.sabias-mark.mark-databook { background: var(--green); color: #fff; }
.choque-card, .ysi-card { box-shadow: 5px 5px 0 var(--line); }
.choque-card { border-left: 8px solid var(--red); }
.ysi-card { border-left: 8px solid var(--ua); }
details.ysi-card > summary::after { border-radius: 0; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.choque-x { font-family: var(--comic); font-size: 1.5rem; color: var(--red); text-shadow: 1px 1px 0 var(--ink); }
.vs-avatar { border: 2px solid var(--ink); }
.pensar-text p.pensar-lead { border: var(--panel-border); border-left: 8px solid var(--yellow); border-radius: 0; font-weight: 500; }
.pensar-foto img { border: var(--panel-border); border-radius: var(--radius-sm); box-shadow: 5px 5px 0 var(--red); }
.ideal-para { border-left: 6px solid var(--ua); background: #eaf0ff; font-weight: 700; }
.moves-list li { border-radius: 0; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; }
.moves-list li:first-child { background: var(--red); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.power-num { font-style: italic; font-size: 3.4rem; color: var(--ua); text-shadow: 3px 3px 0 var(--yellow); }
.power-bar { height: 14px; border-radius: 0; border: 2px solid var(--ink); background: #fff; }
.power-bar-fill { border-radius: 0; background: repeating-linear-gradient(-45deg, var(--pc1, var(--ua)) 0 8px, color-mix(in srgb, var(--pc1, var(--ua)) 75%, #fff) 8px 16px); }
.power-tier { border-radius: 0; }
.power-card, .moves-box, .radar-wrap, .cite-box { box-shadow: 5px 5px 0 var(--line); }
.power-item.is-top1 { border-color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }

/* ---- comparadores ---- */
.vs-arena {
  border: 3px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 7px 7px 0 var(--red);
  background: radial-gradient(circle, rgba(255,255,255,.08) 1.4px, transparent 1.8px) 0 0 / 12px 12px, var(--ua-deep);
}
.vs-arena::before {
  opacity: 1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.06) 0 3deg, transparent 3deg 10deg);
}
.vs-slot { border: 3px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 5px 5px 0 rgba(0,0,0,.4); }
.vs-slot-pick { border-radius: 0; border-color: rgba(255,255,255,.45); }
.vs-slot-pick:hover { border-color: var(--yellow); background: rgba(255,204,26,.12); }
.vs-slot-name { font-weight: 800; font-style: italic; font-size: 1.5rem; text-transform: uppercase; text-shadow: 2px 2px 0 var(--ink); }
.comparator-search input { border-radius: 0; border: var(--panel-border); box-shadow: 4px 4px 0 var(--ua); font-size: 1.05rem; padding: .85em 1em; }
.comparator-search-results { border-radius: 0; border: var(--panel-border); background: #fff; box-shadow: 6px 6px 0 var(--ua); }
.compare-chip, .vs-matchup-chip { border-radius: 0; }
.vs-matchup-chip:hover { border-color: var(--ink); background: var(--yellow); }
.compare-table th { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--bg-elevated); border-bottom: 2px solid var(--ink); }
.compare-table .row-label { font-weight: 700; background: var(--bg); }
.empty-compare { border: 2px dashed var(--ink); border-radius: 0; background: var(--halftone) 0 0 / 12px 12px, var(--bg-card); }
.record-tile { box-shadow: 4px 4px 0 var(--line); }
.record-tile:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ua); }
.record-photo { border: 2px solid var(--ink); }
.record-stat { font-style: italic; font-size: 1.4rem; color: var(--ua); }

/* ---- filtros, pestañas, FAQ, fichas ---- */
.filters-bar select, .filters-bar button { border-radius: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; min-height: 40px; }
.filters-bar button.is-active { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.radar-stage-toggle { border-radius: 0; border: 2px solid var(--ink); }
.radar-stage-toggle button { border-radius: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.radar-stage-toggle button.is-active { background: var(--ua); color: #fff; }
.faq-item { box-shadow: 4px 4px 0 var(--line); }
.faq-item summary::after { width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); font-weight: 800; }
.qg-facts li { box-shadow: 4px 4px 0 var(--line); }
.qg-facts b { font-style: italic; font-size: 1.8rem; color: var(--ua); }
.qg-num { font-style: italic; font-size: 2.2rem; color: var(--red); }
.qg-point h3 { font-family: var(--sans); font-style: normal; font-weight: 700; text-transform: none; }
.qg-point { box-shadow: 4px 4px 0 var(--line); }
.ficha-price-box { border: var(--panel-border); box-shadow: 5px 5px 0 var(--yellow); }
.ficha-price { font-weight: 800; font-size: 2.4rem; color: var(--ink); }
.gallery-main { border: var(--panel-border); box-shadow: 6px 6px 0 var(--ua); border-radius: var(--radius-sm); }
.spec-group h4 { font-family: var(--display); font-weight: 800; font-size: .95rem; letter-spacing: .1em; color: var(--ua); }
.review-slide { box-shadow: 4px 4px 0 var(--line); }
.quick-compare-table th { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--ink-dim); border-bottom: 2px solid var(--ink); }
.qc-rank { font-style: italic; color: var(--accent-2-ink); font-size: 1.5rem; }
.rel-links a, .link-pills a { border-radius: 0; }
.rel-links a:hover, .rel-links a:focus-visible, .link-pills a:hover { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.blog-card { box-shadow: 4px 4px 0 var(--line); }
.blog-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ua); border-color: var(--ink); }
.blog-hero { border: var(--panel-border); box-shadow: 6px 6px 0 var(--ua); }
.blog-body blockquote { border-left: 6px solid var(--yellow); background: #fff; border-radius: 0; }
.cookie-banner { border: 3px solid var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--yellow); }
.cookie-banner .cookie-banner-title { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.4rem; text-transform: uppercase; color: var(--yellow); }
.cookie-banner .btn-ghost { --btn-shadow: var(--yellow); }
.disclosure { border-left: 6px solid var(--yellow); }

/* contacto:start — formulario de contacto (contacto.html -> /contacto.php) */
.contact-form { display: grid; gap: 1rem; margin-block: 1.6rem 1.2rem; padding: clamp(1rem, 3vw, 1.6rem); background: var(--bg-card, #fff); border: 1px solid var(--line, #ccc); border-radius: var(--radius, 8px); }
.contact-form .form-row { display: grid; gap: .35rem; }
.contact-form label { font-weight: 700; font-size: .92rem; color: var(--ink, inherit); }
.contact-form .form-opt { font-weight: 400; color: var(--ink-dim, inherit); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ink, inherit);
  background: var(--bg, #fff); border: 1px solid var(--line, #bbb); border-radius: var(--radius-sm, 5px); padding: .65rem .75rem;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 1px; border-color: var(--accent, currentColor); }
.contact-form .form-check { display: flex; gap: .6rem; align-items: flex-start; }
.contact-form .form-check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: none; accent-color: var(--accent, auto); }
.contact-form .form-check label { font-weight: 400; color: var(--ink-dim, inherit); }
.contact-form .form-check a, .form-note a { text-decoration: underline; text-underline-offset: 2px; }
.contact-form button { justify-self: start; }
.form-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-dim, inherit); }
.form-alerts .form-alert { display: none; margin-block: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm, 5px); border: 1px solid; font-weight: 600; }
.form-alerts .form-alert:target, .form-alerts .form-alert.is-shown { display: block; }
.form-alerts .form-alert-ok { background: #e6f2ea; border-color: #2e7d4f; color: #1c4a30; }
.form-alerts .form-alert-error { background: #fbe9e7; border-color: #b3261e; color: #6d1a14; }
/* contacto:end */

/* blog: componentes comunes (2026-11-30, tools/blog_componentes.js). Base con los tokens de la tienda; la piel propia va justo debajo. */
.blog-tldr { position: relative; margin-top: 1.4rem; padding: 1.1rem 1.3rem 1.15rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.blog-tldr-title { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--accent-2-ink); }
.guide-body .blog-tldr p, .blog-body .blog-tldr ul, .guide-body .blog-tldr ul { margin: .55rem 0 0; color: var(--ink); }
.blog-tldr ul { margin-left: 1.1rem !important; padding-left: .2rem; list-style: disc; }
.blog-tldr li { margin-top: .3rem; }
.blog-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .7rem; margin: 1.2rem 0 0; }
.blog-stat { display: flex; flex-direction: column-reverse; margin: 0; padding: .75rem .9rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--bg-elevated); }
.blog-stat dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--accent); }
.blog-stat dt { margin-top: .35rem; font-size: .8rem; color: var(--ink-dim); }
.guide-body figure { margin: 1.6rem 0; }
.guide-body figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.guide-body figcaption { margin-top: .45rem; font-size: .8rem; color: var(--ink-dim); text-align: center; }
.blog-download { display: flex; gap: 1rem; align-items: flex-start; margin: 1.6rem 0; padding: 1.1rem 1.2rem; background: var(--bg-card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); }
.blog-download-badge { flex: none; display: grid; place-items: center; width: 52px; height: 62px; border: 1px solid var(--line); border-radius: 3px 12px 3px 3px; background: var(--bg-elevated); font-weight: 800; font-size: .78rem; letter-spacing: .08em; color: var(--accent-2-ink); }
.blog-download-title { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.guide-body .blog-download p { margin: .35rem 0 .8rem; }
.blog-download-note { display: block; margin-top: .55rem; font-size: .78rem; color: var(--ink-faint); }
.guide-body a.blog-download-btn, .guide-body a.tool-cta { text-decoration: none; }
.tool { margin: 1.4rem 0; }
.tool-ui { padding: 1rem 1.1rem; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .9rem; }
.tool-ui[hidden] { display: none; }
.tool-label { display: block; font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2-ink); margin-bottom: .45rem; }
.tool-select, .tool-input { width: 100%; max-width: 420px; padding: .6rem .75rem; font: inherit; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tool-select:focus-visible, .tool-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-result:empty { display: none; }
.tool-result { margin-top: .9rem; }
.guide-body .tool-result p { margin: 0 0 .6rem; color: var(--ink); }
.guide-body .tool-result .tool-answer { font-family: var(--display); font-size: 1.3rem; line-height: 1.3; }
.guide-body .tool-result .tool-note { font-size: .88rem; color: var(--ink-dim); }
.tool-table tr.is-current td { background: var(--accent-soft); }
.guide-body .tool-source { font-size: .8rem; margin-top: .5rem; }
.tool-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin-bottom: .6rem; }
.tool-filter .tool-label { width: 100%; margin: 0; }
.tool-count { font-size: .82rem; color: var(--ink-dim); }
/* herramientas «quiz» y «mapa» (2026-11-30, assets/js/herramientas/{quiz,mapa}.js). Mismos selectores en las 9 tiendas, con sus tokens. */
.tool-fallback[hidden], .tool-btn[hidden], .tool-mapa-hint[hidden] { display: none; }
.tool-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .55rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.tool-btn-ghost { background: var(--bg-card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tool-btn-ghost:hover { border-color: var(--accent); }
.tool-btn:focus-visible, .tool-chip:focus-within, .tool-quiz-option:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-spoiler-tag { display: inline-block; margin: .15rem 0; padding: .1rem .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: var(--radius-sm); }
.tool-spoiler > summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.tool-spoiler[open] > summary { margin-bottom: .4rem; }
.tool-quiz-opts { margin: 0; padding-left: 1.1rem; }
.tool-quiz-opts li { margin: .15rem 0; }
.tool-quiz-form { display: grid; gap: .9rem; }
.tool-quiz-q { margin: 0; padding: .8rem .9rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-card); min-width: 0; }
.tool-quiz-q.is-missing { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tool-quiz-q legend { padding: 0 .3rem; font-weight: 800; color: var(--ink); }
.tool-quiz-options { display: grid; gap: .4rem; margin-top: .35rem; }
.tool-quiz-option { display: flex; align-items: flex-start; gap: .6rem; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elevated); cursor: pointer; line-height: 1.35; }
.tool-quiz-option input { flex: none; margin: .2rem 0 0; accent-color: var(--accent); width: 1.05rem; height: 1.05rem; }
.tool-quiz-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.tool-quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.tool-quiz-card { padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--bg-card); }
.tool-quiz-card .tool-label { margin: 0; }
.guide-body .tool-quiz-card .tool-answer { margin: .2rem 0 .5rem; font-size: 1.6rem; }
.tool-quiz-card .tool-btn { margin: .3rem .5rem .3rem 0; }
.tool-quiz-body[hidden] { display: none; }
.tool-levels { margin: 0 0 .8rem; padding: 0; border: 0; min-width: 0; }
.tool-levels legend { padding: 0; }
.tool-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.tool-chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .8rem; font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.tool-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tool-chip:has(input:checked), .tool-chip.is-current { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tool-mapa-grid { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 760px) { .tool-mapa-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.tool-mapa-svg { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-card); }
.tool-mapa-svg svg { display: block; width: 100%; height: auto; }
.tool-mapa-fuera { margin-top: 1rem; }
.guide-body .tool-mapa-list li { margin: 0; padding: 0; }
.guide-body .tool-mapa-list li::before { content: none; display: none; }
.tool-mapa-list, .guide-body .tool-mapa-list { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tool-mapa-list li[hidden] { display: none; }
.tool-mapa-ficha { margin-top: .4rem; }
.tool-mapa-item + .tool-mapa-item { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.guide-body .tool-mapa-ficha .tool-answer { font-size: 1.2rem; margin-bottom: .25rem; }
.guide-body .tool-mapa-meta { font-size: .85rem; font-weight: 700; color: var(--accent-2-ink); }
.mapa-tierra { fill: var(--accent-soft); stroke: none; }
.mapa-muro { fill: none; stroke: var(--ink-dim); stroke-width: 5; }
.mapa-saliente { fill: var(--bg-card); stroke: var(--ink-dim); stroke-width: 3; }
.mapa-hit { fill: transparent; }
.mapa-punto { cursor: pointer; outline: none; }
.mapa-dot { fill: var(--accent); stroke: var(--bg-card); stroke-width: 2.5; }
.mapa-t-distrito .mapa-dot { fill: var(--accent-2-ink); }
.mapa-punto.is-libre .mapa-dot, .mapa-punto.is-bajo .mapa-dot { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 2; }
.mapa-label, .mapa-muro-label { font-family: var(--sans, system-ui, sans-serif); font-size: 14px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--bg-card); stroke-width: 4px; stroke-linejoin: round; }
.mapa-muro-label { font-size: 12px; stroke: none; fill: var(--accent-ink); letter-spacing: .02em; }
.mapa-chip { fill: var(--accent); }
.mapa-punto:hover .mapa-dot, .mapa-punto.is-current .mapa-dot { fill: var(--ink); r: 9; }
.mapa-punto:hover .mapa-chip, .mapa-punto.is-current .mapa-chip { fill: var(--ink); }
.mapa-punto:focus-visible .mapa-hit { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.5; }
.mapa-punto:focus-visible .mapa-chip { stroke: var(--ink); stroke-width: 2.5; }
.mapa-norte path { fill: var(--accent-2-ink); }
.mapa-norte text, .mapa-escala { font-family: var(--sans, system-ui, sans-serif); font-size: 12px; font-weight: 800; fill: var(--ink-dim); }
@media (prefers-reduced-motion: no-preference) { .mapa-dot { transition: r .15s ease; } }
/* fin herramientas «quiz» y «mapa» */
.blog-next-heading { margin: 0; }
.blog-next-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.blog-next-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: .9rem 1rem 1rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease-out), border-color .2s var(--ease-out); }
.blog-next-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-next-card img { width: calc(100% + 2rem); max-width: none; margin: -.9rem -1rem .8rem; height: 120px; object-fit: cover; }
.blog-next-kind { font-weight: 800; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2-ink); }
.blog-next-title { margin-top: .3rem; font-family: var(--display); font-size: 1.12rem; line-height: 1.25; }
.blog-next-text { margin-top: .4rem; font-size: .86rem; color: var(--ink-dim); }
/* piel MHA: viñeta de cómic con borde de panel, azul U.A. y trazo rojo inclinado, como el índice */
.blog-tldr { border: var(--panel-border, 2px solid var(--ink)); border-left: 8px solid var(--ua); box-shadow: 5px 5px 0 var(--line); }
.blog-tldr-title { color: var(--ua); font-family: var(--display); font-size: .95rem; letter-spacing: .08em; }
.blog-tldr-title::before { content: ""; width: 22px; height: 4px; background: var(--red); transform: skewX(-20deg); }
.blog-stat { border: var(--panel-border, 2px solid var(--ink)); border-top: 4px solid var(--red); background: var(--bg-card); box-shadow: 4px 4px 0 var(--line); }
.blog-stat dd { color: var(--ua); }
.blog-download { border: var(--panel-border, 2px solid var(--ink)); border-left: 8px solid var(--green); box-shadow: 5px 5px 0 var(--line); }
.blog-download-badge { background: var(--yellow); border: 2px solid var(--ink); color: var(--ink); }
.tool-ui { border: var(--panel-border, 2px solid var(--ink)); border-left: 8px solid var(--ua); box-shadow: 5px 5px 0 var(--line); }
.blog-next-card { border: var(--panel-border, 2px solid var(--ink)); box-shadow: 5px 5px 0 var(--line); }
.blog-next-card:hover { border-color: var(--ua); box-shadow: 5px 5px 0 var(--ua); }
.blog-next-kind { color: var(--accent-2-ink); }

