*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #1c140e;
  color: #f4ead8;
  overflow: hidden;
  overscroll-behavior: none;
}

.frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #1c140e;
}

.fit {
  display: block;
  width: 100%;
  height: 100%;
}

.fit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.booking {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: calc(100vw - 28px);
  padding: 8px 18px 10px;
  border: 1px solid rgba(232, 196, 122, 0.6);
  border-radius: 999px;
  background: rgba(22, 14, 8, 0.72);
  color: #f8edd8;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.booking-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8c47a;
}

.booking-address {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.booking:hover,
.booking:focus-visible {
  background: rgba(22, 14, 8, 0.9);
  color: #fff;
  outline: 2px solid #e8c47a;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .booking {
    padding: 7px 14px 8px;
  }

  .booking-address {
    font-size: 13px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.missing {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  gap: 12px;
}

.missing h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 56px);
}

.missing p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.5;
}

.missing a {
  color: #f4ead8;
  margin-top: 8px;
}

@media print {
  html, body { overflow: visible; background: #fff; color: #1c140e; }
  .frame { position: static; height: auto; overflow: visible; }
  .fit { height: auto; }
  .fit img { height: auto; object-fit: contain; }
  .booking {
    position: static;
    transform: none;
    display: table;
    margin: 16px auto 0;
    color: #1c140e;
    background: transparent;
    border-color: #1c140e;
    box-shadow: none;
  }
}
