/* The .voyage-route body scrolls independently between the route header and its current decision. */
#game .voyage-route.game-dialog.voyage-routed {
  display:flex; flex-direction:column; overflow:hidden; box-sizing:border-box; min-height:0;
  max-height:min(840px,calc(100dvh - 20px)); border-color:#aa8d63;
}
#game .voyage-routed > .voyage-route-head {
  flex:none; display:flex; align-items:center; gap:10px; min-height:44px; padding:2px 0 7px;
  border-bottom:1px solid #b99c6a73; color:#254940;
}
#game .voyage-route-head h2 { flex:1; min-width:0; margin:0; line-height:1.23; }
#game .voyage-route-head .route-back {
  flex:0 0 auto; display:flex; align-items:center; justify-content:center; gap:5px; position:static;
  min-width:44px; min-height:44px; width:auto; height:auto; padding:6px 9px!important;
  border:1px solid #a99265!important; border-radius:6px; background:#fbf2db!important; color:#315549!important;
  box-shadow:0 1px 0 #af946840!important; font:700 .86rem/1.15 system-ui,sans-serif!important;
}
#game .route-back i { font:normal 1.12rem/1 system-ui,sans-serif; }
#game .voyage-routed>.menu-body {
  flex:1 1 auto; min-height:0; max-height:none!important; overflow:auto; overscroll-behavior:contain;
  touch-action:pan-y; scrollbar-gutter:auto; scroll-padding-block:8px;
}
#game .voyage-routed .voyage-decision { flex:none; margin:0; padding:8px 0 0; border-top:1px solid #b99c6a73!important; }
#game .voyage-decision .return-game { margin:0!important; min-height:46px!important; width:100%; position:static; line-height:1.23; }
#game .voyage-destinations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:10px 0; }
#game .voyage-destinations button {
  box-sizing:border-box; min-width:0; min-height:60px; display:grid; grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center; gap:6px; border:1px solid #bcaa83!important; border-radius:7px!important;
  padding:7px!important; color:#244438!important; background:linear-gradient(135deg,#fff8e6,#ebddbc)!important;
  font-weight:750; text-align:left; box-shadow:0 2px 0 #b6a38255!important;
}
#game .voyage-destinations .painted-icon { width:34px; height:34px; }
#game .voyage-destinations i { font-size:1.05rem; color:#746643; font-style:normal; }
#game .voyage-destinations button:focus-visible,#game .voyage-route-head button:focus-visible { outline:3px solid #377975; outline-offset:1px; }
#game .route-extras { margin:10px 0; padding:0 8px; border-block:1px solid #c3b590; }
#game .route-extras>summary { display:list-item; min-height:44px; padding:9px 0; box-sizing:border-box; font-weight:750; color:#365443; cursor:pointer; }
#game .route-extras .promise-preview { margin-top:0; }
#game .voyage-routed .section-tabs { scroll-padding-inline:5px; }
@media(max-width:540px) {
  #game .voyage-route.game-dialog.voyage-routed { width:calc(100% - 12px); max-height:calc(100dvh - 12px); padding:10px; }
  #game .voyage-route-head h2 { font-size:clamp(1.08rem,4.7vw,1.34rem)!important; }
  #game .voyage-routed>.menu-body { padding:9px 1px!important; }
  #game .voyage-routed .voyage-decision { padding-top:6px!important; }
  #game .voyage-destinations { gap:6px; }
  #game .voyage-destinations button { grid-template-columns:27px minmax(0,1fr) auto; font-size:.88rem; min-height:54px; }
  #game .voyage-destinations .painted-icon { width:27px; height:27px; }
  #game .voyage-routed .departure-landscape { min-height:72px; }
}
#game .menu-debrief .debrief-pet.voyage-homecoming {
  display:grid; grid-template-columns:clamp(68px,24%,124px) minmax(0,1fr); align-items:center; gap:13px;
  margin:3px 0 13px; padding:12px; border:1px solid #bda879; border-radius:7px;
  background:linear-gradient(115deg,#e9ddbb,#faf1d9); text-align:left;
}
#game .debrief-pet.voyage-homecoming img { display:block; width:100%; height:auto; aspect-ratio:1; outline:1px solid #99825e; outline-offset:2px; }
#game .debrief-pet.voyage-homecoming h3 { margin:4px 0; color:#294d3e; font-size:clamp(1rem,4.7vw,1.4rem); }
#game .debrief-pet.voyage-homecoming p { margin:0; line-height:1.5; font-size:.86rem; color:#455748; }
#game .debrief-pet.voyage-homecoming .eyebrow { font-size:.72rem; font-weight:750; color:#4e614c; }
#game .voyage-pause-tools { margin-block:8px; }
