/* HERRAMIENTAS Y JUEGOS — versión 2. Prefijo .zh- (todo en este fichero).
   Cubre: sobres, catálogo de juegos, debilidades, tonos, calculadora IV,
   trivia, comparador, Pokédle y gritos. */

.zh { --zh-panel: var(--v2-superficie); --zh-borde: var(--border-color); --zh-r: 14px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
[data-theme="dark"] .zh { --zh-panel: #0f1b2d; --zh-borde: #1e2e45; }
.zh * { box-sizing: border-box; }
.zh button { font-family: var(--font-primary); }
.zh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zh [hidden] { display: none !important; }

/* Cabecera de página */
.zh-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; }
.zh-cab-txt { flex: 1 1 420px; min-width: 0; }
.zh-cab h1 { margin: 6px 0 8px; font: 800 clamp(28px, 3.2vw, 40px)/1.1 var(--font-display); letter-spacing: -.02em; }
.zh-cab h1 > i { color: var(--nx-canal-txt); font-size: .78em; margin-right: 8px; }
.zh-cab p { margin: 0; max-width: 74ch; font-size: 15.5px; line-height: 1.55; color: var(--v2-texto-2); }
.zh-cab p strong { color: var(--text-main); }
.zh-cab-datos { display: flex; gap: 10px; flex-wrap: wrap; }
.zh-dato { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; min-width: 96px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: 12px; }
.zh-dato b { font: 800 22px var(--font-display); color: var(--text-main); }
.zh-dato span { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--v2-texto-3); }

/* Bloques y títulos */
.zh-bloque { background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: var(--zh-r); padding: 22px 24px; min-width: 0; }
.zh-h2 { margin: 0 0 16px; font: 800 20px/1.2 var(--font-display); color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.zh-h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--nx-canal); flex: 0 0 auto; }
.zh-vacio { text-align: center; padding: 48px 20px; color: var(--v2-texto-2); background: var(--zh-panel); border: 1px dashed var(--zh-borde); border-radius: var(--zh-r); }
.zh-vacio i { font-size: 40px; color: var(--nx-canal-txt); margin-bottom: 10px; display: block; }
.zh-vacio p { margin: 4px 0; }

/* Botones y campos */
.zh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; font: 800 14px var(--font-primary); color: #141005; background: var(--v2-amarillo); border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; transition: transform .12s, filter .12s; }
.zh-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.zh-btn:focus-visible, .zh-btn-2:focus-visible { outline: 2px solid var(--text-main); outline-offset: 3px; }
.zh-btn:disabled { background: var(--v2-tarjeta); color: var(--v2-texto-3); cursor: not-allowed; transform: none; filter: none; border: 1px solid var(--zh-borde); }
.zh-btn-2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; font: 700 14px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 10px; cursor: pointer; text-decoration: none; }
.zh-btn-2:hover { border-color: var(--nx-canal); }
.zh-buscar { position: relative; min-width: 0; }
.zh-buscar > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--v2-texto-3); pointer-events: none; }
.zh-buscar input { width: 100%; height: 46px; padding: 0 14px 0 40px; font: 600 15px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 2px solid var(--zh-borde); border-radius: 12px; }
.zh-buscar input:focus { outline: none; border-color: var(--v2-amarillo); }
.zh-campo { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.zh-campo > label, .zh-campo > .zh-et { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-campo select, .zh-campo input { width: 100%; height: 42px; padding: 0 12px; font: 600 14px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 10px; }
.zh-campo select:focus, .zh-campo input:focus { outline: none; border-color: var(--v2-amarillo); }
.zh-pildoras { display: flex; gap: 6px; flex-wrap: wrap; }
.zh-pildora { flex: 0 0 auto; padding: 7px 14px; font: 700 13px var(--font-primary); color: var(--v2-texto-2); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 99px; cursor: pointer; }
.zh-pildora:hover { border-color: var(--nx-canal); }
.zh-pildora.on { background: var(--v2-amarillo); border-color: var(--v2-amarillo); color: #141005; }

/* Preguntas frecuentes y pie legal */
.zh-faq { display: grid; gap: 8px; }
.zh-faq-item { background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 10px; }
.zh-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.zh-faq-item summary::-webkit-details-marker { display: none; }
.zh-faq-item summary h3 { margin: 0; font: 800 16px/1.3 var(--font-display); color: var(--text-main); }
.zh-faq-item summary i { font-size: 12px; color: var(--v2-texto-3); transition: transform .15s; }
.zh-faq-item[open] summary i { transform: rotate(90deg); }
.zh-faq-item p { margin: 0; padding: 0 16px 16px; font-size: 15px; line-height: 1.65; color: var(--v2-texto-2); }
.zh-copy { margin: 4px 0 6px; max-width: 78ch; font-size: 12.5px; line-height: 1.6; color: var(--v2-texto-3); }

@media (prefers-reduced-motion: reduce) { .zh * { animation: none !important; transition: none !important; } }

/* ============ GRITOS (/gritos-pokemon) ============ */
.zh-gr-barra { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding: 14px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: var(--zh-r); }
.zh-gr-gens { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.zh-gr-cuenta { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--v2-texto-2); }
.zh-gr-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zh-gr-fila { display: grid; grid-template-columns: 46px 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-left: 4px solid var(--tc); border-radius: 12px; transition: background .15s, border-color .15s; }
.zh-gr-fila:hover { background: var(--v2-tarjeta-hover); }
.zh-gr-fila.suena { border-color: var(--v2-amarillo); background: color-mix(in srgb, var(--v2-amarillo) 10%, var(--zh-panel)); }
.zh-gr-fila.elegido { animation: zhElegido 1.2s ease; }
@keyframes zhElegido { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--v2-amarillo) 60%, transparent); } }
.zh-gr-play { position: relative; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; cursor: pointer; font-size: 15px; color: #141005; background: var(--v2-amarillo); }
.zh-gr-play:focus-visible { outline: 2px solid var(--text-main); outline-offset: 2px; }
.zh-gr-eq { display: none; align-items: flex-end; gap: 2px; height: 16px; }
.zh-gr-eq i { display: block; width: 3px; height: 100%; background: #141005; border-radius: 2px; animation: zhEq .8s ease-in-out infinite; transform-origin: bottom; }
.zh-gr-eq i:nth-child(2) { animation-delay: .15s; }
.zh-gr-eq i:nth-child(3) { animation-delay: .3s; }
.zh-gr-eq i:nth-child(4) { animation-delay: .45s; }
@keyframes zhEq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.zh-gr-fila.suena .zh-gr-ico { display: none; }
.zh-gr-fila.suena .zh-gr-eq { display: flex; }
.zh-gr-art { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tc) 35%, transparent), transparent 72%); }
.zh-gr-art img { width: 52px; height: 52px; object-fit: contain; }
.zh-gr-datos { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zh-gr-num { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--v2-texto-3); }
.zh-gr-nom { font: 800 15.5px/1.15 var(--font-display); color: var(--text-main); overflow-wrap: anywhere; }
.zh-gr-tipos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.zh-gr-tipos .type-badge { font-size: 9.5px; padding: 2px 8px; }
.zh-gr-ficha { font-size: 12.5px; font-weight: 800; color: var(--v2-activo); text-decoration: none; white-space: nowrap; }
.zh-gr-ficha:hover { text-decoration: underline; }
.zh-gr-mas { display: flex; justify-content: center; }
@media (min-width: 1900px) { .zh-gr-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .zh-gr-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .zh-gr-lista, .zh-gr-barra { grid-template-columns: minmax(0, 1fr); }
    .zh-gr-barra .zh-btn { width: 100%; }
}

/* ============ TONOS (/tonos-pokemon) ============ */
.zh-tn-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.zh-tn-cab .zh-h2 { margin: 0; }
.zh-tn-cuenta { font: 800 12px var(--font-primary); padding: 3px 10px; border-radius: 99px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); color: var(--v2-texto-2); }
a.zh-pildora { text-decoration: none; display: inline-flex; align-items: center; }
.zh-tn-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zh-tn-fila { display: grid; grid-template-columns: 46px 56px minmax(0, 1fr) 112px 56px 78px auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 12px; transition: border-color .15s, background .15s; }
.zh-tn-fila:hover { border-color: var(--nx-canal); }
.zh-tn-fila.suena { border-color: var(--v2-amarillo); background: color-mix(in srgb, var(--v2-amarillo) 9%, var(--v2-tarjeta)); }
.zh-tn-play { width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; font-size: 15px; color: #141005; background: var(--v2-amarillo); display: flex; align-items: center; justify-content: center; }
.zh-tn-play:focus-visible { outline: 2px solid var(--text-main); outline-offset: 2px; }
.zh-tn-img { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--zh-panel); }
.zh-tn-img img { width: 50px; height: 50px; object-fit: contain; }
.zh-tn-info { min-width: 0; }
.zh-tn-info h3 { margin: 0; font: 800 16px/1.2 var(--font-display); color: var(--text-main); overflow-wrap: anywhere; }
.zh-tn-info p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--v2-texto-2); }
.zh-tn-tiempo { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: 700 12px var(--font-primary); color: var(--v2-texto-2); font-variant-numeric: tabular-nums; }
.zh-tn-pista { position: relative; flex: 1; height: 8px; border-radius: 99px; background: var(--zh-borde); cursor: pointer; touch-action: none; }
.zh-tn-pista:focus-visible { outline: 2px solid var(--v2-amarillo); outline-offset: 4px; }
.zh-tn-relleno { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--v2-amarillo); }
.zh-tn-punto { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--v2-amarillo); border: 2px solid var(--zh-panel); }
.zh-tn-tipo { justify-self: start; padding: 4px 10px; font: 800 11px var(--font-primary); letter-spacing: .05em; text-transform: uppercase; color: var(--v2-texto-2); border: 1px solid var(--zh-borde); border-radius: 99px; background: var(--zh-panel); }
.zh-tn-dur, .zh-tn-dls { font: 700 13px var(--font-primary); color: var(--v2-texto-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.zh-tn-dls i { margin-right: 4px; color: var(--v2-texto-3); }
.zh-tn-pag { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.zh-tn-sub { margin: -6px 0 16px; max-width: 74ch; font-size: 15px; line-height: 1.6; color: var(--v2-texto-2); }
.zh-tn-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.zh-tn-so-t { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: 800 22px var(--font-display); color: var(--text-main); }
.zh-tn-so-t i { color: var(--nx-canal-txt); font-size: 1.1em; }
.zh-tn-so-t small { margin-left: auto; font: 700 12px var(--font-primary); color: var(--v2-texto-3); }
.zh-tn-pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; gap: 12px; }
.zh-tn-pasos li { counter-increment: paso; position: relative; padding: 0 0 0 48px; min-height: 36px; }
.zh-tn-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 15px var(--font-display); color: #141005; background: var(--v2-amarillo); }
.zh-tn-pasos h4 { margin: 0 0 3px; font: 800 15.5px/1.3 var(--font-display); color: var(--text-main); }
.zh-tn-pasos p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--v2-texto-2); }
.zh-tn-pasos strong, .zh-tn-nota strong, .zh-tn-aviso strong, .zh-tn-wa strong { color: var(--text-main); }
.zh-tn-nota { margin: 16px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.6; color: var(--v2-texto-2); background: var(--v2-tarjeta); border-left: 4px solid var(--nx-canal); border-radius: 8px; }
.zh-tn-aviso { display: flex; gap: 12px; margin: 0 0 16px; padding: 12px 14px; font-size: 14px; line-height: 1.6; color: var(--v2-texto-2); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 10px; }
.zh-tn-aviso i { color: var(--v2-azul); font-size: 18px; margin-top: 2px; }
.zh-tn-wa { display: flex; gap: 18px; margin-top: 16px; }
.zh-tn-wa > i { font-size: 34px; color: #22a559; flex: 0 0 auto; }
.zh-tn-wa h3 { margin: 0 0 6px; font: 800 18px var(--font-display); color: var(--text-main); }
.zh-tn-wa p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: var(--v2-texto-2); }
.zh-tn-wa p:last-child { margin-bottom: 0; }
.zh-tn-cruce { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--zh-r); background: var(--zh-panel); border: 1px solid var(--zh-borde); border-left: 6px solid var(--nx-canal); }
.zh-tn-cruce h2 { margin: 0 0 4px; font: 800 20px var(--font-display); color: var(--text-main); }
.zh-tn-cruce p { margin: 0; font-size: 14.5px; color: var(--v2-texto-2); max-width: 58ch; }
@media (max-width: 1100px) {
    .zh-tn-fila { grid-template-columns: 46px 56px minmax(0, 1fr) auto; }
    .zh-tn-tipo, .zh-tn-dur, .zh-tn-dls { display: none; }
    .zh-tn-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .zh-tn-fila { grid-template-columns: 46px minmax(0, 1fr) auto; }
    .zh-tn-img { display: none; }
    .zh-tn-dl { padding: 10px 12px; }
    .zh-tn-wa { flex-direction: column; gap: 8px; }
}

/* ============ DEBILIDADES (/pokedex/debilidades) ============ */
.zh-wk-entrada { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px; align-items: start; }
.zh-et { margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-wk-lado { min-width: 0; }
.zh-wk-busca { position: relative; }
.zh-wk-caja { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; background: var(--v2-tarjeta); border: 2px solid var(--zh-borde); border-radius: 12px; }
.zh-wk-caja:focus-within { border-color: var(--v2-amarillo); }
.zh-wk-caja i { color: var(--v2-texto-3); }
.zh-wk-caja input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text-main); font: 600 16px var(--font-primary); outline: none; }
.zh-wk-sug { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: 12px; box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.zh-wk-sug li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; color: var(--text-main); }
.zh-wk-sug li:hover, .zh-wk-sug li.active { background: var(--v2-amarillo); color: #141005; }
.zh-wk-sug img { width: 32px; height: 32px; object-fit: contain; }
.zh-wk-sug span { font-weight: 700; font-size: 14px; }
.zh-wk-pista { margin: 12px 0 0; font-size: 13px; color: var(--v2-texto-2); }
.zh-wk-reset { background: none; border: 0; padding: 0; font: 700 13px var(--font-primary); color: var(--v2-activo); cursor: pointer; text-decoration: underline; }
.zh-wk-chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.zh-wk-chip { padding: 10px 4px; font: 800 12.5px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-bottom: 3px solid var(--c); border-radius: 8px; cursor: pointer; transition: transform .12s; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.zh-wk-chip:hover { transform: translateY(-2px); }
.zh-wk-chip.on { background: var(--c); color: var(--ink, #141005); border-color: var(--c); }
.zh-wk-vacio { margin: 0; padding: 26px 10px; text-align: center; color: var(--v2-texto-2); font-size: 14.5px; }
.zh-wk-vacio i { display: block; margin-bottom: 10px; font-size: 26px; color: var(--nx-canal-txt); }
.zh-wk-quien { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.zh-wk-quien img { width: 64px; height: 64px; object-fit: contain; }
.zh-wk-quien span { font: 800 24px var(--font-display); color: var(--text-main); }
.zh-wk-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.zh-wk-col { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-top: 4px solid var(--v2-texto-3); border-radius: 10px; min-width: 0; }
.zh-wk-col h3 { margin: 0; font: 800 13px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.zh-wk-x4 { border-top-color: #dc2626; } .zh-wk-x2 { border-top-color: #f97316; }
.zh-wk-x05 { border-top-color: #16a34a; } .zh-wk-x025 { border-top-color: #0d9488; } .zh-wk-x0 { border-top-color: #64748b; }
.zh-wk-x4 h3 { color: #b91c1c; } .zh-wk-x2 h3 { color: #c2410c; } .zh-wk-x05 h3 { color: #15803d; } .zh-wk-x025 h3 { color: #0f766e; } .zh-wk-x0 h3 { color: var(--v2-texto-2); }
[data-theme="dark"] .zh-wk-x4 h3 { color: #fca5a5; } [data-theme="dark"] .zh-wk-x2 h3 { color: #fdba74; } [data-theme="dark"] .zh-wk-x05 h3 { color: #86efac; } [data-theme="dark"] .zh-wk-x025 h3 { color: #5eead4; }
.zh-wk-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.zh-wk-tipos a { text-decoration: none; }
.zh-wk-col.vacia { opacity: .55; }
.zh-wk-nada { font-size: 13px; color: var(--v2-texto-3); }
.zh-wk-tip { margin: 14px 0 0; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; color: var(--v2-texto-2); background: var(--v2-tarjeta); border-left: 4px solid var(--nx-canal); border-radius: 8px; }
.zh-wk-tip strong { color: var(--text-main); }
.zh-wk-sub { margin: -6px 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--v2-texto-2); }
.zh-wk-tabla-caja { overflow-x: auto; border: 1px solid var(--zh-borde); border-radius: 10px; }
.zh-wk-tabla { border-collapse: collapse; table-layout: fixed; font-size: 11px; min-width: 700px; width: 100%; }
.zh-wk-tabla thead th:first-child, .zh-wk-tabla tbody th { width: 84px; }
.zh-wk-tabla th, .zh-wk-tabla td { border: 1px solid var(--zh-borde); text-align: center; padding: 0; }
.zh-wk-tabla thead th { font-size: 9.5px; font-weight: 800; padding: 6px 2px; }
.zh-wk-tabla tbody th { text-align: right; padding: 3px 8px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.zh-wk-tabla td { width: 28px; height: 26px; font-weight: 800; }
.zh-wk-esq { background: var(--v2-tarjeta); color: var(--v2-texto-2); font-size: 9px; padding: 4px; }
.zh-wk-tabla .c2, .zh-wk-leyenda .c2 { background: #dc2626; color: #fff; }
.zh-wk-tabla .c05, .zh-wk-leyenda .c05 { background: #15803d; color: #fff; }
.zh-wk-tabla .c0, .zh-wk-leyenda .c0 { background: #334155; color: #fff; }
.zh-wk-leyenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 2px 0; font-size: 12.5px; color: var(--v2-texto-2); }
.zh-wk-leyenda span { display: inline-flex; align-items: center; gap: 7px; }
.zh-wk-leyenda i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; border: 1px solid var(--zh-borde); }
.zh-wk-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.zh-wk-ancho { grid-column: 1 / -1; }
.zh-wk-info p, .zh-wk-info ul { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: var(--v2-texto-2); }
.zh-wk-info ul { padding-left: 20px; }
.zh-wk-info .zh-faq-item p { margin: 0; padding: 0 16px 16px; }
.zh-wk-info strong { color: var(--text-main); }
.zh-wk-info p a { color: var(--v2-activo); font-weight: 700; text-decoration: none; }
.zh-wk-info p a:hover { text-decoration: underline; }
.zh-wk-h2b { margin-top: 20px; }
@media (max-width: 1100px) { .zh-wk-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zh-wk-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .zh-wk-entrada, .zh-wk-info { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .zh-wk-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } .zh-wk-cols { grid-template-columns: minmax(0, 1fr); } .zh-wk-col:last-child { grid-column: auto; } }
.zh-wk-caja input, .zh-wk-caja input:focus { border: 0; box-shadow: none; outline: none; background: transparent; }

/* ============ COMPARADOR (/pokedex/comparar) ============ */
.zh-cmp-ring { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 0 14px; align-items: stretch; }
.zh-cmp-lado { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-top: 5px solid var(--tc, var(--nx-canal)); border-radius: var(--zh-r); min-width: 0; background-image: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--tc) 18%, transparent), transparent 65%); }
.zh-cmp-vs { display: flex; align-items: center; justify-content: center; }
.zh-cmp-vs span { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font: 800 20px var(--font-display); color: #141005; background: var(--v2-amarillo); box-shadow: 0 0 0 6px color-mix(in srgb, var(--v2-amarillo) 25%, transparent); }
.zh-cmp-busca { position: relative; }
.zh-cmp-busca > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--v2-texto-3); pointer-events: none; }
.zh-cmp-busca input { width: 100%; height: 44px; padding: 0 14px 0 40px; font: 600 15px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 2px solid var(--zh-borde); border-radius: 12px; }
.zh-cmp-busca input:focus { outline: none; border-color: var(--v2-amarillo); }
.zh-cmp-res { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: 320px; overflow-y: auto; padding: 6px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: 12px; box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.zh-cmp-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; color: var(--text-main); }
.zh-cmp-item:hover { background: var(--v2-amarillo); color: #141005; }
.zh-cmp-item img { width: 36px; height: 36px; object-fit: contain; }
.zh-cmp-item span { font-weight: 700; font-size: 14px; }
.zh-cmp-item div div { color: inherit !important; opacity: .75; }
.zh-cmp-ficha { display: flex; align-items: center; gap: 18px; min-width: 0; }
.zh-cmp-art { width: 120px; height: 120px; flex: 0 0 120px; object-fit: contain; image-rendering: pixelated; }
.zh-cmp-id { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.zh-cmp-num { font: 800 12px var(--font-primary); letter-spacing: .06em; color: var(--v2-texto-3); }
.zh-cmp-id h2 { margin: 0; font: 800 clamp(24px, 2.6vw, 34px)/1 var(--font-display); color: var(--text-main); overflow-wrap: anywhere; }
.zh-cmp-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.zh-cmp-p2 .zh-cmp-ficha { flex-direction: row-reverse; text-align: right; }
.zh-cmp-p2 .zh-cmp-tipos { justify-content: flex-end; }
.zh-cmp-veredicto { padding: 18px 22px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-left: 6px solid var(--v2-amarillo); border-radius: var(--zh-r); text-align: center; }
.zh-cmp-ver-tit { font: 800 11.5px var(--font-primary); letter-spacing: .09em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-cmp-ver-tit i { color: var(--v2-activo); margin-right: 4px; }
.zh-cmp-ver-nom { margin: 6px 0 4px; font: 800 24px var(--font-display); color: var(--text-main); }
.zh-cmp-ver-nom i { color: var(--v2-activo) !important; margin-right: 6px; }
.zh-cmp-ver-txt { margin: 0 auto; max-width: 70ch; font-size: 14.5px; line-height: 1.6; color: var(--v2-texto-2); }
.zh-cmp-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: start; }
.zh-cmp-stats { display: grid; gap: 10px; }
.zh-cmp-fila { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 10px; align-items: center; }
.zh-cmp-v { font: 800 17px var(--font-display); color: var(--v2-texto-2); font-variant-numeric: tabular-nums; }
.zh-cmp-v1 { text-align: right; }
.zh-cmp-v.gana { color: var(--v2-activo); }
.zh-cmp-pista { display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); align-items: center; gap: 6px; }
.zh-cmp-mitad { height: 12px; background: var(--v2-tarjeta); border-radius: 99px; overflow: hidden; display: flex; }
.zh-cmp-izq { justify-content: flex-end; }
.zh-cmp-rel { height: 100%; border-radius: 99px; transition: width .4s; }
.zh-cmp-izq .zh-cmp-rel { background: var(--v2-azul); }
.zh-cmp-der .zh-cmp-rel { background: #f97316; }
.zh-cmp-etq { text-align: center; font: 800 11px var(--font-primary); letter-spacing: .05em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-cmp-total { padding-top: 10px; border-top: 1px dashed var(--zh-borde); grid-template-columns: 46px minmax(0, 1fr) 46px; }
.zh-cmp-total .zh-cmp-v { font-size: 20px; }
.zh-cmp-tabla { width: 100%; border-collapse: collapse; table-layout: fixed; }
.zh-cmp-tabla td, .zh-cmp-tabla th { padding: 11px 8px; border-bottom: 1px solid var(--zh-borde); font-size: 14px; line-height: 1.4; vertical-align: top; overflow-wrap: anywhere; }
.zh-cmp-tabla td:first-child { text-align: right; color: var(--text-main); font-weight: 700; }
.zh-cmp-tabla td:last-child { text-align: left; color: var(--text-main); font-weight: 700; }
.zh-cmp-tabla th { width: 34%; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-cmp-tabla tr:last-child td, .zh-cmp-tabla tr:last-child th { border-bottom: 0; }
@media (max-width: 1100px) { .zh-cmp-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) {
    .zh-cmp-ring { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .zh-cmp-vs span { width: 44px; height: 44px; font-size: 16px; margin: 0 auto; }
    .zh-cmp-art { width: 90px; height: 90px; flex-basis: 90px; }
    .zh-cmp-p2 .zh-cmp-ficha { flex-direction: row; text-align: left; }
    .zh-cmp-p2 .zh-cmp-tipos { justify-content: flex-start; }
}
@media (max-width: 480px) { .zh-cmp-pista { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); } .zh-cmp-fila, .zh-cmp-total { grid-template-columns: 36px minmax(0, 1fr) 36px; } }

/* ============ CALCULADORA IV (/pokemon-go/calculadora-iv) ============ */
.zh-iv { gap: 18px; }
.zh-iv-pestanas { display: inline-grid; grid-template-columns: repeat(2, auto); gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); }
.zh-iv-pestanas button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 9px; font: 800 13.5px var(--font-primary); cursor: pointer; background: transparent; color: var(--v2-texto-2); }
.zh-iv-pestanas button.on { background: var(--v2-amarillo); color: #141005; }
.zh-iv-mandos { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 18px 24px; align-items: start; }
.zh-iv-esp { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.zh-iv-esp input { width: 100%; height: 46px; padding: 0 14px; font: 600 15px var(--font-primary); color: var(--text-main); background: var(--v2-tarjeta); border: 2px solid var(--zh-borde); border-radius: 12px; }
.zh-iv-esp input:focus { outline: none; border-color: var(--v2-amarillo); }
.zh-iv-pista { font-size: 12.5px; color: var(--v2-texto-2); line-height: 1.45; }
.zh-iv-pista b { color: var(--text-main); }
.zh-iv-grupo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.zh-iv-grupo-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.zh-iv-val label span { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--v2-texto-3); }
.zh-iv .zh-campo > label { min-height: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.zh-iv-salida { min-height: 120px; }
.zh-iv-vacio { margin: 0; padding: 30px 12px; text-align: center; font-size: 14px; color: var(--v2-texto-2); }
.zh-iv-ligas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zh-iv-liga { position: relative; padding: 18px 18px 18px 24px; border-radius: 12px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); overflow: hidden; --liga: var(--nx-canal); }
.zh-iv-liga[data-liga="super"] { --liga: #3b82f6; }
.zh-iv-liga[data-liga="ultra"] { --liga: #f59e0b; }
.zh-iv-liga::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--liga); }
.zh-iv-liga h3 { margin: 0 0 4px; font: 800 16px var(--font-display); }
.zh-iv-puesto { display: block; margin: 6px 0 2px; font: 800 38px/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text-main); }
.zh-iv-de { font-size: 12.5px; color: var(--v2-texto-2); }
.zh-iv-liga dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 12px 0 0; font-size: 13.5px; }
.zh-iv-liga dt { color: var(--v2-texto-2); }
.zh-iv-liga dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.zh-iv-medalla { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: color-mix(in srgb, var(--liga) 22%, transparent); color: var(--text-main); }
.zh-iv-nota, .zh-iv-resumen { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--v2-texto-2); }
.zh-iv-liga .zh-iv-nota { margin-top: 10px; }
.zh-iv-resumen b { color: var(--text-main); }
.zh-iv-unico { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 16px 18px; border-radius: 12px; background: var(--v2-tarjeta); border-left: 5px solid var(--nx-canal); }
.zh-iv-unico.es-bueno { border-left-color: #22c55e; }
.zh-iv-unico.es-perfecto { border-left-color: #f59e0b; }
.zh-iv-unico-pct b { display: block; font: 800 40px/1 var(--font-display); color: var(--nx-canal-txt); }
.zh-iv-unico.es-bueno .zh-iv-unico-pct b { color: #16a34a; }
.zh-iv-unico.es-perfecto .zh-iv-unico-pct b { color: var(--v2-activo); }
.zh-iv-unico-pct span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-texto-2); }
.zh-iv-unico-datos { flex: 1 1 220px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; text-align: center; }
.zh-iv-unico-datos span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-iv-unico-datos b { font: 800 22px var(--font-display); }
.zh-iv-tabla-caja { overflow-x: auto; margin-top: 4px; }
.zh-iv-tabla { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.zh-iv-tabla th { text-align: left; padding: 8px 10px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--v2-texto-3); border-bottom: 2px solid var(--zh-borde); white-space: nowrap; }
.zh-iv-tabla td { padding: 8px 10px; border-bottom: 1px solid var(--zh-borde); white-space: nowrap; font-variant-numeric: tabular-nums; }
.zh-iv-pc { display: inline-block; padding: 2px 8px; border-radius: 99px; font-weight: 800; background: color-mix(in srgb, var(--nx-canal) 18%, transparent); }
.zh-iv-texto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.zh-iv-faq { grid-column: 1 / -1; }
.zh-iv-prosa { display: grid; gap: 12px; }
.zh-iv-prosa p { margin: 0; font-size: 15px; line-height: 1.68; color: var(--v2-texto-2); }
.zh-iv-formula { padding: 14px 16px; border-radius: 10px; font: 600 14px/1.9 ui-monospace, Menlo, Consolas, monospace !important; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); overflow-x: auto; color: var(--text-main) !important; }
.zh-copy a { color: var(--v2-activo); font-weight: 700; }
@media (max-width: 1000px) { .zh-iv-mandos, .zh-iv-texto { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
    .zh-iv-grupo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zh-iv-grupo-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zh-iv-val { grid-column: 1 / -1; }
    .zh-iv-ligas { grid-template-columns: minmax(0, 1fr); }
    .zh-iv-unico-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zh-iv-pestanas { display: grid; }
}
.zh-iv-esp > label { min-height: 28px; display: flex; align-items: flex-end; }

/* ============ CATÁLOGO DE VIDEOJUEGOS (/juegos) ============ */
.zh-jg-barra { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--zh-panel); border: 1px solid var(--zh-borde); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.zh-jg-barra .zh-buscar { flex: 1 1 300px; }
.zh-jg-lista { display: flex; flex-direction: column; gap: 14px; }
.zh-jg-ficha { --g: var(--nx-canal); display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: var(--zh-r); overflow: hidden; }
.zh-jg-ficha[data-gen="gen9"], .zh-jg-ficha[data-gen="gen1"] { --g: #ef4444; }
.zh-jg-ficha[data-gen="gen8"], .zh-jg-ficha[data-gen="gen6"] { --g: #3b82f6; }
.zh-jg-ficha[data-gen="gen7"], .zh-jg-ficha[data-gen="gen2"] { --g: #f59e0b; }
.zh-jg-ficha[data-gen="gen5"] { --g: #6b7280; }
.zh-jg-ficha[data-gen="gen4"] { --g: #8b5cf6; }
.zh-jg-ficha[data-gen="gen3"] { --g: #10b981; }
.zh-jg-ficha[data-gen="remake"] { --g: #ec4899; }
.zh-jg-ficha[data-gen="spinoff"] { --g: #06b6d4; }
.zh-jg-arte { display: flex; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--g) 38%, transparent), color-mix(in srgb, var(--g) 6%, transparent) 70%); border-right: 4px solid var(--g); }
.zh-jg-arte img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.zh-jg-cuerpo { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; min-width: 0; }
.zh-jg-cab { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.zh-jg-tit { margin: 0; font: 800 22px/1.15 var(--font-display); letter-spacing: -.01em; color: var(--text-main); }
.zh-jg-ins { padding: 3px 10px; border-radius: 99px; font: 800 11px var(--font-primary); letter-spacing: .06em; text-transform: uppercase; color: var(--text-main); background: color-mix(in srgb, var(--g) 22%, transparent); border: 1px solid color-mix(in srgb, var(--g) 60%, transparent); }
.zh-jg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zh-jg-chips li { padding: 4px 10px; border-radius: 8px; font-size: 12.5px; color: var(--v2-texto-2); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); }
.zh-jg-chips strong { color: var(--text-main); }
.zh-jg-chips i { color: var(--nx-canal-txt); margin-right: 3px; }
.zh-jg-desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--v2-texto-2); max-width: 90ch; }
.zh-jg-ini { margin: 0; font-size: 13.5px; color: var(--v2-texto-2); }
.zh-jg-ini i { color: var(--nx-canal-txt); margin-right: 4px; }
.zh-jg-ini strong { color: var(--text-main); }
.zh-jg-det { margin-top: auto; }
.zh-jg-det summary { display: inline-flex; list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--zh-borde); background: var(--v2-tarjeta); font: 700 13px var(--font-primary); color: var(--text-main); }
.zh-jg-det summary::-webkit-details-marker { display: none; }
.zh-jg-det summary:hover { border-color: var(--nx-canal); }
.zh-jg-det summary:focus-visible { outline: 2px solid var(--v2-amarillo); outline-offset: 2px; }
.zh-jg-cerrar { display: none; }
.zh-jg-det[open] .zh-jg-cerrar { display: inline; }
.zh-jg-det[open] .zh-jg-abrir { display: none; }
.zh-jg-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.zh-jg-dl > div { padding: 10px 12px; border-radius: 10px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); min-width: 0; }
.zh-jg-dl dt { font: 800 10.5px var(--font-primary); letter-spacing: .07em; text-transform: uppercase; color: var(--v2-texto-3); }
.zh-jg-dl dd { margin: 3px 0 0; font: 700 14.5px/1.35 var(--font-primary); color: var(--text-main); overflow-wrap: anywhere; }
.zh-jg-masc { display: flex; flex-wrap: wrap; gap: 6px; }
.zh-jg-masc img { width: 44px; height: 44px; object-fit: contain; }
.zh-jg-enl { margin-top: 12px; }
.zh-jg-pag { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.zh-jg-pag[hidden] { display: none; }
.zh-jg-pag button:disabled { opacity: .5; cursor: not-allowed; }
.zh-jg-info { font-size: 14px; color: var(--v2-texto-2); }
@media (max-width: 900px) { .zh-jg-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .zh-jg-ficha { grid-template-columns: minmax(0, 1fr); }
    .zh-jg-arte { border-right: 0; border-bottom: 4px solid var(--g); padding: 12px; }
    .zh-jg-arte img { width: 110px; height: 110px; }
    .zh-jg-cuerpo { padding: 14px 16px; }
    .zh-jg-dl { grid-template-columns: minmax(0, 1fr); }
    .zh-jg-barra { position: static; }
}

/* ============ BLOQUES COMUNES DE JUEGOS (Pokédle y Trivia) ============ */
.zh-kicker { display: inline-block; margin: 10px 0 0; padding: 4px 10px; border-radius: 8px; font: 800 12px/1.2 var(--font-primary); letter-spacing: .08em; text-transform: uppercase; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); color: var(--nx-canal-txt); }
.zh-mesa { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.zh-mesa-main { display: grid; gap: 18px; min-width: 0; }
.zh-mesa-lado { display: grid; gap: 14px; min-width: 0; position: sticky; top: 90px; }
.zh-panel { padding: 16px 18px; border-radius: var(--zh-r); background: var(--zh-panel); border: 1px solid var(--zh-borde); min-width: 0; }
.zh-panel-t { margin: 0 0 12px; font: 800 14px/1.2 var(--font-display); letter-spacing: .05em; text-transform: uppercase; color: var(--text-main); }
.zh-panel-t i { color: var(--nx-canal-txt); margin-right: 6px; }
.zh-nota { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--v2-texto-2); }
.zh-nota a, .zh-mas a, .zh-tarjeta a { color: var(--v2-activo); font-weight: 700; }
.zh-panel-cta .zh-nota { margin-top: 0; }
.zh-leyenda { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--v2-texto-2); }
.zh-leyenda li { display: flex; align-items: center; gap: 10px; }
.zh-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zh-stats div { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px; border-radius: 10px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); text-align: center; }
.zh-stats b { font: 800 28px/1 var(--font-display); color: var(--nx-canal-txt); font-variant-numeric: tabular-nums; }
.zh-stats span { font-size: 12px; font-weight: 700; color: var(--v2-texto-2); }
.zh-sub { margin: 14px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-texto-2); }
.zh-dist { display: grid; gap: 5px; }
.zh-dist-f { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: center; }
.zh-dist-k { font-size: 13px; font-weight: 800; color: var(--v2-texto-2); text-align: center; }
.zh-dist-b { display: block; min-width: 28px; padding: 3px 8px; border-radius: 6px; background: #2e7d32; color: #fff; font-size: 12px; font-weight: 800; text-align: right; }
.zh-dist-b.is-fail { background: #b3261e; }
.zh-dist-b.is-zero { background: var(--v2-tarjeta); color: var(--v2-texto-2); border: 1px solid var(--zh-borde); }
.zh-w0 { width: 28px; } .zh-w10 { width: 10%; } .zh-w15 { width: 15%; } .zh-w20 { width: 20%; } .zh-w25 { width: 25%; } .zh-w30 { width: 30%; } .zh-w35 { width: 35%; } .zh-w40 { width: 40%; }
.zh-w45 { width: 45%; } .zh-w50 { width: 50%; } .zh-w55 { width: 55%; } .zh-w60 { width: 60%; } .zh-w65 { width: 65%; } .zh-w70 { width: 70%; } .zh-w75 { width: 75%; }
.zh-w80 { width: 80%; } .zh-w85 { width: 85%; } .zh-w90 { width: 90%; } .zh-w95 { width: 95%; } .zh-w100 { width: 100%; }
.zh-guia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zh-tarjeta { padding: 20px 22px; border-radius: var(--zh-r); background: var(--zh-panel); border: 1px solid var(--zh-borde); min-width: 0; }
.zh-tarjeta h2 { margin: 0 0 10px; font: 800 20px/1.2 var(--font-display); color: var(--text-main); text-wrap: balance; }
.zh-tarjeta h3 { margin: 14px 0 6px; font: 800 16px/1.3 var(--font-display); color: var(--text-main); }
.zh-tarjeta p, .zh-tarjeta li { font-size: 15px; line-height: 1.62; color: var(--v2-texto-2); }
.zh-tarjeta p { margin: 0 0 10px; }
.zh-tarjeta ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.zh-tarjeta strong { color: var(--text-main); }
.zh-pk-faq details { border-top: 1px solid var(--zh-borde); padding: 11px 0; }
.zh-pk-faq details:first-of-type { border-top: 0; }
.zh-pk-faq summary { cursor: pointer; font-weight: 800; font-size: 15px; color: var(--text-main); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.zh-pk-faq summary::-webkit-details-marker { display: none; }
.zh-pk-faq summary::after { content: "+"; font: 800 20px/1 var(--font-display); color: var(--nx-canal-txt); flex: none; }
.zh-pk-faq details[open] summary::after { content: "−"; }
.zh-pk-faq details p { margin: 8px 0 0; }
.zh-mas { padding: 16px 20px; border-radius: var(--zh-r); border: 1px dashed var(--zh-borde); }
.zh-mas h2 { margin: 0 0 6px; font: 800 17px/1.2 var(--font-display); color: var(--text-main); }
.zh-mas p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--v2-texto-2); }
@media (max-width: 1000px) {
    .zh-mesa { grid-template-columns: minmax(0, 1fr); }
    .zh-mesa-lado { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zh-guia { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .zh-mesa-lado { grid-template-columns: minmax(0, 1fr); } }

/* ============ POKÉDLE (/juegos/pokedle) ============ */
.zh-pk { --ok: #2e7d32; --ok-fg: #ffffff; --mid: #e0a92e; --mid-fg: #241802; --no-bg: var(--v2-tarjeta); --no-fg: var(--v2-texto-2); }
.zh-pk-game { position: relative; padding: 20px; border-radius: var(--zh-r); background: var(--zh-panel); border: 1px solid var(--zh-borde); }
.zh-pk-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.zh-pk-attempts-label { font: 800 11px var(--font-primary); letter-spacing: .12em; text-transform: uppercase; color: var(--v2-texto-2); }
.zh-pk-pips { display: flex; gap: 6px; }
.zh-pk-pip { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--v2-amarillo); background: transparent; transition: background .2s, transform .2s; }
.zh-pk-pip.is-used { background: var(--v2-amarillo); transform: scale(.85); }
.zh-pk-input-wrap { position: relative; margin-bottom: 18px; }
.zh-pk-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: var(--v2-tarjeta); border: 2px solid var(--zh-borde); border-radius: 12px; }
.zh-pk-search:focus-within { border-color: var(--v2-amarillo); }
.zh-pk-search-ico { color: var(--v2-texto-3); font-size: 15px; }
.zh-pk-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text-main); font: 600 16px var(--font-primary); padding: 8px 0; outline: none; box-shadow: none; }
.zh-pk-input::placeholder { color: var(--v2-texto-3); }
.zh-pk-input.is-error { animation: zhPkSacude .4s ease; }
@keyframes zhPkSacude { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.zh-pk-guess-btn { flex: 0 0 auto; padding: 10px 20px; border: 0; border-radius: 9px; font: 800 14px var(--font-primary); color: #141005; background: var(--v2-amarillo); cursor: pointer; }
.zh-pk-guess-btn:disabled { opacity: .45; cursor: not-allowed; }
.zh-pk-guess-btn:focus-visible { outline: 2px solid var(--text-main); outline-offset: 2px; }
.zh-pk-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: 12px; box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.zh-pk-suggest-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; color: var(--text-main); }
.zh-pk-suggest-item img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.zh-pk-suggest-item span { font-weight: 700; font-size: 14.5px; }
.zh-pk-suggest-item:hover, .zh-pk-suggest-item.is-active { background: var(--v2-amarillo); color: #141005; }
.zh-pk-board-head, .zh-pk-row { display: grid; grid-template-columns: minmax(64px, 92px) repeat(5, minmax(0, 1fr)); gap: 6px; }
.zh-pk-board-head { padding: 0 2px 8px; margin-bottom: 4px; border-bottom: 1px dashed var(--zh-borde); }
.zh-pk-board-head span { text-align: center; font: 800 10.5px var(--font-primary); letter-spacing: .06em; text-transform: uppercase; color: var(--v2-texto-2); align-self: end; }
.zh-pk-board-head .zh-pk-bh-mon { text-align: left; padding-left: 4px; }
.zh-pk-board { display: flex; flex-direction: column; gap: 6px; }
.zh-pk-row { align-items: stretch; }
.zh-pk-cell { box-sizing: border-box; }
.zh-pk-mon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); border-radius: 10px; }
.zh-pk-mon img { width: 46px; height: 46px; object-fit: contain; }
.zh-pk-mon-name { font: 700 11px/1.05 var(--font-primary); text-align: center; color: var(--v2-texto-2); word-break: break-word; }
.zh-pk-tile { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 4px; border-radius: 10px; text-align: center; }
.zh-pk-tile-val { font: 800 clamp(11px, 2.6vw, 15px)/1.1 var(--font-display); overflow-wrap: break-word; }
.zh-pk-arrow { position: absolute; right: 5px; bottom: 4px; font-size: 11px; opacity: .85; }
.zh-pk-tile.is-num .zh-pk-tile-val { white-space: nowrap; }
.zh-pk-tile.is-correct { background: var(--ok); color: var(--ok-fg); }
.zh-pk-tile.is-present { background: var(--mid); color: var(--mid-fg); }
.zh-pk-tile.is-absent { background: var(--no-bg); color: var(--text-main); border: 1px solid var(--zh-borde); }
.zh-pk-tile.is-num { background: var(--no-bg); color: var(--text-main); border: 1px solid var(--zh-borde); }
.zh-pk-flip { animation: zhPkGira .5s ease both; transform-origin: center; }
@keyframes zhPkGira { 0% { transform: rotateX(-90deg); opacity: 0; } 55% { transform: rotateX(0); opacity: 1; } 70% { transform: scale(1.04); } 100% { transform: scale(1); } }
.zh-pk-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 5px; flex: 0 0 auto; }
.zh-pk-swatch.is-correct { background: var(--ok); }
.zh-pk-swatch.is-present { background: var(--mid); }
.zh-pk-swatch.is-absent { background: var(--no-bg); border: 1px solid var(--zh-borde); }
.zh-pk-result { animation: zhPkSube .4s ease both; }
@keyframes zhPkSube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.zh-pk-result-box { text-align: center; padding: 26px 22px 22px; background: var(--zh-panel); border: 1px solid var(--zh-borde); border-radius: var(--zh-r); }
.zh-pk-result-box.is-win { border-top: 5px solid var(--ok); }
.zh-pk-result-box.is-lose { border-top: 5px solid #b3261e; }
.zh-pk-result-mon img { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.zh-pk-result-tag { margin: 6px 0 2px; font: 800 12px var(--font-primary); letter-spacing: .14em; text-transform: uppercase; color: var(--nx-canal-txt); }
.zh-pk-result-box h2 { margin: 0 0 6px; font: 800 clamp(22px, 4vw, 30px)/1.15 var(--font-display); color: var(--text-main); }
.zh-pk-result-desc { margin: 0 0 18px; font-size: 15px; color: var(--v2-texto-2); }
.zh-pk-result-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.zh-pk-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 0; border-radius: 10px; font: 800 15px var(--font-primary); color: #141005; background: var(--v2-amarillo); cursor: pointer; }
.zh-pk-ficha-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--v2-activo); text-decoration: none; }
.zh-pk-ficha-link:hover { text-decoration: underline; }
.zh-pk-next { margin: 0; font-size: 13.5px; color: var(--v2-texto-2); }
.zh-pk-next strong { font-variant-numeric: tabular-nums; color: var(--text-main); }
@media (max-width: 560px) {
    .zh-pk-game { padding: 14px 10px; }
    .zh-pk-board-head, .zh-pk-row { grid-template-columns: minmax(52px, 68px) repeat(5, minmax(0, 1fr)); gap: 4px; }
    .zh-pk-mon img { width: 38px; height: 38px; }
    .zh-pk-tile { min-height: 50px; }
    .zh-pk-board-head span { font-size: 8.5px; }
    .zh-pk-guess-btn { padding: 10px 14px; }
}
@media (max-width: 360px) { .zh-pk-tile-val { font-size: 10.5px; } .zh-pk-mon-name { font-size: 8.5px; } }
.zh .zh-pk-input, .zh .zh-pk-input:focus, .zh .zh-pk-input:focus-visible { outline: none; box-shadow: none; border: 0; background: transparent; }

/* ============ TRIVIA (/juegos/trivia) ============ */
.zh-tr-escena { display: grid; gap: 14px; min-width: 0; }
.zh-tr-pantalla { position: relative; height: clamp(280px, 38vw, 380px); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--zh-r); border: 1px solid #05070b; background: radial-gradient(ellipse at 50% 55%, #2a3550 0%, #12161f 70%); box-shadow: inset 0 3px 14px rgba(0,0,0,.55); }
.zh-tr-pantalla::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.4) 100%); }
.zh-tr-leds { position: absolute; top: 14px; left: 16px; display: flex; align-items: center; gap: 8px; z-index: 4; }
.zh-tr-led { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.zh-tr-led.is-on { background: #ef5350; animation: zhTrParpadea 1s steps(2, end) infinite; }
@keyframes zhTrParpadea { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .35; } }
.zh-tr-leds-et { font: 800 10px var(--font-primary); letter-spacing: .14em; text-transform: uppercase; color: #8b95a7; }
.zh-tr-tiempo { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: rgba(255,255,255,.08); z-index: 4; }
.zh-tr-barra { height: 100%; background: #2f9e62; transition: width .25s linear, background-color .3s; }
.zh-tr-barra.is-low { background: #d99a2b; }
.zh-tr-barra.is-critical { background: #d6453a; }
.zh-tr-pant { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 26px 20px; text-align: center; }
.zh-tr-lobby h2 { margin: 14px 0 6px; font: 800 26px var(--font-display); color: #f3f4f6; }
.zh-tr-lobby p { margin: 0; max-width: 42ch; font-size: 14.5px; color: #a7b0c0; }
.zh-tr-bola { width: 58px; height: 58px; border-radius: 50%; border: 2px solid #0b0e14; background: radial-gradient(circle, #fff 0 6px, #0b0e14 6px 11px, transparent 11px), linear-gradient(to bottom, #c0392b 0 50%, #e5e7eb 50%); animation: zhTrBola 2.6s ease-in-out infinite; }
@keyframes zhTrBola { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.zh-tr-arte { max-width: 100%; max-height: 82%; object-fit: contain; filter: brightness(0) saturate(100%); transition: filter .45s; }
.zh-tr-arte.is-revelado { filter: none; animation: zhTrRevela .5s ease; }
@keyframes zhTrRevela { 0% { filter: brightness(0); } 35% { filter: brightness(2.4) contrast(.6); } 100% { filter: none; } }
.zh-tr-carga { color: #6b7587; font-size: 28px; }
.zh-tr-pant.is-variocolor { box-shadow: inset 0 0 0 3px rgba(212,160,23,.6); }
.zh-tr-shiny { position: absolute; top: 14px; right: 16px; color: #e0b030; font-size: 18px; z-index: 4; }
.zh-tr-inicio { display: flex; justify-content: center; }
.zh-tr-inicio .zh-btn { padding: 14px 28px; font-size: 16px; }
.zh-tr-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: opcion; }
.zh-tr-opt { counter-increment: opcion; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; text-align: left; border-radius: 12px; cursor: pointer; font: 700 16px/1.25 var(--font-primary); color: var(--text-main); background: var(--zh-panel); border: 1px solid var(--zh-borde); transition: border-color .15s, background .15s; }
.zh-tr-opt::before { content: counter(opcion, upper-alpha); flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font: 800 14px var(--font-display); color: #141005; background: var(--v2-amarillo); }
.zh-tr-opt:hover:not(:disabled) { border-color: var(--v2-amarillo); background: var(--v2-tarjeta-hover); }
.zh-tr-opt:focus-visible { outline: 3px solid var(--v2-amarillo); outline-offset: 2px; }
.zh-tr-opt:disabled { cursor: default; }
.zh-tr-opt.is-ok { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.zh-tr-opt.is-bad { background: #a83232; border-color: #a83232; color: #fff; }
.zh-tr-opt.is-ok::after { content: "\2713"; margin-left: auto; }
.zh-tr-opt.is-bad::after { content: "\2715"; margin-left: auto; }
.zh-tr-esq { padding: 18px 16px; text-align: center; font-size: 14px; font-weight: 600; color: var(--v2-texto-2); background: var(--v2-tarjeta); border: 1.5px dashed var(--zh-borde); border-radius: 12px; }
.zh-tr-gens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.zh-tr-gen { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px; min-width: 0; border-radius: 10px; cursor: pointer; color: var(--text-main); background: var(--v2-tarjeta); border: 1px solid var(--zh-borde); }
.zh-tr-gen:hover { border-color: var(--nx-canal); }
.zh-tr-gen.on { background: var(--v2-amarillo); border-color: var(--v2-amarillo); color: #141005; }
.zh-tr-gen-n { font: 800 14px var(--font-display); }
.zh-tr-gen-r { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; color: var(--v2-texto-2); }
.zh-tr-gen.on .zh-tr-gen-r { color: #141005; }
.zh-tr-fin { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,10,14,.72); }
.zh-tr-fin-box { width: 100%; max-width: 420px; padding: 32px 28px; text-align: center; border-radius: 18px; background: var(--zh-panel); border: 1px solid var(--zh-borde); box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: zhPkSube .3s ease both; }
.zh-tr-fin-icon { margin-bottom: 10px; font-size: 36px; color: var(--v2-texto-2); }
.zh-tr-fin-box.is-victoria .zh-tr-fin-icon { color: var(--v2-activo); }
.zh-tr-fin-box h2 { margin: 0 0 8px; font: 800 24px var(--font-display); color: var(--text-main); }
.zh-tr-fin-desc { margin: 0 0 20px; font-size: 14.5px; color: var(--v2-texto-2); }
.zh-tr-fin-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 22px; }
.zh-tr-fin-stat { display: flex; flex-direction: column; gap: 4px; }
.zh-tr-fin-num { font: 800 40px/1 var(--font-display); color: var(--text-main); font-variant-numeric: tabular-nums; }
.zh-tr-fin-num.gold { color: var(--v2-activo); }
.zh-tr-fin-lbl { font: 800 10.5px var(--font-primary); letter-spacing: .12em; text-transform: uppercase; color: var(--v2-texto-2); }
.zh-tr-fin-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.zh-tr-fin-foot { margin: 16px 0 0; font-size: 13px; }
.zh-tr-fin-foot a { color: var(--v2-activo); }
@media (max-width: 640px) { .zh-tr-opciones { grid-template-columns: minmax(0, 1fr); } }

/* ============ SIMULADOR DE SOBRES (/tcg/sobres): clases de V1 renombradas a .zh-sb-* ============ */
.zh-sb-pack-search-bar { position: relative; }
.zh-sb-pack-search-bar > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--v2-texto-3); font-size: 14px; }
.zh-sb-pack-search-bar input { width: 100%; min-height: 44px; padding: 10px 12px 10px 38px; border-radius: var(--v2-radio-s); border: 1px solid var(--zt-borde); background: var(--bg-input); color: var(--text-main); font: 500 14.5px var(--font-primary); }
.zh-sb-pack-search-bar input:focus { outline: 2px solid var(--nx-canal); outline-offset: 1px; }
.zh-sb-pack-search-bar { display: grid; }
.zh-sb-pack-search-bar > i { top: 22px; }
.zh-sb-pack-count { margin-top: 6px; text-align: right; font-size: 11.5px; font-weight: 700; color: var(--v2-texto-3); }
.zt-boost .zh-sb-packs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; max-height: 720px; overflow-y: auto; padding: 4px 8px 8px 4px; scrollbar-width: thin; }
.zh-sb-pack-no-results { grid-column: 1 / -1; text-align: center; padding: 30px; font-weight: 600; color: var(--v2-texto-2); }
.zh-sb-pack-option { position: relative; padding: 10px; text-align: center; cursor: pointer; user-select: none; border-radius: var(--v2-radio); background: var(--zt-panel); border: 1px solid var(--zt-borde); transition: transform var(--transition-fast), border-color var(--transition-fast); }
.zh-sb-pack-option:hover { transform: translateY(-4px); border-color: var(--nx-canal); }
.zh-sb-pack-option.active { border-color: var(--v2-amarillo); box-shadow: 0 0 0 2px var(--v2-amarillo); }
.zh-sb-pack-option.active::before { content: "\2713"; position: absolute; top: -9px; right: -9px; z-index: 5; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--v2-amarillo); color: #141005; font-size: 13px; font-weight: 800; }
.zh-sb-pack-option-img-wrapper { position: relative; height: 190px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--v2-radio-s); background: radial-gradient(circle at 50% 32%, #22304d 0%, #141b2e 70%, #0d1220 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 0 30px rgba(0, 0, 0, .55); }
.zh-sb-pack-random { background: radial-gradient(circle at 50% 32%, #7a1f1f 0%, #3f0f0f 75%); }
.zh-sb-pack-art-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .4; filter: brightness(.72) saturate(1.1); }
.zh-sb-pack-option:hover .zh-sb-pack-art-bg { opacity: .52; }
.zh-sb-pack-option-img-wrapper::before, .zh-sb-pack-option-img-wrapper::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; z-index: 4; opacity: .7; background: repeating-linear-gradient(90deg, #4a4a4a 0 2px, #7a7a7a 2px 4px); }
.zh-sb-pack-option-img-wrapper::before { top: 0; }
.zh-sb-pack-option-img-wrapper::after { bottom: 0; }
.zh-sb-pack-foil-shine { position: absolute; top: 0; left: -160%; width: 55%; height: 100%; z-index: 3; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, .22) 50%, rgba(160, 215, 255, .16) 60%, rgba(255, 255, 255, 0) 85%); transform: skewX(-22deg); transition: left .7s cubic-bezier(.2, .6, .3, 1); }
.zh-sb-pack-option:hover .zh-sb-pack-foil-shine { left: 170%; }
.zh-sb-pack-symbol-icon { position: absolute; top: 14px; right: 8px; width: 26px; height: 26px; object-fit: contain; background: rgba(255, 255, 255, .95); border-radius: 50%; padding: 5px; box-shadow: 0 3px 6px rgba(0, 0, 0, .35); z-index: 3; }
.zh-sb-pack-logo-img { max-width: 82%; max-height: 62%; object-fit: contain; z-index: 2; filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .6)); transition: transform var(--transition-normal); }
.zh-sb-pack-option:hover .zh-sb-pack-logo-img { transform: scale(1.08); }
.zh-sb-pack-text-fallback { display: none; color: #fff; font-weight: 800; text-shadow: 0 2px 4px rgba(0, 0, 0, .8); font-size: 15px; padding: 10px; z-index: 2; }
.zh-sb-pack-random-cover { font: 900 76px var(--font-display); color: rgba(255, 255, 255, .9); text-shadow: 0 4px 12px rgba(0, 0, 0, .5); z-index: 2; }
.zh-sb-pack-option-title { margin: 2px 0; font: 800 14px/1.3 var(--font-display); color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zh-sb-pack-option-subtitle { font-size: 12px; color: var(--v2-texto-2); }
.zh-sb-booster-back { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 0; background: none; color: var(--v2-texto-2); font: 700 14px var(--font-primary); cursor: pointer; }
.zh-sb-booster-back:hover { color: var(--nx-canal-txt); }
.zt-boost .zt-btn.zh-sb-booster-back { padding: 0 18px; border: 1px solid var(--zt-borde); background: var(--v2-tarjeta); color: var(--text-main); }
.zh-sb-booster-opening-screen { display: flex; flex-direction: column; align-items: center; gap: 20px; min-height: 480px; padding: 20px; border-radius: var(--v2-radio); background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--nx-canal) 16%, transparent), var(--zt-panel) 70%); border: 1px solid var(--zt-borde); }
.zh-sb-booster-pack-wrapper { perspective: 1000px; position: relative; }
.zh-sb-booster-pack { width: 280px; height: 420px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; padding: 20px; cursor: pointer; user-select: none; background: linear-gradient(150deg, #c03634 0%, #7d1c1c 100%); border: 3px solid #f2b93b; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 0 40px rgba(192, 54, 52, .28); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.175, .885, .32, 1.275); }
.zh-sb-booster-pack::after { content: ""; position: absolute; top: 0; left: -160%; width: 55%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 80%); transform: skewX(-22deg); transition: left .7s cubic-bezier(.2, .6, .3, 1); }
.zh-sb-booster-pack:hover { transform: translateY(-10px) rotateY(9deg); box-shadow: 0 30px 50px rgba(0, 0, 0, .65), 0 0 50px rgba(192, 54, 52, .45); }
.zh-sb-booster-pack:hover::after { left: 170%; }
.zh-sb-booster-pack-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 2px dashed rgba(242, 185, 59, .5); }
.zh-sb-pack-logo { font: 900 24px var(--font-display); color: #f2b93b; letter-spacing: 2px; }
.zh-sb-pack-tag { padding: 3px 7px; border-radius: 6px; background: #f2b93b; color: #1a202c; font-size: 10px; font-weight: 800; }
.zh-sb-booster-pack-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.zh-sb-pokeball-art { position: relative; width: 96px; height: 96px; margin: 0 auto 20px; overflow: hidden; border-radius: 50%; border: 5px solid #1a202c; background: #fff; }
.zh-sb-pokeball-top { position: absolute; top: 0; left: 0; right: 0; height: 50%; background: #c03634; border-bottom: 5px solid #1a202c; }
.zh-sb-pokeball-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; z-index: 5; border-radius: 50%; background: #fff; border: 5px solid #1a202c; }
.zh-sb-booster-pack-body h3 { margin: 0 0 5px; font: 800 22px var(--font-display); color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.zh-sb-booster-pack-body p { margin: 0; font-size: 12px; font-weight: 700; color: #f2b93b; letter-spacing: 1.5px; }
.zh-sb-booster-pack-footer { padding-top: 10px; text-align: center; border-top: 2px dashed rgba(242, 185, 59, .5); }
.zh-sb-booster-pack-footer span { color: #fff; font-size: 13px; font-weight: 700; animation: zhFlash 1.5s infinite; }
.zh-sb-booster-pack.tearing { animation: zhPackOpen .85s cubic-bezier(.5, 0, .5, 1) forwards; }
.zh-sb-booster-burst { position: absolute; top: 50%; left: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; z-index: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(242, 185, 59, .85) 30%, rgba(242, 185, 59, 0) 68%); }
.zh-sb-booster-burst.active { animation: zhBurst .85s ease-out forwards; }
.zh-sb-booster-error { margin: 0; font-weight: 700; font-size: 14px; color: #c62828; }
[data-theme="dark"] .zh-sb-booster-error { color: #ff8a8a; }
.zh-sb-booster-error[hidden] { display: none; }
.zh-sb-booster-action-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 18px; margin-bottom: 22px; border-radius: var(--v2-radio); background: var(--zt-panel); border: 1px solid var(--zt-borde); border-left: 4px solid var(--nx-canal); }
.zh-sb-reveal-status { font: 700 15.5px var(--font-primary); }
.zh-sb-action-buttons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.zh-sb-cards-table { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.zh-sb-card-scene { aspect-ratio: 2.5 / 3.5; perspective: 1000px; cursor: pointer; }
.zh-sb-card-flip { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4, .2, .2, 1); }
.zh-sb-card-scene:hover .zh-sb-card-flip:not(.flipped) { transform: translateY(-5px); }
.zh-sb-card-flip.flipped { transform: rotateY(180deg); }
.zh-sb-card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); overflow: hidden; }
.zh-sb-card-face-front { transform: rotateY(180deg); background: var(--zt-panel); display: flex; justify-content: center; align-items: center; }
.zh-sb-card-face-front img { width: 100%; height: 100%; object-fit: cover; }
.zh-sb-card-detail-link { display: block; width: 100%; height: 100%; position: relative; text-decoration: none; }
.zh-sb-card-hover-overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity var(--transition-fast); }
.zh-sb-card-hover-overlay span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #1a202c; font-size: 11px; font-weight: 700; }
.zh-sb-card-detail-link:hover .zh-sb-card-hover-overlay { opacity: 1; }
.zh-sb-card-flip.rare-holo { box-shadow: 0 0 18px rgba(242, 185, 59, .5); }
.zh-sb-card-flip.rare-holo .zh-sb-card-face-front::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 100%); }
.zh-sb-card-flip.ultra-rare { box-shadow: 0 0 28px rgba(192, 54, 52, .65); }
.zh-sb-card-item { display: flex; flex-direction: column; animation: zhRise .5s cubic-bezier(.16, 1, .3, 1) both; }
.zh-sb-card-caption { margin-top: 10px; text-align: center; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.zh-sb-card-item.revealed .zh-sb-card-caption { opacity: 1; transform: none; pointer-events: auto; }
.zh-sb-card-caption-name { display: block; font: 800 13px/1.25 var(--font-display); color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zh-sb-card-caption-price { display: inline-flex; align-items: center; gap: 5px; margin: 5px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--v2-texto-2); }
.zh-sb-card-caption-price.has-price { color: var(--text-main); }
.zh-sb-card-item.is-rare .zh-sb-card-caption-price.has-price { color: #8a6500; }
[data-theme="dark"] .zh-sb-card-item.is-rare .zh-sb-card-caption-price.has-price { color: #f2b93b; }
.zh-sb-card-caption-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 7px 10px; border-radius: var(--v2-radio-s); border: 1px solid var(--zt-borde); background: var(--zt-panel); color: var(--text-main); font-size: 12px; font-weight: 700; text-decoration: none; }
.zh-sb-card-caption-btn:hover { border-color: var(--nx-canal); }
.zh-sb-card-item.is-rare .zh-sb-card-caption-btn { border-color: rgba(242, 185, 59, .6); }
.zh-sb-booster-panel p { margin: 0 0 14px; line-height: 1.7; color: var(--v2-texto-2); }
.zh-sb-booster-panel p:last-child { margin-bottom: 0; }
.zh-sb-booster-panel a { color: var(--nx-canal-txt); font-weight: 700; }
.zh-sb-booster-odds { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.zh-sb-booster-odds li { display: flex; align-items: center; gap: 12px; line-height: 1.5; color: var(--v2-texto-2); }
.zh-sb-booster-odds strong { color: var(--text-main); }
.zh-sb-odds-badge { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 800 15px var(--font-display); color: #fff; }
.zh-sb-odds-badge.is-comun { background: #5b6472; }
.zh-sb-odds-badge.is-infrecuente { background: #1f6fb0; }
.zh-sb-odds-badge.is-rara { background: #f2b93b; color: #1a202c; }
@media (max-width: 1100px) {
    .zh-sb-cards-table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .zt-boost .zh-sb-packs-grid { max-height: 560px; }
}
@media (max-width: 576px) {
    .zh-sb-cards-table { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .zh-sb-booster-action-bar { flex-direction: column; text-align: center; }
    .zt-boost .zh-sb-packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .zh-sb-pack-option-img-wrapper { height: 150px; }
    .zh-sb-booster-pack { width: 240px; height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
    .zh-sb-card-item, .zh-sb-pack-foil-shine, .zh-sb-booster-pack::after { animation: none; transition: none; }
    .zh-sb-booster-pack-footer span { animation: none; opacity: 1; }
}
@keyframes zhFlash { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes zhPackOpen { 0% { transform: scale(1) rotate(0); } 12% { transform: scale(1.03) rotate(-2.5deg); } 24% { transform: scale(1.05) rotate(2.5deg); } 38% { transform: scale(1.06) rotate(-1.5deg); filter: brightness(1.4); } 52% { transform: scale(1.09) rotate(1deg); filter: brightness(2.2); } 100% { transform: scale(1.35) translateY(-14px); filter: brightness(3.5); opacity: 0; } }
@keyframes zhBurst { 0% { opacity: 0; transform: scale(.15); } 40% { opacity: 1; } 55% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes zhRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.zh-tn-cols, .zh-cmp-cols { align-items: stretch; }
