.app-update-notice {
    position: fixed;
    z-index: 2147483000;
    top: max(12px, env(safe-area-inset-top));
    left: 50%;
    display: flex;
    width: min(560px, calc(100vw - 24px));
    min-height: 58px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 10px 16px;
    color: #fff;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.3);
    transform: translateX(-50%);
    backdrop-filter: blur(14px);
}

.app-update-notice__text {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 2px;
}

.app-update-notice__text strong {
    font-size: 15px;
    line-height: 1.3;
}

.app-update-notice__text small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.4;
}

.app-update-notice button {
    flex-shrink: 0;
    min-width: 96px;
    min-height: 44px;
    padding: 0 16px;
    color: #0f172a;
    background: #fff;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.app-update-notice button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.app-update-notice .app-update-notice__close {
    min-width: 36px;
    padding: 0 8px;
    color: #fff;
    background: transparent;
    font-size: 24px;
}

@media (max-width: 480px) {
    .app-update-notice {
        gap: 10px;
        padding-left: 14px;
    }

    .app-update-notice button {
        min-width: 88px;
        padding: 0 12px;
    }
}
