:root {
  --bg: #141414;
  --panel: #1d1d1d;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --accent: #4a90e2;
}

* { box-sizing: border-box; }

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

.pairing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 2rem;
}

.pairing header { text-align: center; max-width: 36rem; }
.pairing h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.pairing header p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.qr-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.qr-slot {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  width: min(60vmin, 26rem);
  height: min(60vmin, 26rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-slot svg { width: 100%; height: 100%; display: block; }
.qr-loading { color: #666; font-style: italic; }

.status {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
}
.expiry {
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
