/* Three visible partner choices; extras scroll without centering padding. */
.adventure[data-screen="journey"] .journey-scenes{bottom:23.75px}
.adventure[data-screen="journey"] .journey-partners{bottom:26.25px;width:350px}
.adventure[data-screen="journey"] .journey-scenes .adv-level{background:rgba(103,121,82,.14)!important;border-color:rgba(92,115,72,.24)}
.adventure[data-screen="journey"] .journey-scenes .adv-level.selected{background:rgba(242,217,175,.55)!important;border-color:rgba(84,112,67,.65)}
/* Keep the pastel scene hues, but avoid stacking fades on small labels and icons. */
.adventure[data-screen="journey"] .journey-scenes .adv-level{opacity:.96}
.adventure[data-screen="journey"] .journey-scenes .adv-level.selected{opacity:1}
.adventure[data-screen="journey"] .journey-scenes .adv-level>b{color:#354b32}
.adventure[data-screen="journey"] .journey-scenes .adv-level>small{color:#546449}
.adventure[data-screen="journey"] .journey-scenes .adv-level.locked>small{color:#785b39}
.adventure[data-screen="journey"] .journey-scenes .adv-level-art{color:color-mix(in srgb,var(--world-color) 85%,#283b28)}
.adventure[data-screen="journey"] .journey-scenes .adv-level-art svg{opacity:1}
.adventure[data-screen="journey"] .journey-scenes .adv-level-art>span{color:#46583b}
.adventure[data-screen="journey"] .journey-scenes .adv-level-art>i{color:#4b603f}
.adventure[data-screen="journey"] .journey-scenes .adv-level.locked .adv-level-art{opacity:.86}
/* Scaled cards already leave a visual gap: extra rail gap would widen it again. */
.journey-partners .horizontal-carousel{padding-inline:0!important;mask-image:none;gap:0!important}
.journey-partners .horizontal-carousel[data-overflow="false"]{overflow-x:hidden!important;cursor:default;scroll-snap-type:none;justify-content:center}
.adventure[data-screen="journey"] .journey-partners .adv-cat,.adventure[data-screen="journey"] .journey-partners .adv-rider{flex:0 0 calc((100% - 16px)/3);width:calc((100% - 16px)/3);box-sizing:border-box;transform:none;opacity:1;border:1px solid rgba(100,122,83,.48)!important;background:rgba(255,251,237,.28)!important}
.adventure[data-screen="journey"] .journey-partners .selected{border-color:rgba(81,109,63,.9)!important;background:rgba(245,218,178,.55)!important}
/* The unified shell hides legacy app children; allow the classic identity layer. */
body.adventure-active #app>#racer-labels[data-classic="true"]:not([hidden]){display:block!important;z-index:42}
@media(orientation:landscape) and (max-height:500px){
 .adventure[data-screen="journey"] .journey-scenes{bottom:17px}
 .adventure[data-screen="journey"] .journey-partners{bottom:17px;width:252px}
 .adventure[data-screen="journey"] .journey-partners .adv-cat,.adventure[data-screen="journey"] .journey-partners .adv-rider{flex-basis:calc((100% - 12px)/3);width:calc((100% - 12px)/3)}
}
@media(orientation:portrait) and (max-width:700px){
 .adventure[data-screen="journey"] .journey-scenes{bottom:58.75px}
 .adventure[data-screen="journey"] .journey-partners{bottom:58.75px;width:min(228px,calc(100vw - 125px))}
 .adventure[data-screen="journey"] .journey-partners .adv-cat,.adventure[data-screen="journey"] .journey-partners .adv-rider{flex-basis:calc((100% - 12px)/3);width:calc((100% - 12px)/3)}
 .journey-partners .adv-cat svg{width:48px;height:46px}
 .journey-partners .adv-rider .rider-portrait{width:35px;height:39px}
 .journey-mount-info{bottom:48px;z-index:4}
}
/* Another 5% reduction from the previous 90%, including icons, text and borders. */
.adventure[data-screen="journey"] .journey-partners .adv-cat,
.adventure[data-screen="journey"] .journey-partners .adv-rider{transform:scale(.855);transform-origin:center}
.adventure[data-screen="journey"] .journey-stage-title{top:var(--journey-title-top,28px)!important;min-height:0;flex-wrap:nowrap;align-items:flex-end;z-index:6}
.journey-stage-title #adv-selected-course{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.adventure[data-screen="journey"] .adv-home-tools{display:flex;flex-wrap:nowrap;gap:22px;width:auto;margin:0;padding:0 6px}
.adventure[data-screen="journey"] .adv-home-tools button{font-size:15px;font-weight:700;min-height:28px;padding:3px}
.adv-hud,.adv-hud *,#touch,#touch *,#gl,#racer-labels,.adventure button,.adventure button *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
@media(orientation:landscape) and (max-height:500px){
 .adventure[data-screen="journey"] .adv-home-tools{gap:12px;bottom:4px}
 .adventure[data-screen="journey"] .adv-home-tools button{font-size:11px;min-height:25px}
}
@media(orientation:portrait) and (max-width:700px){
 .adventure[data-screen="journey"] .adv-top-actions{position:absolute;right:0;top:37px}
 .adventure[data-screen="journey"] .journey-stage-title{left:calc(var(--journey-brand-right,120px) + 8px);right:12px;gap:5px;font-size:10px}
 .adventure[data-screen="journey"] .journey-preview-modes{flex-wrap:nowrap;gap:3px}
 .adventure[data-screen="journey"] .journey-preview-modes button{white-space:nowrap;font-size:8px;padding:4px 5px}
 .adventure[data-screen="journey"] .adv-home-tools{gap:5px;bottom:4px;justify-content:center}
 .adventure[data-screen="journey"] .adv-home-tools button{font-size:12px;min-height:24px;padding:2px}
 .adventure[data-screen="journey"] .journey-mount-info{bottom:29px}
 .adventure[data-screen="journey"] .journey-mount-info .adv-start{min-height:28px;padding:4px}
}
/* Expanded panels can sit behind the summary: only its real controls intercept input. */
.adventure[data-screen="journey"] .journey-mount-info{pointer-events:none}
.adventure[data-screen="journey"] .journey-mount-info button{pointer-events:auto}
