/* Velox Sport · barra de navegación inferior flotante con muesca curva (bitácora #200).
   Componente único: <nav class="vx-fn" data-vx-floatnav="clave"> con ítems .vx-fn-item (enlaces o botones).
   La forma (muesca bajo el ítem activo) la dibuja public/js/velox-floatnav.js sobre .vx-fn-bg con clip-path;
   la sombra es un drop-shadow del <nav>, que sigue la forma recortada. Sin JS queda una barra blanca redondeada. */
.vx-fn { --fn-ink: #0B1730; --fn-idle: rgba(163, 230, 53, .68); --fn-active: #A3E635; --fn-lime: #A3E635;
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
    max-width: 560px; margin-inline: auto; height: 78px; padding-inline: 10px; display: flex; align-items: stretch;
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    filter: drop-shadow(0 14px 24px rgba(11, 23, 48, .2)) drop-shadow(0 2px 4px rgba(11, 23, 48, .08)); }
.vx-fn-bg { position: absolute; inset: 0; z-index: 0; border-radius: 18px; background: var(--fn-ink); pointer-events: none; }
.vx-fn-list { position: relative; z-index: 1; display: flex; flex: 1 1 auto; min-width: 0; }
.vx-fn-item { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 6px 0 4px; border: 0; border-radius: 16px; background: transparent; color: var(--fn-idle); text-decoration: none; cursor: pointer;
    font: 700 9.5px/1.1 Manrope, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; transition: color .2s ease; }
.vx-fn-item i { font-size: 22px; line-height: 1; transition: color .2s ease, transform .25s ease; }
.vx-fn-item span { max-width: 100%; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-fn-item:hover { color: #d9f99d; }
.vx-fn-item:focus-visible { outline: 3px solid rgba(163, 230, 53, .6); outline-offset: -3px; }
.vx-fn-item.is-active, .vx-fn-item[aria-current="page"], .vx-fn-item[aria-selected="true"] { color: var(--fn-active); }
.vx-fn-item.is-active span, .vx-fn-item[aria-current="page"] span, .vx-fn-item[aria-selected="true"] span { font-weight: 900; }
.vx-fn-item.is-active i, .vx-fn-item[aria-current="page"] i, .vx-fn-item[aria-selected="true"] i { transform: translateY(1px) scale(1.06); }
.vx-fn-badge { position: absolute; top: 12px; right: calc(50% - 22px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 10.5px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--fn-ink); }
.vx-fn-dot { position: absolute; z-index: 2; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--fn-lime); opacity: 0; pointer-events: none;
    box-shadow: 0 0 0 3px rgba(163, 230, 53, .28), 0 5px 12px -3px rgba(101, 163, 13, .75); transition: opacity .2s ease; will-change: transform; }
.vx-fn.has-active .vx-fn-dot { opacity: 1; }
@media (min-width: 400px) { .vx-fn-item { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .vx-fn-item, .vx-fn-item i, .vx-fn-dot { transition: none; } .vx-fn-item.is-active i, .vx-fn-item[aria-current="page"] i, .vx-fn-item[aria-selected="true"] i { transform: none; } }

/* Sin muesca ni círculo (data-vx-notch="off"): el ítem activo se marca con una píldora lima suave. */
.vx-fn[data-vx-notch="off"] .vx-fn-dot { display: none; }
.vx-fn[data-vx-notch="off"] .vx-fn-item { margin: 9px 2px; padding: 4px 0; transition: color .2s ease, background-color .2s ease; }
.vx-fn[data-vx-notch="off"] .vx-fn-item.is-active, .vx-fn[data-vx-notch="off"] .vx-fn-item[aria-current="page"], .vx-fn[data-vx-notch="off"] .vx-fn-item[aria-selected="true"] { background: rgba(163, 230, 53, .15); }
.vx-fn[data-vx-notch="off"] .vx-fn-item.is-active i, .vx-fn[data-vx-notch="off"] .vx-fn-item[aria-current="page"] i, .vx-fn[data-vx-notch="off"] .vx-fn-item[aria-selected="true"] i { transform: none; }
