/* Site-wide mobile install banner — phones only, no app-store links */
.mn-install-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(26, 16, 53, 0.97), rgba(10, 14, 20, 0.98));
    border-top: 1px solid rgba(57, 255, 20, 0.35);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    color: #f3f4f6;
    font-size: 0.9rem;
    transform: translateY(0);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mn-install-banner.hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.mn-install-banner-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mn-install-banner-text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

.mn-install-banner-text strong {
    display: block;
    font-size: 0.95rem;
    color: #39ff14;
}

.mn-install-banner-text span {
    display: block;
    opacity: 0.85;
    font-size: 0.82rem;
}

.mn-install-banner-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mn-install-banner-cta {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    background: #39ff14;
    color: #0a0e14;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.mn-install-banner-cta:active {
    transform: scale(0.97);
}

.mn-install-banner-dismiss {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.35rem;
    cursor: pointer;
}

.mn-install-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.mn-install-sheet-backdrop.hidden {
    display: none;
}

.mn-install-sheet {
    width: min(420px, 100%);
    background: #1a1035;
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 16px 16px 12px 12px;
    padding: 1.1rem 1.15rem 1.25rem;
    color: #f3f4f6;
}

.mn-install-sheet h2 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: #39ff14;
}

.mn-install-sheet ol {
    margin: 0.5rem 0 1rem;
    padding-left: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.mn-install-sheet-close {
    width: 100%;
    appearance: none;
    border: 1px solid rgba(57, 255, 20, 0.45);
    border-radius: 999px;
    padding: 0.65rem;
    background: transparent;
    color: #39ff14;
    font-weight: 600;
    cursor: pointer;
}

body.mn-install-banner-visible {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
    .mn-install-banner,
    .mn-install-sheet-backdrop {
        display: none !important;
    }
}
