/* Install button, card and how-to sheet. Anything marked [data-install] only shows on devices that can still install. */
[data-install] { display: none !important; }
html.inst-ok [data-install] { display: revert !important; }
.installcard { display: flex; align-items: center; gap: 14px; margin: 18px auto 0; max-width: 560px; padding: 14px 16px; border-radius: 22px; background: linear-gradient(#FFFFFF, #FFF7E8); color: #3A2200; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #F2C25A, 0 7px 0 6px #B86A00, 0 14px 22px rgba(20, 50, 120, 0.2); text-align: left; }
html.inst-ok .installcard { display: flex !important; }
.installcard img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.installcard .insttx { flex: 1; min-width: 0; }
.installcard b { display: block; font: 400 1.25rem/1.1 var(--title, sans-serif); color: #10357E; }
.installcard small { display: block; margin-top: 3px; font-weight: 700; font-size: 0.85rem; color: #6A5030; }
.installcard .btn { flex: none; }
.instlink { background: none; border: 0; padding: 6px 4px; font: 700 0.9rem var(--body, sans-serif); color: inherit; text-decoration: underline; cursor: pointer; opacity: 0.85; }
.instback { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 25, 70, 0.55); }
.instbox { width: min(420px, 100%); max-height: 90vh; overflow: auto; padding: 22px 20px; border-radius: 24px; background: linear-gradient(#FFFFFF, #FFF7E8); color: #3A2200; box-shadow: 0 0 0 4px #fff, 0 0 0 8px #F2C25A, 0 18px 30px rgba(0, 0, 0, 0.3); font: 600 1rem/1.45 var(--body, sans-serif); text-align: left; }
.instbox h2 { margin: 0 0 10px; font: 400 1.5rem/1.1 var(--title, sans-serif); color: #10357E; }
.instbox ol { margin: 0 0 10px; padding-left: 1.3em; }
.instbox li { margin: 8px 0; }
.instnote { margin: 8px 0 14px; font-size: 0.9rem; color: #6A5030; }
.instbox .btn { display: block; width: 100%; }
