/* Flock Vortex (/flock-vortex): Views/SeoLanding/_FlockVortexDemo.cshtml. The flock fills the stage (a 4:3 box where
   the app has no height of its own, as on a phone; the full height in app mode), as Ink & Smoke Fluid does. */

.filter-landing-stage.flock-vortex-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: none;
}

.flock-vortex-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    touch-action: manipulation;
}

/* The stats in the top left corner: the flock, then the bird you picked. */
.flock-vortex-stats {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: calc(100% - 20px);
    pointer-events: none;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.flock-vortex-stats > span {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(20, 22, 27, 0.55);
    color: #fff;
}

.flock-vortex-stats > span[hidden] {
    display: none;
}

.flock-vortex-stats > .flock-vortex-stat-bird {
    background: rgba(255, 209, 102, 0.92);
    color: #1b1d22;
}

.flock-vortex-stats > .flock-vortex-stat-bird.is-lost {
    background: rgba(196, 64, 44, 0.9);
    color: #fff;
}

/* "Tap a bird to follow it": with the hawk, until a bird is picked. */
.flock-vortex-hint {
    position: absolute;
    left: 50%;
    bottom: 5%;
    margin: 0;
    padding: 4px 12px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(20, 22, 27, 0.55);
    color: #fff;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.flock-vortex-app.is-hawk:not(.fv-picked) .flock-vortex-hint {
    opacity: 1;
}

.flock-vortex-controls [data-fv-for][hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .flock-vortex-hint {
        transition: none;
    }
}

body.filter-app-mode .flock-vortex-app {
    align-items: stretch;
    min-height: 0;
}

body.filter-app-mode .flock-vortex-app > .filter-landing-stage.flock-vortex-stage {
    align-self: stretch;
    height: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}
