/* ═══════════════════════════════════════════════════════════════════════════════════════════
   Sistema de diseño Nanche Golf (E4, D-047; estilo A, inspirado en una app de referencia coreana, elegido por David en D-052/D-053).
   Principios: lienzo gris azulado claro, tarjetas blancas muy redondeadas SIN sombra, negro grueso, UN solo
   azul índigo para acciones y para el número del índice, gris muy claro para separar, iconos de línea.
   DORADO = solo logros y récords, como acento sutil (una línea), nunca recuadros crema.
   Diseño propio para usarse en el campo con una mano y bajo el sol; mismos nombres de token en claro y oscuro.
   Contraste: texto normal ≥ 4.5:1 (AA), números héroe ≥ 7:1 (AAA). Guía viva en /diseno.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fuentes/inter-latin.woff2") format("woff2");
}
:root {
    /* Marca (estilo A): un solo azul índigo. Verificado en capturas de dos apps de referencia (acción ≈#3760d6; el azul de la segunda no cumple AA: se oscurece). */
    --ng-marino: #2340b8;           /* número del índice y títulos destacados (8.4:1 sobre blanco) */
    --ng-azul: #3760d6;             /* acción primaria, enlaces, chips activos (5.5:1 con blanco) */
    --ng-acento: #3760d6;           /* apoyo: anillos, gráficas, sparkline, "mejor", icono ? */
    --ng-acento-suave: #eaf0ff;     /* fondos de chips, etiquetas y botón secundario */
    --ng-degradado: #ffffff;        /* los héroes son tarjetas blancas (histórico: degradado) */
    --ng-oro: #d4a017;              /* línea de acento de logros y récords */
    --ng-oro-texto: #7a5c00;        /* texto dorado legible sobre claro (6.3:1) */
    --ng-oro-suave: #ffffff;        /* los logros ya no llevan fondo crema: tarjeta blanca con línea dorada */
    /* Neutros */
    --ng-fondo: #f0f3f8;            /* lienzo gris azulado claro */
    --ng-superficie: #ffffff;       /* tarjetas */
    --ng-superficie-2: #eef1f6;     /* pistas, chips, fondos secundarios */
    --ng-texto: #191f28;
    --ng-texto-suave: #434e5d;      /* 8.5:1 sobre blanco, 7.6:1 sobre el lienzo: AAA para leer bajo el sol (O-022) */
    --ng-borde: #e3e8ef;            /* solo en entradas y tablas; las tarjetas no llevan borde */
    --ng-sombra: none;              /* sin sombras: las tarjetas se separan por el lienzo */
    --ng-radio: 20px;
    --ng-radio-chico: 12px;
    /* Estados */
    --ng-error: #b3261e;
    --ng-error-suave: #fde8e6;
    --ng-aviso-fondo: #fff3cd;
    /* Gráficas (D-037): contraste ≥ 3:1 y croma mínimo en cada modo */
    --ng-grafica: #3760d6;
    --ng-rejilla: #e8ecf3;
    --ng-sobre-marca: #ffffff;      /* texto sobre bosque */
    --ng-sobre-accion: #ffffff;     /* texto sobre el botón primario (en oscuro, texto oscuro sobre verde claro) */
    --ng-verde-oscuro: var(--ng-azul); /* alias histórico: botones +/− de la captura, tira de hoyos */
    --ng-fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Apariencia (D-062): la app abre SIEMPRE en claro. Oscuro solo si el golfista lo elige en su perfil
   (data-tema="oscuro") o elige "como mi teléfono" (data-tema="sistema") y el teléfono está en oscuro.
   .ng-tema-oscuro es para la guía /diseno, que muestra ambos modos a la vez. */
@media (prefers-color-scheme: dark) {
    :root[data-tema="sistema"] {
        --ng-marino: #8fb3ff; --ng-azul: #6b9cff; --ng-acento: #6b9cff; --ng-acento-suave: #202b45; --ng-degradado: #202027;
        --ng-oro: #e3b93a; --ng-oro-texto: #f0cf5c; --ng-oro-suave: #202027;
        --ng-fondo: #17171c; --ng-superficie: #202027; --ng-superficie-2: #2c2c35; --ng-texto: #f2f4f6; --ng-texto-suave: #a7adb8; --ng-borde: #33333d;
        --ng-sombra: none;
        --ng-error: #ff8a80; --ng-error-suave: #3b1d1b; --ng-aviso-fondo: #3b3418;
        --ng-grafica: #6b9cff; --ng-rejilla: #2c2c35; --ng-sobre-marca: #f2f4f6; --ng-sobre-accion: #17171c;
        color-scheme: dark;
    }
}
:root[data-tema="oscuro"] {
        --ng-marino: #8fb3ff; --ng-azul: #6b9cff; --ng-acento: #6b9cff; --ng-acento-suave: #202b45; --ng-degradado: #202027;
    --ng-oro: #e3b93a; --ng-oro-texto: #f0cf5c; --ng-oro-suave: #202027;
    --ng-fondo: #17171c; --ng-superficie: #202027; --ng-superficie-2: #2c2c35; --ng-texto: #f2f4f6; --ng-texto-suave: #a7adb8; --ng-borde: #33333d;
    --ng-sombra: none;
    --ng-error: #ff8a80; --ng-error-suave: #3b1d1b; --ng-aviso-fondo: #3b3418;
    --ng-grafica: #6b9cff; --ng-rejilla: #2c2c35; --ng-sobre-marca: #f2f4f6; --ng-sobre-accion: #17171c;
    color-scheme: dark;
}
.ng-tema-oscuro {
    --ng-marino: #8fb3ff; --ng-azul: #6b9cff; --ng-acento: #6b9cff; --ng-acento-suave: #202b45; --ng-degradado: #202027;
    --ng-oro: #e3b93a; --ng-oro-texto: #f0cf5c; --ng-oro-suave: #202027;
    --ng-fondo: #17171c; --ng-superficie: #202027; --ng-superficie-2: #2c2c35; --ng-texto: #f2f4f6; --ng-texto-suave: #a7adb8; --ng-borde: #33333d;
    --ng-sombra: none;
    --ng-error: #ff8a80; --ng-error-suave: #3b1d1b; --ng-aviso-fondo: #3b3418;
    --ng-grafica: #6b9cff; --ng-rejilla: #2c2c35; --ng-sobre-marca: #f2f4f6; --ng-sobre-accion: #17171c;
    background: var(--ng-fondo); color: var(--ng-texto); color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--ng-fondo);
    color: var(--ng-texto);
    font-family: var(--ng-fuente);
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--ng-azul); }
h1 { font-size: 1.6rem; margin: 0.5rem 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1rem 0 0.4rem; }
.ng-num, .ng-tabla, .ng-hero-valor, .ng-tile-valor, .ng-mosaico-valor, .ng-indice-valor { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.ng-barra {
    background: var(--ng-fondo);
    padding: 0.4rem 1rem 0;
    padding-top: calc(0.4rem + env(safe-area-inset-top));
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    max-width: 32rem; margin: 0 auto;
}
.ng-marca { color: var(--ng-texto); font-weight: 800; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.ng-marca svg { width: 26px; height: 26px; }
.ng-contenido { max-width: 32rem; margin: 0 auto; padding: 1rem 1rem 2rem; }
.ng-texto-suave { color: var(--ng-texto-suave); }
.ng-formulario { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.ng-formulario label { font-weight: 600; margin-top: 0.5rem; }
.ng-formulario input {
    min-height: 48px; padding: 0.5rem 0.75rem; font-size: 1rem; font-family: inherit;
    border: 1px solid var(--ng-borde); border-radius: var(--ng-radio-chico);
    background: var(--ng-superficie); color: var(--ng-texto);
}
/* Botones: primario (bosque/verde), secundario (contorno), grande (acción principal de la pantalla) */
.ng-boton {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; padding: 0 1.25rem; margin: 0.75rem 0.5rem 0 0;
    border: 0; border-radius: 16px; font-size: 1rem; font-weight: 700; font-family: inherit;
    background: var(--ng-azul); color: var(--ng-sobre-accion); text-decoration: none; cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}
.ng-boton:active { transform: scale(0.98); filter: brightness(0.95); }
.ng-boton svg, .ng-chip-record svg { width: 22px; height: 22px; flex: none; }
.ng-chip-record svg { width: 14px; height: 14px; }
.ng-boton:disabled { opacity: 0.6; }
.ng-boton-secundario { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-ayuda { font-size: 0.85rem; color: var(--ng-texto-suave); margin: 0.25rem 0 0; }
.ng-error { color: var(--ng-error); margin: 0.5rem 0 0; }
.ng-cargando { padding: 2rem 1rem; text-align: center; color: var(--ng-texto-suave); }
#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--ng-aviso-fondo); color: var(--ng-texto); padding: 0.75rem 1rem;
}
#blazor-error-ui .dismiss { float: right; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Catálogo ── */
h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.ng-buscar { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.ng-buscar input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0.5rem 0.75rem; font-size: 1rem;
    border: 1px solid var(--ng-borde); border-radius: 10px; background: var(--ng-superficie); color: var(--ng-texto);
}
.ng-buscar .ng-boton { margin: 0; }
.ng-lista { list-style: none; padding: 0; margin: 1rem 0; }
.ng-lista a {
    display: flex; flex-direction: column; gap: 0.15rem; padding: 0.85rem 1rem; margin-bottom: 0.5rem;
    background: var(--ng-superficie); border-radius: var(--ng-radio);
    color: var(--ng-texto); text-decoration: none; min-height: 48px;
}
.ng-volver { display: inline-block; margin-bottom: 0.25rem; text-decoration: none; min-height: 32px; }
.ng-segmentado { display: flex; background: var(--ng-superficie-2); border-radius: 14px; padding: 3px; margin: 0.5rem 0 1rem; }
.ng-segmentado button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--ng-texto-suave); font-size: 1rem; font-weight: 700; font-family: inherit; }
.ng-segmentado button.activo { background: var(--ng-superficie); color: var(--ng-texto); }
.ng-tarjeta-bloque { background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 1rem; margin-bottom: 1rem; }
.ng-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.ng-chip {
    display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem;
    border: 0; border-radius: 999px; background: var(--ng-superficie); color: var(--ng-texto); font-weight: 700; font-family: inherit; font-size: 0.95rem; cursor: pointer;
}
.ng-chip.activo { border-color: var(--ng-azul); background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-punto { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 1px solid #0003; margin-right: 0.35rem; vertical-align: -1px; }
.ng-rating { margin: 0.25rem 0 0.75rem; }
.ng-tabla { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-variant-numeric: tabular-nums; }
.ng-tabla caption { text-align: left; font-weight: 700; padding-bottom: 0.25rem; }
.ng-tabla th, .ng-tabla td { padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--ng-borde); text-align: right; }
.ng-tabla th:first-child, .ng-tabla td:first-child { text-align: left; }
.ng-tabla thead th { color: var(--ng-texto-suave); font-weight: 600; font-size: 0.85rem; }
.ng-tabla tfoot th { border-bottom: 0; }
.ng-golpes { font-size: 1.25rem; font-weight: 700; color: var(--ng-azul); }

/* Portada (ilustración temporal, original de Nanche Golf) */
.ng-portada {
    display: block; width: calc(100% + 2rem); max-width: none; height: auto; aspect-ratio: 390 / 230;
    margin: -1rem -1rem 1rem; object-fit: cover;
}
@media (min-width: 34rem) { .ng-portada { width: 100%; margin: 0 0 1rem; border-radius: 14px; } }

/* Ambiente de calidad (D-029): franja fija arriba, imposible de confundir con producción. */
/* D-052: etiqueta pequeña y discreta, fija arriba a la derecha, por encima de todo pero sin dominar. */
.ng-franja-calidad {
    position: fixed; top: calc(0.45rem + env(safe-area-inset-top)); right: 0.6rem; z-index: 1100;
    background: #ffb020; color: #2b2000; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em;
    padding: 0.15rem 0.5rem; border-radius: 999px; box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); pointer-events: none;
}

/* Rondas (E3) */
.ng-indice { text-align: center; }
.ng-indice-etiqueta { display: block; color: var(--ng-texto-suave); font-weight: 600; }
.ng-indice-valor { display: block; font-size: 2.6rem; font-weight: 800; color: var(--ng-marino); letter-spacing: -0.03em; line-height: 1.1; }
.ng-rondas a { display: block; }
.ng-ronda-linea { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.ng-ronda-linea > span:first-child { display: flex; flex-direction: column; }
.ng-ronda-score { display: flex; flex-direction: column; align-items: flex-end; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.ng-ronda-score .ng-ayuda { margin: 0; font-size: 0.75rem; }
.ng-etiqueta { display: inline-block; margin: 0.35rem 0.35rem 0 0; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
    background: var(--ng-acento-suave); color: var(--ng-azul); }
.ng-etiqueta-gris { background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-etiqueta-oro { background: var(--ng-superficie-2); color: var(--ng-oro-texto); box-shadow: inset 3px 0 0 var(--ng-oro); }
.ng-resumen { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 0.5rem; }
.ng-resumen div { display: flex; flex-direction: column; }
.ng-resumen strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.ng-aviso { background: color-mix(in srgb, var(--ng-texto-suave) 12%, transparent); border-radius: 8px; padding: 0.5rem 0.75rem; }
.ng-tabla-ronda td, .ng-tabla-ronda th { text-align: center; }
.ng-g { display: inline-flex; align-items: center; justify-content: center; min-width: 1.9rem; height: 1.9rem; font-weight: 700; }
.ng-g-birdie { border: 2px solid var(--ng-azul); border-radius: 50%; }
.ng-g-eagle { border: 2px solid var(--ng-azul); border-radius: 50%; box-shadow: 0 0 0 2px var(--ng-superficie), 0 0 0 4px var(--ng-azul); }
.ng-g-bogey { border: 2px solid var(--ng-texto-suave); }
.ng-g-doble { border: 2px solid var(--ng-texto-suave); box-shadow: 0 0 0 2px var(--ng-superficie), 0 0 0 4px var(--ng-texto-suave); }
.ng-topado { color: var(--ng-error); font-weight: 700; margin-left: 0.35rem; font-size: 0.85rem; }

/* Ronda en vivo (E3 paso 2, D-034): se usa bajo el sol y con prisa. Alto contraste, botones de 56 px o más,
   número grande. Sin grises claros en lo que hay que leer. */
.ng-boton-grande { display: flex; width: 100%; min-height: 56px; font-size: 1.15rem; margin: 0.75rem 0; text-align: center; }
.ng-enlace { background: none; border: 0; color: var(--ng-azul); text-decoration: underline; font-size: 1rem; padding: 0.5rem 0; min-height: 44px; cursor: pointer; }
.ng-opciones { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.ng-opciones-fila { flex-direction: row; flex-wrap: wrap; }
.ng-opcion { min-height: 52px; padding: 0.5rem 1rem; border: 2px solid transparent; border-radius: 16px; background: var(--ng-superficie);
    color: var(--ng-texto); font-size: 1rem; font-weight: 600; text-align: left; display: flex; flex-direction: column; justify-content: center; cursor: pointer; }
.ng-opcion.activo { border-color: var(--ng-azul); }
.ng-opcion .ng-ayuda { margin: 0; font-weight: 400; }
.ng-etiqueta-campo { display: block; font-weight: 700; margin: 0.75rem 0 0.35rem; }
.ng-entrada { min-height: 48px; font-size: 1rem; padding: 0.35rem 0.6rem; border: 2px solid var(--ng-borde); border-radius: 10px; background: var(--ng-superficie); color: var(--ng-texto); }
.ng-companero { border-bottom: 1px solid var(--ng-borde); padding: 0.5rem 0; }
.ng-companero > div:first-child { display: flex; flex-direction: column; }
.ng-companero-opciones { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.35rem; }
.ng-companero-opciones select { min-height: 44px; font-size: 1rem; border-radius: 8px; }
.ng-segmentado-grande button { min-height: 56px; font-size: 1.2rem; }

.ng-juego-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.ng-sync { font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--ng-superficie-2); color: var(--ng-texto); }
.ng-sync-sincronizado { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-sync-sinsenal, .ng-sync-sesionvencida { background: #fde8c8; color: #6b3a00; }
.ng-tira { display: flex; gap: 0.3rem; overflow-x: auto; padding: 0.5rem 0; }
.ng-tira button { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ng-superficie); color: var(--ng-texto); font-weight: 700; font-size: 1rem; }
.ng-tira button.anotado { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-tira button.actual { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-hoyo-titulo { margin: 0.25rem 0 0; font-size: 2rem; }
.ng-hoyo-datos { margin: 0 0 0.75rem; font-size: 1.1rem; font-weight: 600; }
.ng-jugador { background: var(--ng-superficie); border: 2px solid transparent; border-radius: 18px; padding: 0.75rem; margin-bottom: 0.75rem; }
.ng-jugador-yo { border-color: var(--ng-azul); }
.ng-jugador-fila { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.ng-jugador-nombre { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.ng-paso { display: flex; align-items: center; gap: 0.5rem; }
.ng-paso-boton { width: 60px; height: 60px; border-radius: 14px; border: 0; background: var(--ng-azul); color: var(--ng-sobre-accion); font-size: 2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.ng-paso-boton:active { transform: scale(0.96); }
.ng-paso-valor { min-width: 3.2rem; height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ng-paso-chico .ng-paso-boton { width: 48px; height: 48px; font-size: 1.5rem; }
.ng-paso-chico .ng-paso-valor { min-width: 2rem; font-size: 1.4rem; height: 2.4rem; }
.ng-prellenado { color: var(--ng-texto); }
.ng-dato { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; gap: 0.5rem; font-weight: 600; }
.ng-dato-doble { gap: 1rem; }
.ng-dato-doble > div { display: flex; flex-direction: column; gap: 0.25rem; }
.ng-chips-grandes { display: flex; gap: 0.4rem; }
.ng-chips-grandes button { min-width: 52px; height: 52px; border-radius: 14px; border: 0; background: var(--ng-superficie-2); color: var(--ng-texto); font-size: 1.3rem; font-weight: 800; cursor: pointer; font-family: inherit; }
.ng-chips-grandes button.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-aviso-maximo { margin: 0.4rem 0 0; font-weight: 700; color: var(--ng-error); }
.ng-totales { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 1rem; }
.ng-juego-pie { position: sticky; bottom: 0; background: var(--ng-fondo); padding: 0.25rem 0 0.5rem; }
.ng-lista-simple { padding-left: 1.1rem; }
.ng-grupo .ng-jugador { padding: 0.5rem 0.75rem; margin-bottom: 0.5rem; }
.ng-mis-datos { margin-top: 0.25rem; }

/* Amigos (D-035) */
.ng-qr { display: block; width: 100%; max-width: 260px; margin: 0.5rem auto; background: #fff; padding: 8px; border-radius: 12px; }
.ng-codigo { text-align: center; font-size: 2rem; font-weight: 800; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; margin: 0.25rem 0; }
.ng-invitacion-de { font-size: 1.2rem; }

/* Corregir rondas (D-036) */
.ng-acciones-ronda { margin: 0 0 1rem; }
.ng-correccion { border-bottom: 1px solid var(--ng-borde); padding: 0.5rem 0; }
.ng-correccion p { margin: 0.2rem 0; }
.ng-tabla-corregir td, .ng-tabla-corregir th { text-align: center; padding: 0.3rem 0.2rem; }
.ng-tabla-corregir select { min-height: 40px; font-size: 1rem; border-radius: 8px; }
.ng-paso-mini { justify-content: center; gap: 0.2rem; }
.ng-paso-mini .ng-paso-boton { width: 38px; height: 38px; font-size: 1.3rem; border-radius: 10px; }
.ng-paso-mini .ng-paso-valor { min-width: 2rem; height: 2rem; font-size: 1.15rem; }
.ng-entrada-ancha { width: 100%; box-sizing: border-box; }
.ng-boton-peligro { background: var(--ng-error); }

/* Estadísticas y progreso (D-037) */
.ng-filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; }
.ng-filtros select { min-height: 44px; font-size: 1rem; border-radius: 10px; border: 2px solid var(--ng-borde); background: var(--ng-superficie); color: var(--ng-texto); padding: 0 0.5rem; max-width: 100%; }
.ng-filtros .ng-segmentado { margin: 0; flex: 1; min-width: 14rem; }
.ng-grafica { width: 100%; height: auto; display: block; touch-action: pan-y; }
.ng-grafica text { fill: var(--ng-texto-suave); font-size: 11px; font-variant-numeric: tabular-nums; }
.ng-grafica .ng-grafica-fin { fill: var(--ng-texto); font-size: 13px; font-weight: 700; }
.ng-grafica-lectura { min-height: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ng-mosaicos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.ng-mosaico { background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.75rem 0.85rem; }
.ng-mosaico-etiqueta { display: block; color: var(--ng-texto-suave); font-size: 0.85rem; }
.ng-mosaico-valor { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.ng-mosaico-delta, .ng-mosaico-pares { display: block; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.ng-mejor { color: var(--ng-grafica); font-weight: 700; }
.ng-peor { color: var(--ng-error); font-weight: 700; }
.ng-mosaico-pares { color: var(--ng-texto-suave); }
.ng-casilla { display: flex; gap: 0.6rem; align-items: flex-start; }
.ng-casilla input { width: 24px; height: 24px; margin-top: 0.15rem; flex: none; }
.ng-mosaicos-3 { grid-template-columns: repeat(3, 1fr); }
.ng-detalles summary { cursor: pointer; color: var(--ng-azul); min-height: 44px; display: flex; align-items: center; }

/* Avisos de correcciones del grupo (D-038) */
.ng-avisos { box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-avisos li { margin-bottom: 0.5rem; }

/* Historial de GHIN (D-039) */
.ng-rejilla-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; margin-bottom: 0.75rem; }
.ng-rejilla-2 label { display: flex; flex-direction: column; font-weight: 600; font-size: 0.9rem; gap: 0.2rem; }
.ng-rejilla-2 .ng-entrada { width: 100%; }
.ng-tabla-ghin td, .ng-tabla-ghin th { padding: 0.4rem 0.25rem; }
.ng-fila-error td { color: var(--ng-error); }
.ng-fila-omitida td { color: var(--ng-texto-suave); text-decoration: line-through; }
.ng-fila-nota td { text-align: left; border-bottom: 1px solid var(--ng-borde); padding-top: 0; }
.ng-fila-nota .ng-ayuda, .ng-fila-nota .ng-error { display: block; margin: 0; font-size: 0.85rem; text-decoration: none; }
code { font-size: 0.85em; overflow-wrap: anywhere; }

/* Grupos (D-041) */
.ng-tabla-posiciones td, .ng-tabla-posiciones th { padding: 0.4rem 0.25rem; }
.ng-tabla-posiciones td:nth-child(2) { text-align: left; }
.ng-tabla-posiciones td:nth-child(2) .ng-ayuda { display: block; margin: 0; }
.ng-fila-yo td { background: color-mix(in srgb, var(--ng-azul) 10%, transparent); }

/* Beta (E6, D-042) */
.ng-pie { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ng-texto-suave); text-align: center; }
ol.ng-lista-simple li { margin-bottom: 0.4rem; }

/* Foto de la tarjeta (E3b, D-043) */
.ng-golpes-leidos { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; overflow-wrap: anywhere; }

/* ═══ Componentes del sistema (E4, D-047) ═══ */
/* Encabezado de pantalla: título + subtítulo, con enlace para volver */
.ng-cabeza { margin: 0 0 1rem; }
.ng-cabeza h1 { margin: 0; font-size: 1.7rem; line-height: 1.2; }
.ng-cabeza .ng-subtitulo { margin: 0.2rem 0 0; color: var(--ng-texto-suave); }
.ng-cabeza .ng-volver { margin-bottom: 0.35rem; }
.ng-volver { font-weight: 600; }

/* Héroe: el Índice estimado como protagonista */
.ng-hero {
    background: var(--ng-superficie);
    color: var(--ng-texto); border-radius: 24px; padding: 1.1rem 1.15rem 1rem; margin-bottom: 0.9rem;
    position: relative; overflow: hidden;
}
/* O-067: el tablero reserva el alto que tuvo la última vez (a 390 px: con índice ~307 px, sin índice ~206 px) para que «Anotar ronda» no baje al llegar los datos. */
.ng-hero-reserva-indice { min-height: 19.2rem; }
.ng-hero-reserva-faltan { min-height: 12.85rem; }
.ng-hero-etiqueta { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ng-texto-suave); }
.ng-hero-valor { display: block; font-size: 4.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.045em; margin: 0.2rem 0 0.3rem; color: var(--ng-marino); }
.ng-hero-valor.ng-hero-chico { font-size: 2.4rem; letter-spacing: -0.02em; margin-top: 0.4rem; }
.ng-hero-fila { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.ng-hero-nota { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--ng-texto-suave); }
.ng-hero .ng-sparkline { width: 128px; height: 44px; flex: none; }
.ng-hero a { color: var(--ng-azul); font-weight: 700; }

/* Tendencia: flecha + palabra (nunca solo color) */
.ng-tendencia { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: var(--ng-superficie-2); color: var(--ng-texto); }
.ng-tendencia-mejor { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-tendencia-peor { background: var(--ng-error-suave); color: var(--ng-error); }

/* Tile de estadística: número grande + etiqueta + tendencia o nota */
.ng-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.ng-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.ng-tiles-3 .ng-tile { padding: 0.65rem 0.6rem; }
.ng-tiles-3 .ng-tile-valor { font-size: 1.6rem; }
.ng-tiles-3 .ng-tendencia { font-size: 0.78rem; padding: 0.1rem 0.45rem; }
.ng-tile { display: flex; flex-direction: column; gap: 0.1rem; background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.8rem 0.9rem; text-decoration: none; color: inherit; min-height: 48px; }
.ng-tile-etiqueta { font-size: 0.82rem; font-weight: 600; color: var(--ng-texto-suave); }
.ng-tile-valor { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ng-tile-valor small { font-size: 0.95rem; font-weight: 600; color: var(--ng-texto-suave); margin-left: 0.15rem; letter-spacing: 0; }
.ng-tile-nota { font-size: 0.8rem; color: var(--ng-texto-suave); }
.ng-tile-oro { box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-tile-oro .ng-tile-etiqueta { color: var(--ng-oro-texto); }
.ng-tile-oro .ng-tile-valor { color: var(--ng-texto); }

/* Anillo de progreso (SVG propio) */
.ng-anillo { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-align: center; }
.ng-anillo svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ng-anillo-fondo { fill: none; stroke: var(--ng-superficie-2); stroke-width: 9; }
.ng-anillo-valor { fill: none; stroke: var(--ng-acento); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 700ms cubic-bezier(.2,.8,.2,1); }
.ng-anillo-oro .ng-anillo-valor { stroke: var(--ng-oro); }
.ng-anillo-numero { margin-top: -66px; height: 66px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; pointer-events: none; }
.ng-anillo-numero small { font-size: 0.8rem; font-weight: 700; margin-left: 1px; }
.ng-anillo-etiqueta { font-size: 0.85rem; font-weight: 600; color: var(--ng-texto-suave); margin-top: 0.3rem; }
.ng-anillos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0.5rem 0 0.75rem; }

/* Sparkline */
.ng-sparkline { width: 120px; height: 40px; display: block; overflow: visible; }
.ng-sparkline path { fill: none; stroke: var(--ng-acento); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ng-sparkline .ng-sparkline-area { fill: var(--ng-acento); fill-opacity: 0.12; stroke: none; }
.ng-sparkline circle { fill: var(--ng-acento); }

/* Barras horizontales (par 3/4/5, resultado de hoyos) */
.ng-barras { display: flex; flex-direction: column; gap: 0.45rem; margin: 0.5rem 0 0.75rem; }
.ng-barra-fila { display: grid; grid-template-columns: 7.5rem 1fr 3.2rem; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.ng-barra-fila .ng-barra-nombre { font-weight: 600; }
.ng-barra-pista { height: 12px; border-radius: 999px; background: var(--ng-superficie-2); overflow: hidden; }
.ng-barra-relleno { height: 100%; border-radius: 999px; background: var(--ng-acento); transition: width 600ms cubic-bezier(.2,.8,.2,1); }
.ng-barra-relleno.ng-barra-oro { background: var(--ng-oro); }
.ng-barra-relleno.ng-barra-gris { background: var(--ng-texto-suave); }
.ng-barra-relleno.ng-barra-rojo { background: var(--ng-error); }
.ng-barra-fila .ng-barra-valor { text-align: right; font-weight: 700; }

/* Insignias de logro: dorado solo cuando se logró */
.ng-insignias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.ng-insignia { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; padding: 0.75rem 0.4rem; border-radius: var(--ng-radio); background: var(--ng-superficie); color: var(--ng-texto-suave); }
.ng-insignia svg { width: 40px; height: 40px; }
.ng-insignia-icono { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-insignia-titulo { font-size: 0.85rem; font-weight: 700; line-height: 1.2; }
.ng-insignia-texto { font-size: 0.75rem; }
.ng-insignia-lograda { color: var(--ng-texto); box-shadow: inset 0 4px 0 var(--ng-oro); }
.ng-insignia-lograda .ng-insignia-icono { background: var(--ng-superficie-2); color: var(--ng-oro-texto); box-shadow: inset 0 0 0 2px var(--ng-oro); }

/* Chip pequeño de estado (como las etiquetas) y chip dorado de récord */
.ng-chip-record { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--ng-superficie-2); color: var(--ng-oro-texto); box-shadow: inset 0 0 0 1px var(--ng-oro); }

/* Tarjeta de ronda */
.ng-tarjeta-ronda { display: block; background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.85rem 1rem; margin-bottom: 0.6rem; color: inherit; text-decoration: none; }
.ng-tarjeta-ronda-mejor { box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-tarjeta-ronda-fila { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.ng-tarjeta-ronda-datos { display: flex; flex-direction: column; min-width: 0; }
.ng-tarjeta-ronda-club { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-tarjeta-ronda-meta { font-size: 0.85rem; color: var(--ng-texto-suave); }
.ng-tarjeta-ronda-score { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.ng-tarjeta-ronda-score strong { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.ng-tarjeta-ronda-score small { font-size: 0.8rem; color: var(--ng-texto-suave); font-weight: 600; }
.ng-tarjeta-ronda-etiquetas { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.ng-tarjeta-ronda-etiquetas .ng-etiqueta { margin: 0; }
.ng-sobre-par { font-weight: 700; }
.ng-sobre-par-bajo { color: var(--ng-azul); }

/* Estado vacío motivador */
.ng-vacio { text-align: center; padding: 1.5rem 1rem; background: var(--ng-superficie); border-radius: var(--ng-radio); }
.ng-vacio svg { width: 56px; height: 56px; color: var(--ng-acento); margin-bottom: 0.25rem; }
.ng-vacio h2 { margin: 0.25rem 0; }
.ng-vacio p { margin: 0.25rem 0 0.5rem; color: var(--ng-texto-suave); }

/* Rejilla de accesos del inicio */
.ng-accesos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0.9rem 0 0.5rem; }
.ng-acceso { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; min-height: 60px; padding: 0.7rem 0.3rem; background: var(--ng-superficie); border: 0; border-radius: 18px; color: var(--ng-texto); text-decoration: none; font-weight: 700; font-size: 0.82rem; text-align: center; font-family: inherit; cursor: pointer; }
.ng-acceso svg { width: 22px; height: 22px; color: var(--ng-azul); flex: none; }
.ng-acceso-icono { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--ng-acento-suave); }
.ng-acceso span { line-height: 1.2; }
.ng-racha { display: flex; align-items: center; gap: 0.75rem; }
.ng-racha-semanas { display: flex; gap: 4px; }
.ng-racha-semanas i { width: 10px; height: 10px; border-radius: 50%; background: var(--ng-superficie-2); border: 1px solid var(--ng-borde); }
.ng-racha-semanas i.si { background: var(--ng-acento); border-color: var(--ng-acento); }
.ng-racha-semanas i.hoy { border-color: var(--ng-oro); border-width: 2px; }
.ng-hola { margin: 0.25rem 0 0.9rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ng-texto); }
.ng-hola strong { color: var(--ng-texto); font-weight: 800; }
.ng-cerrar-sesion { display: block; margin: 1rem auto 0; }

/* Celebración ligera (aparece una vez; respeta reduced-motion arriba) */
@keyframes ng-aparecer { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.ng-aparecer { animation: ng-aparecer 420ms cubic-bezier(.2,.8,.2,1) both; }
.ng-aparecer-2 { animation-delay: 90ms; } .ng-aparecer-3 { animation-delay: 180ms; }

/* Guía de estilo (/diseno) */
.ng-guia-modos { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 46rem) { .ng-guia-modos { grid-template-columns: 1fr 1fr; } }
.ng-guia-modo { padding: 1rem; border-radius: var(--ng-radio); background: var(--ng-fondo); color: var(--ng-texto); }
.ng-muestras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
.ng-muestra { height: 56px; border-radius: 10px; border: 1px solid var(--ng-borde); display: flex; align-items: flex-end; padding: 0.3rem; font-size: 0.65rem; font-weight: 700; }

/* ═══ E4 parte 2 (D-048): detalle, captura, amigos, grupos, celebraciones, insignias, compartir ═══ */
/* Héroe de ronda (detalle): score enorme + sobre par + chips */
.ng-hero-ronda .ng-hero-valor { display: inline-block; }
.ng-hero-sobrepar { font-size: 2rem; font-weight: 800; color: var(--ng-texto-suave); margin-left: 0.4rem; vertical-align: 0.9rem; letter-spacing: -0.02em; }
.ng-hero-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.ng-hero-chip { display: inline-flex; flex-direction: column; padding: 0.35rem 0.7rem; border-radius: 12px; background: var(--ng-superficie-2); min-width: 5.2rem; }
.ng-hero-chip small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ng-texto-suave); }
.ng-hero-chip strong { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.ng-acciones { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.ng-acciones .ng-boton { margin: 0; flex: 1; }

/* Tarjeta digital: 9 hoyos por bloque, horizontal como una tarjeta real */
.ng-tarjeta-digital { overflow-x: auto; margin: 0.25rem -1rem 0; padding: 0 1rem; }
.ng-td { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 340px; font-variant-numeric: tabular-nums; }
.ng-td th, .ng-td td { text-align: center; padding: 0.3rem 0.1rem; font-size: 0.95rem; }
.ng-td th:first-child, .ng-td td:first-child { text-align: left; font-size: 0.75rem; font-weight: 700; color: var(--ng-texto-suave); text-transform: uppercase; letter-spacing: 0.04em; width: 3.6rem; }
.ng-td thead th { color: var(--ng-texto-suave); font-weight: 700; font-size: 0.8rem; border-bottom: 1px solid var(--ng-borde); }
.ng-td .ng-td-total { font-weight: 800; background: var(--ng-superficie-2); border-radius: 8px; }
.ng-td .ng-g { min-width: 1.7rem; height: 1.7rem; font-size: 0.95rem; }
.ng-td-putts td { color: var(--ng-texto-suave); font-size: 0.85rem; }
.ng-td-topado { display: block; font-size: 0.65rem; color: var(--ng-error); font-weight: 700; line-height: 1; }
.ng-leyenda { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; font-size: 0.8rem; color: var(--ng-texto-suave); margin-top: 0.5rem; align-items: center; }
.ng-leyenda .ng-g { min-width: 1.3rem; height: 1.3rem; font-size: 0.7rem; }

/* Logros de la ronda y kudos */
.ng-logros { display: flex; flex-direction: column; gap: 0.5rem; }
.ng-logro { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.8rem; border-radius: 14px; background: var(--ng-superficie-2); box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-logro-icono { width: 40px; height: 40px; border-radius: 50%; background: var(--ng-superficie); color: var(--ng-oro-texto); box-shadow: inset 0 0 0 2px var(--ng-oro); display: flex; align-items: center; justify-content: center; flex: none; }
.ng-logro-icono svg { width: 22px; height: 22px; }
.ng-logro strong { display: block; line-height: 1.2; }
.ng-logro span { font-size: 0.85rem; color: var(--ng-texto-suave); }
.ng-kudos { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.75rem; }
.ng-kudos-boton { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; border: 0; background: var(--ng-acento-suave); color: var(--ng-marino); font-weight: 700; font-family: inherit; font-size: 0.95rem; cursor: pointer; }
.ng-kudos-boton svg { width: 20px; height: 20px; }
.ng-kudos-boton.dado { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-kudos-boton:disabled { opacity: 0.6; cursor: default; }
.ng-kudos-chico { min-height: 44px; padding: 0 0.7rem; font-size: 0.85rem; }

/* Celebración (al confirmar): tarjeta dorada que aparece una vez; sin confeti, con brillo suave */
.ng-celebracion-fondo { position: fixed; inset: 0; background: rgb(25 31 40 / 0.6); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: ng-aparecer 300ms ease both; }
.ng-celebracion { background: var(--ng-superficie); color: var(--ng-texto); border-radius: 24px; padding: 1.25rem; width: 100%; max-width: 24rem; max-height: 90vh; overflow-y: auto; box-shadow: inset 0 4px 0 var(--ng-oro), 0 20px 60px rgb(0 0 0 / 0.4); animation: ng-brillo 900ms cubic-bezier(.2,.8,.2,1) both; }
.ng-celebracion h2 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.ng-celebracion .ng-logros { margin: 0.75rem 0; }
.ng-celebracion .ng-boton { width: 100%; margin: 0.25rem 0 0; }
@keyframes ng-brillo { 0% { transform: scale(0.92); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }
@keyframes ng-brindis { 0% { transform: translate(-50%, 20px); opacity: 0; } 12% { transform: translate(-50%, 0); opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
/* Brindis en la captura: aviso flotante que se va solo */
.ng-brindis { position: fixed; left: 50%; top: calc(7.5rem + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 800; background: var(--ng-texto); color: var(--ng-superficie); box-shadow: inset 0 0 0 2px var(--ng-oro); padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 800; font-size: 1.15rem; box-shadow: 0 8px 24px rgb(0 0 0 / 0.3); display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; animation: ng-brindis 2200ms ease both; pointer-events: none; }
.ng-brindis small { font-weight: 600; font-size: 0.85rem; }
.ng-brindis svg { color: var(--ng-oro); }
.ng-brindis svg { width: 22px; height: 22px; }

/* Captura en vivo: números gigantes, contraste máximo */
.ng-hoyo-cabeza { display: flex; align-items: baseline; gap: 0.75rem; margin: 0.4rem 0 0.5rem; flex-wrap: wrap; }
.ng-hoyo-cabeza h1 { margin: 0; font-size: 2.4rem; letter-spacing: -0.03em; }
.ng-hoyo-cabeza .ng-hoyo-datos { margin: 0; font-size: 1rem; }
.ng-par-chip { display: inline-flex; align-items: center; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--ng-azul); color: var(--ng-sobre-accion); font-weight: 800; font-size: 1.05rem; }
.ng-jugador-yo { border-width: 3px; }
.ng-jugador-yo .ng-paso-valor { font-size: 2.6rem; min-width: 3.6rem; }
.ng-paso-boton { width: 64px; height: 64px; font-size: 2.2rem; border-radius: 16px; }
.ng-paso-valor.ng-g-birdie, .ng-paso-valor.ng-g-eagle { border-radius: 50%; }
.ng-paso-valor.ng-g-birdie { box-shadow: inset 0 0 0 3px var(--ng-azul); }
.ng-paso-valor.ng-g-eagle { box-shadow: inset 0 0 0 3px var(--ng-oro); }
.ng-paso-valor.ng-g-bogey { box-shadow: inset 0 0 0 3px var(--ng-texto-suave); border-radius: 8px; }
.ng-paso-valor.ng-g-doble { box-shadow: inset 0 0 0 3px var(--ng-error); border-radius: 8px; }
.ng-totales { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.4rem; margin: 0.5rem 0; }
.ng-total { background: var(--ng-superficie); border-radius: 14px; padding: 0.4rem 0.6rem; display: flex; flex-direction: column; }
.ng-total small { font-size: 0.75rem; font-weight: 700; color: var(--ng-texto-suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-total strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ng-total strong span { font-size: 0.95rem; color: var(--ng-texto-suave); margin-left: 0.25rem; font-weight: 700; }
.ng-par-un-toque { font-size: 0.9rem; opacity: 0.9; font-weight: 600; }
.ng-tira button { flex: 0 0 48px; height: 48px; }

/* Amigos y grupos */
.ng-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ng-acento-suave); color: var(--ng-azul); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.1rem; }
.ng-avatar svg { width: 22px; height: 22px; }
.ng-avatar-oro { background: var(--ng-oro); color: #2b2000; }
.ng-avatar-plata { background: #d9dee2; color: #37424a; }
.ng-avatar-bronce { background: #d9a673; color: #4a2a0a; }
.ng-persona { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--ng-borde); }
.ng-persona:last-child { border-bottom: 0; }
.ng-persona-datos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ng-persona-datos strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-persona .ng-enlace { padding: 0.25rem 0.5rem; }
.ng-posiciones { display: flex; flex-direction: column; gap: 0.5rem; }
.ng-posicion { display: grid; grid-template-columns: 44px 1fr auto; gap: 0.5rem 0.75rem; align-items: center; padding: 0.7rem 0.85rem; background: var(--ng-superficie); border-radius: var(--ng-radio); }
.ng-posicion-yo { box-shadow: 0 0 0 2px var(--ng-azul); }
.ng-posicion-neto { text-align: right; }
.ng-posicion-neto strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.ng-posicion-neto small { font-size: 0.72rem; font-weight: 700; color: var(--ng-texto-suave); text-transform: uppercase; letter-spacing: 0.04em; }
.ng-posicion-meta { font-size: 0.82rem; color: var(--ng-texto-suave); }
.ng-posicion-ultima { grid-column: 1 / 4; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; color: var(--ng-texto-suave); border-top: 1px dashed var(--ng-borde); padding-top: 0.45rem; }
.ng-posicion-ultima strong { color: var(--ng-texto); }
.ng-posicion-ultima > span { display: inline-flex; align-items: center; gap: 0.3rem; }
.ng-posicion-ultima svg { width: 18px; height: 18px; }

/* Insignias (página) */
.ng-insignias-resumen { margin: 0 0 1rem; }
.ng-insignia .ng-insignia-fecha { font-size: 0.7rem; color: var(--ng-oro-texto); font-weight: 700; }

/* Compartir */
.ng-vista-previa { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 60vh; object-fit: contain; border-radius: 16px; box-shadow: var(--ng-sombra); background: var(--ng-marino); pointer-events: none; margin-bottom: 0.75rem; }
.ng-opciones-compartir { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.75rem 0; }
.ng-opciones-compartir .ng-casilla { min-height: 44px; align-items: center; }

/* ═══ La app se explica sola (D-050): términos con ?, hoja inferior, glosario, "¿Por qué tengo este índice?" ═══ */
.ng-termino { display: inline; position: relative; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-decoration-color: var(--ng-acento); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
/* Área táctil de al menos 44 px de alto sin mover el texto (D-062) */
.ng-termino::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; min-width: 44px; transform: translateY(-50%); }
.ng-termino-icono { display: inline-flex; align-items: center; justify-content: center; width: 1.15em; height: 1.15em; margin-left: 0.2em; border-radius: 50%; font-size: 0.75em; font-weight: 800; background: var(--ng-acento); color: var(--ng-sobre-accion); vertical-align: 0.05em; line-height: 1; }
/* Ya vista: "?" contorneado, discreto */
.ng-termino.vista .ng-termino-icono { background: transparent; color: var(--ng-acento); box-shadow: inset 0 0 0 1.5px var(--ng-acento); }
/* El dato que se está explicando: resaltado mientras la hoja está abierta */
.ng-explicado { outline: 3px solid var(--ng-oro); outline-offset: 3px; border-radius: 6px; }

.ng-hoja-fondo { position: fixed; inset: 0; background: rgb(25 31 40 / 0.28); z-index: 950; display: flex; align-items: flex-end; justify-content: center; animation: ng-aparecer 200ms ease both; }
.ng-hoja { background: var(--ng-superficie); color: var(--ng-texto); width: 100%; max-width: 34rem; max-height: 55vh; font-size: 1.05rem; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 0.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgb(0 0 0 / 0.3); animation: ng-subir 260ms cubic-bezier(.2,.8,.2,1) both; outline: none; }
@keyframes ng-subir { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ng-hoja-asa { width: 40px; height: 5px; border-radius: 999px; background: var(--ng-borde); margin: 0.25rem auto 0.5rem; }
.ng-hoja-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.ng-hoja-cabeza h2 { margin: 0; font-size: 1.3rem; }
.ng-hoja-cerrar { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ng-superficie-2); color: var(--ng-texto); font-size: 1.1rem; cursor: pointer; flex: none; }
.ng-hoja h3 { margin: 0.9rem 0 0.2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ng-texto-suave); }
.ng-hoja p { margin: 0; }
.ng-hoja-numeros { padding: 0.6rem 0.8rem; border-radius: 12px; background: var(--ng-acento-suave); font-weight: 700; overflow-wrap: anywhere; }
.ng-hoja-pie { margin-top: 1rem !important; }
.ng-glosario { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.ng-glosario-item { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; padding: 0.75rem 1rem; min-height: 48px; border: 0; border-radius: var(--ng-radio); background: var(--ng-superficie); color: var(--ng-texto); font: inherit; cursor: pointer; }
.ng-glosario-item span { font-size: 0.9rem; color: var(--ng-texto-suave); }
.ng-buscar input[type="search"] { -webkit-appearance: none; }
.ng-pasos { padding-left: 1.2rem; margin: 0.25rem 0; } .ng-pasos li { margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.ng-scores-explicados { display: flex; flex-direction: column; gap: 0.35rem; }
.ng-score-explicado { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0.6rem; border-radius: 12px; background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-score-explicado.cuenta { background: var(--ng-acento-suave); color: var(--ng-texto); }
.ng-score-marca { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.cuenta .ng-score-marca { background: var(--ng-acento); color: var(--ng-sobre-accion); }
.ng-score-datos { display: flex; flex-direction: column; min-width: 0; }
.ng-score-datos a { color: inherit; text-decoration: none; }
.ng-score-datos .ng-ayuda { margin: 0; }
.ng-score-valor { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.ng-score-valor strong { font-size: 1.25rem; font-weight: 800; }
.ng-score-valor small { font-size: 0.72rem; color: var(--ng-texto-suave); }
.ng-hero-enlace { display: inline-block; margin-top: 0.2rem; color: var(--ng-azul); font-weight: 700; min-height: 44px; line-height: 44px; }

/* Estilo A: detalles */
.ng-enlace-pie { font-size: inherit; min-height: 0; padding: 0; text-decoration: underline; color: var(--ng-azul); }
.ng-acceso-ancho { flex-direction: row; justify-content: flex-start; gap: 0.6rem; text-align: left; font-size: 0.95rem; padding: 0.6rem 0.85rem; margin: 0 0 1rem; }
.ng-pie a, .ng-pie .ng-enlace-pie { font-weight: 600; text-decoration: none; }
.ng-volver { text-decoration: none; }
.ng-codigo-enlace { margin: 0.5rem 0; padding: 0.6rem 0.8rem; border-radius: 12px; background: var(--ng-superficie-2); overflow-wrap: anywhere; font-size: 0.9rem; }
.ng-codigo-enlace code { font-size: inherit; }
.ng-opciones-compartir + .ng-boton-grande ~ .ng-tarjeta-bloque { margin-top: 1.25rem; }

/* Voz en el campo (D-058) */
.ng-voz { background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.75rem; margin: 0.5rem 0 0.75rem; }
.ng-voz-fila { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ng-voz-mic { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 64px; flex: 1; padding: 0 1.25rem; border: 0; border-radius: 18px; background: var(--ng-azul); color: var(--ng-sobre-accion); font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.ng-voz-mic svg { width: 26px; height: 26px; }
.ng-voz-mic.activo { animation: ng-pulso 1.2s ease-in-out infinite; box-shadow: 0 0 0 4px var(--ng-acento-suave); }
@keyframes ng-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.ng-voz-manos { min-height: 44px; align-items: center; }
.ng-voz-si, .ng-voz-no { flex: 1; margin: 0.5rem 0 0; min-height: 56px; }
.ng-voz-respuesta { font-size: 1.15rem; font-weight: 700; margin: 0.6rem 0 0; }
.ng-voz-nota { margin: 0.25rem 0 0.5rem; }

/* E5 Juegos (D-060) */
.ng-plantilla { display: flex; flex-direction: column; gap: 0.2rem; width: 100%; text-align: left; padding: 0.9rem 1rem; margin-bottom: 0.6rem; border: 2px solid transparent; border-radius: var(--ng-radio); background: var(--ng-superficie); color: var(--ng-texto); font: inherit; cursor: pointer; min-height: 48px; }
.ng-plantilla:active { border-color: var(--ng-azul); }
.ng-acepta { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 0 1rem; margin-bottom: 0.5rem; border: 2px solid var(--ng-borde); border-radius: 16px; background: var(--ng-superficie); color: var(--ng-texto); font: inherit; font-weight: 700; cursor: pointer; }
.ng-acepta strong { color: var(--ng-texto-suave); font-size: 0.9rem; }
.ng-acepta.si { border-color: var(--ng-azul); background: var(--ng-acento-suave); }
.ng-acepta.si strong { color: var(--ng-marino); }
.ng-saldos { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 0.5rem; margin: 0.25rem 0 0.75rem; }
.ng-saldo { display: flex; flex-direction: column; padding: 0.55rem 0.7rem; border-radius: 14px; background: var(--ng-superficie-2); }
.ng-saldo span { font-size: 0.8rem; font-weight: 700; color: var(--ng-texto-suave); }
.ng-saldo strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ng-saldo.gana strong { color: var(--ng-marino); }
.ng-saldo.pierde strong { color: var(--ng-error); }
.ng-partido { padding: 0.6rem 0; border-bottom: 1px solid var(--ng-borde); }
.ng-partido:last-child { border-bottom: 0; }
.ng-hoyos-partido { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin: 0.4rem 0; font-variant-numeric: tabular-nums; }
.ng-hoyos-partido span { height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-hoyos-partido span.a { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-hoyos-partido span.b { background: var(--ng-texto); color: var(--ng-superficie); }
.ng-hoyos-partido span.golpe { box-shadow: inset 0 -3px 0 var(--ng-oro); }
.ng-chip-juego { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.8rem; margin: 0 0 0.6rem; border-radius: 14px; background: var(--ng-superficie); color: var(--ng-texto); text-decoration: none; font-weight: 700; box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-chip-juego svg { width: 20px; height: 20px; color: var(--ng-oro-texto); flex: none; }
.ng-chip-juego span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Ayuda nivel 2 (D-062) ── */
.ng-hero-enlaces { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.ng-hero-enlaces .ng-hero-enlace { min-height: 44px; display: inline-flex; align-items: center; }
.ng-cambio-titular { font-size: 1.1rem; margin: 0 0 0.5rem; }
.ng-detalles-bloque > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.ng-detalles-bloque > summary::-webkit-details-marker { display: none; }
.ng-detalles-bloque > summary h2 { margin: 0; }
.ng-detalles-bloque > summary h2::after { content: " ›"; color: var(--ng-azul); }
.ng-detalles-bloque[open] > summary h2::after { content: " ⌄"; }
.ng-detalles-bloque[open] > summary .ng-ayuda { display: none; }
.ng-aviso-error { border: 1px solid var(--ng-error); border-left-width: 5px; border-radius: var(--ng-radio-chico); padding: 0.85rem 1rem; margin: 0.75rem 0; background: var(--ng-error-suave); color: var(--ng-texto); }
.ng-aviso-error strong { display: block; color: var(--ng-error); font-size: 1.05rem; margin-bottom: 0.25rem; }
.ng-aviso-error p { margin: 0.25rem 0; }
.ng-aviso-error-acciones { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin-top: 0.6rem; }
.ng-aviso-error-acciones > * { min-height: 44px; display: inline-flex; align-items: center; }
.ng-lista-enlaces { list-style: none; padding: 0; margin: 0; }
.ng-lista-enlaces li { border-top: 1px solid var(--ng-borde); }
.ng-lista-enlaces li:first-child { border-top: 0; }
.ng-lista-enlaces a, .ng-lista-enlaces button { display: flex; align-items: center; min-height: 48px; width: 100%; font-size: 1.02rem; text-align: left; }
.ng-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ng-primeros-pasos .ng-pp-cabeza { display: flex; justify-content: space-between; align-items: baseline; }
.ng-primeros-pasos h2 { margin: 0; }
.ng-pp-barra { height: 8px; border-radius: 999px; background: var(--ng-acento-suave); overflow: hidden; margin: 0.6rem 0 0.4rem; }
.ng-pp-barra i { display: block; height: 100%; background: var(--ng-azul); border-radius: 999px; transition: width 0.4s ease; }
.ng-pp-lista { list-style: none; padding: 0; margin: 0; }
.ng-pp-lista li { display: flex; gap: 0.75rem; align-items: center; min-height: 52px; border-top: 1px solid var(--ng-borde); }
.ng-pp-lista li:first-child { border-top: 0; }
.ng-pp-marca { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ng-borde); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
.ng-pp-lista li.hecho .ng-pp-marca { background: var(--ng-azul); border-color: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-pp-lista li.hecho s { color: var(--ng-texto-suave); }
.ng-pp-lista a { display: flex; flex-direction: column; flex: 1; min-height: 52px; justify-content: center; font-weight: 700; color: var(--ng-texto); text-decoration: none; }
.ng-pp-lista a::after { content: ""; }
.ng-pp-lista a small { font-weight: 400; color: var(--ng-texto-suave); font-size: 0.9rem; }
.ng-pp-ocultar { min-height: 44px; margin-top: 0.25rem; font-size: 0.9rem; }
.ng-recorrido { position: fixed; left: 12px; right: 12px; z-index: 60; max-width: 520px; margin: 0 auto; background: var(--ng-superficie); color: var(--ng-texto); border: 2px solid var(--ng-azul); border-radius: var(--ng-radio); padding: 1rem 1.1rem; box-shadow: 0 10px 30px rgb(25 31 40 / 0.22); font-size: 1.05rem; }
.ng-recorrido-abajo { bottom: calc(12px + env(safe-area-inset-bottom)); }
.ng-recorrido-medio { padding: 0.7rem 1rem; font-size: 1rem; }
.ng-recorrido-medio h2 { font-size: 1.05rem; margin: 0.05rem 0 0.25rem; }
.ng-recorrido-medio p { margin: 0 0 0.45rem; line-height: 1.35; }
.ng-recorrido-arriba { top: calc(12px + env(safe-area-inset-top)); }
.ng-recorrido h2 { margin: 0.15rem 0 0.35rem; font-size: 1.15rem; }
.ng-recorrido p { margin: 0 0 0.75rem; line-height: 1.45; }
.ng-recorrido-cuenta { font-size: 0.85rem; color: var(--ng-texto-suave); font-weight: 700; }
.ng-recorrido-acciones { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ng-recorrido-acciones > * { min-height: 44px; }
.ng-vacio-ejemplo { background: var(--ng-acento-suave); border-radius: var(--ng-radio-chico); padding: 0.6rem 0.8rem; text-align: left; font-size: 0.98rem; }
.ng-video { margin: 0; }
.ng-video video, .ng-video-miniatura { display: block; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; border-radius: var(--ng-radio); background: var(--ng-acento-suave); }
.ng-video-compacto video, .ng-video-compacto .ng-video-miniatura { max-width: 240px; }
.ng-video-miniatura { position: relative; padding: 0; border: 0; overflow: hidden; cursor: pointer; }
.ng-video-miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ng-video-boton { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--ng-azul); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; padding-left: 4px; box-shadow: 0 6px 20px rgb(25 31 40 / 0.3); }
.ng-video-aviso { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgb(25 31 40 / 0.85); color: #fff; border-radius: 10px; padding: 0.5rem; font-weight: 700; font-size: 0.95rem; }
.ng-video figcaption { margin-top: 0.4rem; font-size: 0.98rem; }
.ng-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.ng-video-renglon { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; border: 0; background: none; color: var(--ng-azul); font: inherit; font-weight: 700; padding: 0; cursor: pointer; }
.ng-video-play { width: 28px; height: 28px; border-radius: 50%; background: var(--ng-acento-suave); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; padding-left: 2px; }
.ng-resultados-ayuda { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.ng-etiqueta-tipo { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ng-azul); }
.ng-tema { border-top: 1px solid var(--ng-borde); }
.ng-tema:first-of-type { border-top: 0; }
.ng-tema > summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.ng-tema[open] > summary { color: var(--ng-azul); }
/* Celebraciones con sonido (D-063): silencio rápido en la ronda en vivo y página de prueba /perfil/sonidos. */
.ng-cabeza-derecha { display: flex; align-items: center; gap: 0.5rem; }
.ng-boton-icono { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--ng-acento-suave); color: var(--ng-marino); cursor: pointer; }
.ng-boton-icono svg { width: 22px; height: 22px; }
.ng-boton-icono.apagado { background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-casilla-ajuste { min-height: 48px; align-items: center; }
.ng-botones-celebracion { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.ng-botones-celebracion .ng-boton { min-height: 48px; }
/* Juego del día: pregunta del hoyo de inicio (D-064). */
.ng-opcion-inicio { border-color: var(--ng-borde); }
.ng-opcion-inicio strong { font-size: 1.1rem; }
.ng-enlace-corto { min-height: 0; padding: 0 0.25rem; font-size: inherit; }
/* Saldos con reglas sin aceptar: se ven, pero marcados como que no cuentan. */
.ng-aviso-pendiente { margin: 0 0 0.75rem; padding: 0.6rem 0.8rem; border-radius: var(--ng-radio-chico); background: #fde8c8; color: #6b3a00; font-size: 0.95rem; }
.ng-pendiente .ng-saldos { opacity: 0.6; }
/* Rondas en vivo, "Jugando ahora" (D-065). Avatar con anillo de avance de hoyos (conic-gradient), tarjetas del estilo A. */
.ng-vivo { margin: 0.5rem 0 1rem; }
.ng-vivo-cabeza { display: flex; justify-content: space-between; align-items: center; }
.ng-vivo-cabeza h2 { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.5rem; font-size: 1.15rem; }
.ng-enlace-chico { font-weight: 700; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ng-vivo-punto { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #d93025; box-shadow: 0 0 0 3px rgb(217 48 37 / 0.18); flex: none; }
@media (prefers-reduced-motion: no-preference) { .ng-vivo-punto { animation: ng-pulso 1.6s ease-in-out infinite; } }
.ng-vivo-lista { display: grid; gap: 0.6rem; }
.ng-vivo-tarjeta { background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.75rem 0.9rem; }
.ng-vivo-enlace { display: grid; grid-template-columns: 52px 1fr auto; gap: 0.75rem; align-items: center; color: var(--ng-texto); text-decoration: none; min-height: 52px; }
.ng-vivo-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ng-azul) calc(var(--p) * 1%), var(--ng-superficie-2) 0); }
.ng-vivo-avatar span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ng-acento-suave); color: var(--ng-marino); font-weight: 800; font-size: 1.15rem; }
.ng-vivo-datos { display: flex; flex-direction: column; min-width: 0; }
.ng-vivo-datos strong { font-size: 1.05rem; }
.ng-vivo-club { font-size: 0.9rem; color: var(--ng-texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ng-vivo-score { font-size: 1.6rem; font-weight: 800; color: var(--ng-texto); }
.ng-vivo-score.bajo { color: var(--ng-marino); }
.ng-vivo-momento { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.5rem; padding: 0.35rem 0.6rem; border-left: 3px solid var(--ng-oro); background: var(--ng-superficie-2); border-radius: 10px; font-weight: 700; font-size: 0.95rem; }
.ng-vivo-momento > span { display: inline-flex; align-items: center; gap: 0.35rem; }
.ng-vivo-momento svg { width: 18px; height: 18px; color: var(--ng-oro-texto); }
.ng-vivo-momento-grande { min-height: 52px; font-size: 1.02rem; }
.ng-aplauso { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; min-width: 64px; justify-content: center; border: 0; border-radius: 999px; background: var(--ng-superficie); color: var(--ng-marino); font: inherit; font-weight: 800; cursor: pointer; }
.ng-aplauso svg { width: 20px; height: 20px; color: currentColor; }
.ng-aplauso.dado { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-aviso-vivo { display: flex; align-items: center; gap: 0.6rem; background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.4rem 0.4rem 0.4rem 0.9rem; margin: 0.5rem 0; font-weight: 700; }
.ng-aviso-vivo > span:nth-child(2) { flex: 1; }
.ng-tabla-vivo { overflow-x: auto; }
.ng-tabla-vivo table { border-collapse: collapse; width: 100%; text-align: center; font-size: 0.95rem; margin-bottom: 0.5rem; }
.ng-tabla-vivo th, .ng-tabla-vivo td { padding: 0.25rem 0.1rem; }
.ng-tabla-vivo th:first-child, .ng-tabla-vivo td:first-child { text-align: left; font-size: 0.75rem; color: var(--ng-texto-suave); text-transform: uppercase; }
.ng-tabla-vivo th.actual { color: var(--ng-sobre-accion); background: var(--ng-azul); border-radius: 8px; }
/* Directorio de campos y GPS (D-066). */
.ng-campos-acciones { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin: 0.5rem 0; }
.ng-campos-acciones .ng-segmentado { flex: 1; min-width: 180px; }
.ng-cerca { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.ng-cerca svg { width: 18px; height: 18px; }
.ng-directorio { list-style: none; padding: 0; margin: 0.5rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.ng-campo-fila { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.75rem 0.9rem; }
.ng-campo-fila .ng-boton { min-height: 44px; white-space: nowrap; }
.ng-campo-datos { display: flex; flex-direction: column; min-width: 0; gap: 0.15rem; }
.ng-campo-chips { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.ng-chip-estado { font-size: 0.75rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--ng-superficie-2); color: var(--ng-texto-suave); }
.ng-chip-estado.verificado { background: var(--ng-acento-suave); color: var(--ng-marino); }
.ng-chip-estado.gps { background: var(--ng-superficie-2); color: var(--ng-texto); }
.ng-mapa { height: 60vh; min-height: 320px; border-radius: var(--ng-radio); overflow: hidden; background: var(--ng-superficie-2); margin: 0.5rem 0; }
.ng-punto-mapa { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #8b95a1; vertical-align: middle; }
.ng-punto-mapa.verificado { background: var(--ng-azul); }
.ng-atribucion { font-size: 0.8rem; color: var(--ng-texto-suave); margin-top: 1rem; }
.ng-gps { background: var(--ng-superficie); border-radius: var(--ng-radio); padding: 0.6rem 0.8rem; margin: 0.5rem 0; }
.ng-gps-nota { margin: 0.25rem 0; }
.ng-gps-fila { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 0.5rem; text-align: center; }
.ng-gps-fila small { display: block; font-size: 0.75rem; font-weight: 700; color: var(--ng-texto-suave); text-transform: uppercase; letter-spacing: 0.04em; }
.ng-gps-fila strong { font-size: 1.9rem; font-weight: 800; color: var(--ng-texto); }
.ng-gps-fila .centro strong { font-size: 2.6rem; color: var(--ng-marino); }
.ng-gps-pie { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.ng-gps-precision { color: var(--ng-texto-suave); }
.ng-gps-precision.baja { color: #8a4b00; font-weight: 700; }
.ng-gps-pregunta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--ng-borde); font-weight: 700; }
.ng-gps-pregunta span { flex: 1; min-width: 160px; }
.ng-gps-pregunta .ng-boton { min-height: 44px; min-width: 64px; }

/* ── App nativa (D-069): barra de pestañas inferior y márgenes de la pantalla del teléfono ── */
.ng-app-nativa .ng-contenido { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.ng-pestanas { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; align-items: stretch;
    background: var(--ng-superficie); border-top: 1px solid var(--ng-borde); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.ng-pestanas a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
    color: var(--ng-texto-suave); text-decoration: none; font-size: 0.72rem; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.ng-pestanas a.activa { color: var(--ng-azul); }
.ng-pestana-icono svg { width: 24px; height: 24px; }
.ng-pestana-jugar .ng-pestana-icono { width: 48px; height: 48px; margin-top: -18px; border-radius: 50%; background: var(--ng-azul); color: var(--ng-sobre-accion);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgb(55 96 214 / 0.35); }
.ng-pestana-jugar.activa { color: var(--ng-azul); }
.ng-app-nativa .ng-hoja { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }

/* Captura de clase mundial (bloque A, D-079): grupo en una tarjeta, teclado de 1 toque centrado en el par, tarjeta completa */
.ng-zona-hoyo { touch-action: pan-y; }
.ng-jugadores { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.4rem; margin: 0.5rem 0; }
.ng-jugador-chip { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; min-height: 64px; padding: 0.4rem 0.3rem; border: 2px solid transparent; border-radius: 14px; background: var(--ng-superficie); color: var(--ng-texto); font-family: inherit; cursor: pointer; }
.ng-jugador-chip.activo { border-color: var(--ng-azul); background: var(--ng-acento-suave); }
.ng-jugador-chip-nombre { font-weight: 700; font-size: 0.85rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-jugador-chip strong { font-size: 1.4rem; font-weight: 800; line-height: 1.1; min-width: 1.8rem; text-align: center; }
.ng-jugador-chip small { font-size: 0.75rem; color: var(--ng-texto-suave); font-weight: 700; }
.ng-teclado-bloque { background: var(--ng-superficie); border: 2px solid transparent; border-radius: 18px; padding: 0.75rem; margin-bottom: 0.75rem; }
.ng-teclado-bloque.ng-jugador-yo { border-color: var(--ng-azul); border-width: 3px; }
.ng-teclado-cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.ng-teclado-valor { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.ng-teclado-valor small { font-size: 0.95rem; font-weight: 700; color: var(--ng-texto-suave); }
.ng-teclado { display: grid; gap: 0.4rem; }
.ng-teclado-grandes { grid-template-columns: repeat(3, 1fr); }
.ng-teclado-chicas { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0.4rem; }
.ng-tecla { min-height: 48px; border: 0; border-radius: 12px; background: var(--ng-superficie-2); color: var(--ng-texto); font-size: 1.15rem; font-weight: 800; font-family: inherit; cursor: pointer; padding: 0; font-variant-numeric: tabular-nums; }
.ng-tecla:active { transform: scale(0.96); }
.ng-tecla-grande { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; border-radius: 16px; }
.ng-tecla-grande strong { font-size: 2rem; line-height: 1; }
.ng-tecla-grande span { font-size: 1.2rem; font-weight: 700; color: var(--ng-texto); }   /* O-022: texto grande en negrita (≥ 18.7 px) y color pleno: contraste AAA (4.5:1 para texto grande) en el teclado de score */
.ng-tecla.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-tecla.activo span { color: var(--ng-sobre-accion); }
.ng-tecla-grande.ng-g-birdie:not(.activo) { box-shadow: inset 0 0 0 2px var(--ng-azul); }
.ng-tecla-grande.ng-g-bogey:not(.activo) { box-shadow: inset 0 0 0 2px var(--ng-texto-suave); }
.ng-gir { margin: 0.5rem 0 0; font-weight: 700; }
.ng-gir-si { color: var(--ng-marino); }
.ng-hoja-tarjeta { max-height: 85vh; overflow: auto; }
.ng-tarjeta-grupo-marco { overflow-x: auto; }
.ng-tarjeta-grupo th, .ng-tarjeta-grupo td { text-align: center; padding: 0.15rem 0.2rem; }
.ng-tarjeta-grupo tr.actual th, .ng-tarjeta-grupo tr.actual td { background: var(--ng-acento-suave); }
.ng-celda { min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ng-texto); font-weight: 800; font-size: 1.05rem; font-family: inherit; cursor: pointer; font-variant-numeric: tabular-nums; }
.ng-celda small { font-weight: 600; color: var(--ng-texto-suave); font-size: 0.75rem; }
.ng-celda.ng-g-birdie { box-shadow: inset 0 0 0 2px var(--ng-azul); border-radius: 50%; }
.ng-celda.ng-g-eagle { box-shadow: inset 0 0 0 2px var(--ng-oro); border-radius: 50%; }
.ng-celda.ng-g-bogey { box-shadow: inset 0 0 0 2px var(--ng-texto-suave); border-radius: 6px; }
.ng-celda.ng-g-doble { box-shadow: inset 0 0 0 2px var(--ng-error); border-radius: 6px; }
.ng-resumen-fin { margin-top: 0.75rem; }
.ng-resumen-fin .ng-ayuda { margin: 0; }
.ng-mejor-hoyo { margin: 0.6rem 0 0; font-weight: 700; }

/* Notas por hoyo y por ronda (A4, D-080) */
.ng-nota { margin-top: 0.5rem; }
.ng-nota-fila { display: flex; gap: 0.5rem; align-items: flex-start; }
.ng-nota-fila textarea { flex: 1; resize: vertical; font-family: inherit; }
.ng-nota-ronda { background: var(--ng-superficie); border-radius: 18px; padding: 0.6rem 0.75rem; margin: 0.5rem 0; }
.ng-nota-ronda summary { font-weight: 700; min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.ng-nota-ronda .ng-nota-fila { margin-top: 0.4rem; }
.ng-boton-icono.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-nota-texto { white-space: pre-wrap; margin: 0.25rem 0 0.5rem; }

/* ── Estadísticas completas (bloque B, D-084) ── */
.ng-modulos { display: block; }
.ng-modulo { border-top: 1px solid var(--ng-borde); padding: 0.55rem 0; }
.ng-modulo:first-child { border-top: 0; }
.ng-modulo-nombre { margin: 0; font-weight: 600; }
.ng-modulo-valores { display: flex; gap: 1.25rem; margin-top: 0.25rem; align-items: flex-start; }
.ng-modulo-valores > span { display: flex; flex-direction: column; min-width: 4.2rem; font-size: 1rem; }
.ng-modulo-valores small { font-size: 0.72rem; color: var(--ng-texto-suave); text-transform: uppercase; letter-spacing: 0.03em; }
.ng-modulo-valores strong { font-size: 1.25rem; }
.ng-modulo-explica { display: block; margin: 0.1rem 0 0; font-size: 0.8rem; font-weight: 400; }
.ng-ayuda-grupo { margin: 0 0 0.5rem; padding: 0.35rem 0.75rem; border-left: 3px solid var(--ng-acento); }
.ng-ayuda-grupo p { margin: 0.2rem 0; }
.ng-delta { display: block; margin: 0; font-size: 0.78rem; font-style: normal; color: var(--ng-texto-suave); }
.ng-practicar-area { border-top: 1px solid var(--ng-borde); padding-top: 0.6rem; margin-top: 0.6rem; }
.ng-practicar-area p { margin: 0.2rem 0; }
.ng-practicar-n { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ng-azul); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
/* La historia de la ronda (D-233) y Todas mis notas */
.ng-historia-lista { margin: 0; display: grid; gap: 0.55rem; }
.ng-historia-momento dt { font-weight: 700; font-size: 0.9rem; color: var(--ng-texto-suave); }
.ng-historia-momento dd { margin: 0.1rem 0 0; }
.ng-historia h3 { margin: 1rem 0 0; font-size: 1rem; }
.ng-nota-item a { display: block; color: inherit; text-decoration: none; padding: 0.55rem 0; border-top: 1px solid var(--ng-borde); }
.ng-nota-item:first-child a { border-top: 0; }
.ng-nota-item small { display: block; color: var(--ng-texto-suave); }
.ng-nota-item .ng-nota-texto { display: block; margin: 0.15rem 0; }
/* Escritorio (B4): la página se abre a lo ancho y los grupos de módulos van en columnas. */
@media (min-width: 60rem) {
    .ng-contenido:has(.ng-estadisticas) { max-width: 78rem; }
    .ng-estadisticas .ng-modulos { columns: 2; column-gap: 1rem; }
    .ng-estadisticas .ng-modulos .ng-tarjeta-bloque { break-inside: avoid; }
}
@media (min-width: 90rem) { .ng-estadisticas .ng-modulos { columns: 3; } }

/* Botón de par de la captura: el texto principal no se parte ("›" solo en la segunda línea); "(un toque = par)" baja si no cabe. */
.ng-juego-pie .ng-boton-grande { flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.1rem 0.6rem; }
.ng-juego-pie .ng-boton-grande > span:first-child { max-width: 100%; }   /* sin nowrap: con texto del sistema al 200 % baja de renglón en vez de salirse (O-022) */

/* Captura por hoyo de Wolf, Bingo Bango Bongo y Banquero (O-007): fichas de un toque, solo con ese juego activo. */
.ng-marcas { margin: 0 0 0.6rem; padding: 0.5rem 0.7rem; border-radius: 14px; background: var(--ng-superficie); box-shadow: inset 4px 0 0 var(--ng-oro); }
.ng-marca-grupo + .ng-marca-grupo { margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--ng-borde); }
.ng-marca-grupo h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.ng-marca-fila { margin: 0.3rem 0; }
.ng-marca-fila > span { display: block; font-size: 0.82rem; color: var(--ng-texto-suave); margin-bottom: 0.2rem; }
.ng-marca-fichas { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ng-ficha-marca { min-height: 44px; min-width: 56px; padding: 0.3rem 0.7rem; border: 0; border-radius: 12px; background: var(--ng-superficie-2); color: var(--ng-texto); font: inherit; font-weight: 700; cursor: pointer; }
.ng-ficha-marca.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }

/* Copa por equipos (O-008 D2): azul contra rojo. */
.ng-copa-marcador { display: flex; align-items: baseline; justify-content: center; gap: 0.8rem; font-size: 1.3rem; margin: 0.3rem 0; }
.ng-copa-marcador strong { font-size: 2.4rem; letter-spacing: -0.03em; }
.ng-equipo-azul { color: var(--ng-azul); font-weight: 800; }
.ng-equipo-rojo { color: #b3261e; font-weight: 800; }
.ng-partido-copa { padding: 0.55rem 0; border-top: 1px solid var(--ng-borde); }

/* Ritmo de juego y "contra tu mejor ronda" (A10, A11, D-108) */
.ng-ritmo-fantasma { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.4rem 0 0.2rem; align-items: center; }
.ng-ritmo-fantasma .ng-mejor { color: var(--ng-azul); }
.ng-ritmo-fantasma .ng-peor { color: var(--ng-error); }
.ng-ritmo svg, .ng-ritmo-texto svg { width: 1em; height: 1em; vertical-align: -0.15em; }
.ng-ritmo-texto { margin: 0.6rem 0 0; }

/* Favoritos y "por jugar" en la tarjeta del campo (O-015 F4, D-110) */
.ng-marcas-campo { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.4rem 0 0.8rem; }
.ng-chip-marca { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; border: 1.5px solid var(--ng-borde); background: var(--ng-superficie); color: var(--ng-texto); font: inherit; font-weight: 600; }
.ng-chip-marca svg { width: 1.1em; height: 1.1em; }
.ng-chip-marca.activo { border-color: var(--ng-azul); color: var(--ng-azul); background: var(--ng-acento-suave); }
.ng-mis-campos h2 svg { width: 1em; height: 1em; vertical-align: -0.1em; }

/* Resumen del año en Inicio (O-015 C14, D-111) */
.ng-resumen-anio h2 { margin: 0 0 0.4rem; }
.ng-resumen-anio-linea { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0; }
.ng-resumen-anio-linea strong { font-size: 1.25rem; }

/* Rey del campo y comentarios en vivo (O-015 E13/E4, D-114) */
.ng-rey-campo h2 svg { width: 1em; height: 1em; vertical-align: -0.1em; }
.ng-comentarios-vivo ul { margin: 0 0 0.6rem; }

/* Por dónde se falló el green (C10, D-115) */
.ng-chips-fallo { display: inline-flex; gap: 0.3rem; margin-left: 0.5rem; vertical-align: middle; }
.ng-chips-fallo button { min-width: 40px; min-height: 40px; }

/* Salida: palo y metros medidos (shot tracker, D-116) */
.ng-dato-salida { flex-wrap: wrap; }
.ng-dato-tipo-penalidad, .ng-dato-tipo-bunker { flex-wrap: wrap; }   /* D-235: en 375 px los tres tipos bajan de renglón en vez de salirse */
.ng-chips-palo button { padding: 0 0.6rem; font-size: 0.95rem; }
.ng-salida-metros { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; width: 100%; margin-top: 0.3rem; }
.ng-medir-tiro { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

/* Mi cuenta: borrar (O-018) */
.ng-peligro { color: var(--ng-error); }
.ng-aviso-peligro { border: 2px solid var(--ng-error); }
.ng-aviso-peligro input { width: 100%; margin: 0.4rem 0 0.8rem; min-height: 44px; }

/* Accesibilidad (O-022): texto solo para lectores de pantalla; el nombre accesible de un botón siempre incluye lo que se ve. */
.ng-solo-lectores { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Áreas de toque de al menos 44 px en la captura sin mover el diseño (hoyo con una mano). */
.ng-juego .ng-volver { display: inline-flex; align-items: center; min-height: 44px; min-width: 48px; }
.ng-juego .ng-enlace-corto { min-height: 44px; display: inline-flex; align-items: center; padding: 0 0.5rem; }
/* Contraste AAA (7:1) en la pantalla de captura (O-022, D-137): el azul de marca (#3760d6, 5.5:1) queda para el resto de la app;
   aquí, donde se anota con sol, el texto azul y los botones llevan el azul "marino" (8.4:1 en claro; en oscuro el celeste claro con texto oscuro). */
.ng-juego a, .ng-juego .ng-enlace, .ng-juego .ng-volver { color: var(--ng-marino); }
.ng-juego .ng-par-chip, .ng-juego .ng-boton:not(.ng-boton-secundario) { background: var(--ng-marino); }
.ng-juego .ng-boton:not(.ng-boton-secundario) { color: var(--ng-sobre-accion); }
.ng-jugador-chip.activo small { color: var(--ng-texto); }
/* Texto del sistema al 200 % (O-022): las filas de datos de la captura bajan de renglón en lugar de salirse de la pantalla. */
.ng-dato { flex-wrap: wrap; }
.ng-chips-grandes { flex-wrap: wrap; }
.ng-juego .ng-casilla { min-height: 44px; align-items: center; }   /* toda la fila es área de toque (Manos libres) */
.ng-juego .ng-termino-icono { background: var(--ng-marino); }
.ng-juego .ng-termino.vista .ng-termino-icono { background: transparent; color: var(--ng-marino); box-shadow: inset 0 0 0 1.5px var(--ng-marino); }
.ng-juego .ng-sync-sincronizado { color: var(--ng-texto); }   /* "✓ Sincronizado": AAA también en oscuro */

/* Aviso de lo que aún no se envió (O-041): siempre visible en Inicio y Mis rondas; más fuerte pasado un día. */
.ng-sin-enviar { border: 1px solid var(--ng-oro, #b8860b); border-left-width: 5px; border-radius: var(--ng-radio-chico); padding: 0.75rem 1rem; margin: 0.75rem 0; background: var(--ng-aviso-fondo); color: var(--ng-texto); }
.ng-sin-enviar p { margin: 0 0 0.5rem; }
.ng-sin-enviar-urgente { border-color: var(--ng-error); }
.ng-sin-enviar-urgente .ng-sin-enviar-texto { font-weight: 700; }
.ng-sin-enviar-consejo { font-size: 0.9rem; color: var(--ng-texto-suave); }
.ng-sin-enviar-boton { min-height: 44px; }

/* Captura con el patrón de GOLREF-1 (O-043, D-162): una pantalla por hoyo sin desplazar, fila por jugador con la marca clásica,
   teclado que se pliega al anotar, estadísticas en renglones compactos, accesos chicos a voz, GPS y juego. */
.ng-tira-compacta { padding: 0.25rem 0; gap: 0.25rem; }
.ng-tira-compacta button { flex: 0 0 44px; height: 44px; font-size: 0.95rem; }
.ng-hoyo-cabeza-compacta { display: flex; align-items: center; gap: 0.25rem; margin: 0.15rem 0 0.35rem; }
.ng-hoyo-cabeza-compacta .ng-hoyo-cabeza-texto { flex: 1; min-width: 0; text-align: center; }
.ng-hoyo-cabeza-compacta h1 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.ng-hoyo-cabeza-compacta .ng-par-chip { font-size: 0.95rem; padding: 0.1rem 0.6rem; }
.ng-par-chip-editable { border: 0; font-family: inherit; cursor: pointer; min-height: 44px; padding: 0.1rem 0.9rem !important; }
.ng-hoyo-cabeza-compacta .ng-hoyo-datos { margin: 0; font-size: 0.95rem; }
.ng-flecha-hoyo { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ng-superficie); color: var(--ng-marino); font-size: 1.6rem; font-weight: 800; font-family: inherit; cursor: pointer; line-height: 1; }
.ng-flecha-hoyo:disabled { opacity: 0.35; cursor: default; }
.ng-filas-jugadores { display: flex; flex-direction: column; gap: 0.3rem; margin: 0 0 0.4rem; }
.ng-fila-jugador.ng-jugador-chip { flex-direction: row; justify-content: space-between; align-items: center; min-height: 52px; padding: 0.3rem 0.5rem 0.3rem 0.75rem; border-radius: 14px; text-align: left; }
.ng-fila-jugador .ng-fila-datos { display: flex; flex-direction: column; min-width: 0; gap: 0.05rem; }
.ng-fila-jugador .ng-jugador-chip-nombre { font-size: 1rem; }
.ng-fila-jugador small { font-size: 0.8rem; }
.ng-casilla-score { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.4rem; border-radius: 10px; font-size: 1.5rem; font-weight: 800; line-height: 1; background: var(--ng-superficie-2); color: var(--ng-texto); font-variant-numeric: tabular-nums; }
.ng-fila-jugador.activo .ng-casilla-score { background: var(--ng-fondo); }
/* Marca clásica de la tarjeta: círculo birdie, doble círculo eagle, cuadro bogey, doble cuadro doble o peor (F17) */
.ng-casilla-score.ng-g-birdie, .ng-casilla-score.ng-g-eagle { border-radius: 50%; min-width: 44px; padding: 0; }
.ng-casilla-score.ng-g-birdie { box-shadow: inset 0 0 0 3px var(--ng-azul); border: 0; }
.ng-casilla-score.ng-g-eagle { box-shadow: inset 0 0 0 3px var(--ng-azul), inset 0 0 0 5px var(--ng-superficie), inset 0 0 0 7px var(--ng-azul); border: 0; }
.ng-casilla-score.ng-g-par { box-shadow: none; border: 0; }
.ng-casilla-score.ng-g-bogey { box-shadow: inset 0 0 0 3px var(--ng-texto-suave); border: 0; border-radius: 6px; }
.ng-casilla-score.ng-g-doble { box-shadow: inset 0 0 0 3px var(--ng-texto-suave), inset 0 0 0 5px var(--ng-superficie), inset 0 0 0 7px var(--ng-texto-suave); border: 0; border-radius: 6px; }
.ng-teclado-bloque .ng-teclado-cabeza { margin-bottom: 0.35rem; }
.ng-teclado-bloque button.ng-teclado-valor { border: 0; background: var(--ng-superficie-2); font-family: inherit; cursor: pointer; height: 48px; min-width: 48px; font-size: 1.6rem; gap: 0.3rem; }
.ng-teclado-bloque button.ng-teclado-valor small { font-size: 0.85rem; }
.ng-teclado-plegado .ng-teclado-cabeza { margin-bottom: 0; }
.ng-datos-compactos .ng-dato-compacto { margin-top: 0.35rem; }
.ng-chips-compactos button { min-width: 44px; height: 44px; border-radius: 12px; font-size: 1.1rem; }
.ng-chips-compactos.ng-chips-palo button { min-width: 0; padding: 0 0.6rem; font-size: 0.95rem; }
.ng-paso-compacto .ng-paso-boton { width: 44px; height: 44px; font-size: 1.4rem; }
.ng-paso-compacto .ng-paso-valor { min-width: 1.6rem; font-size: 1.2rem; height: 2rem; }
.ng-datos-compactos .ng-gir { margin-top: 0.35rem; font-size: 0.9rem; }
.ng-datos-compactos .ng-gir .ng-chips-fallo { display: inline-flex; margin-left: 0.3rem; vertical-align: middle; }
.ng-datos-compactos .ng-gir .ng-chips-fallo button { min-width: 40px; height: 40px; font-size: 1rem; }
.ng-mas-del-hoyo { margin-top: 0.4rem; }
.ng-mas-del-hoyo > summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--ng-marino); cursor: pointer; list-style: none; }
.ng-mas-del-hoyo > summary::before { content: "›"; display: inline-block; margin-right: 0.4rem; transition: transform 0.15s; }
.ng-mas-del-hoyo[open] > summary::before { transform: rotate(90deg); }
/* Accesos chicos de la captura (O-043): SOLO en la captura (antes pisaban la rejilla de Inicio, O-051). */
.ng-accesos-captura { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0.4rem; }
.ng-accesos-captura .ng-acceso { display: inline-flex; flex-direction: column; justify-content: center; text-align: center; font-size: 0.95rem; color: var(--ng-marino); padding: 0 0.8rem; min-height: 44px; border-radius: 999px; border: 2px solid transparent; gap: 0.35rem; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.8rem; border: 2px solid transparent; border-radius: 999px; background: var(--ng-superficie); color: var(--ng-marino); font-weight: 700; font-family: inherit; font-size: 0.95rem; cursor: pointer; text-decoration: none; }
.ng-accesos-captura .ng-acceso.activo { border-color: var(--ng-marino); background: var(--ng-acento-suave); }
.ng-accesos-captura .ng-acceso svg { width: 20px; height: 20px; color: currentColor; }
.ng-juego .ng-chip-juego.ng-acceso { margin: 0; }
.ng-celda.ng-g-eagle { box-shadow: inset 0 0 0 2px var(--ng-azul), inset 0 0 0 3px var(--ng-superficie), inset 0 0 0 5px var(--ng-azul); border-radius: 50%; border: 0; }
.ng-celda.ng-g-bogey { box-shadow: inset 0 0 0 2px var(--ng-texto-suave); border-radius: 6px; border: 0; }
.ng-celda.ng-g-doble { box-shadow: inset 0 0 0 2px var(--ng-texto-suave), inset 0 0 0 3px var(--ng-superficie), inset 0 0 0 5px var(--ng-texto-suave); border-radius: 6px; border: 0; }
.ng-celda.ng-g-birdie { border: 0; }
/* Teclado más compacto para que la captura quepa en 390×844 con dos jugadores (O-043) */
.ng-juego-compacto .ng-tecla-grande { min-height: 64px; }
.ng-juego-compacto .ng-tecla-grande strong { font-size: 1.8rem; }
.ng-juego-compacto .ng-teclado-chicas { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0.3rem; }
.ng-juego-compacto .ng-teclado-chicas .ng-tecla { min-height: 44px; }
.ng-juego-compacto .ng-teclado-bloque { padding: 0.6rem 0.6rem 0.5rem; margin-bottom: 0.5rem; }
.ng-juego-compacto .ng-juego-pie .ng-enlace { margin-right: 0.75rem; }

/* En la captura la barra de la marca se oculta: la pantalla del hoyo es la app entera (O-043, patrón GOLREF-1); "‹ Salir" lleva de vuelta. */
body:has(.ng-juego-compacto) .ng-barra { display: none; }

/* Captura completa en UNA pantalla sin desplazar (O-044, D-163): a 390×844 con 1 a 4 jugadores caben el teclado, putts, fairway, arena,
   penales y el botón de avanzar. La tira de hoyos pasó a una lista (se abre al tocar "Hoyo N"); lo de una vez por ronda, al menú "⋯". */
.ng-contenido:has(.ng-juego-compacto) { padding: 0.4rem 1rem 0.5rem; }
.ng-juego-compacto .ng-juego-cabeza { min-height: 44px; }
.ng-cabeza-derecha { display: inline-flex; align-items: center; gap: 0.35rem; }
.ng-boton-menu { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.ng-menu-ronda { position: fixed; top: 52px; right: 1rem; left: 1rem; max-width: 30rem; margin: 0 auto; z-index: 940; background: var(--ng-superficie); border: 1px solid var(--ng-borde); border-radius: 16px; padding: 0.4rem 0.9rem 0.7rem; box-shadow: 0 10px 30px rgb(0 0 0 / 0.25); display: flex; flex-direction: column; align-items: flex-start; }
.ng-menu-ronda .ng-enlace { min-height: 48px; display: inline-flex; align-items: center; }
.ng-menu-ronda .ng-aviso { width: 100%; }
.ng-titulo-hoyo { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; padding: 0 0.3rem; min-height: 44px; cursor: pointer; border-radius: 10px; }
.ng-titulo-hoyo span { font-size: 0.8em; color: var(--ng-texto-suave); }
.ng-hoyo-cabeza-compacta { margin: 0 0 0.25rem; }
.ng-hoyo-cabeza-compacta h1 { gap: 0.2rem; }
.ng-tira-lista { flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding: 0.75rem 0; overflow: visible; }
.ng-tira-lista button { flex: 0 0 48px; height: 48px; }
.ng-hoja-hoyos { max-height: 60vh; }
/* Arena y penales en UN renglón: etiqueta y − n + lado a lado */
.ng-dato-doble { justify-content: space-between; }
.ng-dato-doble > .ng-paso-etiquetado { flex-direction: row; align-items: center; gap: 0.3rem; }
.ng-dato-doble > .ng-paso-etiquetado > span { font-size: 0.9rem; }
.ng-datos-compactos .ng-paso-compacto { gap: 0.15rem; }
/* 3 o 4 jugadores: filas en dos columnas (3 → 2 renglones; 4 → 2 renglones) */
.ng-filas-dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; }
.ng-filas-dos-columnas .ng-fila-jugador.ng-jugador-chip { min-height: 48px; padding: 0.2rem 0.4rem 0.2rem 0.6rem; }
.ng-filas-dos-columnas .ng-fila-datos { overflow: hidden; }
.ng-filas-dos-columnas .ng-jugador-chip-nombre, .ng-filas-dos-columnas .ng-fila-datos small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Botón de abajo: una línea */
.ng-juego-compacto .ng-juego-pie { padding: 0.15rem 0 0; }
.ng-juego-compacto .ng-juego-pie .ng-boton-grande { min-height: 52px; font-size: 1.15rem; flex-wrap: nowrap; }
.ng-juego-compacto .ng-juego-pie .ng-boton-grande > span:first-child { max-width: none; }
.ng-accesos-captura { margin: 0.15rem 0 0.3rem; gap: 0.3rem; }
.ng-accesos-captura .ng-acceso { padding: 0 0.65rem; }
.ng-acceso-modo { margin-left: auto; }
.ng-acceso-modo.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-ritmo-bloque { margin-top: 0.4rem; }
.ng-nota-ronda { background: transparent; padding: 0; margin: 0.5rem 0 0; }
.ng-juego-compacto .ng-teclado-bloque { margin-bottom: 0.3rem; }
/* Pantallas bajas (iPhone SE 375×667 y similares): con el teclado abierto se esconden las estadísticas; vuelven al plegarse al anotar. */
@media (max-height: 740px) {
    .ng-juego-compacto .ng-tecla-grande { min-height: 52px; }
    .ng-juego-compacto .ng-teclado-bloque:not(.ng-teclado-plegado) .ng-datos-compactos { display: none; }
    .ng-juego-compacto .ng-teclado-bloque:not(.ng-teclado-plegado) .ng-mas-del-hoyo { display: none; }
}
/* Ajuste de espacio (O-044): sin renglón "Tus golpes" (la fila activa ya muestra el score y se toca para abrir o plegar el teclado) */
.ng-juego-compacto .ng-teclado-bloque { padding: 0.4rem 0.5rem 0.3rem; }
.ng-dato-doble > .ng-paso-etiquetado > span { font-size: 0.8rem; }
.ng-dato-doble { gap: 0.2rem 0.4rem; flex-wrap: wrap; }   /* con el texto del sistema al 200 % baja de renglón en vez de salirse (O-022) */
.ng-datos-compactos .ng-paso-compacto .ng-paso-valor { min-width: 1.2rem; }
.ng-fila-jugador.ng-jugador-chip { min-height: 48px; }
.ng-juego-compacto .ng-hoyo-cabeza-compacta h1 { font-size: 1.35rem; }
.ng-juego-compacto .ng-datos-compactos .ng-dato-compacto { margin-top: 0.2rem; }
.ng-juego-compacto .ng-mas-del-hoyo { margin-top: 0.1rem; }
.ng-juego-compacto .ng-mas-del-hoyo > summary { min-height: 44px; }
/* Accesos en un solo renglón aunque estén Voz, GPS, juego y modo a la vez (O-044): lo largo se recorta con puntos suspensivos. */
.ng-juego-compacto .ng-accesos-captura { flex-wrap: nowrap; }
.ng-juego-compacto .ng-acceso { min-width: 0; flex: 0 1 auto; padding: 0 0.55rem; font-size: 0.9rem; gap: 0.25rem; }
.ng-juego-compacto .ng-acceso > span, .ng-juego-compacto .ng-acceso > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-juego-compacto .ng-acceso-modo { flex: 0 0 auto; }
.ng-juego-compacto .ng-chip-juego { flex: 1 1 0; }
/* Teléfonos angostos (375 px): arena y penales siguen en un renglón */
@media (max-width: 380px) {
    .ng-juego-compacto .ng-teclado-bloque { padding-left: 0.3rem; padding-right: 0.3rem; }
    .ng-dato-doble { gap: 0.2rem; }
    .ng-dato-doble > .ng-paso-etiquetado { gap: 0.1rem; }
    .ng-datos-compactos .ng-paso-compacto { gap: 0; }
    .ng-datos-compactos .ng-paso-compacto .ng-paso-valor { min-width: 1rem; }
}
/* Con un juego activo, en pantalla angosta el acceso muestra solo el trofeo y su estado (el nombre va en su etiqueta y en la pantalla del juego) */
@media (max-width: 420px) {
    .ng-juego-compacto .ng-chip-juego-activo .ng-nombre-juego { display: none; }
    .ng-juego-compacto .ng-chip-juego-activo strong { font-size: 0.85rem; }
}

/* ── Mapa del hoyo con distancias (O-050): dibujo propio, salida abajo y green arriba ── */
:root { --ng-mh-fondo: #dfe9d6; --ng-mh-fairway: #b9d79a; --ng-mh-green: #8fcb7a; --ng-mh-salida: #a5c98e; --ng-mh-bunker: #efdfae; --ng-mh-agua: #9fc5ea; --ng-mh-linea: #4a5a3f; --ng-mh-yo: #2f7bff; }
/* El dibujo sigue la apariencia de la app (D-062: claro siempre; oscuro solo si el golfista lo elige en Perfil o "como mi teléfono"). */
@media (prefers-color-scheme: dark) { :root[data-tema="sistema"] { --ng-mh-fondo: #253222; --ng-mh-fairway: #3f5a33; --ng-mh-green: #4f8a46; --ng-mh-salida: #466b3b; --ng-mh-bunker: #8a7a45; --ng-mh-agua: #2f5c8a; --ng-mh-linea: #d8e2cf; --ng-mh-yo: #6fa6ff; } }
:root[data-tema="oscuro"], .ng-tema-oscuro { --ng-mh-fondo: #253222; --ng-mh-fairway: #3f5a33; --ng-mh-green: #4f8a46; --ng-mh-salida: #466b3b; --ng-mh-bunker: #8a7a45; --ng-mh-agua: #2f5c8a; --ng-mh-linea: #d8e2cf; --ng-mh-yo: #6fa6ff; }
.ng-mh-cabecera { margin: 0.25rem 0 0.5rem; }
.ng-mh-titulo { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--ng-texto-suave); font-weight: 700; }
.ng-mh-hoyos { display: grid; grid-template-columns: 48px 1fr 48px; gap: 0.5rem; align-items: center; }
.ng-mh-flecha { min-height: 48px; padding: 0; font-size: 1.6rem; line-height: 1; }
.ng-mh-hoyo { text-align: center; display: flex; flex-direction: column; gap: 0.1rem; }
.ng-mh-hoyo strong { font-size: 1.5rem; font-weight: 800; color: var(--ng-marino); }
.ng-mh-hoyo small { color: var(--ng-texto-suave); font-weight: 700; }
.ng-mh-distancias { margin: 0.4rem 0; }
.ng-dibujo-hoyo { display: block; width: 100%; max-height: 56vh; border-radius: var(--ng-radio); background: var(--ng-mh-fondo); touch-action: manipulation; cursor: crosshair; }
.ng-mh-fondo { fill: var(--ng-mh-fondo); }
.ng-mh-fairway { fill: var(--ng-mh-fairway); stroke: none; }
.ng-mh-green { fill: var(--ng-mh-green); stroke: none; }
.ng-mh-salida { fill: var(--ng-mh-salida); stroke: none; }
.ng-mh-bunker { fill: var(--ng-mh-bunker); stroke: none; }
.ng-mh-agua { fill: var(--ng-mh-agua); stroke: none; }
.ng-mh-linea { fill: none; stroke: var(--ng-mh-linea); opacity: 0.55; }
.ng-mh-eje { stroke: var(--ng-texto); opacity: 0.35; }
.ng-mh-marca { fill: var(--ng-superficie); stroke: var(--ng-mh-linea); }
.ng-mh-bandera line { stroke: var(--ng-texto); }
.ng-mh-bandera path { fill: var(--ng-error); }
.ng-mh-yo { fill: var(--ng-mh-yo); stroke: #fff; }
.ng-mh-precision { fill: var(--ng-mh-yo); opacity: 0.15; }
.ng-mh-salida-punto { fill: var(--ng-mh-linea); }
.ng-mh-toque { fill: #fff; stroke: var(--ng-oro); }
.ng-mh-toque-linea { stroke: var(--ng-oro); }
.ng-mh-texto { fill: var(--ng-texto); stroke: var(--ng-mh-fondo); paint-order: stroke; font-weight: 800; font-family: var(--ng-fuente); }
.ng-mh-toque-texto { margin: 0.5rem 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: center; }
.ng-mh-toque-texto strong { font-size: 1.3rem; }
.ng-mh-pista { margin: 0.4rem 0; }
.ng-mh-peligros h2 { font-size: 1rem; margin: 0 0 0.4rem; }
.ng-mh-lista li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--ng-borde); }
.ng-mh-lista li:last-child { border-bottom: 0; }
.ng-mh-lista strong { font-size: 1.1rem; }
/* Asignar greens a hoyos (O-054) */
.ng-ag-titulo { font-size: 1.15rem; margin: 0 0 0.25rem; }
.ng-ag-pregunta { margin: 0.3rem 0; line-height: 1.4; min-height: 4.2em; }   /* alto fijo de 3 renglones: el dibujo no se mueve al cambiar el texto (O-061) */
.ng-ag-guia { position: sticky; top: 0; z-index: 2; background: var(--ng-fondo); padding-bottom: 0.2rem; }   /* el hoyo y la instrucción quedan arriba al desplazar (O-061) */
.ng-ag-ir { display: inline; min-height: 0; padding: 0 0.25rem; }
.ng-ag-salida { fill: var(--ng-mh-salida); stroke: var(--ng-mh-linea); opacity: 0.8; }
.ng-ag-camino { fill: none; stroke: var(--ng-mh-linea); opacity: 0.35; stroke-linecap: round; stroke-linejoin: round; }
.ng-ag-casa { fill: var(--ng-superficie); stroke: var(--ng-mh-linea); }
circle.ng-ag-toque { opacity: 0.45; stroke: none; }
.ng-ag-green { stroke: var(--ng-mh-linea); }
.ng-ag-libre { fill: var(--ng-mh-green); opacity: 0.75; }
.ng-ag-sugerido { fill: var(--ng-mh-green); stroke: var(--ng-oro); stroke-dasharray: 6 4; }
.ng-ag-actual { fill: var(--ng-oro); }
.ng-ag-aprobado { fill: var(--ng-mh-yo); }
.ng-ag-mio { fill: var(--ng-mh-yo); opacity: 0.6; }
.ng-ag-halo { fill: none; stroke: var(--ng-oro); opacity: 0.9; }
.ng-ag-acciones { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0; }
.ng-ag-acciones .ng-boton { min-height: 44px; flex: 1 1 8rem; }
.ng-ag-listo { margin: 0.6rem 0; }
.ng-descarga-campo { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; align-items: center; margin: 0.6rem 0; }
.ng-descarga-campo .ng-ayuda { margin: 0; }
.ng-campos-descargados h2 { font-size: 1rem; margin: 0 0 0.4rem; }
.ng-campos-descargados li { display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; align-items: center; padding: 0.35rem 0; }
.ng-campos-descargados li strong { flex: 1 1 100%; }
.ng-boton-chico { min-height: 40px; padding: 0.35rem 0.8rem; font-size: 0.9rem; }
a.ng-chip-estado { text-decoration: none; }
.ng-mh-distancias .ng-gps-fila > div { min-width: 0; }
.ng-mh-distancias .ng-gps-fila strong { font-size: clamp(1.2rem, 9vw, 1.9rem); overflow-wrap: anywhere; }

/* ══ Sistema visual (O-051, D-168) ══════════════════════════════════════════════════════════════════════════════
   En un solo lugar: 4 tamaños de letra, espaciado 4/8/16/24, dos radios y una sola sombra (solo hojas flotantes).
   Las pantallas nuevas usan solo estos valores; las viejas se van alineando pantalla por pantalla. */
:root {
    --ng-t1: 0.8125rem;   /* nota, etiqueta */
    --ng-t2: 1rem;        /* texto */
    --ng-t3: 1.25rem;     /* subtítulo de bloque */
    --ng-t4: 1.75rem;     /* título de pantalla */
    --ng-e1: 4px; --ng-e2: 8px; --ng-e3: 16px; --ng-e4: 24px;
    --ng-sombra-flotante: 0 -10px 40px rgb(0 0 0 / 0.22);
    --ng-transicion: 180ms cubic-bezier(.2,.8,.2,1);
}
h1 { font-size: var(--ng-t4); margin: var(--ng-e2) 0 var(--ng-e3); line-height: 1.15; }
h2 { font-size: var(--ng-t3); line-height: 1.25; }
.ng-tarjeta-bloque { padding: var(--ng-e3); margin-bottom: var(--ng-e3); }
.ng-tarjeta-bloque > h2:first-child { margin-bottom: var(--ng-e2); }
.ng-hoja { box-shadow: var(--ng-sombra-flotante); animation-duration: 180ms; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

/* Inicio: tablero del golfista */
.ng-hola { font-size: var(--ng-t3); font-weight: 700; color: var(--ng-texto-suave); margin: var(--ng-e1) 0 var(--ng-e3); }
.ng-hola strong { color: var(--ng-texto); }
.ng-hero { padding: var(--ng-e4) var(--ng-e3) var(--ng-e3); }
.ng-hero-fila-tendencia { justify-content: flex-start; gap: var(--ng-e2); }
.ng-hero-cambio { font-size: var(--ng-t1); font-weight: 700; color: var(--ng-texto-suave); }
.ng-hero-cambio.baja { color: var(--ng-exito, #1f7a4d); }
:root[data-tema="oscuro"] .ng-hero-cambio.baja { color: #6fd39b; }
.ng-hero-nota { font-size: var(--ng-t1); line-height: 1.45; }
.ng-hero-enlaces { display: flex; flex-wrap: wrap; gap: 0 var(--ng-e3); margin-top: var(--ng-e1); }
.ng-hero-enlace { font-size: var(--ng-t1); text-decoration: none; }
.ng-boton-jugar { min-height: 64px; font-size: var(--ng-t3); border-radius: var(--ng-radio); margin: var(--ng-e3) 0; }
.ng-boton-jugar svg { width: 26px; height: 26px; }
.ng-ultima-ronda { display: block; text-decoration: none; color: inherit; }
.ng-ultima-etiqueta { display: block; font-size: var(--ng-t1); font-weight: 700; color: var(--ng-texto-suave); margin-bottom: var(--ng-e1); }
.ng-ultima-fila { display: flex; align-items: center; gap: var(--ng-e3); }
.ng-ultima-score { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ng-marino); }
.ng-ultima-score small { font-size: var(--ng-t2); font-weight: 700; color: var(--ng-texto-suave); margin-left: var(--ng-e1); letter-spacing: 0; }
.ng-ultima-datos { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ng-ultima-datos strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ng-ultima-datos span { font-size: var(--ng-t1); color: var(--ng-texto-suave); }
.ng-ultima-ir { font-size: 1.6rem; color: var(--ng-azul); font-weight: 700; }
.ng-inicio-campos h2 { display: flex; align-items: center; gap: var(--ng-e2); font-size: var(--ng-t2); }
.ng-inicio-campos h2 svg { width: 20px; height: 20px; color: var(--ng-azul); }
.ng-inicio-campos-lista { list-style: none; margin: 0; padding: 0; }
.ng-inicio-campos-lista a { display: flex; flex-direction: column; min-height: 44px; justify-content: center; padding: var(--ng-e2) 0; border-top: 1px solid var(--ng-borde); text-decoration: none; color: inherit; }
.ng-inicio-campos-lista li:first-child a { border-top: 0; }
.ng-inicio-campos-lista span { font-size: var(--ng-t1); color: var(--ng-texto-suave); }
.ng-inicio-campos-vacio { display: flex; align-items: center; gap: var(--ng-e3); text-decoration: none; color: inherit; }
.ng-inicio-campos-vacio > span:last-child { display: flex; flex-direction: column; }
.ng-inicio-campos-vacio > span:last-child span { font-size: var(--ng-t1); color: var(--ng-azul); font-weight: 700; }
.ng-inicio-campos-icono { width: 44px; height: 44px; border-radius: 14px; background: var(--ng-acento-suave); display: flex; align-items: center; justify-content: center; flex: none; }
.ng-inicio-campos-icono svg { width: 24px; height: 24px; color: var(--ng-azul); }
.ng-tiles { gap: var(--ng-e2); margin-bottom: var(--ng-e3); }
.ng-tile { padding: var(--ng-e3); min-height: 104px; }
.ng-accesos-inicio { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ng-e2); margin: var(--ng-e3) 0; }
.ng-accesos-inicio .ng-acceso { min-height: 84px; padding: var(--ng-e2) var(--ng-e1); font-size: var(--ng-t1); border-radius: 16px; }
.ng-pie-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ng-e1) var(--ng-e3); margin-top: var(--ng-e4); }
.ng-pie-enlaces a, .ng-pie-enlaces .ng-enlace-pie { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--ng-t1); }

/* Resumen de ronda: los tres datos del índice parejos, y la tarjeta de 9 hoyos cabe sin desplazar a 375 px */
.ng-hero-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ng-e2); }
.ng-hero-chip { min-width: 0; }
.ng-hero-chip small { letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ng-td { min-width: 0; }
.ng-td th, .ng-td td { padding: 0.25rem 0; }
.ng-td th:first-child, .ng-td td:first-child { width: 3rem; font-size: 0.68rem; letter-spacing: 0.02em; }
.ng-td .ng-g { min-width: 1.5rem; height: 1.5rem; font-size: 0.9rem; }

/* Estadísticas y filtros: el selector de periodo en una línea y los filtros del mismo ancho */
.ng-segmentado button { white-space: nowrap; font-size: 0.95rem; padding: 0 var(--ng-e1); flex: 1 1 auto; }
.ng-filtros-estadisticas select, .ng-filtros select { width: 100%; }

/* Captura: cambio de hoyo suave (≤ 200 ms) */
@keyframes ng-hoyo-entra { from { opacity: 0.35; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.ng-hoyo-anim { animation: ng-hoyo-entra var(--ng-transicion) both; }
.ng-fairway-icono { display: inline-flex; align-items: center; justify-content: center; }
.ng-fairway-icono svg { width: 22px; height: 22px; }
.ng-chips-fallo .ng-fairway-icono svg { width: 18px; height: 18px; }

/* Perfil: casilla con título y explicación alineados arriba */
.ng-casilla-ajuste-larga { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: var(--ng-e3); min-height: 0; }
.ng-casilla-ajuste-larga input { margin-top: 0.3rem; width: 24px; height: 24px; }

/* La etiqueta PRUEBAS no tapa botones: en la captura (que no tiene barra de marca) se va abajo a la izquierda */
/* (Sin :has(): obliga a recalcular estilos en cada cambio de la página; con 400 rondas Mis rondas tardaba 2.6× más.) */
.ng-franja-calidad.en-captura { top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); right: auto; left: 8px; }
.ng-filtros .ng-segmentado button { font-size: 0.875rem; }
.ng-tiles-3 .ng-tendencia { white-space: nowrap; align-self: flex-start; }

/* ── Gráficas de Estadísticas (O-052, D-169): SVG propio; colores con nombre en la leyenda (nunca solo color) ── */
:root { --ng-res-eagle: #d4a017; --ng-res-birdie: #3760d6; --ng-res-par: #8fb3ff; --ng-res-bogey: #9aa3ae; --ng-res-doble: #b3261e; }
:root[data-tema="oscuro"] { --ng-res-eagle: #e3b93a; --ng-res-birdie: #6b9cff; --ng-res-par: #3b5a9a; --ng-res-bogey: #5d6470; --ng-res-doble: #ff8a80; }
@media (prefers-color-scheme: dark) { :root[data-tema="sistema"] { --ng-res-eagle: #e3b93a; --ng-res-birdie: #6b9cff; --ng-res-par: #3b5a9a; --ng-res-bogey: #5d6470; --ng-res-doble: #ff8a80; } }
.ng-res-eagle { fill: var(--ng-res-eagle); background: var(--ng-res-eagle); }
.ng-res-birdie { fill: var(--ng-res-birdie); background: var(--ng-res-birdie); }
.ng-res-par { fill: var(--ng-res-par); background: var(--ng-res-par); }
.ng-res-bogey { fill: var(--ng-res-bogey); background: var(--ng-res-bogey); }
.ng-res-doble { fill: var(--ng-res-doble); background: var(--ng-res-doble); }
.ng-cuadro-leyenda { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.ng-punto-leyenda { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ng-texto-suave); vertical-align: -1px; margin-right: 4px; }
.ng-punto-leyenda.lleno { background: var(--ng-grafica); border-color: var(--ng-grafica); }
.ng-linea-leyenda { display: inline-block; width: 18px; border-top: 2px dashed var(--ng-oro); vertical-align: 3px; margin-right: 4px; }
.ng-linea-leyenda.azul { border-top: 2px solid var(--ng-grafica); }
.ng-texto-oro { color: var(--ng-oro-texto); }
.ng-grafica-bloque h2 { margin-bottom: var(--ng-e1); }
.ng-grafica-sub { font-size: var(--ng-t1); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ng-texto-suave); margin: var(--ng-e3) 0 var(--ng-e1); }
.ng-abanico text { font-size: 12px; pointer-events: none; }
.ng-abanico .ng-abanico-pct { fill: var(--ng-texto); font-size: 18px; font-weight: 800; }
.ng-abanico .ng-abanico-contra { fill: var(--ng-oro-texto); font-weight: 700; }
.ng-abanico path { cursor: pointer; }
.ng-barras-c { display: flex; flex-direction: column; gap: var(--ng-e2); margin: var(--ng-e2) 0; }
.ng-barras-c-fila { display: grid; grid-template-columns: minmax(0, 7.5rem) 1fr auto; gap: var(--ng-e2); align-items: center; min-height: 44px; cursor: pointer; border-radius: 10px; padding: 0 var(--ng-e1); }
.ng-barras-c-fila.activa { background: var(--ng-superficie-2); }
.ng-barras-c-nombre { font-size: var(--ng-t1); font-weight: 700; line-height: 1.2; }
.ng-barras-c-pistas { display: flex; flex-direction: column; gap: 3px; }
.ng-barras-c-pistas .ng-barra-pista { display: block; height: 12px; }
.ng-barras-c-pistas .ng-barra-pista-contra { height: 8px; }
.ng-barras-c-valor { font-weight: 800; text-align: right; display: flex; flex-direction: column; line-height: 1.15; min-width: 2.6rem; }
.ng-barras-c-valor small { font-size: var(--ng-t1); font-weight: 700; }
.ng-barras-c .ng-barra-relleno { display: block; }
.ng-cuadro-leyenda.ng-barra-oro { background: var(--ng-oro); }
/* Texto grande del sistema (200 %, O-051): la cabecera y los accesos de la captura se encogen en vez de salirse de la pantalla. */
.ng-juego-cabeza > * { min-width: 0; }
.ng-juego-cabeza .ng-cabeza-derecha { min-width: 0; flex: 0 1 auto; }
.ng-juego-cabeza .ng-cabeza-derecha .ng-boton-icono { flex: none; }
.ng-juego-cabeza .ng-sync { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: clip; white-space: normal; line-height: 1.1; text-align: center; border-radius: 14px; }   /* hasta 2 renglones dentro de los 44 px de la cabecera: nunca «Guardado en el teléfon…» (O-060) */
.ng-juego-compacto .ng-acceso-modo { flex: 0 1 auto; min-width: 0; }
.ng-accesos-captura .ng-acceso > span, .ng-accesos-captura .ng-acceso > strong { max-width: 100%; min-width: 0; }

/* Texto del sistema grande (hasta 200 %, O-051): todo se acomoda en columnas que dependen del tamaño de letra (rem), nunca más ancho que la pantalla.
   A tamaño normal se ve igual que antes. */
.ng-segmentado { flex-wrap: wrap; }
.ng-detalles { overflow-x: auto; }
.ng-tabla-envuelta, .ng-detalles > table { max-width: 100%; }
.ng-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
.ng-tiles-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.4rem), 1fr)); }
.ng-anillos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.2rem), 1fr)); }
.ng-barra-fila { grid-template-columns: minmax(0, 7.5rem) minmax(2rem, 1fr) auto; }
.ng-barra-fila .ng-barra-nombre { min-width: 0; overflow-wrap: anywhere; }
.ng-recorrido-acciones { flex-wrap: wrap; }
.ng-tile { min-width: 0; overflow-wrap: anywhere; }

/* Instalar en tu teléfono (O-053): pasos con dibujos propios del teléfono */
.ng-pasos-instalar { list-style: none; margin: var(--ng-e3) 0; padding: 0; display: flex; flex-direction: column; gap: var(--ng-e3); }
.ng-pasos-instalar li { display: grid; grid-template-columns: 84px 1fr; gap: var(--ng-e3); align-items: center; background: var(--ng-superficie); border-radius: var(--ng-radio); padding: var(--ng-e3); }
.ng-pasos-instalar li > div { display: flex; flex-direction: column; gap: var(--ng-e1); min-width: 0; }
.ng-pasos-instalar li span { color: var(--ng-texto-suave); font-size: var(--ng-t1); line-height: 1.45; }
.ng-paso-dibujo { width: 84px; height: auto; }
.ng-pd-marco { fill: var(--ng-texto); }
.ng-pd-pantalla { fill: var(--ng-fondo); }
.ng-pd-barra, .ng-pd-pie, .ng-pd-fila { fill: var(--ng-superficie-2); }
.ng-pd-hoja { fill: var(--ng-superficie); stroke: var(--ng-borde); }
.ng-pd-txt { fill: var(--ng-texto); font-size: 9px; font-weight: 700; font-family: var(--ng-fuente); }
.ng-pd-chico { font-size: 7.5px; }
.ng-pd-resalta rect { fill: var(--ng-oro); }
.ng-pd-resalta path, .ng-pd-resalta circle { stroke: var(--ng-texto); fill: var(--ng-texto); }
.ng-pd-resalta path { fill: none; }
.ng-pd-resalta-fondo { fill: var(--ng-oro); }
.ng-instalar-listo h2 { color: var(--ng-marino); }
@media (max-width: 22rem) { .ng-pasos-instalar li { grid-template-columns: 1fr; } .ng-paso-dibujo { width: 72px; } }
/* Segmentados: a tamaño normal en una línea; con texto grande cada opción baja a su renglón en vez de salirse (O-051). */
.ng-segmentado button { white-space: normal; min-width: 0; }

/* O-048: aviso de 5 s "Anotado par a … · Deshacer", flotando arriba del botón de abajo (tapa los accesos chicos, nunca el botón). */
.ng-juego-pie { position: sticky; }
.ng-deshacer { position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); display: flex; align-items: center; justify-content: space-between; gap: var(--ng-e2);
    min-height: 48px; padding: var(--ng-e1) var(--ng-e1) var(--ng-e1) var(--ng-e3); border-radius: 14px; background: var(--ng-texto); color: var(--ng-superficie);
    font-weight: 700; font-size: 0.95rem; box-shadow: var(--ng-sombra-flotante); animation: ng-aparecer var(--ng-transicion) both; z-index: 5; }
.ng-deshacer span { min-width: 0; overflow-wrap: anywhere; }
.ng-deshacer-boton { flex: none; min-height: 44px; min-width: 44px; padding: 0 var(--ng-e3); border: 0; border-radius: 10px; background: var(--ng-oro); color: #2b2000; font-weight: 800; font-family: inherit; font-size: 0.95rem; cursor: pointer; }
/* O-048: interruptor Simple | Completo de dos posiciones, 44 px, la activa marcada (no ambiguo). */
.ng-interruptor { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--ng-superficie); gap: 2px; margin-left: auto; flex: 0 1 auto; min-width: 0; }
.ng-interruptor button { min-height: 44px; min-width: 44px; padding: 0 0.7rem; border: 0; border-radius: 999px; background: transparent; color: var(--ng-texto-suave); font-weight: 700; font-family: inherit; font-size: 0.9rem; cursor: pointer; }
.ng-interruptor button.activo { background: var(--ng-azul); color: var(--ng-sobre-accion); }
.ng-juego-compacto .ng-interruptor button { padding: 0 0.55rem; }
.ng-filtros .ng-segmentado { min-width: min(100%, 14rem); }   /* al 200 % 14rem = 448 px: nunca más ancho que la pantalla (O-051) */
.ng-interruptor button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }   /* al 200 % se encoge con "…" en vez de salirse (O-048) */
/* Módulos con comparación (Tú, Contra, Meta): al 200 % bajan de renglón en vez de salirse (O-051). */
.ng-modulo-valores { flex-wrap: wrap; }
.ng-modulo-valores > span { min-width: min(4.2rem, 100%); }
/* WebKit no respeta el desplazamiento horizontal de un <details>: la tabla de "Ver los datos" se desplaza ella misma (O-051/O-052, 200 %). */
.ng-detalles > .ng-tabla, .ng-detalles > table { display: block; max-width: 100%; overflow-x: auto; }
.ng-filtros select { min-width: 0; flex: 1 1 100%; }   /* WebKit: el mínimo de un select es su opción más larga; al 200 % no cabía (O-052) */
.ng-filtros select { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* WebKit pinta el texto largo fuera de la caja del select (O-052) */
select.ng-entrada { max-width: 100%; min-width: 0; text-overflow: ellipsis; }   /* WebKit: la opción más larga (p. ej. «Teléfono o tipo de club…» de D-237) ensanchaba el select a 424 px en 390 (O-079.3) */

/* Mapea tu campo jugando (O-055): marcar el green del hoyo parado en él */
.ng-marcar-green h2, .ng-marcas-resumen h2 { font-size: 1rem; margin: 0 0 0.4rem; }
.ng-marcar-green .ng-boton-grande { width: 100%; }
.ng-marcar-opcionales { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.ng-marcar-opcionales .ng-boton { flex: 1 1 8rem; }
.ng-marcar-aviso { margin-top: 0.5rem; }

/* Accesos de la captura legibles en iPhone (O-056, D-177): antes se leían "V…", "G…", "Ma…", "Sim…". Ícono arriba y etiqueta corta abajo, sin
   encogerse a tamaño normal (caben Voz · GPS · Mapa · Juego · Simple | Completo en 343 px); al 200 % siguen encogiéndose con "…" (O-048). */
.ng-accesos-captura { flex-wrap: nowrap; }
.ng-accesos-captura .ng-acceso { flex: 0 1 auto; min-width: 0; padding: 0 0.45rem; font-size: 0.75rem; gap: 0.1rem; }
.ng-accesos-captura .ng-acceso svg { width: 18px; height: 18px; }
.ng-accesos-captura .ng-chip-juego:not(.ng-chip-juego-activo) { flex-direction: column; box-shadow: none; margin: 0; }
.ng-accesos-captura .ng-chip-juego:not(.ng-chip-juego-activo) svg { color: var(--ng-oro-texto); }
.ng-accesos-captura .ng-chip-juego:not(.ng-chip-juego-activo) span { flex: 0 1 auto; }
.ng-accesos-captura .ng-chip-juego-activo { flex: 1 1 0; }
.ng-accesos-captura .ng-interruptor { flex: 0 1 auto; }
.ng-accesos-captura .ng-interruptor button { font-size: 0.8rem; padding: 0 0.5rem; }
.ng-campo-nombre { color: inherit; text-decoration: none; }
.ng-campo-nombre strong { text-decoration: underline; text-decoration-color: var(--ng-borde, rgba(0,0,0,.2)); text-underline-offset: 3px; }
.ng-campo-acciones { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }
.ng-sin-tarjeta-titulo { margin: 0.6rem 0 0.2rem; }
.ng-sin-tarjeta li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.6rem; align-items: center; padding: 0.4rem 0; }
.ng-sin-tarjeta-acciones { display: inline-flex; gap: 0.8rem; }
.ng-aviso-instalar p { margin: 0 0 0.5rem; }
.ng-aviso-instalar-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.ng-accesos-captura { gap: 0.3rem; }
.ng-accesos-captura .ng-acceso { padding: 0 0.35rem; }
.ng-accesos-captura .ng-interruptor button { padding: 0 0.45rem; }
@media (max-width: 380px) {   /* iPhone SE y similares (375 px): que quepan completos también ahí */
    .ng-accesos-captura { gap: 0.2rem; }
    .ng-accesos-captura .ng-acceso { padding: 0 0.22rem; }
    .ng-accesos-captura .ng-interruptor button { padding: 0 0.35rem; font-size: 0.76rem; }
}

/* ── Frente · Centro · Fondo en la cabecera del hoyo (O-059): un renglón compacto; el centro, grande y en AAA (marino sobre el fondo) ── */
.ng-dist-cab { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: center; gap: 0.7rem; margin: 0.05rem 0 0; line-height: 1.15; font-weight: 700; color: var(--ng-texto); }
.ng-dist-cab small { font-size: 0.7rem; font-weight: 800; color: var(--ng-texto-suave); letter-spacing: 0.04em; margin-right: 0.1rem; }
.ng-dist-lado { font-size: 1.05rem; }
.ng-dist-centro { font-size: 1.55rem; font-weight: 800; color: var(--ng-marino); letter-spacing: -0.02em; }
.ng-dist-unidad { font-size: 0.7rem; font-weight: 700; color: var(--ng-texto-suave); }
.ng-dist-espera { font-size: 0.85rem; font-weight: 600; color: var(--ng-texto-suave); }
a.ng-dist-marcar { font-size: 0.85rem; font-weight: 700; color: var(--ng-marino); text-decoration: underline; padding: 0.15rem 0; }
/* Lista de campos en pantalla angosta (390 px): la columna no crece con el botón más ancho y «Jugar aquí · solo estadísticas» baja de renglón en vez de ensanchar la lista. */
.ng-campo-fila { min-width: 0; }
.ng-campo-acciones { min-width: 0; max-width: 60%; }
.ng-campo-acciones .ng-boton { white-space: normal; text-align: center; line-height: 1.2; padding-top: 0.4rem; padding-bottom: 0.4rem; }

.ng-fecha-texto { margin: 0.25rem 0 0; }

/* El recorrido guiado nunca se sale de la pantalla: si no cabe, la tarjeta se desplaza por dentro y «Saltar / Siguiente» quedan siempre a la vista (O-060). */
.ng-recorrido { max-height: calc(100dvh - var(--tope, 12px) - 12px); overflow-y: auto; }
.ng-recorrido-abajo { max-height: calc(100dvh - 24px); }
.ng-recorrido-acciones { position: sticky; bottom: 0; background: var(--ng-superficie); padding-top: 0.25rem; }

/* Pasaporte y Mis juegos (D-236) */
.ng-lista-pasaporte { list-style: none; padding: 0; margin: 0; }
.ng-pasaporte-campo { padding: 0.6rem 0; border-top: 1px solid var(--ng-borde); }
.ng-pasaporte-campo:first-child { border-top: 0; }
.ng-pasaporte-campo p { margin: 0.1rem 0; }
.ng-pasaporte-nombre a { color: inherit; }
.ng-meta-indice .ng-meta-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ng-meta-indice #meta-valor { width: 6.5rem; font-size: 1.1rem; }

/* D-237: tipo de club y teléfono en la ficha del campo; el teléfono es un blanco de 44 px para tocarlo y llamar. */
.ng-datos-club { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.25rem; margin: 0.15rem 0 0.5rem; color: var(--ng-texto-suave); }
.ng-datos-club-tipo { font-weight: 600; }
.ng-datos-club-tel { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.ng-datos-club-tel svg { width: 1.1em; height: 1.1em; flex: none; }
.ng-novedades li { margin-bottom: 0.45rem; }
