/* EDITABLE — public connect page styles */
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --card: #14181f;
  --fg: #e8eef7;
  --dim: #8b98a8;
  --accent: #3b82f6;
  --border: #2a3340;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}
.landing-card {
  width: min(420px, 100%); background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px; text-align: center;
}
h1 { margin: 0 0 10px; font-size: 1.45rem; font-weight: 700; }
.dim { color: var(--dim); font-size: 0.95rem; line-height: 1.45; }
button, .connect-wallet, #connect-wallet {
  appearance: none; border: 0; border-radius: 10px; padding: 12px 18px;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 1rem;
  cursor: pointer;
}
button:hover, .connect-wallet:hover, #connect-wallet:hover { filter: brightness(1.08); }
.wallet { margin-top: 16px; }
footer { position: fixed; right: 16px; bottom: 16px; }
footer a.gear {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--card); border: 1px solid var(--border);
  color: var(--dim); text-decoration: none; font-size: 1.1rem;
}
footer a.gear:hover { color: var(--fg); }
#ios-chrome-open.ios-chrome-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
  background: rgba(0, 0, 0, 0.55);
}
#ios-chrome-open[hidden] { display: none !important; }
#ios-chrome-open .ios-chrome-panel {
  width: min(420px, 100%); max-height: 90vh; overflow: auto;
  background: #111; color: #fff; border: 1px solid #444; border-radius: 16px;
  padding: 20px; box-shadow: 0 16px 48px rgba(0,0,0,.55);
  font-size: 15px; text-align: left;
}
#ios-chrome-open .ios-chrome-title { font-weight: 700; font-size: 17px; margin-bottom: 10px; }
#ios-chrome-open .ios-chrome-copy { opacity: 0.88; margin: 0 0 12px; line-height: 1.45; font-size: 14px; }
#ios-chrome-open .ios-chrome-wait { opacity: 0.75; margin: 0 0 14px; line-height: 1.4; font-size: 14px; }
#ios-chrome-open .ios-chrome-actions { display: flex; flex-direction: column; gap: 10px; }
#ios-chrome-open .ios-chrome-actions a {
  display: block; background: var(--accent); color: #fff; font-weight: 650;
  padding: 12px 16px; border-radius: 10px; text-decoration: none; text-align: center;
}
#ios-chrome-open .ios-chrome-actions a[aria-disabled="true"] {
  opacity: 0.4; pointer-events: none; cursor: not-allowed;
}

#ios-chrome-open .ios-chrome-close {
  display: block; width: 100%; margin-top: 12px;
  background: transparent; color: #fff; border: 1px solid #555;
  border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer;
}
