.install-banner[hidden], .install-cta[hidden], .more-install[hidden] { display: none; }
.install-banner { position: fixed; z-index: 46; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(540px, calc(100% - 24px)); box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 16px 52px 16px 16px; border: 1px solid #d7dfd1; border-radius: 22px; background: #fffdf8; color: #123b2b; box-shadow: 0 12px 40px rgb(10 26 18 / .18); }
.install-banner img, .install-guide img { flex: none; border-radius: 12px; }
.install-banner strong { font-size: 14px; }
.install-banner p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: #526358; }
.install-cta { flex: none; border: 0; border-radius: 24px; background: #123b2b; color: #fffdf8; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; padding: 12px 18px; min-height: 44px; cursor: pointer; }
.install-dismiss { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; color: #526358; }
.install-guide { width: min(440px, calc(100% - 32px)); box-sizing: border-box; max-height: 85dvh; overflow: auto; padding: 28px; border: 1px solid #d7dfd1; border-radius: 26px; background: #fffdf8; color: #123b2b; }
.install-guide::backdrop { background: rgb(10 26 18 / .55); }
.install-guide header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.install-guide header button { min-width: 44px; min-height: 44px; }
.install-guide h2 { font: 500 34px/1.1 var(--serif); margin: 10px 0 16px; }
.install-guide p { color: #526358; font-size: 15px; line-height: 1.6; }
.install-guide ol { list-style: none; counter-reset: step; padding: 0; margin: 24px 0; }
.install-guide li { counter-increment: step; position: relative; padding: 0 0 20px 42px; font-size: 15px; line-height: 1.6; }
.install-guide li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; background: #e9f1ea; border-radius: 50%; font-size: 13px; font-weight: 700; }
.install-guide .install-cta { width: 100%; }
.install-status:empty { display: none; }
.more-install { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; border-top: 1px solid var(--line); color: var(--green); font-weight: 600; }
@media (max-width: 600px) {
  .install-banner { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; padding: 14px 48px 14px 14px; border-radius: 18px; }
  .install-banner > img { width: 40px; height: 40px; grid-column: 1; grid-row: 1; align-self: start; }
  .install-banner > div { grid-column: 2; min-width: 0; }
  .install-banner strong { display: block; font-size: 14px; line-height: 1.4; }
  .install-banner p { font-size: 12px; line-height: 1.4; }
  .install-banner .install-cta { grid-column: 2; justify-self: end; padding: 10px 18px; }
}

.footer-install { color: var(--ink-2); font-weight: 600; text-align: left; min-height: 44px; }

.head-install { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--green); }
.head-install svg { width: 21px; height: 21px; }
.head-install:hover { background: var(--sunk); }
.head-install[hidden] { display: none; }
@media (max-width: 760px) {
  .head-install { margin-left: auto; }
  .head-install:not([hidden]) + .head-clock { margin-left: 0; }
  .masthead { gap: 8px; }
}
