.pwa-install-top {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: linear-gradient(90deg, #1E4B70 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
    padding: calc(8px + env(safe-area-inset-top, 0)) 10px 8px;
}

.pwa-install-top.is-visible {
    display: block;
    pointer-events: auto;
}

html.has-pwa-install-top body {
    padding-top: 46px;
}

html.has-pwa-install-top body.pwa-mobile-shell {
    padding-top: 46px;
}

.pwa-install-top__inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-install-top__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.pwa-install-top__copy {
    flex: 1;
    min-width: 0;
}

.pwa-install-top__title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.pwa-install-top__hint {
    display: block;
    font-size: 0.62rem;
    opacity: 0.85;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-top__btn {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    padding: 7px 11px;
    background: #fff;
    color: #1E4B70;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.pwa-install-top__btn:disabled {
    opacity: 0.6;
}

.pwa-install-top__close {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 420px) {
    .pwa-install-top__hint {
        display: none;
    }
}
