/* Páginas de taxonomía v2 (género, etiqueta, plataforma, tienda, motor, idioma...). Base: fjuego-v2.css y listado-v2.css. Prefijo tx- */

/* Cabecera */
.tx-cabecera { display: flex; gap: 1.4rem; align-items: flex-start; }
.tx-icono { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; border-radius: 1.2rem; font-size: 2.4rem; color: #021825; background: linear-gradient(145deg, #66ccff, var(--v2-acento, #39c0ff)); box-shadow: 0 14px 30px -12px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.7); overflow: hidden; }
.tx-icono img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 0.6rem; }
.tx-datos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.tx-tipo { font-size: 0.72rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.06em; color: #7fa3b8; }
.tx-tipo a { color: var(--dvgo-color-footer-texto); text-decoration: none; }
.tx-tipo i { margin: 0 0.2rem; font-size: 0.65rem; }
.tx-datos h1 { margin: 0 !important; padding: 0 !important; border: none !important; background: none !important; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; color: #fff; text-align: left; }
.tx-datos h1::after { display: none !important; }
.tx-info { max-width: 62rem; font-size: 0.92rem; line-height: 1.6; color: #cdeaf7; }
.tx-info p { margin: 0 0 0.5rem; }
.tx-subgeneros { margin-top: 0.3rem; }
.tx-icono-logo { background: #fff; }
.tx-icono-bandera { background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 1px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.25); }
.tx-icono-bandera .flag-icon { width: 4rem; height: 3rem; border-radius: 0.25rem; }
.tx-datos-linea { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; font-size: 0.85rem; color: #cdeaf7; }
.tx-datos-linea i { margin-right: 0.2rem; color: #7fa3b8; }
.tx-datos-linea a { color: var(--dvgo-color-footer-texto); }
.tx-oferta { width: auto !important; padding: 0 0.35rem; font-family: "IBMPlexMono", monospace; font-size: 0.7rem; font-weight: bold; color: #021825 !important; background: #5cffb1 !important; }
/* Vistas especiales de una tienda (ofertas, demos, Game Pass, deseados) e insignias de las filas */
.tx-vistas { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0.9rem 1.2rem; }
.tx-vistas .lv-chip { padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.tx-ins-precio { color: #021825; background: #e3f3fb; font-family: "IBMPlexMono", monospace; }
.tx-ins-oferta { color: #021825; background: #5cffb1; font-family: "IBMPlexMono", monospace; font-weight: bold; }
.tx-ins-deseo { color: #021825; background: #ff8fb1; font-family: "IBMPlexMono", monospace; }
.tx-ins-sus { color: #fff; background: #107c10; }
.tx-ins-demo { color: #021825; background: #ffe066; }
.tx-ins-nodisp { color: #9bc6dc; background: rgba(155, 198, 220, 0.15); }
/* Precio como columna final de la fila (tiendas con precios capturados) */
.tx-precio { display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem; min-width: 5.2rem; text-align: right; }
.tx-precio b { font-family: "IBMPlexMono", monospace; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.tx-precio small { padding: 0 0.35rem; border-radius: 0.25rem; font-family: "IBMPlexMono", monospace; font-size: 0.72rem; font-weight: bold; color: #021825; background: #5cffb1; }
.tx-precio-oferta b { color: #5cffb1; }
.tx-precio-sin { font-size: 0.72rem; color: #7fa3b8; }

/* Scroll horizontal con el estilo del sitio (barra fina cian, extremos difuminados) */
.tx-scroll { scrollbar-width: thin; scrollbar-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.55) rgba(0, 0, 0, 0.25); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent 100%); }
.tx-scroll.tx-desplazado { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%); }
.tx-scroll.tx-al-final { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem); mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem); }
.tx-scroll::-webkit-scrollbar { height: 6px; }
.tx-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.25); border-radius: 999px; }
.tx-scroll::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--v2-acento, #39c0ff), #66ccff); border-radius: 999px; }
.tx-scroll::-webkit-scrollbar-thumb:hover { background: #66ccff; }
.tx-flechas { display: flex; gap: 0.35rem; margin-left: auto; }
.tx-flechas button { display: flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.35); background: rgba(0, 0, 0, 0.3); color: #cdeaf7; cursor: pointer; font-size: 0.75rem; }
.tx-flechas button:hover { background: var(--v2-acento, #39c0ff); color: #021825; }
.tx-flechas button:disabled { opacity: 0.3; cursor: default; background: rgba(0, 0, 0, 0.3); color: #cdeaf7; }

/* La saga en orden: portadas numeradas en fila */
.tx-saga { display: flex; gap: 0.8rem; overflow-x: auto; padding: 0.5rem 1.2rem 0.8rem 0.5rem; scroll-padding-inline: 0.5rem; scroll-snap-type: x proximity; scroll-behavior: smooth; }
.tx-saga .tx-entrega { scroll-snap-align: start; }
.tx-entrega { position: relative; flex: 0 0 7.5rem; display: flex; flex-direction: column; gap: 0.3rem; text-decoration: none !important; }
.tx-entrega-n { position: absolute; left: -0.3rem; top: -0.3rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-family: "IBMPlexMono", monospace; font-size: 0.72rem; font-weight: bold; color: #021825; background: var(--dvgo-color-footer-texto); }
.tx-entrega-ano { font-family: "IBMPlexMono", monospace; font-size: 0.68rem; color: #9bc6dc; }
.tx-entrega-dlc { flex-basis: 6rem; opacity: 0.85; }

/* Cifras */
.tx-cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 0 1rem; }
.tx-cifra { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0; padding: 1rem 1.2rem; }
.tx-cifra strong { font-family: "IBMPlexMono", monospace; font-size: 2rem; line-height: 1.05; color: #fff; }
.tx-cifra span { font-size: 0.75rem; line-height: 1.4; color: #9bc6dc; }

/* Juegos por año: barras (cada una filtra el listado por su año) */
.tx-barras { display: flex; align-items: flex-end; gap: 2px; height: 9rem; padding-bottom: 1.2rem; }
.tx-barra { position: relative; flex: 1; max-width: 3rem; display: flex; align-items: flex-end; height: 100%; min-width: 3px; text-decoration: none !important; }
.tx-barra:first-child { margin-left: auto; } .tx-barra:last-child { margin-right: auto; }
.tx-barra > span { display: block; width: 100%; border-radius: 3px 3px 0 0; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.55); transition: background 0.15s ease; }
.tx-barra:hover > span { background: #66ccff; }
.tx-barra-max > span { background: #5cffb1; }
.tx-barra small { position: absolute; left: 50%; bottom: -1.2rem; transform: translateX(-50%); font-family: "IBMPlexMono", monospace; font-size: 0.6rem; color: #7fa3b8; white-space: nowrap; }

/* Bloques del retrato */
.tx-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 0 1rem; align-items: start; }
/* Sin filas descompensadas en pantallas anchas: 5 bloques en 3+2 (los dos de abajo, más anchos) en vez de 4+1, y 6 en 3+3 en vez de 4+2.
   La clase tx-n-N la pone bloques/taxonomia-retrato-v2.php */
@media (min-width: 1100px) {
    .tx-rejilla.tx-n-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tx-rejilla.tx-n-5 > :nth-child(-n+3) { grid-column: span 2; }
    .tx-rejilla.tx-n-5 > :nth-child(n+4) { grid-column: span 3; }
    .tx-rejilla.tx-n-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tx-bloque { margin-top: 0; }
.tx-mejores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.tx-mejor { display: flex; flex-direction: column; gap: 0.3rem; text-decoration: none !important; }
.tx-mejor-portada { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 0.4rem; background: radial-gradient(circle at 30% 30%, #0b4f78, #021825); }
.tx-mejor-portada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.25s ease; }
.tx-mejor:hover .tx-mejor-portada img { transform: scale(1.05); }
.tx-mejor-portada .fm-nota { position: absolute; right: 0.3rem; bottom: 0.3rem; min-width: 2rem; height: 2rem; font-size: 0.8rem; }
.tx-mejor-titulo { font-size: 0.75rem; line-height: 1.25; color: #e3f3fb; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tx-lista { display: flex; flex-direction: column; gap: 0.3rem; }
.tx-lista a { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.5rem; border-radius: 0.45rem; font-size: 0.85rem; color: #e3f3fb; text-decoration: none; background: rgba(0, 0, 0, 0.18); }
.tx-lista a:hover { background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); color: #fff; }
.tx-lista-logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; overflow: hidden; border-radius: 0.35rem; background: #fff; }
.tx-lista-logo img { width: 100%; height: 100%; object-fit: contain; }
.tx-lista-icono { color: #021825; background: var(--v2-acento, #39c0ff); font-size: 0.8rem; }
.tx-lista-nombre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-lista b { font-family: "IBMPlexMono", monospace; font-size: 0.78rem; color: #9bc6dc; }

/* Índices de taxonomía: rejilla de tarjetas con buscador */
.ix-total { font-family: "IBMPlexMono", monospace; font-size: 0.5em; vertical-align: middle; padding: 0.1rem 0.5rem; border-radius: 999px; color: #021825; background: var(--dvgo-color-footer-texto); }
.ix-buscador input { min-width: 14rem; }
.ix-orden { margin-top: 0.9rem; }
.ix-orden .lv-chip { cursor: pointer; font-family: "IBMPlexSans", sans-serif; }
.ix-grupo[hidden], .ix-item[hidden] { display: none !important; }
.ix-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.6rem; }
.ix-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; border-radius: 0.6rem; text-decoration: none !important; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); transition: border-color 0.15s ease, transform 0.15s ease; }
.ix-item:hover { border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.45); transform: translateY(-2px); }
.ix-visual { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; overflow: hidden; border-radius: 0.5rem; font-size: 1rem; }
.ix-visual-icono { color: #021825; background: linear-gradient(145deg, #66ccff, var(--v2-acento, #39c0ff)); }
.ix-visual-img { padding: 3px; background: #fff; }
.ix-visual-img img { width: 100%; height: 100%; object-fit: contain; }
.ix-visual-bandera { background: rgba(0, 0, 0, 0.3); }
.ix-visual-bandera .flag-icon { width: 2rem; height: 1.5rem; border-radius: 0.15rem; }
.ix-datos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.ix-nombre { font-size: 0.9rem; font-weight: bold; line-height: 1.2; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-item:hover .ix-nombre { color: var(--dvgo-color-footer-texto); }
.ix-detalle { font-size: 0.7rem; color: #9bc6dc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-detalle i { font-size: 0.6rem; color: #7fa3b8; }
.ix-barra { height: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); overflow: hidden; }
.ix-barra > span { display: block; height: 100%; border-radius: inherit; background: var(--v2-acento, #39c0ff); }
.ix-n { flex-shrink: 0; font-family: "IBMPlexMono", monospace; font-size: 0.85rem; color: #e3f3fb; }

.vt-aviso { margin: 0 0 1.2rem; font-size: 0.78rem; line-height: 1.5; color: #7fa3b8; }
.vt-aviso a { color: var(--dvgo-color-footer-texto); }
.cr-veces { font-family: "IBMPlexMono", monospace; font-size: 0.65rem; opacity: 0.7; }

/* Calificaciones por edades (PEGI, aDeSe): cada edad como icono grande con sus juegos */
.tx-edades { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; padding: 1.1rem 1.2rem; }
.tx-edad { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; width: 6.5rem; padding: 0.7rem 0.5rem 0.6rem; border-radius: 0.9rem; color: #cdeaf7 !important; text-decoration: none !important; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.15); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.tx-edad:hover { transform: translateY(-3px); border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.6); }
.tx-edad img { width: 3.6rem; height: 4.4rem; object-fit: contain; margin-bottom: 0.3rem; border-radius: 0.3rem; filter: grayscale(0.5) brightness(0.85); transition: filter 0.2s ease; }
.tx-edad:hover img, .tx-edad-activa img { filter: none; }
.tx-edad b { font-family: "IBMPlexMono", monospace; font-size: 1.15rem; color: #fff; }
.tx-edad small { font-size: 0.68rem; color: #7fa3b8; }
.tx-edad-activa { border-color: var(--v2-acento, #39c0ff); background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.14); box-shadow: 0 0 22px -8px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.9); }
.tx-edad-vacia { opacity: 0.4; }
.tx-descriptores { display: flex; flex-direction: column; gap: 0.5rem; }
.tx-descriptor { display: grid; grid-template-columns: 2rem minmax(0, 11rem) minmax(0, 1fr) 2.6rem; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: #cdeaf7; }
.tx-descriptor img { width: 2rem; height: 2rem; object-fit: contain; border-radius: 0.25rem; }
.tx-descriptor-barra { height: 0.6rem; border-radius: 999px; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.08); overflow: hidden; }
.tx-descriptor-barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb454, #ff6b81); }
.tx-descriptor b { font-family: "IBMPlexMono", monospace; text-align: right; color: #fff; }
.tx-descriptor-nota { margin: 0.8rem 0 0; font-size: 0.72rem; color: #7fa3b8; }
/* Familia de plataformas: logos con la barra de sus juegos */
.tx-icono-grupo { background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 1px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.25); }
.tx-icono-grupo img { width: 85%; height: 85%; object-fit: contain; }
.tx-icono-grupo img.v2-logo-oscuro, .tx-plataforma-logo img.v2-logo-oscuro { filter: invert(1) hue-rotate(180deg); }
.tx-plataformas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: 0.7rem; }
.tx-plataforma { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem 0.8rem; border-radius: 0.7rem; color: #cdeaf7 !important; text-decoration: none !important; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.12); transition: border-color 0.2s ease, transform 0.2s ease; }
.tx-plataforma:hover { transform: translateY(-2px); border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.55); }
.tx-plataforma-logo { display: flex; align-items: center; justify-content: center; height: 3rem; }
.tx-plataforma-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tx-plataforma-logo b { font-size: 0.85rem; text-align: center; color: #fff; }
.tx-plataforma-pie { display: flex; align-items: center; gap: 0.5rem; }
.tx-plataforma-barra { flex: 1; height: 0.35rem; border-radius: 999px; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); overflow: hidden; }
.tx-plataforma-barra i { display: block; height: 100%; border-radius: 999px; background: var(--v2-acento, #39c0ff); }
.tx-plataforma-pie b { font-family: "IBMPlexMono", monospace; font-size: 0.8rem; color: #fff; }
.tx-plataforma-vacia { opacity: 0.45; }
/* Etiquetas de estudio (índice y ficha) */
.te-indice { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 0 1rem; }
.te-tarjeta { display: flex; align-items: flex-start; gap: 1rem; color: #cdeaf7 !important; text-decoration: none !important; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.te-tarjeta:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.5), 0 14px 30px -12px rgba(0, 0, 0, 0.7); }
.te-icono { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border-radius: 0.9rem; font-size: 1.4rem; color: #021825; background: linear-gradient(145deg, #66ccff, var(--v2-acento, #39c0ff)); box-shadow: 0 10px 22px -10px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.8); }
.te-datos { display: flex; flex: 1; flex-direction: column; gap: 0.35rem; min-width: 0; }
.te-datos > b { font-size: 1rem; color: #fff; }
.te-datos > small { font-size: 0.76rem; line-height: 1.45; color: #9bc6dc; }
.te-cuenta { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.2rem; }
.te-barra { height: 0.3rem; border-radius: 999px; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); overflow: hidden; }
.te-barra i { display: block; height: 100%; border-radius: 999px; background: var(--v2-acento, #39c0ff); }
.te-cuenta em { font-style: normal; font-size: 0.72rem; color: #7fa3b8; }
.te-cuenta em b { font-family: "IBMPlexMono", monospace; font-size: 0.85rem; color: #fff; }
.te-vacia { opacity: 0.5; }
.te-criterios { margin-top: 0.3rem; font-size: 0.8rem; color: #9bc6dc; }
.te-criterios summary { cursor: pointer; font-weight: bold; color: var(--dvgo-color-footer-texto); }
.te-criterios ul { margin: 0.5rem 0 0.4rem 1.1rem; padding: 0; line-height: 1.5; }
.te-criterios p { margin: 0; font-size: 0.75rem; color: #7fa3b8; }
a.te-combinar { color: inherit !important; text-decoration: none !important; border: 1px dashed rgba(var(--v2-acento-rgb, 57, 192, 255), 0.4); transition: border-color 0.2s ease; }
a.te-combinar:hover { border-color: var(--v2-acento, #39c0ff); }
.te-combinar strong { font-size: 1.4rem !important; color: var(--v2-acento, #39c0ff) !important; }
.te-provincia { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 2rem; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: #cdeaf7; }
.te-provincia b { font-family: "IBMPlexMono", monospace; text-align: right; color: #fff; }
.te-estudios { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.7rem; }
.te-estudio { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.8rem; border-radius: 0.7rem; color: #cdeaf7 !important; text-decoration: none !important; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.12); transition: border-color 0.2s ease, transform 0.2s ease; }
.te-estudio:hover { transform: translateY(-2px); border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.55); }
.te-logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; overflow: hidden; font-size: 1.2rem; color: var(--v2-acento, #39c0ff); background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.08); }
.te-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.te-estudio-datos { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-width: 0; }
.te-estudio-datos b { font-size: 0.9rem; color: #fff; }
.te-estudio-datos small { font-size: 0.72rem; color: #9bc6dc; }
.te-afinidad { padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.64rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.04em; }
.te-afin-alta { color: #021825; background: #5cffb1; }
.te-afin-media { color: #021825; background: #ffe066; }
.te-afin-historica { color: #9bc6dc; background: rgba(155, 198, 220, 0.15); }
.te-cerrado { opacity: 0.7; }
/* Medios y analistas de un género */
.gm-rejilla { grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); }
.gm-lista { display: flex; flex-direction: column; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.gm-lista li { display: flex; align-items: center; gap: 0.7rem; padding: 0.45rem 0.7rem 0.45rem 0.4rem; border-radius: 0.6rem; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); }
.gm-puesto { flex-shrink: 0; width: 1.6rem; font-family: "IBMPlexMono", monospace; font-size: 0.8rem; text-align: center; color: #7fa3b8; }
.gm-lista li:nth-child(-n+3) .gm-puesto { font-size: 1rem; font-weight: bold; color: #ffc457; }
.gm-avatar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 0.5rem; overflow: hidden; font-family: "IBMPlexMono", monospace; font-size: 0.8rem; font-weight: bold; color: var(--v2-acento, #39c0ff) !important; text-decoration: none !important; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); }
.gm-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gm-avatar-persona { border-radius: 50%; }
.gm-avatar-persona img { object-fit: cover; }
.gm-datos { display: flex; flex: 1; flex-direction: column; gap: 0.25rem; min-width: 0; }
.gm-datos > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff !important; text-decoration: none !important; }
.gm-datos > a b { font-size: 0.88rem; }
.gm-datos .flag-icon { font-size: 0.7rem; }
.gm-barra { display: block; height: 0.3rem; border-radius: 999px; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); overflow: hidden; }
.gm-barra i { display: block; height: 100%; border-radius: 999px; background: var(--v2-acento, #39c0ff); }
.gm-datos small { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: #9bc6dc; }
.gm-datos small > b { font-family: "IBMPlexMono", monospace; color: #fff; }
.gm-dif { padding: 0.02rem 0.45rem; border-radius: 999px; font-size: 0.64rem; font-weight: bold; }
.gm-dif-mas { color: #021825; background: #5cffb1; }
.gm-dif-menos { color: #fff; background: #e0485a; }
.gm-dif-igual { color: #9bc6dc; background: rgba(155, 198, 220, 0.15); }
.gm-lista .fm-nota { flex-shrink: 0; min-width: 2.3rem; height: 2.3rem; font-size: 0.9rem; }
/* Ficha de local */
.lo-enlaces { display: flex; flex-wrap: wrap; gap: 0.3rem; }
a.lo-gestor { flex-direction: row; align-items: center; gap: 0.8rem; color: inherit !important; text-decoration: none !important; transition: box-shadow 0.2s ease; }
a.lo-gestor:hover { box-shadow: 0 0 0 1px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.5); }
.lo-gestor-logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 0.6rem; overflow: hidden; font-size: 1.2rem; color: var(--v2-acento, #39c0ff); background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); }
.lo-gestor-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lo-gestor > span:last-child { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.lo-gestor small { font-size: 0.65rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.05em; color: #7fa3b8; }
.lo-gestor b { font-size: 0.95rem; color: #fff; }
.lo-gestor em { font-style: normal; font-size: 0.72rem; color: #9bc6dc; }
.lo-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 0.6rem; }
.lo-fotos a { display: block; aspect-ratio: 4 / 3; border-radius: 0.6rem; overflow: hidden; border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.2); transition: transform 0.2s ease, border-color 0.2s ease; }
.lo-fotos a:hover { transform: translateY(-2px); border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.6); }
.lo-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lo-eventos { display: flex; flex-direction: column; gap: 0.45rem; }
.lo-evento { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0.6rem 0.4rem 0.4rem; border-radius: 0.6rem; color: #cdeaf7 !important; text-decoration: none !important; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); transition: border-color 0.2s ease; }
.lo-evento:hover { border-color: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.5); }
.lo-evento-proximo { border-color: rgba(92, 255, 177, 0.45); }
.lo-evento-img { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; overflow: hidden; color: var(--v2-acento, #39c0ff); background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); }
.lo-evento-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lo-premio-img img { object-fit: contain; background: #fff; }
.lo-evento > span:last-child { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.lo-evento b { font-size: 0.85rem; color: #fff; }
.lo-evento small { font-size: 0.72rem; color: #9bc6dc; }
/* Mapa por provincia */
.pv-comunidades { columns: 3 22rem; column-gap: 1rem; }
.pv-comunidad { break-inside: avoid; display: inline-block; width: 100%; }
.pv-provincias { display: flex; flex-direction: column; gap: 0.35rem; }
.pv-provincia { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 2.4rem; align-items: center; gap: 0.6rem; padding: 0.3rem 0.5rem; border-radius: 0.45rem; font-size: 0.82rem; color: #cdeaf7 !important; text-decoration: none !important; transition: background 0.2s ease; }
.pv-provincia:hover { background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.1); }
.pv-provincia b { font-family: "IBMPlexMono", monospace; text-align: right; color: #fff; }
.pv-barra { height: 0.45rem; border-radius: 999px; background: rgba(var(--v2-acento-rgb, 57, 192, 255), 0.08); overflow: hidden; }
.pv-barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--v2-acento, #39c0ff), #5cffb1); }
.pv-vacia { opacity: 0.45; }
.pv-municipio { font-size: 0.55em; color: #9bc6dc; }
a.pv-ancla { color: inherit !important; text-decoration: none !important; transition: box-shadow 0.2s ease; }
a.pv-ancla:hover { box-shadow: 0 0 0 1px rgba(var(--v2-acento-rgb, 57, 192, 255), 0.5); }
.pv-ancla span i { color: var(--v2-acento, #39c0ff); }
.pv-filtros { flex-direction: column; gap: 0.7rem; }
.pv-municipios .lv-chip { padding: 0.25rem 0.7rem !important; font-size: 0.75rem !important; }
.lo-proximo { padding: 0.02rem 0.4rem; border-radius: 999px; font-size: 0.62rem; font-weight: bold; color: #021825; background: #5cffb1; }

@media (max-width: 700px) {
    .tx-edad { width: calc(33% - 0.6rem); min-width: 5rem; }
    .tx-descriptor { grid-template-columns: 1.8rem minmax(0, 7.5rem) minmax(0, 1fr) 2.2rem; }
    .tx-cabecera { flex-direction: column; gap: 0.9rem; }
    .tx-icono { width: 4rem; height: 4rem; font-size: 1.7rem; }
    .tx-barras { height: 6.5rem; }
}

/* ===== Provincia: juegos creados, próximos lanzamientos y profesionales (2026-11-02) ===== */
.pv-grafica { height: 200px; margin: 0.2rem 0 0.8rem; }
.pv-subtitulo { margin: 0.2rem 0 0.7rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #7fa3b8; }
.pv-persona .te-logo img { object-fit: cover; padding: 0; }@media (min-width: 900px) { .pv-cifras { grid-template-columns: repeat(var(--pv-columnas, 4), minmax(0, 1fr)); } }
