/* Compact install hint that lives inside the always-visible bottom navigation. */
.page-navigation .install-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.install-hint[hidden], .install-footer-button[hidden] { display: none !important; }
.install-hint-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.page-navigation .install-hint button {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #49617f;
    border-radius: 8px;
    background: transparent;
    color: #e6edf7;
    font-size: 12px;
    white-space: nowrap;
}
.page-navigation .install-hint .install-primary { background: #e3b55d; border-color: #e3b55d; color: #102037; font-weight: 700; }
.page-navigation .install-hint .install-dismiss { background: transparent; color: #dbe4ed; font-weight: 500; }
.page-navigation .install-hint button:focus-visible, .install-footer-button:focus-visible { outline: 2px solid #e3b55d; outline-offset: 3px; }
/* Guidance pops above the fixed navigation without widening the page. */
.install-instructions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    z-index: 1031;
    padding: 12px 44px 12px 14px;
    border: 1px solid #344663;
    border-radius: 10px;
    background: #11233b;
    color: #e6edf7;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.install-instructions[hidden] { display: none; }
/* Guidance can always be dismissed from inside the block itself. */
.install-instructions-close {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #e6edf7;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}
.install-instructions-close:hover { background: rgba(255, 255, 255, .24); }
.install-instructions p { margin: 6px 0 0; color: #b7c7dd; overflow-wrap: anywhere; }
.install-instructions p:first-child { margin-top: 0; }
.install-status { margin: 6px 0 0; }
.install-status:empty { display: none; }
.install-footer-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
