/* Every game surface occupies one viewport. Longer phone content uses tabs
   and card pages; ViewportFrame fits the active content on smaller screens. */
html,
body,
#app {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body { position: fixed; inset: 0; }
#app { height: var(--app-height, 100dvh); }

.tv-app,
.phone-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  touch-action: none;
}

button,
a,
input,
select { touch-action: manipulation; }
button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

.tv-header,
.phone-header { flex: none; }
.phone-header { min-height: 0; padding-block: max(8px, env(safe-area-inset-top)) 8px; }
.tv-header { height: 80px; padding-top: max(12px, env(safe-area-inset-top)); }

.viewport-frame {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.viewport-content {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flow-root;
  width: 100%;
  padding: 10px;
  transform-origin: center;
}

.viewport-frame-fill > .viewport-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.viewport-content .tv-stage,
.viewport-content .phone-screen,
.viewport-content .phone-results-screen {
  min-height: 0;
}

.viewport-content .tv-stage { padding-block: 24px 30px; }
.viewport-content .phone-screen { padding: 12px; }

.screen-deck {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  padding: 0 10px;
}

.screen-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  flex: none;
  gap: 6px;
  padding: 4px 2px;
}

.screen-tabs button,
.page-controls button {
  min-width: 0;
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.screen-tabs button.active { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.screen-tabs button:focus-visible,
.page-controls button:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.screen-page { min-width: 0; padding: 2px; }

.screen-actions {
  display: grid;
  flex: none;
  gap: 8px;
  padding: 8px 6px max(12px, env(safe-area-inset-bottom));
}

.screen-action-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.screen-actions .primary-button,
.screen-actions .secondary-button,
.screen-page .primary-button,
.screen-page .secondary-button {
  min-height: 46px;
  padding: 10px 12px;
  border-width: 2px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink);
}
.screen-actions .primary-button,
.screen-actions .secondary-button { margin: 0; }
.screen-actions button b,
.screen-page button b { min-width: 26px; height: 26px; border-radius: 8px; font-size: 16px; }

.page-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.page-controls span { text-align: center; font-size: 12px; font-weight: 850; }
.page-controls button { font-size: 21px; }
.page-controls button:disabled { opacity: 0.35; cursor: default; }
.card-pager { width: 100%; min-width: 0; }

.screen-page .game-picker-heading { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.screen-page .game-picker-count { font-size: 12px; }
.screen-page .game-preview { padding: 16px; }
.screen-page .game-preview-heading { gap: 12px; }
.screen-page .game-preview-icon { font-size: 38px; }
.screen-page .game-preview h1 { font-size: 30px; }
.screen-page .game-player-count { font-size: 12px; }
.screen-page .game-picker-controls > p,
.screen-page .game-picker-hint { margin: 14px 0 0; font-size: 14px; line-height: 1.35; }
.screen-page .game-picker-navigation { gap: 8px; }
.screen-page .game-picker-navigation button { font-size: 13px; }

.screen-page .phone-hero-card { padding: 18px; }
.screen-page .phone-hero-icon,
.phone-results-screen .phone-hero-icon { margin-top: 10px; font-size: 44px; }
.screen-page .phone-hero-card h1,
.screen-page .phone-results-screen h1 { font-size: 32px; line-height: 1.05; }
.screen-page .phone-hero-card p,
.screen-page .phone-results-screen > p { font-size: 15px; line-height: 1.4; }
.screen-page .phone-section-heading { margin: 0 0 12px; letter-spacing: 0.05em; }
.screen-page .waiting-card { margin-top: 14px; }
.screen-actions .waiting-card { margin: 0; padding: 10px; }
.screen-actions .waiting-card strong { font-size: 14px; }
.screen-actions .waiting-card p { font-size: 12px; }
.race-crew-picker { display: grid; gap: 8px; }
.race-crew-picker > header h1 { margin: 0; font-size: 23px; line-height: 1.1; }
.race-crew-picker > header p { margin: 5px 0 0; font-size: 12px; line-height: 1.3; }
.race-difficulty-badge { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 800; color: #3e3859; }
.race-difficulty-picker { display: grid; gap: 14px; }
.race-difficulty-picker header h1 { margin: 6px 0; font-size: 28px; }
.race-difficulty-picker header p { margin: 0; font-size: 14px; }
.race-difficulty-options { display: grid; gap: 10px; }
.race-difficulty-options button { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 14px; border: 2px solid var(--ink); border-radius: 14px; text-align: left; background: var(--white); color: var(--ink); }
.race-difficulty-options button[aria-pressed="true"] { background: var(--cyan-soft); border-color: #176a66; box-shadow: 3px 3px 0 #176a66; }
.race-difficulty-options button:disabled { opacity: 1; cursor: default; }
.race-difficulty-options button:focus-visible { outline: 3px solid #176a66; outline-offset: 3px; }
.race-difficulty-options strong { display: block; margin-bottom: 4px; font-size: 18px; }
.race-difficulty-options small { display: block; font-size: 12px; line-height: 1.35; }
.difficulty-level { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.difficulty-level i { width: 6px; height: 8px; border: 1px solid #8c879e; border-radius: 2px; }
.difficulty-level i:nth-child(2) { height: 16px; }
.difficulty-level i:nth-child(3) { height: 24px; }
.difficulty-level i.filled { border-color: var(--ink); background: var(--ink); }
.ship-picker-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ship-picker-tabs button { display: grid; justify-items: center; min-width: 0; min-height: 64px; padding: 3px; border: 2px solid #526180; border-radius: 12px; color: #f5f7ff; background: #172640; }
.ship-picker-tabs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ship-color); }
.ship-picker-tabs .race-sprite { width: 28px; height: 28px; color: var(--ship-color); }
.ship-picker-tabs strong { font-size: 13px; line-height: 1; }
.ship-picker-tabs small { font-size: 10px; color: #d4def0; }
.ship-seat-card { padding: 10px; border: 2px solid var(--ink); border-top: 5px solid var(--ship-color); border-radius: 14px; background: var(--white); }
.ship-seat-card h2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 17px; }
.ship-seat-card h2 small { font-size: 11px; font-weight: 600; }
.ship-seat-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ship-seat-choices button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 76px; padding: 6px; border: 2px solid var(--ink); border-radius: 10px; color: var(--ink); background: var(--paper); }
.ship-seat-choices strong { font-size: 14px; }
.ship-seat-choices span { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; font-weight: 700; }
.ship-seat-choices small { font-size: 10px; line-height: 1.2; }
.ship-solo-choice { width: 100%; min-height: 44px; margin-top: 8px; padding: 6px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 12px; font-weight: 800; }
.ship-seat-card button[aria-pressed="true"] { background: var(--cyan-soft); border-color: #176a66; }
.ship-seat-card button:disabled { cursor: default; background: #ececf2; color: #565369; border-color: #9693a4; }
.ship-choice-status { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; font-size: 12px; font-weight: 750; }
.ship-choice-status span { min-width: 0; }
.ship-choice-status button { flex: none; min-height: 44px; padding: 5px 8px; border: 1px solid var(--ink); border-radius: 8px; background: var(--white); font-size: 11px; }
.crew-ready-hint { margin: 0; text-align: center; font-size: 12px; line-height: 1.3; }
.crew-room-actions { margin-top: 14px; }
.race-lobby-stage .lobby-main h1 { margin-block: 14px; font-size: clamp(30px, 4vw, 58px); }
.race-lobby-ships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.race-lobby-ships article { min-width: 0; padding: 12px; border: 2px solid #344763; border-top: 5px solid var(--ship-color); border-radius: 14px; background: #172640; color: #f5f7ff; }
.race-lobby-ships header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.race-lobby-ships .race-sprite { flex: none; width: 34px; height: 34px; color: var(--ship-color); }
.race-lobby-ships p { display: flex; flex-direction: column; gap: 2px; margin: 7px 0 0; }
.race-lobby-ships p span { color: #ccd7ee; font-size: 11px; }
.race-lobby-ships p strong { font-size: 14px; overflow-wrap: anywhere; }
.screen-page .phone-crew-row small { letter-spacing: 0; }
.screen-page .crew-chip { width: 100%; }
.screen-page .crew-chip small { overflow-wrap: anywhere; }

.screen-page .game-guide { margin: 0; }
.game-guide .game-guide-content { padding: 16px; }
.game-guide .game-guide-content h3 { margin-top: 0; }
.game-guide .game-guide-content p { font-size: 15px; line-height: 1.45; }
.game-guide > .card-pager > .page-controls { margin: 0; padding: 0 12px 12px; }
.screen-page .intel-card { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.screen-page .intel-role { grid-template-columns: auto minmax(0, 1fr); }
.screen-page .intel-role small { grid-column: 2; justify-self: start; }
.screen-page .intel-card p { font-size: 17px; line-height: 1.45; }
.screen-hint { margin: 16px 0 0; font-size: 14px; line-height: 1.4; text-align: center; }
.screen-page .phone-stage { margin: 0; padding: 12px; }
.screen-page .option-button { min-height: 62px; padding: 8px; grid-template-columns: 36px minmax(0, 1fr); }
.screen-page .option-button > span { width: 34px; height: 34px; font-size: 19px; }
.screen-page .option-button strong { font-size: 14px; }
.screen-page .option-button small { font-size: 11px; }
.screen-page .mini-score { width: 90px; margin-bottom: 16px; border-radius: 24px; }
.screen-page .mini-score strong { font-size: 42px; }
.screen-page .phone-result-stamps { margin-top: 16px; }
.standing-result { margin: 12px 0; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.phone-results-screen { width: 100%; }
.toast-feedback { background: var(--cyan); color: var(--ink); }

.phone-connection-banner { flex: none; width: calc(100% - 28px); margin: 0 auto 6px; font-size: 12px; padding: 6px 10px; }
.viewport-content .connection-banner { position: relative; inset: auto; width: fit-content; max-width: 100%; margin: 0 auto 12px; transform: none; }
.keyboard-open .join-intro,
.keyboard-open .tiny-promise { display: none; }
.keyboard-open .join-panel { padding-block: 4px; gap: 10px; }
.keyboard-open .phone-header { padding-block: 4px; }

.race-phone { padding: 12px; border-radius: 18px; background: #0d1434; }
.race-phone header strong { min-width: 0; overflow-wrap: anywhere; }
.race-phone header > span { white-space: nowrap; }
.race-phone-status { margin: 8px 0; padding: 8px; }
.race-controls { margin-top: 10px; gap: 12px; }
.pilot-controls > strong,
.gunner-controls > strong { margin-bottom: 8px; font-size: 12px; }
.direction-pad,
.race-controls.solo .direction-pad { grid-template-rows: repeat(2, 56px); }
.pilot-actions button,
.shoot-button { min-height: 44px; }
.aim-pad { width: min(55vw, 225px); }
.race-controls.solo .aim-pad { width: min(34vw, 150px); }
.gunner-controls small { font-size: 11px; line-height: 1.25; }
.race-display {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 12px;
  gap: 8px;
  border: 1px solid #344763;
  border-radius: 22px;
  background: #101a33;
  color: #f5f7ff;
}
.race-topbar { flex: none; margin: 0; }
.race-world { flex: 1 0 140px; min-height: 140px; height: auto; }
.race-title small { color: #a8f3e7; font-size: 11px; }
.race-title strong { color: #f5f7ff; }
.race-course-progress > div:first-child,
.race-clock span { color: #ccd7ee; }
.race-course-progress b { color: #a8f3e7; }
.race-sector-label { padding: 5px 8px; border-radius: 6px; background: #081329; color: #e2eaf9; }
.race-legend { flex: none; padding: 0; gap: 6px 24px; color: #e2eaf9; font-size: 12px; font-weight: 600; }
.race-legend i { flex: none; width: 9px; height: 9px; }
.race-standings { flex: none; }
.race-standings article { padding: 8px 10px; background: #172640; border-color: #536587; border-top-color: var(--ship-color); }
.race-standing-stats small { color: #d4def0; }
.race-standing-stats { flex-wrap: wrap; row-gap: 2px; }
.race-lives em { color: #aebbd2; }
.race-standings article.out { opacity: 1; border-top-color: #aebbd2; }
.race-standings article.out .race-rank { background: #aebbd2; }
.race-ship.slowed .ship-flame { fill: #ffbe70; transform: scaleX(.5); animation: none; }
.race-standing-stats .race-slow-label,
.race-cruise-note.race-slow-note { color: #ffd18a; font-weight: 850; }
.race-phone-status span:first-child { color: #ff8eae; }
.shoot-button { background: #b82157; }
.shoot-button:active { color: #101a33; }
.gunner-controls small,
.race-latency { color: #ccd7ee; opacity: 1; }

@media (max-width: 900px) {
  .viewport-content .tv-stage { padding: 12px; }
  .pairing-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .pairing-stage .hero-copy { width: 100%; max-width: 560px; min-width: 0; text-align: center; }
  .pairing-stage h1 { margin: 12px auto; font-size: clamp(32px, 6vw, 48px); line-height: 1; }
  .pairing-stage h1 em { text-shadow: 2px 2px 0 var(--ink); -webkit-text-stroke-width: 1px; }
  .pairing-stage .hero-copy > p { font-size: 15px; line-height: 1.35; }
  .pairing-stage .three-beats { display: none; }
  .pairing-stage .eyebrow { max-width: 100%; margin-inline: auto; padding: 6px 10px; font-size: 10px; line-height: 1.3; }
  .pairing-stage .qr-card { width: min(100%, 220px); min-width: 0; padding: 14px; border-radius: 22px; transform: none; box-shadow: 8px 8px 0 var(--ink); }
  .pairing-stage .qr-card img { width: 100%; }
  .pairing-stage .qr-spark { display: none; }
  .pairing-stage .qr-card h2 { margin-top: 10px; font-size: 22px; }
  .pairing-stage .qr-card p { font-size: 14px; }
  .lobby-stage { grid-template-columns: minmax(0, 1fr) minmax(140px, 0.55fr); gap: 20px; }
  .lobby-main h1 { font-size: 40px; }
  .lobby-deck { font-size: 17px; }
  .crew-roster { gap: 8px; margin-top: 16px; }
  .crew-chip { padding: 8px; gap: 8px; }
  .crew-chip strong { font-size: 14px; }
  .crew-chip small { font-size: 9px; }
  .tv-host-note { margin-top: 14px; padding: 10px; font-size: 13px; }
  .join-card { padding: 14px; min-width: 0; transform: none; }
  .join-card img { width: min(100%, 180px); margin-inline: auto; }
  .join-card h2 { font-size: 22px; }
  .short-link { font-size: 12px; }
  .game-selection-stage { gap: 16px; }
  .game-selection-stage .game-preview { padding: 16px; }
  .game-selection-stage .game-preview h1 { font-size: 30px; }
  .game-selection-stage .game-preview-description { margin: 12px 0; font-size: 16px; }
  .game-selection-stage .game-preview-rules { gap: 8px; font-size: 14px; }
  .game-selection-stage .game-picker-hint { margin-top: 12px; font-size: 14px; }
  .game-selection-stage .game-picker-heading { flex-wrap: wrap; margin-bottom: 12px; }
  .game-selection-stage .join-card { width: min(100%, 240px); }
  .game-selection-stage .join-card img { width: 140px; }
}

@media (max-width: 700px) {
  .tv-header { height: auto; flex-wrap: wrap; gap: 10px; padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .tv-header .brand-mark { width: 34px; height: 34px; }
  .tv-header .brand-name { font-size: 15px; }
  .tv-header .language-switch { margin-right: 0; }
  .tv-room-status { flex-basis: 100%; justify-content: space-between; gap: 12px; }
  .tv-header .room-pill { gap: 8px; padding: 2px 5px 2px 11px; }
  .tv-header .room-pill span { font-size: 10px; }
  .tv-header .room-pill strong { font-size: 14px; padding-block: 3px; }
  .tv-header .room-population { font-size: 12px; }
  .pairing-stage { gap: 14px; }
  .pairing-stage .hero-copy > p { font-size: 14px; }
  .pairing-stage .qr-card { width: min(100%, 190px); padding: 12px; }
  .pairing-stage .qr-card h2 { font-size: 20px; }
  .lobby-stage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lobby-main h1 { margin-block: 12px; font-size: 34px; }
  .lobby-main .crew-roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-stage .join-card { width: 200px; }
  .lobby-stage .join-card img { width: 130px; }
  .heist-heading { align-items: start; gap: 12px; }
  .heist-heading h1 { font-size: 34px; }
  .target-badge { display: none; }
  .planning-instruction { font-size: 16px; }
  .plan-board { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; gap: 12px; }
  .plan-stage-card { min-height: 170px; padding: 12px; }
  .stage-icon { width: 45px; height: 45px; font-size: 24px; margin-block: 10px; }
  .plan-stage-card > strong { font-size: 17px; }
  .plan-stage-card small { font-size: 9px; }
  .stage-label { font-size: 11px; }
  .intel-reminder { margin-top: 18px; font-size: 14px; }
  .results-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .score-disc { width: 180px; height: 180px; }
  .score-disc strong { font-size: 70px; }
  .result-copy h1 { font-size: 38px; }
  .result-copy > p { font-size: 18px; }
  .resolution-card { gap: 20px; padding: 24px; }
  .resolution-card h1 { font-size: 34px; }
  .resolution-card p { font-size: 18px; }
  .race-standings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .race-standings article { min-width: 0; padding: 7px; gap: 6px; }
  .race-rank { width: 24px; height: 24px; font-size: 14px; }
  .race-standing-info > strong { font-size: 11px; }
  .race-legend { gap: 6px; font-size: 10px; }
  .race-lobby-ships { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .race-lobby-ships article { padding: 8px; }
}

@media (max-height: 640px) {
  .race-crew-picker > header p { display: none; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .phone-app { width: min(100%, 900px); }
  .phone-header { padding: 5px max(16px, env(safe-area-inset-right)) 5px max(16px, env(safe-area-inset-left)); }
  .phone-header .brand-mark { width: 30px; height: 30px; }
  .phone-room-status { display: flex; gap: 12px; }
  .phone-room-code { padding: 5px 9px; }
  .screen-deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 0.6fr); grid-template-rows: auto minmax(0, 1fr); gap: 0 12px; }
  .screen-tabs { grid-column: 1 / -1; }
  .screen-deck > .viewport-frame { grid-column: 1; grid-row: 2; }
  .screen-deck:not(:has(.screen-actions)) > .viewport-frame { grid-column: 1 / -1; }
  .screen-actions { grid-column: 2; grid-row: 2; align-self: center; }
  .race-crew-picker { grid-template-columns: minmax(130px, .7fr) minmax(190px, 1fr); gap: 6px 12px; align-items: center; }
  .race-crew-picker > header,
  .ship-picker-tabs,
  .ship-choice-status { grid-column: 1; }
  .ship-seat-card { grid-column: 2; grid-row: 1 / 4; }
  .race-crew-picker > header h1 { font-size: 20px; }
  .race-difficulty-picker { gap: 6px; }
  .race-difficulty-picker header h1 { margin: 0 0 4px; font-size: 20px; }
  .race-difficulty-picker header .eyebrow { display: none; }
  .race-difficulty-options { gap: 6px; }
  .race-difficulty-options button { padding: 6px 10px; gap: 8px; }
  .race-difficulty-options strong { font-size: 14px; margin-bottom: 2px; }
  .race-difficulty-options small { font-size: 10px; }
  .screen-action-row { grid-template-columns: minmax(0, 1fr); }
  .screen-page .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .screen-page .option-button { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; text-align: center; overflow-wrap: anywhere; }
  .screen-page .option-button strong,
  .screen-page .option-button small { align-self: stretch; padding-right: 0; }
  .screen-page .option-button.selected::after { display: none; }
  .race-phone { max-width: 660px; margin-inline: auto; padding: 8px; }
  .race-phone header { font-size: 14px; }
  .race-phone-status { padding: 5px 10px; margin-block: 5px; }
  .direction-pad,
  .race-controls.solo .direction-pad { grid-template-rows: repeat(2, 44px); }
  .race-cruise-note { font-size: 11px; margin-bottom: 4px; }
  .race-controls { margin-top: 6px; }
  .aim-pad,
  .race-controls.solo .aim-pad { width: min(28dvh, 125px); }
  .pilot-actions,
  .race-controls.solo .pilot-actions { flex-direction: row; }
  .race-controller-screen { padding: 0 !important; }
  .tv-header { height: auto; padding: 8px 20px 0; }
  .tv-header .brand-mark { width: 32px; height: 32px; }
  .tv-room-status { flex-basis: auto; }
  .tv-header .room-pill { padding: 3px 5px 3px 10px; }
  .tv-header .room-pill strong { padding: 4px 8px; font-size: 14px; }
  .pairing-stage { grid-template-columns: minmax(0, 1fr) minmax(150px, 0.6fr); gap: 20px; }
  .pairing-stage h1 { font-size: 32px; }
  .pairing-stage .hero-copy > p { font-size: 14px; }
  .pairing-stage .qr-card { width: 190px; padding: 12px; }
}
