:root {
  color-scheme: light;
  --border: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.offline-card {
  width: min(100%, 420px);
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.offline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  font-size: 0.92rem;
}

.offline-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dc2626;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.14);
}

h1 {
  margin: 18px 0 12px;
  font-size: 1.6rem;
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.55;
}
