/* Keep the photographic landscape and continuous travel, without chapter UI. */
.cinematic-journey .room-bottom,
.cinematic-journey .room-chapter,
.cinematic-journey .camp-tour-caption {
  display: none !important;
}
.cinematic-journey .discovery-toggle {
  bottom: 35px;
}
/* Arrival copy is decorative; gestures should reach the landscape beneath it. */
.cinematic-journey .room-intro,
.cinematic-journey .door-caption {
  pointer-events: none;
}
.cinematic-journey .room-object-panel {
  max-height: 65dvh;
}
@media (max-width: 760px) {
  .cinematic-journey .discovery-toggle {
    bottom: 33px;
  }
  .cinematic-journey .room-object-panel {
    bottom: 100px;
  }
}
#camp-depth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#camp-river,
#camp-practical-lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* The alpine artwork has its own projected light layer and natural foreground. */
.cinematic-journey :is(.camp-firelight, .camp-embers, #camp-foreground) {
  display: none;
}
.cinematic-journey #room-stage {
  background: #10201b url('../../../assets/camp-valley-real-day-v10-3k.webp') center/cover;
}
.cinematic-journey .hotspot > span {
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.cinematic-journey .hotspot:hover > span,
.cinematic-journey .hotspot:focus-visible > span,
.cinematic-journey .hotspot[data-discovery='arcade'] > span {
  opacity: 1;
}
.cinematic-journey .hotspot[data-discovery='arcade'] > i {
  background: #d9bf8f;
  color: #1e3228;
  border-color: #e8d2a8;
}
.cinematic-journey #room-object-panel[data-room] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: clamp(100px, 14vh, 145px) 7% 55px;
  overflow-y: auto;
  color: #f7edda;
  background:
    linear-gradient(90deg, #07130df2, #07130db8 36%, #07130d18 78%),
    var(--tent-art) center/cover;
  z-index: 12;
  backdrop-filter: none;
}
.cinematic-journey [data-room] #object-close {
  top: 25px;
  right: 5%;
  width: 44px;
  height: 44px;
  border: 1px solid #eedbc45c;
  color: #f8eddb;
  background: #182a22b3;
}
.cinematic-journey [data-room] #object-kicker {
  color: #d7c6a8;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.cinematic-journey [data-room] #object-title {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.05;
  max-width: 430px;
  letter-spacing: -2px;
}
.cinematic-journey [data-room] #object-description {
  max-width: 330px;
  color: #d4d7c9;
  font-size: 14px;
  line-height: 1.9;
  margin: 23px 0;
}
.cinematic-journey [data-room] #object-actions {
  max-width: 350px;
  gap: 9px;
}
.cinematic-journey [data-room] #object-actions button {
  border: 1px solid #c5b8945c;
  color: #f4e5c9;
  background: #15251adb;
  min-height: 47px;
  padding: 14px 18px;
  font-size: 13px;
  backdrop-filter: blur(7px);
}
.cinematic-journey [data-room] #object-actions button:hover {
  background: #d9c195;
  color: #23392c;
}
.cinematic-journey [data-room] .object-found {
  border-color: #c5b8943d;
  max-width: 350px;
  color: #c4c7b7;
}
@media (max-width: 760px) {
  .cinematic-journey #room-object-panel[data-room] {
    padding: 93px 7% 32px;
    background-position: 60% center;
    background-image: linear-gradient(90deg, #07130dea, #07130da8), var(--tent-art);
  }
  .cinematic-journey [data-room] #object-title {
    font-size: 40px;
  }
  .cinematic-journey [data-room] #object-description {
    font-size: 13px;
    margin: 18px 0;
  }
  .cinematic-journey [data-room] #object-actions button {
    min-height: 44px;
    padding: 12px 15px;
  }
}

.cinematic-journey .hotspot.tour-focus > span {
  opacity: 1;
  border-color: #e2c38c80;
  background: #15281fe8;
}
/* Keep the discovery control below the fire so it does not cover the flames. */
.cinematic-journey .hotspot[data-discovery='poster'] {
  margin-top: 54px;
}
.cinematic-journey .hotspot.tour-focus > i {
  background: #ddc493;
  color: #1e3228;
  border-color: #eee0bb;
  box-shadow: 0 0 22px #e6bd6330;
}

.cinematic-journey [data-room='games'] {
  --tent-art: url('../../../assets/camp-games-interior-v1-3k.webp');
}
.cinematic-journey [data-room='supplies'] {
  --tent-art: url('../../../assets/camp-supplies-interior-v1-3k.webp');
}
.cinematic-journey [data-room='tarot'] {
  --tent-art: url('../../../assets/camp-tarot-interior-v1-3k.webp');
}
.cinematic-journey [data-room='stories'] {
  --tent-art: url('../../../assets/camp-stories-interior-v1-3k.webp');
}
@media (min-width: 1100px) and (min-resolution: 1.5dppx) {
  .cinematic-journey [data-room='games'] {
    --tent-art: url('../../../assets/camp-games-interior-v1-6k.webp');
  }
  .cinematic-journey [data-room='supplies'] {
    --tent-art: url('../../../assets/camp-supplies-interior-v1-6k.webp');
  }
  .cinematic-journey [data-room='tarot'] {
    --tent-art: url('../../../assets/camp-tarot-interior-v1-6k.webp');
  }
  .cinematic-journey [data-room='stories'] {
    --tent-art: url('../../../assets/camp-stories-interior-v1-6k.webp');
  }
}
.cinematic-journey [data-room] #object-close {
  position: fixed;
  z-index: 2;
}
.cinematic-journey [data-room] #object-actions > a {
  display: block;
  border: 1px solid #c5b8945c;
  color: #f4e5c9;
  background: #15251adb;
  min-height: 47px;
  padding: 14px 18px;
  font-size: 13px;
}
.cinematic-journey [data-room] #object-actions > a:hover {
  background: #d9c195;
  color: #23392c;
}
.cinematic-journey [data-room='tarot'] #object-actions {
  max-width: 390px;
}
.cinematic-journey [data-room='stories'] #object-actions,
.cinematic-journey [data-room='stories'] #object-description {
  max-width: 470px;
}
.cinematic-journey [data-room] .tent-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.cinematic-journey [data-room] .tent-tabs button {
  flex: 1;
  padding: 12px !important;
}
.cinematic-journey [data-room] .tent-tabs [aria-selected='true'] {
  background: #d9c195 !important;
  color: #23392c !important;
}
.celestial-room,
.stories-room {
  width: 100%;
  min-width: 0;
}
.cinematic-journey [data-room] label {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #eee4ce;
}
.cinematic-journey [data-room] select,
.cinematic-journey [data-room] textarea {
  width: 100%;
  border: 1px solid #c5b8946b;
  border-radius: 3px;
  background: #12251eee;
  color: #f6ebd5;
  font: inherit;
  font-size: 14px;
  padding: 14px;
  line-height: 1.6;
}
.cinematic-journey [data-room] textarea {
  resize: vertical;
  min-height: 130px;
  max-height: 360px;
}
.cinematic-journey [data-room] textarea::placeholder {
  color: #b9bcae;
}
.cinematic-journey [data-room] :is(button, a, select, textarea):focus-visible {
  outline: 2px solid #f0d5a0;
  outline-offset: 4px;
}
.reflection-card {
  margin: 16px 0;
  padding: 24px;
  border: 1px solid #d7bf8c66;
  border-radius: 5px;
  background: #10201bde;
  min-height: 210px;
}
.card-symbol {
  display: block;
  color: #e2c38d;
  font-size: 37px;
  line-height: 1;
  margin-bottom: 16px;
}
.reflection-card small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #d3bc91;
}
.reflection-card h3 {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.15;
  font-weight: 400;
  margin: 12px 0;
}
.reflection-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #e0decd;
}
.cinematic-journey [data-room] #draw-card,
.cinematic-journey [data-room] #story-form > button {
  width: 100%;
}
.cinematic-journey [data-room] .tent-note {
  font-size: 12px;
  line-height: 1.7;
  color: #c4c6b7;
  margin: 14px 0;
}
.story-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #c4c6b7;
  margin-top: 7px;
  gap: 10px;
}
#story-status {
  font-size: 14px;
  line-height: 1.6;
  color: #efdab4;
  min-height: 20px;
  margin: 14px 0;
}
.story-feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 12px;
}
.story-feed-heading h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}
.cinematic-journey [data-room] #refresh-stories {
  font-size: 12px;
  padding: 10px;
  min-height: 44px;
}
.visitor-story {
  padding: 22px 20px;
  background: #102019eb;
  border: 1px solid #cbb68745;
  border-radius: 3px;
  margin: 12px 0;
}
.story-byline {
  font-size: 10px;
  letter-spacing: 1px;
  color: #d7bd90;
  margin-bottom: 12px;
}
.story-text {
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #e8e4d4;
}
.cinematic-journey [data-room] #object-actions .story-action {
  font-size: 11px;
  padding: 10px 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #c6c8b9;
  text-decoration: underline;
  margin-top: 8px;
}
.story-empty {
  padding: 24px;
  background: #102019db;
  border: 1px solid #cbb68745;
  font-size: 14px;
  line-height: 1.8;
  color: #dbdaca;
}
.cinematic-journey [data-room] button:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 760px) {
  .cinematic-journey [data-room] select,
  .cinematic-journey [data-room] textarea {
    font-size: 16px;
  }
  .reflection-card {
    padding: 20px;
  }
  .story-feed-heading h3 {
    font-size: 26px;
  }
}

.camp-scene-switch {
  position: absolute;
  right: 4.5%;
  bottom: max(35px, env(safe-area-inset-bottom));
  z-index: 25;
  color: #f1eddf;
}
.camp-scene-switch [role='group'] {
  display: flex;
  padding: 4px;
  gap: 3px;
  border: 1px solid #e4dac138;
  border-radius: 999px;
  background: #142520de;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px #0003;
}
.camp-scene-switch button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.camp-scene-switch button span {
  margin-right: 4px;
}
.camp-scene-switch button[aria-pressed='true'] {
  background: #e5ddc8;
  color: #203b30;
}
.camp-scene-switch button:focus-visible {
  outline: 2px solid #f5dc9b;
  outline-offset: 3px;
}
.camp-scene-switch [role='status'] {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: max-content;
  max-width: min(280px, 85vw);
  font-size: 13px;
  background: #142520ed;
  border-radius: 10px;
  padding: 10px 14px;
}
.camp-scene-switch [role='status']:empty {
  display: none;
}
[data-camp-mode='day'] #camp-fireflies {
  opacity: 0;
}
[data-camp-mode='night'] #camp-fireflies {
  opacity: 0.55;
}
[data-camp-mode='day'] #camp-practical-lights {
  opacity: 0.65;
}
[data-camp-mode='night'] #camp-practical-lights {
  opacity: 1;
}
#camp-fireflies,
#camp-practical-lights {
  transition: opacity 650ms ease;
}
@media (max-width: 680px) {
  .camp-scene-switch {
    right: 18px;
    bottom: max(30px, env(safe-area-inset-bottom));
  }
  .camp-scene-switch button {
    padding: 0 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #camp-fireflies,
  #camp-practical-lights {
    transition: none;
  }
}

/* Neutral edge shading keeps the photograph's natural colour, without the
   earlier green fantasy-film wash over every tree and bush. */
.cinematic-journey .room-vignette {
  background: linear-gradient(180deg, #00000036, transparent 20%, transparent 78%, #00000038);
}

/* Single-finger vertical travel is handled by the campsite gesture controller.
   Browser pinch zoom remains available; catalogue and tent panels scroll natively. */
.cinematic-journey #room-canvas,
.cinematic-journey #hotspot-layer .hotspot {
  touch-action: pinch-zoom;
}
@media (pointer: coarse) {
  .cinematic-journey #camp-fireflies {
    display: none;
  }
}
.cinematic-journey:has(#room-object-panel[data-room]:not([hidden])) .camp-scene-switch {
  visibility: hidden;
}
@media (max-width: 760px) {
  .cinematic-journey #room-object-panel[data-room] {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
    touch-action: pan-y pinch-zoom;
  }
  .cinematic-journey [data-room] #object-close {
    top: max(18px, env(safe-area-inset-top));
  }
}
