.footer-install {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 7px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #17544c;
  font: 700 13px/1.25 Manrope, sans-serif;
  white-space: nowrap;
}
.install-glyph {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: #dbe8dd;
  color: #13584b;
}
.footer-install:hover .install-title { text-decoration: underline; text-underline-offset: 3px; }
.footer-install:is(:hover, :focus-visible) .install-glyph { background: #c9dfd0; }
.footer-install:active .install-glyph { background: #bcd9c6; }
.footer-install[hidden], .install-sheet:not([open]) { display: none; }
.install-sheet {
  position: fixed;
  width: min(26rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid #dad7c9;
  border-radius: 24px;
  background: #fbf8f2;
  color: #18251f;
  box-shadow: 0 20px 80px #13261e38;
  overscroll-behavior: contain;
  overflow: auto;
}
.install-sheet::backdrop { background: #1228218c; }
.install-sheet-inner { position: relative; padding: 30px; }
.install-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: #516157; font: 26px/1 system-ui;
}
.install-mark { border-radius: 15px; box-shadow: 0 1px 4px #153d2919; }
.install-platform { margin: 18px 0 6px; color: #326152; font: 650 .75rem/1.4 Manrope,sans-serif; }
.install-sheet h2 { font: 500 clamp(1.85rem,5vw,2.3rem)/1.1 var(--serif,Georgia); letter-spacing: -.035em; }
.install-steps { margin: 20px 0 24px; padding-left: 1.6rem; }
.install-steps li { padding-left: .25rem; margin-top: .6rem; font: 500 .93rem/1.55 Manrope,sans-serif; }
.install-steps li::marker { color: #007568; font-weight: 750; }
.install-done { width: 100%; min-height: 44px; border: 0; border-radius: 14px; background: #004c44; color: white; font-weight: 650; }
html:has(.install-sheet[open]) { overflow: hidden; }
@media (max-width: 600px) {
  .footer-install { column-gap: 6px; font-size: clamp(11.5px, 3.1vw, 13px); }
  .install-glyph { width: 25px; height: 25px; border-radius: 7px; }
  .install-glyph svg { width: 16px; height: 16px; }
  .install-sheet { margin: auto auto 0; width: min(100%, 28rem); max-height: calc(100dvh - 12px); border-radius: 24px 24px 0 0; }
  .install-sheet-inner { padding: 24px 22px max(22px, env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom, 0px)); }
}
@media (max-width: 345px) {
  .footer-install { column-gap: 5px; letter-spacing: -.02em; }
  .install-glyph { width: 22px; height: 22px; border-radius: 6px; }
}
