/* PokeFun · pokefuntools.xyz · © 2026 Kike */
@font-face { font-family: 'Outfit'; src: url('fonts/Outfit-Regular.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('fonts/Outfit-Bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Pixel'; src: url('fonts/PressStart2P-Regular.ttf') format('truetype'); font-display: swap; }

:root {
  --paper: #f5f1e6; --paper2: #ece6d6; --card: #fffdf7; --ink: #20222c; --muted: #5d6070; --soft: #8a8d99;
  --red: #e3350d; --red2: #b62609; --red3: #8f1d07; --yellow: #ffcb05; --blue: #2c5ad6; --blue2: #1c3c94; --green: #1f9d55; --discord: #5865f2;
  --t-normal: #a8a77a; --t-fire: #ee8130; --t-water: #6390f0; --t-grass: #4fae3a; --t-electric: #e9c400; --t-psychic: #f95587; --t-fighting: #c22e28; --t-steel: #8f9bb3; --t-dragon: #6f35fc; --t-ghost: #735797;
  --wrap: 1160px; --pad: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(rgba(32, 34, 44, .07) 1px, transparent 1.4px); background-size: 18px 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.px { font-family: 'Pixel', monospace; font-weight: 400; letter-spacing: 0; }
.ic { width: 44px; height: 44px; flex: none; }

/* cajas y botones como los menús del juego: borde grueso y sombra dura */
.box { background: var(--card); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 16.5px; line-height: 1; border-radius: 14px; padding: 14px 20px; border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); cursor: pointer; transition: transform .08s, box-shadow .08s, background .15s; white-space: nowrap; background: var(--card); color: var(--ink); }
.btn:hover { background: #fff; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn img, .btn svg { width: 24px; height: 24px; flex: none; }
.btn.dc { background: var(--discord); color: #fff; }
.btn.dc:hover { background: #4752e8; }
.btn.red { background: var(--red); color: #fff; }
.btn.sm { font-size: 14.5px; padding: 9px 14px; border-radius: 12px; box-shadow: 0 3px 0 var(--ink); }
.btn.sm img, .btn.sm svg { width: 20px; height: 20px; }

/* cabecera: la tapa de la Pokédex */
.top { position: sticky; top: 0; z-index: 50; background: var(--red); border-bottom: 3px solid var(--red3); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.lens { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #d9f2ff 0 12%, #49b1ff 28%, #1665d8 62%, #0d3f8f); border: 3px solid #fff; box-shadow: 0 0 0 2.5px var(--red3), inset 0 -3px 6px rgba(0, 0, 0, .25); }
.leds { display: flex; gap: 5px; margin-right: 6px; }
.leds i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--red3); }
.leds i:nth-child(1) { background: #ff6b5a; } .leds i:nth-child(2) { background: var(--yellow); } .leds i:nth-child(3) { background: #45d17d; }
.brand img { width: 118px; height: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a { text-decoration: none; color: #fff; font-weight: 700; font-size: 15.5px; padding: 8px 11px; border-radius: 10px; }
.nav a:hover { background: rgba(0, 0, 0, .16); }
/* 08-10: el mismo menú en todas las páginas (siete enlaces): sin partir en dos líneas y sin que el logo se encoja */
.brand { flex: none; }
.nav a { white-space: nowrap; }
.top .sp { flex: 1; }
.langs { display: flex; background: rgba(0, 0, 0, .18); border-radius: 11px; padding: 3px; }
.langs a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #ffd7cf; font-weight: 800; font-size: 12.5px; padding: 5px 8px; border-radius: 8px; letter-spacing: .04em; }
.langs .flag { width: 18px; height: 12px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); overflow: hidden; }
.langs a[aria-current='true'] { background: #fff; color: var(--red2); }
.top .btn.dc { border-color: #2a2f8f; box-shadow: 0 3px 0 #2a2f8f; }
.menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 2.5px solid var(--red3); background: rgba(0, 0, 0, .12); color: #fff; cursor: pointer; }
.menu svg { width: 22px; height: 22px; }
.menu .mi, .menu .mx { display: grid; place-items: center; }
.menu .mx, .top.open .menu .mi { display: none; }
.top.open .menu .mx { display: grid; }
.nav .ni { display: none; }

/* portada */
.hero { padding: 56px 0 30px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; }
.hero h1 span { display: block; color: var(--red); }
.lead { margin-top: 16px; font-size: 19.5px; color: var(--muted); max-width: 470px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.platform-icon { display:inline-block; width:22px; height:22px; flex:none; vertical-align:middle; }
.platform-download:first-child { background:var(--blue); color:#fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.chips li { font-size: 14px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--paper2); border: 2px solid rgba(32, 34, 44, .14); color: var(--muted); }
.stage { position: relative; }
.peek { position: absolute; z-index: 2; width: 92px; right: 34px; top: -62px; image-rendering: pixelated; pointer-events: none; }

/* marco de las capturas: la Pokédex abierta */
.dexframe { position: relative; background: var(--red); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); padding: 12px 12px 14px; }
.dexframe .scr { border: 2.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: #0b1020; }
.dexframe .scr img { width: 100%; }
.dexframe .bar { display: flex; align-items: center; gap: 7px; margin: 0 2px 9px; }
.dexframe .bar .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: radial-gradient(circle at 35% 30%, #d9f2ff, #2f8cff 55%, #134fae); }
.dexframe .bar .led { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dexframe .bar .l1 { background: #ff6b5a; } .dexframe .bar .l2 { background: var(--yellow); } .dexframe .bar .l3 { background: #45d17d; }
.zoom { cursor: zoom-in; }

/* secciones */
section { scroll-margin-top: 86px; }
.sec { padding: 80px 0 0; }
.sec h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.sec h2 img { width: 46px; height: 46px; }

/* la Pokédex de funciones */
.dex { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.dex-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.dex-list button { width: 100%; display: grid; grid-template-columns: 50px 40px 1fr; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.dex-list button:hover { background: var(--paper); }
.dex-list button[aria-selected='true'] { background: var(--ink); color: #fff; }
.dex-list .no { font-size: 11px; color: var(--soft); }
.dex-list button[aria-selected='true'] .no { color: var(--yellow); }
.dex-list img { width: 38px; height: 38px; }
.dex-list b { font-size: 16.5px; }
.dex-pg { display: grid; gap: 16px; }
.dex.js .dex-pg:not(.on) { display: none; }
.dex:not(.js) .dex-list { display: none; }
.dex:not(.js) { grid-template-columns: 1fr; }
.dex:not(.js) .dex-pg + .dex-pg { margin-top: 30px; }
.dex-info { padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.dex-info .no { grid-row: span 2; font-size: 13px; color: var(--red); }
.dex-info h3 { font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dex-info p { grid-column: 2; font-size: 18px; color: var(--muted); }
.dex-info ul { grid-column: 2; list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dex-info li { font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--paper2); }
.type { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--tc); padding: 4px 10px; border-radius: 7px; border: 2px solid rgba(0, 0, 0, .25); text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.t-normal { --tc: var(--t-normal); } .t-fire { --tc: var(--t-fire); } .t-water { --tc: var(--t-water); } .t-grass { --tc: var(--t-grass); } .t-electric { --tc: var(--t-electric); }
.t-psychic { --tc: var(--t-psychic); } .t-fighting { --tc: var(--t-fighting); } .t-steel { --tc: var(--t-steel); } .t-dragon { --tc: var(--t-dragon); } .t-ghost { --tc: var(--t-ghost); }
.dexframe.narrow { max-width: 460px; }

/* herramientas: la mochila */
.bag { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bag button { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 12px 16px; font: inherit; color: var(--ink); cursor: zoom-in; transition: transform .12s; }
.bag button:hover { transform: translateY(-3px); }
.bag button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.bag img { width: 52px; height: 52px; }
.bag b { font-size: 16px; line-height: 1.15; }
.bag span { font-size: 14px; color: var(--muted); line-height: 1.25; }

/* Analyzer */
.an { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 34px; align-items: center; padding: 30px; }
.an h2 { margin: 0; flex-wrap: wrap; }
.an>div,.and>div { min-width:0; }
.an .free { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--green); color: #fff; padding: 5px 11px; border-radius: 8px; border: 2px solid var(--ink); }
.an p { margin-top: 14px; font-size: 19px; color: var(--muted); }
.an .chips { margin-top: 16px; }
.an .btn { margin-top: 22px; }

/* Android: dos móviles en horizontal (oscuro delante, claro detrás) */
.and { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 34px; align-items: center; padding: 30px; overflow: hidden; }
.and h2 { margin: 0; flex-wrap: wrap; }
.and .new { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; padding: 5px 11px; border-radius: 8px; border: 2px solid var(--ink); }
.and p { margin-top: 14px; font-size: 19px; color: var(--muted); }
.and .chips { margin-top: 16px; }
.and .btn { margin-top: 22px; }
.phones { position: relative; padding: 0 0 54px 64px; }
.phone { position: relative; background: #15161c; border: 2.5px solid var(--ink); border-radius: 28px; padding: 10px 22px; box-shadow: 0 6px 0 var(--ink); }
.phone .scr { border-radius: 12px; overflow: hidden; background: #0b1020; }
.phone .scr img { display: block; width: 100%; height: auto; }
.phone .cam { position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #2a2c36; box-shadow: inset 0 0 0 2px #0c0d12; }
.phone.back { position: absolute; left: 0; top: 0; width: 80%; transform: rotate(-4deg); opacity: .96; }
.phone.front { position: relative; margin-top: 54px; transform: rotate(1.5deg); }

/* precios: la tienda */
.shop { padding: 8px 0; overflow: hidden; display: flex; flex-direction: column; }
.shop .row { flex: 1; }
.shop .row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 20px; border-top: 2px dashed rgba(32, 34, 44, .14); }
.shop .row:first-child { border-top: 0; }
.shop .row img { width: 46px; height: 46px; }
.shop .row b { display: block; font-size: 18.5px; }
.shop .row small { display: block; color: var(--muted); font-size: 14.5px; }
.shop .row .tag { display: inline-block; margin-left: 8px; vertical-align: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--t-dragon); padding: 3px 8px; border-radius: 6px; }
.shop .row .pr { font-size: 15px; white-space: nowrap; }
.shop .row.hot { background: #f6efff; }
/* 09-10 (Kike: «todo lo que hace el bot en los planes, de manera resumida»): al lado de la tienda */
.price2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.incl { padding: 18px 20px; }
.incl h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.incl h3 img { width: 30px; height: 30px; }
.incl ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.incl li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; line-height: 1.3; }
.incl li img { width: 30px; height: 30px; flex: none; }
@media (max-width: 1080px) { .price2 { grid-template-columns: minmax(0, 1fr); } .incl ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .incl ul { grid-template-columns: minmax(0, 1fr); } }
.shopfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* empezar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 18px; }
.steps .n { font-size: 14px; color: var(--red); }
.steps img { width: 46px; height: 46px; }
.steps b { font-size: 18px; }
.startcta { margin-top: 24px; }

/* preguntas */
.faq { padding: 6px 22px; }
.faq details { border-top: 2px dashed rgba(32, 34, 44, .14); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; font-weight: 800; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '▶'; font-size: 12px; color: var(--red); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); }

/* pie: la parte de abajo de la Pokédex */
.foot { margin-top: 90px; background: var(--red); border-top: 3px solid var(--red3); color: #fff; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-top: 26px; padding-bottom: 26px; }
.foot img { width: 108px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.foot nav a:hover { text-decoration: underline; }
.foot .sp { flex: 1; }
.foot .copy { font-size: 14px; color: #ffd7cf; }
.legal { background: var(--red2); color: #ffd7cf; font-size: 13px; text-align: center; padding: 10px var(--pad); }

/* visor de capturas */
html.shot-viewing { overflow:hidden; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 22, 30, .88); display: none; align-items: center; justify-content: center; padding: 28px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.lb button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--card); color: var(--ink); font-size: 22px; font-weight: 900; cursor: pointer; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.nf img { width: 112px; margin: 0 auto 16px; image-rendering: pixelated; }
.nf h1 { font-size: 36px; font-weight: 900; margin-bottom: 22px; }

@media (max-width: 1280px) {
  .top .wrap { gap: 12px; }
  .nav a { font-size: 14.5px; padding: 8px 8px; }
  .top .btn.dc span { display: none; }
  .top .btn.dc { padding: 9px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: inline-grid; place-items: center; }
  /* 08-10, noche (Kike: «mejora el diseño del menú»): una tarjeta flotante, como las cajas de la web, con cada página y su icono */
  .top.open .menu { background: rgba(0, 0, 0, .28); }
  .top.open .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; position: absolute; top: calc(100% + 10px); right: var(--pad); width: min(440px, calc(100vw - 2 * var(--pad))); margin: 0; padding: 10px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink), 0 18px 44px rgba(32, 34, 44, .22); transform-origin: top right; animation: navIn .16s ease-out; }
  .top.open .nav a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px 9px 9px; font-size: 16px; color: var(--ink); border-radius: 12px; }
  .top.open .nav a span { min-width: 0; white-space: normal; line-height: 1.15; } /* (nada cortado: si no cabe, en dos líneas) */
  .top.open .nav a:hover { background: var(--paper2); }
  .top.open .nav a[aria-current='page'] { background: var(--red); color: #fff; box-shadow: inset 0 -3px 0 var(--red3); }
  .top.open .nav .ni { display: block; width: 30px; height: 30px; flex: none; }
  .bag { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero .wrap, .an, .and { grid-template-columns: minmax(0,1fr); }
  .dex { grid-template-columns: 1fr; }
  .dex-list { display: flex; overflow-x: auto; gap: 6px; padding: 6px; scrollbar-width: thin; }
  .dex-list li { flex: none; }
  .dex-list button { grid-template-columns: auto 30px auto; padding: 8px 12px; }
  .dex-list img { width: 30px; height: 30px; }
  .dex-list .no { display: none; }
  .steps { grid-template-columns: 1fr; }
  .peek { width: 70px; top: -46px; right: 18px; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  body { font-size: 16.5px; }
  .top .wrap { height: 62px; gap: 10px; }
  .leds { display: none; }
  .lens { width: 32px; height: 32px; }
  .brand img { width: 96px; }
  .top .btn.dc span { display: none; }
  .top .btn.dc { padding: 9px; }
  .top.open .nav { top: calc(100% + 8px); }
  .top.open .nav a { gap: 8px; padding: 8px 10px 8px 8px; font-size: 15px; }
  .top.open .nav .ni { width: 26px; height: 26px; }
  .langs a { padding: 5px 6px; }
  .hero { padding-top: 34px; }
  .lead { font-size: 17.5px; }
  .ctas .btn { flex: 1 1 auto; }
  .bag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an, .and { padding: 20px; }
  .phones { padding: 0 0 30px 26px; }
  .phone { border-radius: 20px; padding: 7px 15px; }
  .phone .cam { left: 5px; width: 6px; height: 6px; margin-top: -3px; }
  .phone.front { margin-top: 34px; }
  .shop .row { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 12px 14px; }
  .shop .row img { width: 38px; height: 38px; }
  .shop .row .btn { grid-column: 2 / -1; justify-self: start; }
  .dex-info { grid-template-columns: 1fr; }
  .dex-info .no { grid-row: auto; }
  .dex-info p, .dex-info ul { grid-column: 1; }
}
/* ───── 08-10 · las páginas de datos (tier list, hunts y Pokédex), streamers, novedades y el código de un streamer ───── */
[hidden] { display: none !important; }
.nav a[aria-current='page'] { background: rgba(0, 0, 0, .22); }
.sub { padding: 40px 0 4px; }
.sub h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 900; }
.sub .lead { margin-top: 10px; max-width: none; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--red); }
.sec.pt0 { padding-top: 26px; }
.ctl { position: sticky; top: 82px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; margin-bottom: 22px; }
.ctl > * { min-width: 0; max-width: 100%; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 12px; background: var(--paper2); }
.seg button { font: inherit; font-size: 14.5px; font-weight: 800; border: 0; border-radius: 9px; padding: 7px 12px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--red); }
.q { font: inherit; font-size: 15.5px; padding: 9px 14px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); min-width: 0; flex: 1 1 200px; max-width: 320px; }
.dnote { margin-top: 20px; font-size: 14px; color: var(--soft); }
.ty { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--tc, #8a8d99); padding: 2px 7px; border-radius: 6px; line-height: 1.5; }
.tys { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ty-NORMAL { --tc: #9a9a6c; } .ty-FIRE { --tc: #ee8130; } .ty-WATER { --tc: #5a86ec; } .ty-ELECTRIC { --tc: #d9b400; } .ty-GRASS { --tc: #4fae3a; } .ty-ICE { --tc: #57bcb7; }
.ty-FIGHTING { --tc: #c22e28; } .ty-POISON { --tc: #a33ea1; } .ty-GROUND { --tc: #c9a53e; } .ty-FLYING { --tc: #8f78e0; } .ty-PSYCHIC { --tc: #f95587; } .ty-BUG { --tc: #93a51a; }
.ty-ROCK { --tc: #ad9a3a; } .ty-GHOST { --tc: #735797; } .ty-DRAGON { --tc: #6f35fc; } .ty-DARK { --tc: #705746; } .ty-STEEL { --tc: #8f9bb3; } .ty-FAIRY { --tc: #d685ad; }
.lg { font-style: normal; color: #c9960a; }
.nope { color: var(--soft) !important; }

/* tier list: cada tier con su letra a la izquierda y sus especies en tarjetas */
.tiers { display: grid; gap: 18px; }
.tier { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: start; }
.tier h2 { position: sticky; top: 166px; display: grid; place-items: center; align-content: center; gap: 2px; height: 76px; border-radius: 16px; border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: #fff; font-size: 26px; }
.tier h2 small { font-size: 13px; font-weight: 800; font-family: 'Outfit', system-ui, sans-serif; }
.tr-Sp h2 { background: linear-gradient(135deg, #ffcb05, #f0820c 48%, #e3350d); } .tr-S h2 { background: #e3350d; } .tr-A h2 { background: #f0820c; } .tr-B h2 { background: #ffcb05; color: var(--ink); } .tr-C h2 { background: #3d9e48; } .tr-D h2 { background: #5a86ec; }
.mons, .dexg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mon, .dexc { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 10px; border-radius: 14px; background: var(--card); border: 2px solid rgba(32, 34, 44, .14); }
.mon > div, .dexc > div { min-width: 0; display: grid; gap: 3px; }
.mon b, .dexc b { font-size: 15.5px; line-height: 1.15; overflow-wrap: anywhere; }
.mon small, .dexc small { font-size: 12.5px; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.mon.off, .dexc.k-none { opacity: .6; }
.dexc .no { font-size: 9.5px; color: var(--soft); }

/* hunts: por mapa, una fila por hunt con sus especies */
.map + .map { margin-top: 30px; }
.map h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-size: 26px; font-weight: 900; margin-bottom: 12px; }
.map h2 small { font-size: 15px; color: var(--muted); font-weight: 700; }
.map h2 .cnt { font-size: 13px; font-weight: 800; background: var(--paper2); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.hl { display: grid; gap: 8px; }
.hunt { display: grid; grid-template-columns: minmax(140px, 1.1fr) 64px minmax(0, 3fr) 84px 96px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 2px solid rgba(32, 34, 44, .14); }
.hn { font-size: 16.5px; overflow-wrap: anywhere; }
.hlv, .hxp, .hnpc { display: grid; gap: 1px; }
.hlv small, .hxp small, .hnpc small { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.hlv b { font-size: 13px; color: var(--red); }
.hxp b, .hnpc b { font-size: 15.5px; font-variant-numeric: tabular-nums; }
.hsp { display: flex; flex-wrap: wrap; gap: 6px 14px; min-width: 0; }
.hs { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.hs > span { display: grid; gap: 2px; min-width: 0; }
.hs b { font-size: 14px; }

/* portada: las páginas de datos */
.dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dcard { display: flex; align-items: center; gap: 12px; padding: 16px; text-decoration: none; transition: transform .12s; }
.dcard:hover { transform: translateY(-3px); }
.dcard span { display: grid; gap: 2px; min-width: 0; }
.dcard b { font-size: 18px; }
.dcard small { font-size: 14px; color: var(--muted); line-height: 1.3; }
.ctabox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 22px 26px; }
.seller-home { padding-top:0; }
.mac-home { display:flex; align-items:center; gap:20px; padding:26px; background:#edf4ff; }
.mac-home-icon { display:grid; place-items:center; width:72px; height:72px; flex:none; background:#d5e6ff; border:2px solid #9bbcea; border-radius:20px; }
.mac-home-icon img { width:54px; height:54px; }
.mac-home-icon .platform-icon { width:38px; height:38px; }
.mac-home>div { flex:1; min-width:0; }
.mac-home h2 { font-size:25px; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.mac-home h2 small { padding:5px 9px; background:#fff6d7; border:1px solid #d7bd72; border-radius:8px; font:700 12px Outfit,sans-serif; }
.mac-home p { margin-top:8px; font-size:16px; color:var(--muted); }
@media(max-width:760px) { .mac-home{flex-wrap:wrap;gap:14px;padding:20px}.mac-home>div{flex-basis:calc(100% - 90px)}.mac-home h2{font-size:22px}.mac-home>.btn{margin-left:86px;white-space:normal;line-height:1.25}.mac-home-icon{width:62px;height:62px}.mac-home-icon img{width:46px;height:46px} }
.seller-promo { display:flex; align-items:center; gap:18px; padding:24px 26px; background:#fff8e2; }
.seller-promo-icon { display:grid; place-items:center; width:66px; height:66px; flex:none; background:#ffefb4; border:1.5px solid #d3b159; border-radius:18px; }
.seller-promo-icon img { width:48px; height:48px; }
.seller-promo>div { flex:1; min-width:0; }
.seller-promo h2 { font-size:24px; }
.seller-promo p { margin-top:6px; color:var(--muted); font-size:15px; }
@media(max-width:640px) { .seller-promo { padding:19px; gap:14px; flex-wrap:wrap; }.seller-promo-icon { width:52px; height:52px; border-radius:15px; }.seller-promo-icon img { width:38px; height:38px; }.seller-promo>div { flex-basis:calc(100% - 70px); }.seller-promo h2 { font-size:21px; }.seller-promo .btn { margin-left:66px; white-space:normal; line-height:1.25; } }
.ctabox p { font-size: 19px; font-weight: 700; }

/* streamers */
.sboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sboxes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 08-10: la de resellers, con dos */
.sbox { padding: 20px 22px; }
.sbox h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.sbox h2 img { width: 34px; height: 34px; }
.sbox ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.sbox ul b { color: var(--ink); }
.sbox.you { background: #fff6dc; }
.sbox.fans { background: #eaf3ff; }
.h2s { font-size: 26px; font-weight: 900; margin: 34px 0 14px; }
.steps.s2 b { font-size: 17px; }
.strl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.strl > .dnote { margin: 0; }
.strc { display: grid; gap: 4px; padding: 14px 16px; text-decoration: none; }
.strc b { font-size: 17px; }
.strc small { color: var(--muted); font-size: 13.5px; }
.strc em { font-style: normal; font-size: 13.5px; }
.strc code { justify-self: start; margin-top: 4px; padding: 5px 8px; border-radius: 8px; background: var(--paper2); font: 400 11px 'Pixel', monospace; }
.strc .lv { justify-self: start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 7px; }
.strc.live { border-color: var(--red); box-shadow: 0 5px 0 var(--red3); }

/* novedades */
.news-l { display: grid; gap: 16px; max-width: 880px; }
.news { padding: 20px 24px; }
.news header { display: grid; gap: 4px; margin-bottom: 10px; }
.news time { font-size: 13.5px; font-weight: 800; color: var(--red); }
.news h2 { font-size: 23px; font-weight: 900; }
.news header small { color: var(--muted); font-size: 14px; }
.news .nsum { color: var(--muted); margin-bottom: 4px; }
.news h3 { font-size: 15px; font-weight: 900; margin: 14px 0 6px; }
.news ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.news li { font-size: 15.5px; }

/* el código de un streamer (pokefuntools.xyz/c/CODIGO) */
.codebar { background: var(--yellow); border-bottom: 3px solid var(--ink); }
.codebar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; }
.codebar b { font-size: 17px; }
.codebar code { font: 400 14px 'Pixel', monospace; background: #fff; border: 2.5px solid var(--ink); border-radius: 10px; padding: 8px 12px; }
.codebar .chips { margin: 0; }
.codebar .chips li { background: #fff; }

@media (max-width: 1080px) {
  .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sboxes, .sboxes.two { grid-template-columns: 1fr; }
  .hunt { grid-template-columns: minmax(120px, 1fr) 58px minmax(0, 2.4fr) 80px; }
  .hunt .hnpc { display: none; }
}
@media (max-width: 760px) {
  .ctl { position: static; }
  .q { max-width: none; }
  .tier { grid-template-columns: 1fr; gap: 10px; }
  .tier h2 { position: static; height: auto; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; padding: 8px 14px; }
  .hunt { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 14px; }
  .hn { grid-column: 1; }
  .hsp { grid-column: 1 / -1; grid-row: 2; }
  .hunt .hnpc { display: none; }
}
@media (max-width: 640px) {
  .dcards { grid-template-columns: 1fr; }
  .mons, .dexg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
  .ctabox { padding: 18px; }
  .ctabox .btn { flex: 1 1 auto; }
  .news { padding: 16px 18px; }
}

/* móvil estrecho (08-10): el logo se encogía hasta 17 px por la barra de idiomas; fuera la lente y los idiomas, solo con su bandera */
@media (max-width: 480px) {
  .lens { display: none; }
  .brand { flex: none; }
  .brand img { width: 92px; }
  .langs a { font-size: 0; gap: 0; padding: 6px; }
  .top .wrap { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bag button, .btn { transition: none; }
}

/* el menú desplegable, al abrirse */
@keyframes navIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .top.open .nav { animation: none; } }
