/* the words and buttons over an Android phone's camera (xrbook.js): the app's, and the after-order pages' with the book
   on your table (tafel.html, ordered.html), so its own file */
.xr-overlay {
  /* (Chrome shows it full screen over the camera; above the app too, should a browser show it in the page) */
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font: 500 16px/1.3 var(--ui-font, Nunito, system-ui, sans-serif);
  color: #fff;
  touch-action: none;
  user-select: none;
}
/* (in the page from the session's request, seen once it runs: never over the app while Chrome asks for the camera) */
.xr-overlay:not(.is-on) {
  visibility: hidden;
}
.xr-done {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 22px;
  background: rgb(255 253 249 / 0.92);
  color: var(--text, #2b2420);
  font: inherit;
}
.xr-say,
.xr-making {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  padding: 8px 14px;
  border-radius: 18px;
  background: rgb(20 18 16 / 0.55);
  white-space: nowrap;
  text-align: center;
}
.xr-say {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
}
.xr-making {
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.xr-say:empty,
.xr-making:empty {
  display: none;
}
.xr-overlay:not(.is-placed) .xr-turns {
  display: none;
}
.xr-turns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex;
  justify-content: center;
  gap: 72px;
}
.xr-turns button {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 253 249 / 0.88);
  color: var(--text, #2b2420);
  font-size: 30px;
  line-height: 1;
  transition: opacity 0.2s;
}
.xr-turns button:disabled {
  opacity: 0.35;
}
