:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #241443;
  background: #f8f7fc;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { display: flex; flex-direction: column; }
[hidden] { display: none !important; }
#app-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: max(8px, env(safe-area-inset-top)) 16px 8px;
  background: #ede8f7;
  font-size: 14px;
}
button, .retry-link {
  border: 1px solid #1e005a;
  border-radius: 8px;
  background: #1e005a;
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
button:focus-visible, a:focus-visible { outline: 3px solid #a388e2; outline-offset: 3px; }
#dismiss-install { color: #1e005a; background: transparent; border-color: transparent; }
#flutter-app { position: relative; flex: 1; min-height: 0; width: 100%; }
#app-loading, .offline-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
#app-loading img, .offline-page img { border-radius: 18px; }
h1 { margin: 20px 0 0; font-size: 28px; }
p { max-width: 420px; line-height: 1.6; }
noscript { padding: 24px; text-align: center; }
