* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overscroll-behavior-y: contain;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.home-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 8px 0 16px;
  border-radius: 16px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 32px;
  text-align: center;
}

.home-tagline {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f8fafc;
  text-shadow: 0 0 24px rgba(239, 68, 68, 0.35);
}

.card {
  background: #1e293b;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#dashboardView, #settingsView {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
}

.page-header h1 {
  margin-bottom: 0;
}

.gear-btn {
  background: #1e293b;
  color: #f8fafc;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gear-btn:hover {
  background: #334155;
}

.home-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  font-weight: 600;
}

.btn-primary {
  background: #6366f1;
  color: white;
  padding: 16px;
  font-size: 1.1rem;
}

.btn-primary:hover {
  background: #4f46e5;
}

.upgrade-btn {
  width: 100%;
  margin: 12px 0;
}

.subscribe-plans {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.subscribe-plans .upgrade-btn {
  margin: 0;
}

.restore-form {
  width: 100%;
  margin: 0 0 12px;
}

.restore-form label {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.restore-form .btn-secondary {
  width: 100%;
}

.btn-secondary {
  background: #334155;
  color: #f8fafc;
  padding: 16px;
  font-size: 1.1rem;
}

.btn-secondary:hover {
  background: #475569;
}

input, textarea, select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  font-size: 16px; /* iOS Safari auto-zooms on focus for inputs under 16px */
  font-family: inherit;
  margin-bottom: 12px;
}

textarea {
  resize: vertical;
}

.thank-logo.hidden {
  display: none;
}

.thank-logo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 16px;
}

.thank-buzzer-logo {
  display: block;
  width: 140px;
  height: auto;
  border-radius: 16px;
  margin: 12px auto 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.thank-buzzer-logo.hidden {
  display: none;
}

.host-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 12px;
}

.host-logo.hidden {
  display: none;
}

.thank-message {
  color: #cbd5e1;
  white-space: pre-wrap;
  text-align: center;
  margin: 0 0 20px;
}

.thank-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.thank-links a {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #334155;
  color: #f8fafc;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
}

.thank-links a.thank-create-own {
  background: #ef4444;
}

.thank-join {
  background: none;
  color: #94a3b8;
  padding: 8px;
  font-size: 0.95rem;
  width: 100%;
}

.sms-opt-in {
  text-align: left;
  margin: 0 0 20px;
  padding: 16px;
  background: #0f172a;
  border-radius: 12px;
}

.sms-opt-in-consent {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 12px;
}

.sms-opt-in input[type="tel"] {
  width: 100%;
  margin-bottom: 8px;
}

.sms-opt-in-done {
  color: #86efac;
  text-align: center;
  margin: 8px 0 0;
  font-weight: 600;
}

#thankYouView {
  text-align: center;
}

.thank-clear-image {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  font-size: 0.95rem;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #6366f1;
}

.code-display {
  text-align: center;
  margin-bottom: 24px;
}

.code-display .code {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #a5b4fc;
}

.section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 20px 0 8px;
}

.player-list, .buzz-list, .team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-list li, .buzz-list li, .team-list li {
  background: #0f172a;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.buzz-list li:first-child {
  background: #166534;
  font-weight: 700;
}

.disconnected {
  opacity: 0.4;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: white;
}

.mini-btn.award {
  background: #16a34a;
}

.mini-btn.penalty {
  background: #dc2626;
}

.mini-btn.delete {
  background: #334155;
}

.team-select {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 6px;
  font-size: 0.85rem;
}

.award-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.award-row label {
  color: #94a3b8;
  font-size: 0.9rem;
}

.award-row input {
  width: 90px;
  margin-bottom: 0;
}

.team-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.team-form input {
  margin-bottom: 0;
  flex: 1;
}

.team-form button {
  padding: 0 16px;
}

.controls {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.controls button {
  flex: 1;
  /* Same outer size as before: less padding offsets larger type */
  padding: 9px 10px;
  min-width: 100px;
  min-height: 44px;
  font-size: 1.12rem;
  line-height: 1.15;
}

.controls-center {
  justify-content: center;
}

.controls-center button {
  flex: 0 1 auto;
  min-width: 180px;
}

.scoring-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scoring-actions button {
  width: 100%;
  padding: 24px 16px;
  font-size: 1.05rem;
}

.lock-btn {
  background: #dc2626;
  color: white;
}

.unlock-btn {
  background: #16a34a;
  color: white;
}

.reset-btn {
  background: #334155;
  color: #f8fafc;
}

.clear-buzzers-btn {
  background: #facc15;
  color: #0f172a;
}

.clear-buzzers-btn:hover {
  background: #eab308;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.status-open {
  background: #166534;
  color: #dcfce7;
}

.status-locked {
  background: #7f1d1d;
  color: #fee2e2;
}

.buzzer-btn {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f87171, #b91c1c);
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 10px 0 #7f1d1d, 0 15px 30px rgba(0,0,0,0.4);
  margin: 32px auto;
  display: block;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.buzzer-btn:active:not(:disabled) {
  transform: translateY(8px);
  box-shadow: 0 2px 0 #7f1d1d, 0 6px 16px rgba(0,0,0,0.4);
}

.buzzer-btn:disabled {
  background: radial-gradient(circle at 35% 30%, #94a3b8, #475569);
  box-shadow: 0 10px 0 #334155, 0 15px 30px rgba(0,0,0,0.4);
  cursor: not-allowed;
}

.buzzer-btn.first:disabled {
  background: radial-gradient(circle at 35% 30%, #4ade80, #16a34a);
  box-shadow: 0 10px 0 #166534, 0 15px 30px rgba(0,0,0,0.4);
}

.buzz-result {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  min-height: 1.5em;
}

.leaderboard-section {
  margin-top: 24px;
}

.leaderboard-section .player-list li.me {
  outline: 2px solid #6366f1;
}

.bid-locked-message {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0;
}

#bidInput {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.winner-banner {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 20px;
  animation: flash-pulse 0.6s ease-in-out 3;
}

.error-msg {
  color: #fca5a5;
  min-height: 1.2em;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

a {
  color: #a5b4fc;
}

small {
  color: #94a3b8;
}

.setting-hint {
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}

.team-picker {
  margin-bottom: 12px;
}

.team-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-swatch {
  padding: 10px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  border: 2px solid var(--team-color, #334155);
  font-weight: 600;
}

.team-swatch.selected {
  background: var(--team-color, #334155);
}

.team-label {
  text-align: center;
  font-weight: 700;
  margin-bottom: 8px;
}

.name-label {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 8px;
}

.score-line {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 8px;
}

.score-line strong {
  color: #f8fafc;
  font-size: 1.2rem;
}

.timer-display {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #a5b4fc;
  margin-bottom: 16px;
}

.timer-display.countdown-mode {
  color: #fbbf24;
}

.timer-display.flash {
  animation: flash-pulse 0.3s ease-in-out 4;
  color: #ef4444;
}

@keyframes flash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.mode-active {
  background: #6366f1 !important;
}

.bid-status {
  text-align: center;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 16px;
}

.bid-winner-result {
  text-align: center;
  font-weight: 700;
  margin-top: 12px;
  min-height: 1.4em;
  color: #4ade80;
}

.locked-icon {
  color: #4ade80;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 12px 0;
}

.checkbox-row input {
  width: auto;
  margin: 0;
}

.qr-wrap {
  display: flex;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 16px;
}

.qr-wrap img {
  display: block;
  width: 200px;
  height: 200px;
}

.join-link {
  text-align: center;
  margin-top: 12px;
  color: #a5b4fc;
  font-size: 0.9rem;
  word-break: break-all;
}

.collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  padding: 0;
  text-align: left;
}

.collapse-toggle .section-title {
  margin: 0;
}

.collapse-arrow {
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1;
}

#scanToJoinContent {
  margin-top: 12px;
}

/* —— VSL / How it works (Arena) —— */
.vsl-page {
  --vsl-bg: #070b10;
  --vsl-fg: #f8fafc;
  --vsl-red: #ef4444;
  --vsl-ice: #22d3ee;
  --vsl-muted: #94a3b8;
  --vsl-panel: #0b1220;
  align-items: stretch;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(239, 68, 68, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(34, 211, 238, 0.1), transparent 50%),
    var(--vsl-bg);
  color: var(--vsl-fg);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 0;
}

.vsl-page a {
  color: inherit;
  text-decoration: none;
}

.vsl-top {
  display: flex;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 16px 0;
}

.vsl-brand img {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 0 #000, 0 12px 28px rgba(0, 0, 0, 0.45);
}

.vsl-hero,
.vsl-section,
.vsl-band {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 22px max(16px, env(safe-area-inset-right)) 22px max(16px, env(safe-area-inset-left));
}

.vsl-hero {
  padding-bottom: 8px;
}

.vsl-hero + .vsl-section {
  padding-top: 12px;
}

.vsl-section + .vsl-section {
  padding-top: 12px;
}

.vsl-eyebrow {
  margin: 0 0 14px;
  color: var(--vsl-ice);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.vsl-hero h1,
.vsl-section h2 {
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.vsl-hero h1 {
  font-size: clamp(2rem, 8vw, 3.4rem);
}

.vsl-section h2 {
  font-size: clamp(1.6rem, 6vw, 2.6rem);
}

.vsl-accent,
.vsl-red {
  color: var(--vsl-red);
}

.vsl-ice-text {
  color: var(--vsl-ice);
}

.vsl-lead,
.vsl-subhead,
.vsl-section p,
.vsl-band p {
  margin: 0 0 10px;
  color: var(--vsl-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}

.vsl-lead {
  color: var(--vsl-fg);
  font-size: 1.15rem;
  font-weight: 600;
}

.vsl-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin: 18px auto 0;
  border: 3px solid var(--vsl-red);
  border-radius: 18px;
  background: var(--vsl-panel);
  box-shadow: 0 10px 0 #000;
}

.vsl-video-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.vsl-video span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vsl-fg);
}

.vsl-video small {
  color: var(--vsl-muted);
}

.vsl-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.vsl-btn {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 3px solid #000;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 0 #000;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.vsl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #000;
}

.vsl-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #000;
}

.vsl-btn-red {
  background: var(--vsl-red);
  color: #fff;
}

.vsl-btn-ghost {
  background: transparent;
  color: var(--vsl-fg);
  border-color: var(--vsl-ice);
  box-shadow: 0 6px 0 #022c34;
}

.vsl-band {
  width: 100%;
  max-width: none;
  background: var(--vsl-red);
  color: #fff;
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.vsl-band .vsl-hook-line,
.vsl-band p {
  color: #fff;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vsl-hook-line {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}

.vsl-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.vsl-step {
  padding: 18px;
  border: 3px solid #000;
  border-radius: 16px;
  background: var(--vsl-panel);
  box-shadow: 0 6px 0 #000;
}

.vsl-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--vsl-ice);
  color: #070b10;
  font-weight: 900;
  font-size: 1.2rem;
  border: 3px solid #000;
}

.vsl-step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vsl-red);
}

.vsl-step p {
  margin: 0;
  text-align: left;
}

.vsl-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.vsl-chips li {
  padding: 10px 14px;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--vsl-panel);
  color: var(--vsl-fg);
  font-size: 0.92rem;
  font-weight: 700;
}

.vsl-audience {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.vsl-audience article {
  padding: 18px;
  border: 3px solid #000;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.12), var(--vsl-panel) 55%);
  box-shadow: 0 6px 0 #000;
}

.vsl-audience h3 {
  margin: 0 0 8px;
  color: var(--vsl-ice);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.vsl-audience p {
  margin: 0;
  text-align: left;
}

.vsl-offer {
  text-align: center;
}

.vsl-plans {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  text-align: left;
}

.vsl-plan {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 22px;
  border: 3px solid #000;
  border-radius: 16px;
  background: var(--vsl-panel);
  box-shadow: 0 6px 0 #000;
}

.vsl-plan-featured {
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.14), var(--vsl-panel) 50%);
  border-color: var(--vsl-ice);
}

.vsl-plan h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vsl-red);
  text-align: center;
}

.vsl-plan-featured h3 {
  color: var(--vsl-ice);
}

.vsl-plan-price {
  margin: 0 0 4px !important;
  text-align: center;
  color: var(--vsl-fg) !important;
  font-weight: 800;
}

.vsl-plan-price span {
  display: inline-block;
  color: var(--vsl-red);
  font-size: clamp(2.2rem, 8vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.vsl-plan-featured .vsl-plan-price span {
  color: var(--vsl-ice);
}

.vsl-plan-cap {
  margin: 0 0 14px !important;
  text-align: center;
  color: var(--vsl-fg) !important;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vsl-plan-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--vsl-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.vsl-plan-list li {
  margin-bottom: 8px;
}

.vsl-plan-list li:last-child {
  margin-bottom: 0;
}

.vsl-plan-cta {
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  box-sizing: border-box;
}

.vsl-plan-footnote {
  margin: 8px auto 0 !important;
  max-width: 520px;
  font-size: 0.95rem !important;
}

.vsl-price {
  margin: 18px 0 8px !important;
  color: var(--vsl-fg) !important;
  font-weight: 800;
}

.vsl-price span {
  display: inline-block;
  color: var(--vsl-red);
  font-size: clamp(2.8rem, 10vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.vsl-offer .vsl-btn,
.vsl-close .vsl-btn {
  max-width: 420px;
  margin: 22px auto 0;
}

.vsl-close-plans {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 22px auto 0;
}

.vsl-close-plans .vsl-btn {
  margin: 0;
  max-width: none;
}

.vsl-home-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: var(--vsl-muted);
  font-weight: 600;
}

.vsl-close {
  padding-bottom: max(48px, env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
  .vsl-actions {
    flex-direction: row;
    max-width: 560px;
  }

  .vsl-steps {
    grid-template-columns: 1fr 1fr;
  }

  .vsl-audience {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .vsl-plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
  }

  .vsl-close-plans {
    max-width: 720px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.host-email-gate,
.host-upgrade-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.78);
}

.host-email-gate.hidden,
.host-upgrade-modal.hidden {
  display: none;
}

.host-email-gate-card,
.host-upgrade-card {
  width: 100%;
  max-width: 420px;
  margin: 0;
}

.host-email-gate-card h1,
.host-upgrade-card h2 {
  margin: 0 0 10px;
  text-align: center;
}

.host-upgrade-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.host-upgrade-actions .btn-primary,
.host-upgrade-actions .btn-secondary {
  display: block;
  text-align: center;
  text-decoration: none;
}

