/* AI맘 in-app push 배너 (platform61) — 모든 페이지 공통 */
.aimom-push-banner-host {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translate(-50%, -120%);
    width: min(96vw, 480px);
    z-index: 9000;
    display: grid;
    gap: 6px;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
}

.aimom-push-banner-host.is-on {
    transform: translate(-50%, 0);
    opacity: 1;
}

.aimom-push-banner {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #c4dbea;
    border-left: 4px solid #5b8fbf;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 14px 30px rgba(20, 40, 70, 0.18);
    pointer-events: auto;
    transition: opacity 0.2s, transform 0.2s;
}

.aimom-push-banner.is-high {
    border-left-color: #f59e0b;
    background: #fff8eb;
}

.aimom-push-banner.is-critical {
    border-left-color: #d04848;
    background: #fff0ed;
}

.aimom-push-banner.is-dismissed {
    opacity: 0;
    transform: translateX(20px);
}

.aimom-push-banner-icon {
    font-size: 1.3rem;
    text-align: center;
}

.aimom-push-banner-body {
    min-width: 0;
}

.aimom-push-banner-body strong {
    display: block;
    color: #163d63;
    font-weight: 850;
    font-size: 0.92rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aimom-push-banner-body p {
    margin: 2px 0 0;
    color: #5b7693;
    font-size: 0.78rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.aimom-push-banner-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aimom-push-banner-cta {
    background: #2a587f;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.aimom-push-banner-dismiss {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #5b7693;
    font-size: 1.15rem;
    cursor: pointer;
    border-radius: 50%;
}

.aimom-push-banner-dismiss:hover {
    background: rgba(91, 118, 147, 0.12);
}

.aimom-push-permission {
    position: fixed;
    bottom: 90px;
    right: 14px;
    z-index: 8500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #2a587f;
    border: 1px solid #c4dbea;
    border-radius: 999px;
    padding: 8px 14px;
    box-shadow: 0 10px 24px rgba(20, 40, 70, 0.15);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 850;
}

.aimom-push-permission.is-on {
    background: #d6f3df;
    color: #1f6b3a;
    border-color: #a5dcb6;
}

@media (max-width: 520px) {
    .aimom-push-banner-host {
        top: 8px;
        width: calc(100vw - 16px);
    }

    .aimom-push-banner {
        padding: 8px 10px;
    }

    .aimom-push-banner-body strong {
        font-size: 0.88rem;
    }
}
