body[data-hotel-stay] {
  --stay-surface: #fffaf2;
  --stay-ink: #39291f;
  --stay-line: #e5d1be;
  --stay-accent: #963d21;
}

.hotel-stay-return[hidden], .hotel-stay-welcome[hidden] { display: none; }

.hotel-stay-return {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--stay-line);
  background: var(--stay-surface);
  color: var(--stay-ink);
  font-size: .875rem;
}

.hotel-stay-reminder { margin: 0; font-weight: 700; }
.hotel-stay-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; }
.hotel-stay-return .hotel-stay-resume, .hotel-stay-complete, .hotel-stay-close {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  white-space: nowrap;
}

.hotel-stay-return .hotel-stay-resume { background: var(--stay-accent); color: white; text-decoration: none; }
.hotel-stay-complete, .hotel-stay-close { border: 0; background: transparent; color: var(--stay-accent); cursor: pointer; }
.hotel-stay-complete:hover, .hotel-stay-close:hover { background: #9a582114; }
.hotel-stay-close { min-width: 44px; padding: 0; font-size: 1.25rem; }

.hotel-stay-welcome {
  position: fixed;
  inset-inline-end: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: start;
  gap: 12px;
  width: min(352px, calc(100% - 32px));
  padding: 14px 12px 14px 16px;
  border: 1px solid var(--stay-line);
  border-inline-start: 4px solid var(--stay-accent);
  border-radius: 12px;
  background: var(--stay-surface);
  color: var(--stay-ink);
  box-shadow: 0 10px 28px #2f1a1226;
  font-size: .875rem;
}

.hotel-stay-message { flex: 1; padding-block: 2px; }
.hotel-stay-message p { margin: 4px 0 0; }
.hotel-stay-title { font-size: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hotel-stay-return:not([hidden]), .hotel-stay-welcome:not([hidden]) {
    animation: hotel-stay-in .42s ease-out;
  }
}

@keyframes hotel-stay-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
