.top-bar { padding-top:calc(.62rem + env(safe-area-inset-top,0px)); }
.sky-ink { pointer-events:none; }
.journey-nav {
  left:50%; bottom:calc(.6rem + env(safe-area-inset-bottom,0px)); width:max-content;
  max-width:calc(100vw - 1.2rem); padding:5px; gap:3px;
  display:flex; align-items:center; border:1px solid #d5eee66b; border-radius:40px;
  background:linear-gradient(142deg,#24424ae8,#10252bef 47%,#112b30ee);
  box-shadow:inset 0 1px 1px #ffffff3d,inset 0 -1px 1px #00191da6,0 6px 24px #00101677;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  isolation:isolate;
}
@supports ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))) {
 .journey-nav { background:linear-gradient(145deg,#2a444bd1,#071c24bd 62%,#112c31cf); -webkit-backdrop-filter:blur(18px) saturate(1.35); backdrop-filter:blur(18px) saturate(1.35); }
}
.journey-nav .route-prompt {
  display:flex; position:relative; border:0; margin:0; padding:0 .55rem 0 0;
  text-decoration:none; border-radius:30px; min-height:48px; width:10.65rem;
  gap:.62rem; align-items:center; justify-content:flex-start;
  touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none;
}
.globe-thumb {
  display:block; flex:0 0 44px; height:44px; border-radius:50%; overflow:hidden; position:relative;
  border:1px solid #f2f1d9a6; background:#193037 var(--mini-view,url("/assets/window-woods.webp")) center/cover;
  box-shadow:inset 1px 2px 5px #ffffff89,inset -2px -4px 5px #001516ab,0 2px 4px #0007;
  translate:0 calc(-11px * var(--lift,0)); scale:calc(1 + .20 * var(--lift,0));
}
.globe-thumb::before { content:""; position:absolute; inset:0; border-radius:50%;
  background:radial-gradient(ellipse at 30% 17%,#fff9 0%,#fff2 16%,transparent 31%),radial-gradient(ellipse at 65% 79%,transparent 61%,#e8fff564 90%,transparent); }
.globe-thumb::after { content:""; position:absolute; left:42%; bottom:16%; width:6px;height:6px; border:solid #fff8df; border-width:1.5px 1.5px 0 0;
  transform:rotate(-45deg); filter:drop-shadow(0 1px 2px #041719); animation:globe-lift 2.6s ease-in-out infinite; }
@keyframes globe-lift { 0%,18%,100%{translate:0 1px;opacity:.65} 60%{translate:0 -5px;opacity:1} }
.journey-nav[data-pulling] .globe-thumb { box-shadow:inset 0 0 6px white,0 0 16px #bce7da8c; }
.route-copy { display:grid; gap:1px; text-align:start; line-height:1.18; color:#fff9eb; }
.route-copy strong { font-size:.95rem; font-weight:660; }
.route-copy small { font-size:.76rem; color:#dae5de; }
.dock-ask,.dock-stops { display:grid; place-content:center; justify-items:center; gap:.1rem; width:46px; height:46px; border:0; border-radius:50%; line-height:1.1; font-weight:500; font-family:inherit; font-size:.72rem; color:#eff3e9; background:transparent; }
.dock-ask span { font:1.12rem/1 Georgia,serif; color:#f5dfb6; }
.stop-symbol { width:16px;height:14px; background:radial-gradient(circle closest-side,#e9dfbf 83%,transparent) left top/5px 5px repeat-y,linear-gradient(#e9dfbf 2px,transparent 2px) right top 1px/9px 5px repeat-y; }
.dock-stops[aria-expanded=true],.dock-ask:hover,.dock-stops:hover { background:#69848139; }
.stops-menu { position:absolute; bottom:calc(100% + .45rem); right:0; width:min(17.8rem,calc(100vw - 1.2rem)); padding:.8rem; border:1px solid #aac5bc82; border-radius:1.3rem; background:#102930f7; box-shadow:0 8px 34px #00131b70; }
.stops-menu p { color:#dfd1ac; padding:.35rem .65rem; font-size:.8rem; font-weight:650; }
.journey-nav .stops-menu a { display:flex; min-height:44px; justify-content:space-between; padding:.65rem .8rem; font-size:.94rem; }
.stops-menu a[aria-current]::after { content:"✦"; color:#f1d2a3; }
.plan-note,.footer-note { background:transparent; color:#f5dfb1; text-underline-offset:.23em; font:inherit; text-decoration:underline; border:0; min-height:44px; padding:.4rem 0; text-align:left; }
.plan-note { margin-top:.6rem; }
.party-footer { flex-wrap:wrap; padding-bottom:calc(6.6rem + env(safe-area-inset-bottom,0px)); }
#host-note { box-sizing:border-box; width:min(29rem,calc(100% - 1.2rem)); max-height:calc(100dvh - 2rem); overflow:auto; border:1px solid #cfc39d9e; border-radius:1.5rem; padding:1.6rem; color:#f5f5e8; background:linear-gradient(138deg,#17353c,#091e25 65%); }
#host-note::backdrop { background:#02151abf; }
#host-note h2 { font:500 2.5rem/1.05 var(--serif); color:#ffe4b3; padding-right:2rem; }
#host-note p { margin:.65rem 0; color:#d9e7e1; line-height:1.45; }
#host-note form { display:grid; gap:.8rem; margin-top:1rem; }
#host-note label { display:block; font-weight:600; }
#host-note label small { color:#c3d3d1; font-weight:400; }
#host-note input,#host-note select,#host-note textarea { width:100%; padding:.65rem; border:1px solid #b3c7be73; background:#081c23; color:#fff9ed; border-radius:.6rem; font:inherit; font-size:16px; margin-top:.3rem; }
#host-note .note-close { position:absolute; right:.65rem; top:.65rem; background:transparent; color:#eff1e4; border:0; width:44px;height:44px;font-size:1.6rem; }
#host-note .submit { margin:0; background:#ebd4a6; color:#12262b; }
#host-note [role=status]:empty { display:none; }
body:has(#host-note[open]) { overflow:hidden; }
.next-plaque .swipe-mark { border:0; width:1.85rem; height:1.85rem; border-radius:50%; background:linear-gradient(#fff1,#061b2166),var(--window) center/cover; box-shadow:inset 0 0 0 1px #fff6; align-items:center; }
.next-plaque .swipe-mark::before { height:6px; width:6px; background:none; border:solid #fff; border-width:1.5px 1.5px 0 0; border-radius:0; transform:rotate(-45deg); animation:globe-lift 2.6s ease-in-out infinite; }
@media(max-width:650px){
 .globe-ready .hero-chapter .scroll-cue { display:none; }
 .globe-ready .hero-chapter { padding-bottom:calc(6.5rem + env(safe-area-inset-bottom,0px)); }
 #host-note { margin:auto auto max(.4rem,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce){
 .globe-thumb::after,.next-plaque .swipe-mark::before { animation:none; }
 .journey-nav .route-prompt { touch-action:pan-y; }
}

/* The fixed controls keep their glass highlights without sampling the moving
   scene behind them on each phone frame. */
@media (max-width:700px), (pointer:coarse) and (max-height:700px) {
  .journey-nav { -webkit-backdrop-filter:none; backdrop-filter:none; background:linear-gradient(145deg,#29454beF,#0b2028f7 62%,#18313af5); }
  .scene-action { -webkit-backdrop-filter:none; backdrop-filter:none; }
  .opening { background-image:linear-gradient(#061920d9,#04181dd6),url("/assets/flight-valley-phone.webp"); }
  .plaque-window { background-position:center; }
}
