/* Fondo vivo de Buda (cumbre), 12/11: curvas de nivel. Lo dibuja fondos/cumbre.js; el motor y la capa, portada/fondo-vivo.js/.css.
   El papel es el dibujo del mapa; el hielo, «dónde estás»; el arrebol (la acción), sólo lo andado, los hitos y la cima. */

.fv-cumbre {
  --fv-papel: 242 237 228;   /* papel del sello */
  --fv-hielo: 169 199 216;   /* «dónde estás» */
  --fv-arrebol: 224 137 111; /* la acción: la meta y lo andado */
}
/* la cuadrícula del mapa (como la de las cartas topográficas), apenas, y apagada hacia los bordes */
.fv-cumbre .fv-cuadricula {
  background:
    linear-gradient(rgb(var(--fv-papel) / .028) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgb(var(--fv-papel) / .028) 1px, transparent 1px) 0 0 / 160px 160px;
  -webkit-mask: radial-gradient(ellipse 60% 70% at 66% 50%, #000 35%, transparent 100%);
          mask: radial-gradient(ellipse 60% 70% at 66% 50%, #000 35%, transparent 100%);
}
.fv-cumbre text { font-family: var(--marca-letra, system-ui), sans-serif; font-variant-numeric: tabular-nums; }

/* curvas de nivel: tenues; las maestras (cada 1000 m), un poco más. El svg queda quieto: no se repinta */
.fv-cumbre .fv-curva { fill: none; stroke: rgb(var(--fv-papel) / .09); stroke-width: 1; stroke-linejoin: round; }
.fv-cumbre .fv-maestra { stroke: rgb(var(--fv-papel) / .14); stroke-width: 1.3; }

/* siempre: la luz del amanecer barre el mapa (fondos/cumbre.js la mueve con element.animate; la franja y la copia de
   las curvas van en sentidos contrarios, así las curvas no se mueven). Bordes fundidos con una máscara fija. */
.fv-cumbre .fv-luz { overflow: hidden;
  /* un velo apenas cálido: la luz se ve también entre las curvas */
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgb(var(--fv-papel) / .03), transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent);
          mask: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent); }
.fv-cumbre .fv-luz-mapa { position: absolute; left: 0; top: 0; will-change: transform; }
/* 13/11: un poco menos (era .34/.46): al pasar por las preguntas encendía líneas detrás del texto */
.fv-cumbre .fv-curva-luz { fill: none; stroke: rgb(var(--fv-papel) / .26); stroke-width: 1.1; stroke-linejoin: round; }
.fv-cumbre .fv-maestra-luz { stroke: rgb(var(--fv-papel) / .36); stroke-width: 1.4; }
.fv-cumbre.fv-quieto .fv-luz { display: none; }
/* 13/11 (ronda 3): las cotas caían sobre tarjetas, listas y títulos y se leían como texto de la página: más tenues */
.fv-cumbre .fv-cota-txt { font-size: 10px; letter-spacing: .06em; fill: rgb(var(--fv-papel) / .12); }
.fv-cumbre .fv-cota-cima { fill: rgb(var(--fv-papel) / .2); }
.fv-cumbre .fv-trig { fill: none; stroke: rgb(var(--fv-papel) / .3); stroke-width: 1; stroke-linejoin: round; }

/* el sendero: lo que falta, punteado en hielo; lo andado, lleno en arrebol */
/* 13/11: lo andado cruzaba preguntas y bajadas como un tachado en el color de los botones: más fino y más tenue */
.fv-cumbre .fv-ruta { fill: none; stroke: rgb(var(--fv-hielo) / .2); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1 6; }
.fv-cumbre .fv-andado { fill: none; stroke: rgb(var(--fv-arrebol) / .36); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.fv-cumbre .fv-hito { fill: #0c1118; stroke: rgb(var(--fv-hielo) / .4); stroke-width: 1.2; transition: stroke .4s, fill .4s; }
.fv-cumbre .fv-hito.fv-alcanzado { fill: rgb(var(--fv-arrebol)); stroke: rgb(var(--fv-arrebol)); }

/* el «estás acá» */
.fv-cumbre .fv-halo { fill: url(#fv-halo-hielo); }
.fv-cumbre .fv-punto-yo { fill: rgb(var(--fv-hielo)); }

/* la cima: late siempre (chica, el color de la meta) y, al llegar, se iza el banderín */
.fv-cumbre .fv-latido { width: 14px; height: 14px; border-radius: 50%; border: 1.2px solid rgb(var(--fv-arrebol) / .55); opacity: 0;
  animation: fv-cb-latido 4s cubic-bezier(.2, .6, .3, 1) infinite; }
.fv-cumbre .fv-latido-2 { animation-delay: -2s; }
@keyframes fv-cb-latido { from { transform: scale(.5); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.fv-cumbre .fv-banderin { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s cubic-bezier(.2, .6, .3, 1); }
.fv-cumbre .fv-llegaste .fv-banderin { opacity: 1; transform: none; }
.fv-cumbre .fv-asta { stroke: rgb(var(--fv-papel) / .7); stroke-width: 1.2; }
.fv-cumbre .fv-pano { fill: rgb(var(--fv-arrebol)); }

/* el altímetro del costado */
.fv-cumbre .fv-regla, .fv-cumbre .fv-tic { fill: none; stroke: rgb(var(--fv-papel) / .2); stroke-width: 1; }
.fv-cumbre .fv-tic-m { stroke: rgb(var(--fv-papel) / .34); }
.fv-cumbre .fv-regla-txt { font-size: 10px; letter-spacing: .04em; text-anchor: end; fill: rgb(var(--fv-papel) / .3); }
.fv-cumbre .fv-aguja { fill: rgb(var(--fv-hielo)); }
.fv-cumbre .fv-regla-txt { transition: opacity .2s; }
.fv-cumbre .fv-regla-txt.fv-tapada { opacity: 0; }
.fv-cumbre .fv-lectura-txt { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-anchor: end; fill: rgb(var(--fv-hielo) / .9); }

@media (max-width: 760px) {
  .fv-cumbre .fv-cuadricula { -webkit-mask: none; mask: none; opacity: .8; }
  .fv-cumbre .fv-cota-txt:not(.fv-cota-cima) { display: none; }
}
