/* The approved opening is a quiet introduction over the existing live plaza. */
#journey-welcome.entry-prologue {
  position: fixed;
  z-index: 45;
  inset: var(--header-height, 86px) 0 0;
  display: grid;
  place-items: center;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  padding: 24px;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  border: 0;
  border-radius: 0;
  background: #f6f3ec66;
  color: #2e302a;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: entry-veil-in 280ms ease-out both;
  transition: opacity 360ms ease;
}
#journey-welcome.entry-prologue[hidden] { display: none; }
#journey-welcome[data-phase="leaving"] { opacity: 0; animation: none; }
.entry-paper {
  width: min(760px, 100%);
  padding: 34px 42px 26px;
  margin: auto;
  background: #faf8f3;
  border: 1px solid #d7cebf;
  border-radius: 8px;
  box-shadow: 0 10px 36px #3330240b;
  text-align: center;
}
.entry-mountains { display: block; width: 100%; height: auto; aspect-ratio: 8 / 1; object-fit: contain; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 68%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 68%, transparent); }
.entry-kicker { margin: 6px 0 22px; font-size: 16px; line-height: 1.5; letter-spacing: .32em; color: #575850; }
#journey-welcome #journey-title {
  margin: 0;
  font-family: 'Songti SC', STSong, 'Noto Serif SC', SimSun, serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: .1em;
  color: #292b25;
  outline: none;
}
#journey-welcome #journey-copy { margin: 18px 0 24px; color: #65645c; font-size: 18px; line-height: 1.75; letter-spacing: .025em; }
.entry-choices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d8cfbf; padding: 24px 0 8px; }
#journey-welcome .entry-choices button {
  display: block;
  min-height: 100px;
  min-width: 0;
  padding: 8px 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #30332c;
  text-align: left;
  filter: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
#journey-welcome .entry-choices button + button { border-left: 1px solid #ded5c5; }
#journey-welcome .entry-choices b { display: block; font: 600 26px/1.4 'Songti SC', STSong, 'Noto Serif SC', SimSun, serif; letter-spacing: .05em; }
#journey-welcome .entry-choices small { display: block; margin-top: 8px; font-size: 16px; line-height: 1.6; color: #6c6a62; }
#journey-welcome .entry-choices button:disabled { opacity: .4; cursor: wait; }
#journey-welcome .entry-choices button:active:not(:disabled) { transform: translateY(1px); background: #ece6db; }
#journey-welcome button:focus-visible { outline: 2px solid #986d50; outline-offset: 3px; }
.entry-status { min-height: 22px; margin: 24px 0 0; font-size: 14px; line-height: 1.6; letter-spacing: .16em; color: #77746b; }
.entry-recovery { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.entry-recovery:has(button:not([hidden])) { margin-top: 8px; }
.entry-recovery button { min-height: 44px; padding: 8px 12px; color: #6d5847; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.entry-recovery button[hidden] { display: none; }
body.has-entry-prologue { overflow: hidden; }
body.has-entry-prologue .header > :not(.brand) { visibility: hidden !important; pointer-events: none; }
body.has-entry-prologue :is(.scene-topbar, .scene-tools, .scene-bottom, #pins, #product-hotspots, .scene-disclaimer, .compass, .walk-nav, #browse-nav, #detail) { visibility: hidden !important; pointer-events: none; }
body.has-entry-prologue :is(#scene-loader, #toast) { display: none; }
body.has-entry-prologue .header { animation: none; }
#search-panel #journey-booklet { margin-left: auto; min-height: 40px; padding: 6px 10px; width: auto; font-size: 12px; color: var(--ui-accent); }

@media (hover: hover) and (pointer: fine) {
  #journey-welcome .entry-choices button:hover:not(:disabled) { background: #f0ece3; color: #7f573b; }
}
@media (prefers-reduced-motion: no-preference) {
  #journey-welcome:not([hidden]) .entry-mountains { animation: entry-copy-in 450ms 40ms ease-out both; }
  #journey-welcome:not([hidden]) :is(.entry-kicker, #journey-title) { animation: entry-copy-in 450ms 100ms ease-out both; }
  #journey-welcome:not([hidden]) #journey-copy { animation: entry-copy-in 450ms 180ms ease-out both; }
  #journey-welcome:not([hidden]) .entry-choices { animation: entry-copy-in 450ms 240ms ease-out both; }
}
@keyframes entry-copy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes entry-veil-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  #journey-welcome.entry-prologue { padding: 16px 18px max(16px, env(safe-area-inset-bottom)); }
  .entry-paper { padding: 24px 24px 20px; border-radius: 6px; }
  .entry-kicker { margin: 9px 0 20px; font-size: 12px; letter-spacing: .22em; }
  #journey-welcome #journey-title { font-size: clamp(36px, 10vw, 48px); line-height: 1.28; letter-spacing: .08em; }
  #journey-welcome #journey-copy { margin: 18px 0 22px; font-size: 13px; line-height: 1.8; letter-spacing: 0; }
  .entry-choices { grid-template-columns: 1fr; padding: 4px 0 0; }
  #journey-welcome .entry-choices button { min-height: 88px; padding: 16px 12px; text-align: center; }
  #journey-welcome .entry-choices button + button { border-left: 0; border-top: 1px solid #ded5c5; }
  #journey-welcome .entry-choices b { font-size: 21px; }
  #journey-welcome .entry-choices small { font-size: 13px; margin-top: 4px; }
  .entry-status { font-size: 11px; line-height: 1.8; margin-top: 18px; letter-spacing: .04em; }
}
@media (max-height: 780px) and (min-width: 701px) {
  #journey-welcome.entry-prologue { padding: 12px 24px; }
  .entry-paper { width: min(660px, 100%); padding: 20px 34px; }
  .entry-mountains { height: 50px; }
  .entry-kicker { margin-bottom: 12px; font-size: 13px; }
  #journey-welcome #journey-title { font-size: 48px; }
  #journey-welcome #journey-copy { font-size: 15px; margin: 12px 0 18px; }
  .entry-choices { padding-top: 14px; }
  #journey-welcome .entry-choices button { min-height: 80px; padding-inline: 30px; }
  #journey-welcome .entry-choices b { font-size: 22px; }
  #journey-welcome .entry-choices small { font-size: 13px; }
  .entry-status { margin-top: 10px; font-size: 12px; }
}
@media (max-height: 720px) and (max-width: 700px) {
  .entry-paper { padding-top: 16px; padding-bottom: 14px; }
  .entry-kicker { margin: 6px 0 14px; }
  #journey-welcome #journey-title { font-size: 36px; }
  #journey-welcome #journey-copy { margin: 12px 0 16px; }
  #journey-welcome .entry-choices button { min-height: 76px; padding-block: 12px; }
  .entry-status { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #journey-welcome.entry-prologue, #journey-welcome.entry-prologue * { animation: none !important; transition: none !important; }
  #journey-welcome .entry-choices button:active:not(:disabled) { transform: none; }
}
