:root {
  color: #1f2937;
  background: #f3f4f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f3f4f6;
}

button, a { font: inherit; }

.shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  background: #ffffff;
}

.brand {
  display: flex;
  justify-content: center;
  min-height: 82px;
  margin-bottom: 28px;
}

.brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

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

.intro { margin-bottom: 28px; }
.intro p { color: #4b5563; font-size: 17px; }

.passes { display: grid; gap: 12px; }

.pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 18px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #111827;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.pass:active { background: #f9fafb; }
.pass span { display: grid; gap: 4px; }
.pass strong { font-size: 18px; }
.pass small { color: #6b7280; font-size: 14px; }
.pass b { color: #c8102e; font-size: 21px; white-space: nowrap; }

.wallet-note {
  margin-top: 20px;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}

.result {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 36px 8px;
  text-align: center;
}

.result p { color: #4b5563; font-size: 17px; }
.result .support { color: #6b7280; font-size: 14px; }

.status-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #15803d;
  font-size: 32px;
  font-weight: 700;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #e5e7eb;
  border-top-color: #c8102e;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #c8102e;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

footer {
  margin-top: 42px;
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 521px) {
  body { padding: 32px 0; }
  .shell { min-height: auto; border: 1px solid #e5e7eb; border-radius: 8px; }
}

