.adhero-install-trigger {
    display: block;
    margin: 14px auto 0;
    padding: 10px 4px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font: 600 0.65rem 'Inter', system-ui, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 44px;
}
#coachLoginForm[style*="display: none"] + .adhero-install-trigger { display: none; }
.adhero-install-trigger:hover { color: rgba(255,255,255,0.85); }
.adhero-install-trigger:focus-visible,
.adhero-install-sheet__done:focus-visible {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: 3px;
}
.adhero-install-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', system-ui, sans-serif;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.adhero-install-dialog[open] { display: flex; align-items: flex-end; justify-content: center; }
.adhero-install-dialog::backdrop {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.adhero-install-dialog.is-open { opacity: 1; }
.adhero-install-sheet {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    max-height: 90%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(20,20,20,0.86);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(24px);
    transition: transform 0.26s cubic-bezier(0.16,1,0.3,1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.adhero-install-dialog.is-open .adhero-install-sheet { transform: translateY(0); }
.adhero-install-sheet__title,
.adhero-install-sheet__heading {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0;
}
.adhero-install-sheet__title { text-align: center; letter-spacing: 0.22em; }
.adhero-install-sheet__section + .adhero-install-sheet__section {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px;
}
.adhero-install-sheet__platform {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 12px 0 6px;
    color: rgba(255,255,255,0.7);
}
.adhero-install-sheet__steps {
    padding-left: 22px;
    margin: 10px 0 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.65;
}
.adhero-install-sheet__steps li + li { margin-top: 8px; }
.adhero-install-sheet__steps strong { font-weight: 600; }
.adhero-install-sheet__done {
    flex-shrink: 0;
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
    font: 600 0.75rem 'Inter', system-ui, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}
.adhero-install-sheet__done:hover { background: rgba(255,255,255,0.14); }
@media (prefers-reduced-motion: reduce) {
    .adhero-install-dialog, .adhero-install-sheet { transition: none; }
}
