/* Предложение установить приложение из Google Play (Android, мобильный сайт, один раз) */
.play-promo {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    z-index: 1100;
    max-width: 26rem;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--surface, #fff);
    color: var(--gray-900, #111827);
    border: 1px solid var(--border, var(--gray-200, #e5e7eb));
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.play-promo.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.play-promo.is-hidden-by-input {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

/* В кабинете снизу есть панель навигации */
body.dashboard-page .play-promo {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.play-promo__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.play-promo__icon {
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
}

.play-promo__body {
    min-width: 0;
}

.play-promo__title {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900, #111827);
}

.play-promo__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--gray-600, #4b5563);
}

.play-promo__actions {
    display: flex;
    gap: 0.5rem;
}

.play-promo__actions .btn {
    flex: 1 1 0;
    min-height: 2.75rem;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .play-promo {
        transition: opacity 0.15s ease;
        transform: none;
    }
}
