/* Pre-Flutter screen: the phone install gate.
   Kept out of index.html because `flutter_native_splash:create` rewrites its <style> block. */
:root { --bg: #fff; --ink: #111; --ink2: rgba(17, 17, 17, .6); --rule: rgba(17, 17, 17, .12); }
@media (prefers-color-scheme: dark) {
  :root { --bg: #111; --ink: #fff; --ink2: rgba(255, 255, 255, .6); --rule: rgba(255, 255, 255, .15); }
}

#install-gate {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  padding: 48px 24px 32px;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  font: 15px/1.9 -apple-system, system-ui, sans-serif;
  text-align: center;
}
#install-gate img { width: 88px; height: 88px; border-radius: 20px; }
#install-gate h1 { font-size: 22px; line-height: 1.5; margin: 20px 0 8px; }
#install-gate p { margin: 0 auto; max-width: 340px; color: var(--ink2); }
#install-gate ol { list-style: none; padding: 0; margin: 28px auto 0; max-width: 340px; text-align: right; }
#install-gate li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
#install-gate li b {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  line-height: 28px;
}
#install-gate svg { vertical-align: -5px; }
#install-gate button {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 24px auto 0;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 700;
}
#install-gate button.quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
#install-gate .note { margin-top: 20px; font-size: 13px; color: var(--ink2); }
