/* A compact welcome after arrival; the exhibition remains the main view. */
.scene-bottom .journey-launch {
  height: 54px; padding: 0 16px; flex-shrink: 0; white-space: nowrap;
  color: var(--ui-ink); background: var(--ui-float); font-size: 11px;
  border: 1px solid var(--control-edge); border-radius: var(--control-radius);
  box-shadow: var(--control-shadow), inset 0 1px 0 var(--control-highlight);
}
.journey-launch[aria-expanded=true] { border-color: var(--ui-accent); }
.journey-welcome {
  position: absolute; z-index: 25; left: 24px; top: 90px; width: 326px;
  max-width: calc(100% - 48px); max-height: calc(100% - 180px); overflow: auto;
  padding: 15px 18px 8px; border: 1px solid var(--control-edge); border-radius: 18px;
  background: var(--ui-paper); color: var(--ui-ink); box-shadow: var(--control-panel-shadow);
  overscroll-behavior: contain; animation: journey-appear 200ms ease-out;
}
.journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.journey-heading>span { font-size: 10px; letter-spacing: 1px; color: var(--ui-muted); }
.journey-heading button { width: 40px; height: 40px; margin: -7px -9px -7px 0; padding: 0; border-radius: 10px; color: var(--ui-muted); font-size: 23px; }
.journey-welcome h2 { margin: 13px 0 6px; font-size: 24px; font-weight: 500; letter-spacing: .8px; }
.journey-welcome>p { color: var(--ui-muted); font-size: 11px; line-height: 1.8; margin: 0 0 15px; }
.journey-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.journey-choices button { padding: 13px 3px; min-height: 66px; border: 1px solid var(--ui-line); border-radius: 11px; }
.journey-choices button b { display: block; font-size: 12px; font-weight: 500; }
.journey-choices button small { display: block; font-size: 9px; color: var(--ui-muted); margin-top: 6px; }
.journey-choices button:first-child { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-on-accent); }
.journey-choices button:first-child small { color: inherit; opacity: .85; }
.journey-booklet-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 51px; margin-top: 9px; padding: 6px 0; font-size: 12px; text-align: left; }
.journey-booklet-link small { margin-left: 8px; color: var(--ui-muted); font-size: 9px; }
.scene-shell:has(.journey-welcome:not([hidden])) .walk-nav { visibility: hidden; }
.tour-bar { align-items: center; }
.tour-story { min-width: 0; }
.tour-story .tour-kicker { display: block; margin-bottom: 5px; }
.tour-story b { display: block; }
.tour-story p { margin: 6px 0 0; max-width: 290px; color: var(--ui-muted); font-size: 10px; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; }
.tour-bar>button { flex-shrink: 0; }
.booklet-intro { margin-bottom: 16px; }
.booklet-counts { display: flex; gap: 18px; font-size: 12px; color: var(--ui-muted); }
.booklet-counts b { font-size: 22px; font-weight: 500; color: var(--ui-ink); margin-right: 4px; }
.booklet-resume { margin-top: 14px; }
.booklet-filters { display: flex; gap: 6px; margin: 22px 0 12px; }
.booklet-filters button { min-height: 42px; padding: 8px 14px; border-radius: 9px; background: var(--ui-soft); font-size: 12px; }
.booklet-filters button[aria-pressed=true] { background: var(--ui-accent); color: var(--ui-on-accent); }
.booklet-list { display: grid; gap: 9px; }
.booklet-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 1px solid var(--ui-line); border-radius: 12px; padding: 8px; }
.booklet-visit { text-align: left; min-width: 0; padding: 7px; }
.booklet-visit>span { color: var(--ui-accent); font-size: 10px; }
.booklet-visit b { display: block; font-size: 14px; font-weight: 500; line-height: 1.6; margin: 5px 0; overflow-wrap: anywhere; }
.booklet-visit small { font-size: 10px; color: var(--ui-muted); }
.booklet-share { min-height: 44px; font-size: 11px; color: var(--ui-accent); padding: 8px 10px; border-radius: 8px; background: var(--ui-soft); }
.booklet-share-input { grid-column: 1 / -1; display: grid; gap: 5px; padding: 0 7px 6px; font-size: 11px; color: var(--ui-muted); }
.booklet-share-input input { width: 100%; min-height: 42px; border: 1px solid var(--ui-line); border-radius: 6px; color: var(--ui-ink); background: var(--ui-paper); padding: 8px; font-size: 12px; }
.booklet-footnote { margin: 17px 0 0; color: var(--ui-muted); font-size: 11px; line-height: 1.8; }
.booklet-footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ui-line); margin-top: 18px; padding-top: 10px; }
.booklet-footer button { padding: 11px 0; font-size: 11px; color: var(--ui-accent); }
.booklet-draft { font-size: 11px; color: var(--ui-muted); margin-top: 18px; line-height: 1.7; }
.booklet-draft button { padding: 8px; text-decoration: underline; color: var(--ui-accent); }
@keyframes journey-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .scene-bottom { gap: 5px; }
  .scene-bottom .journey-launch { height: 52px; padding: 0 10px; font-size: 10px; }
  .journey-welcome { top: auto; bottom: 82px; left: 12px; right: 12px; width: auto; max-width: none; max-height: min(55svh, calc(100% - 150px)); padding: 15px 18px 8px; }
  .journey-welcome h2 { font-size: 23px; }
  .tour-story { flex: 1; }
  .tour-story .tour-kicker { display: none; }
  .tour-story p { max-width: none; font-size: 10px; }
  dialog:has(.booklet-intro) { position: fixed; margin: 0; top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: 84svh; padding-bottom: max(22px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
}
@media (max-width: 380px) {
  .scene-bottom .journey-launch { padding: 0 8px; font-size: 9px; }
  .scene-bottom .tour-launch { gap: 4px; padding: 0 7px; }
  .scene-bottom .view-switch button { padding: 10px 6px !important; }
  .booklet-share { padding: 8px; font-size: 10px; }
}
@media (max-height: 600px) and (min-width: 701px) { .journey-welcome { top: 75px; max-height: calc(100% - 150px); } }
@media (prefers-reduced-motion: reduce) { .journey-welcome { animation: none; } }
