/* Mobile interaction layer for the Micromeet HTML pitch deck. */
.edge-next-hint {
    display: none !important;
}

.mobile-next-button {
    display: none;
}

@media (max-width: 900px), (max-height: 700px), (hover: none) and (pointer: coarse) {
    .scroll-hint {
        display: none !important;
    }

    .cover-hero-bg,
    .pulse-ring,
    .cover-orb,
    .scan-line,
    .data-column {
        display: none !important;
    }

    .mobile-read-progress {
        position: fixed !important;
        top: max(70px, calc(env(safe-area-inset-top) + 58px)) !important;
        right: max(7px, env(safe-area-inset-right)) !important;
        bottom: max(76px, calc(env(safe-area-inset-bottom) + 64px)) !important;
        left: auto !important;
        z-index: 58 !important;
        display: block !important;
        width: 6px !important;
        height: auto !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 255, 255, 0.42) !important;
        background: rgba(31, 41, 55, 0.14) !important;
        box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12), inset 0 0 0 1px rgba(17, 24, 39, 0.04) !important;
        overflow: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
        transform: none !important;
        backdrop-filter: blur(8px) !important;
        transition: opacity 0.2s ease !important;
    }

    .mobile-read-progress.visible {
        opacity: 0.78 !important;
    }

    .mobile-read-progress-fill {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 8%;
        min-height: 14px !important;
        border-radius: inherit !important;
        background: rgba(55, 65, 81, 0.58) !important;
        transition: height 0.14s linear !important;
    }

    .mobile-read-progress.warn {
        animation: none !important;
        box-shadow: 0 10px 28px rgba(17, 24, 39, 0.18), inset 0 0 0 1px rgba(17, 24, 39, 0.12) !important;
    }

    .mobile-next-button {
        position: fixed;
        top: 50%;
        right: max(2px, env(safe-area-inset-right));
        z-index: 62;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 64px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: rgba(31, 41, 55, 0.46);
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
        pointer-events: none;
        cursor: pointer;
        backdrop-filter: none;
        transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-next-button::before {
        content: "";
        width: 13px;
        height: 13px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: translateX(-2px) rotate(45deg);
    }

    .mobile-next-button.visible {
        opacity: 0.82;
        transform: translateY(-50%) translateX(0);
        pointer-events: auto;
    }

    .mobile-next-button:active {
        background: transparent;
        transform: translateY(-50%) translateX(0) scale(0.96);
    }

    .mobile-next-button[hidden] {
        display: none !important;
    }
}
