#install-guide, #install-help { font-family: system-ui, sans-serif; }
#install-guide {
  box-sizing: border-box;
  width: min(440px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #ffffff30;
  border-radius: 24px;
  background: #fff;
  color: #202738;
  box-shadow: 0 24px 90px #0006;
  overflow: auto;
}
#install-guide::backdrop { background: #0c1425d9; }
.install-card { padding: 28px; }
.install-brand { color: #b5223b; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
#install-title { margin: 16px 0 12px; font-size: 32px; line-height: 1.1; letter-spacing: -1px; }
#install-intro { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
#install-guide label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
#install-browser { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #c6ccda; border-radius: 10px; background: #f5f7fa; color: #202738; font: inherit; font-size: 14px; }
#install-context { font-size: 13px; line-height: 1.5; color: #535d70; }
#install-steps { padding: 0; list-style: none; counter-reset: install-step; margin: 22px 0; }
#install-steps li { counter-increment: install-step; position: relative; padding-left: 42px; min-height: 30px; margin: 18px 0; font-size: 15px; line-height: 1.5; }
#install-steps li::before { content: counter(install-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fbe9ed; color: #ad1c36; font-weight: 750; font-size: 13px; }
.install-note { font-size: 12px; line-height: 1.6; color: #535d70; }
#install-continue { width: 100%; padding: 15px; border: 0; border-radius: 12px; background: #b5223b; color: #fff; font: inherit; font-weight: 700; cursor: pointer; margin-top: 8px; }
#install-help { position: fixed; z-index: 10; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 10px 14px; border: 1px solid #ffffff70; border-radius: 24px; background: #202738ed; color: #fff; font-size: 12px; cursor: pointer; }
#install-guide :focus-visible, #install-help:focus-visible { outline: 3px solid #3479db; outline-offset: 3px; }
@media (max-height: 500px) { .install-card { padding: 20px; } #install-title { font-size: 26px; } }
