:root {
  color-scheme: dark;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }

.masthead {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 18px 16px 0;
}

.wordmark { display: block; width: 72px; height: auto; }
.masthead a:focus-visible { outline: 1px solid #d0c7b6; outline-offset: 5px; }

.stage {
  width: min(76vw, 1100px);
  height: 100vh;
  height: 100svh;
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

#rcc-reader {
  display: block;
  width: 100%;
  height: min(66vh, 760px);
  height: min(66svh, 760px);
  object-fit: contain;
  object-position: center;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

#rcc-reader:focus-visible {
  outline: 1px solid #d0c7b6;
  outline-offset: 5px;
}

@media (max-width: 1279px) {
  .stage { width: min(84vw, 520px); }
  #rcc-reader { height: 70vh; height: 70svh; }
}
