.guest-app {
  --guest-bg: #f3efe9;
  --guest-paper: #fffdfa;
  --guest-raised: #ffffff;
  --guest-ink: #1b1720;
  --guest-soft: #4f4857;
  --guest-muted: #7d7688;
  --guest-line: #efe8e0;
  --guest-accent: #6d43d0;
  --guest-accent-soft: #f2ecfd;
  --guest-warm: #dd5a2f;
  --guest-chip: #f5f0ea;
  --guest-shadow: 0 14px 30px -26px rgba(40, 25, 70, 0.55);
  --guest-veil: rgba(255, 253, 250, 0.92);
  color-scheme: light;
}

.guest-app[data-guest-theme="dark"] {
  --guest-bg: #100e15;
  --guest-paper: #17141d;
  --guest-raised: #1e1a27;
  --guest-ink: #f5f2fa;
  --guest-soft: #c7c0d4;
  --guest-muted: #948ca6;
  --guest-line: #2b2537;
  --guest-accent: #bda3ff;
  --guest-accent-soft: #2a2239;
  --guest-warm: #ff9166;
  --guest-chip: #241f31;
  --guest-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.9);
  --guest-veil: rgba(23, 20, 29, 0.92);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  .guest-app[data-guest-theme="auto"] {
    --guest-bg: #100e15;
    --guest-paper: #17141d;
    --guest-raised: #1e1a27;
    --guest-ink: #f5f2fa;
    --guest-soft: #c7c0d4;
    --guest-muted: #948ca6;
    --guest-line: #2b2537;
    --guest-accent: #bda3ff;
    --guest-accent-soft: #2a2239;
    --guest-warm: #ff9166;
    --guest-chip: #241f31;
    --guest-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.9);
    --guest-veil: rgba(23, 20, 29, 0.92);
    color-scheme: dark;
  }
}

.guest-app,
.guest-app * {
  box-sizing: border-box;
}

.guest-app {
  margin: 0;
  color: var(--guest-ink);
  background: var(--guest-bg);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

.guest-shell {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  min-height: 100%;
  background: var(--guest-paper);
  box-shadow: 0 0 0 1px rgba(27, 23, 32, 0.05);
}

.guest-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #15121b;
  touch-action: pan-y;
}

.guest-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guest-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 12, 20, 0.1) 0%, rgba(15, 12, 20, 0.3) 45%, rgba(15, 12, 20, 0.85) 100%);
}

.guest-theme-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(20, 16, 26, 0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.guest-theme-toggle svg {
  width: 17px;
  height: 17px;
}

.guest-theme-toggle .icon-moon {
  display: none;
}

.guest-app[data-guest-theme="dark"] .guest-theme-toggle .icon-moon {
  display: block;
}

.guest-app[data-guest-theme="dark"] .guest-theme-toggle .icon-sun {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .guest-app[data-guest-theme="auto"] .guest-theme-toggle .icon-moon {
    display: block;
  }

  .guest-app[data-guest-theme="auto"] .guest-theme-toggle .icon-sun {
    display: none;
  }
}

.guest-hero-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.guest-hero-copy p {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.guest-hero-copy h1 {
  margin: 0;
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.guest-dots {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.guest-dots button {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  touch-action: manipulation;
  transition: width 0.2s ease, background 0.2s ease;
}

.guest-dots button::after {
  content: "";
  position: absolute;
  inset: -16px -4px;
}

.guest-dots button.is-on {
  width: 22px;
  background: #fff;
}

.guest-body {
  padding: 24px 20px 110px;
}

.guest-welcome {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.guest-about {
  margin: 0 0 22px;
  color: var(--guest-muted);
  line-height: 1.6;
}

.guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
}

.guest-actions a,
.guest-actions button {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 15px;
  border: 1px solid var(--guest-line);
  border-radius: 18px;
  background: var(--guest-raised);
  color: inherit;
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: var(--guest-shadow);
}

.guest-actions a:hover,
.guest-actions button:hover {
  border-color: color-mix(in srgb, var(--guest-accent) 40%, var(--guest-line));
}

.guest-actions strong {
  font-size: 13.5px;
}

.guest-actions span {
  font-size: 12.5px;
  color: var(--guest-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-card {
  padding: 20px;
  margin-bottom: 14px;
  background: var(--guest-raised);
  border: 1px solid var(--guest-line);
  border-radius: 22px;
  box-shadow: var(--guest-shadow);
  scroll-margin-bottom: 92px;
}

.guest-card h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--guest-accent);
}

.guest-card p,
.guest-card li {
  color: var(--guest-soft);
}

.guest-card p {
  margin: 0 0 10px;
}

.guest-card p:last-child {
  margin-bottom: 0;
}

.guest-card strong {
  color: var(--guest-ink);
}

.guest-card a {
  color: var(--guest-accent);
}

.guest-card p a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.guest-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.guest-card li {
  margin-bottom: 5px;
}

.guest-wifi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--guest-line);
  color: var(--guest-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.guest-wifi:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.guest-wifi button,
.guest-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--guest-accent-soft);
  color: var(--guest-accent);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.guest-copy-field {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.guest-card > p .guest-copy {
  margin: 4px 0 0;
}

.guest-map {
  width: 100%;
  height: 210px;
  border: 1px solid var(--guest-line);
  border-radius: 16px;
  margin-top: 12px;
}

.guest-app[data-guest-theme="dark"] .guest-map {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
}

@media (prefers-color-scheme: dark) {
  .guest-app[data-guest-theme="auto"] .guest-map {
    filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
  }
}

.guest-rec {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--guest-line);
  text-decoration: none;
  color: inherit;
}

.guest-rec:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.guest-rec img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--guest-chip);
}

.guest-rec small {
  display: block;
  margin-bottom: 4px;
  color: var(--guest-warm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guest-rec p {
  margin: 0 0 4px;
  font-size: 14px;
}

.guest-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.guest-gallery-shot {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.guest-gallery-shot img,
.guest-gallery img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--guest-chip);
}

.guest-gallery-shot.is-on img {
  box-shadow: 0 0 0 2px var(--guest-accent);
}

.guest-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 6px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px max(18px, env(safe-area-inset-bottom, 18px));
  background: var(--guest-veil);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--guest-line);
  scrollbar-width: none;
}

.guest-nav::-webkit-scrollbar {
  display: none;
}

.guest-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--guest-chip);
  color: var(--guest-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  touch-action: manipulation;
}

.guest-nav a.is-on {
  background: var(--guest-accent);
  color: #fff;
}

.guest-app[data-guest-theme="dark"] .guest-nav a.is-on {
  color: #17141d;
}

@media (prefers-color-scheme: dark) {
  .guest-app[data-guest-theme="auto"] .guest-nav a.is-on {
    color: #17141d;
  }
}

.guest-hidden {
  display: none !important;
}

.guest-toast {
  position: fixed;
  left: 50%;
  bottom: max(84px, calc(72px + env(safe-area-inset-bottom, 0px)));
  z-index: 5;
  transform: translateX(-50%);
  padding: 10px 16px;
  background: #1b1720;
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.guest-app[data-guest-theme="dark"] .guest-toast {
  background: #efeaf7;
  color: #17141d;
}

.guest-toast.is-on {
  opacity: 1;
}

.guest-app :focus-visible {
  outline: 2px solid var(--guest-accent);
  outline-offset: 3px;
}

.device-screen .guest-hero {
  min-height: 236px;
}

@media (prefers-reduced-transparency: reduce) {
  .guest-nav,
  .guest-theme-toggle {
    backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  .guest-hero {
    min-height: 280px;
  }

  .guest-hero-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .guest-body {
    padding: 20px 16px 104px;
  }

  .guest-gallery-shot img,
  .guest-gallery img {
    height: 108px;
  }
}
