#chryma-install-message {
    position: fixed;
    z-index: 10050;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 12px;
    border: 1px solid #D0D7DE;
    border-radius: 12px;
    background: #fff;
    color: #0F172A;
    box-shadow: 0 8px 32px #0F172A26;
    font: 15px/1.4 'Segoe UI', sans-serif;
    text-align: left;
}

#chryma-install-message .chryma-install-icon { width: 44px; height: 44px; object-fit: contain; }
#chryma-install-title { margin: 0; max-width: 320px; font: inherit; font-weight: 600; overflow-wrap: anywhere; }
#chryma-install-message .chryma-install-actions { display: flex; gap: 8px; }
#chryma-install-message button {
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #8EBF42;
    border-radius: 8px;
    background: #fff;
    color: #0F172A;
    font: inherit;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    white-space: nowrap;
}
#chryma-install-message button:first-child { background: #8EBF42; color: #fff; }
#chryma-install-message button:hover { border-color: #6F9F2A; background: #F8FAFC; }
#chryma-install-message button:first-child:hover { background: #6F9F2A; }
#chryma-install-message button:focus-visible { outline: 3px solid #1F4E79; outline-offset: 3px; }
#chryma-install-message button:disabled { opacity: .65; cursor: wait; }
#chryma-install-message [hidden] { display: none !important; }

@media (max-width: 520px) {
    #chryma-install-message { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; }
    #chryma-install-title { max-width: none; }
    #chryma-install-message .chryma-install-actions { grid-column: 1 / -1; }
    #chryma-install-message button { flex: 1; white-space: normal; }
}
