/* Compact return to the existing receipt; colors follow the approved site themes. */
.ticket-access {
  position: fixed;
  z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
  touch-action: manipulation;
}
.ticket-access[hidden] { display: none !important; }
.ticket-access__label { font-size: 14px; }
.ticket-access__code { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ticket-access:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) {
  .ticket-access:hover { border-color: var(--ink); }
}
@media (max-width: 480px) {
  .ticket-access { gap: 12px; padding: 12px; }
}
@media print { .ticket-access { display: none !important; } }
