/* Smooth crossfade between kiosk pages (Edge / Chromium). */
@view-transition {
  navigation: auto;
}

/* Kiosk header: small, fixed to the top. */
.kiosk-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 99999;
  font-family: inherit;
  font-size: 18px;
}

body {
  padding-top: 64px !important;
}

/* Home and Reset: big enough to hit with a finger. */
.kiosk-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.kiosk-title {
  margin-left: 8px;
  font-weight: 600;
}

/* Links that lead outside the kiosk do nothing. */
.kiosk-disabled {
  pointer-events: none;
  cursor: default;
}

/* Video in place of the stop tiles. */
.kiosk-attract-inline {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.kiosk-attract-inline video {
  display: block;
  width: 100%;
  height: auto;
}

/* Video over the whole screen (only when the stop tiles aren't found). */
.kiosk-attract {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100000;
  cursor: pointer;
}

.kiosk-attract video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kiosk-attract .kiosk-attract-button {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

/* The "Learn more" button under the video. */
.kiosk-attract-button {
  margin-top: 32px;
  min-height: 56px;
  padding: 0 40px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
