#journeySidebar[hidden], #journeyCard[hidden], #journeyMobile[hidden], #journeyContent[hidden], #journeyMore[hidden], #journeyReward[hidden] { display:none !important; }
#journeySidebar { width:210px; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#8c6b32 #0a0805; }
#journeySidebar #journeyCard { border-left:0; margin-bottom:0; }
#journeySidebar #journeyMore { max-height:none; overflow:visible; }
@media (min-width:1200px) {
    body:not(.touch).layout-classic #gameContainer { width:min(calc((100dvh - var(--ui-world-reserve)) * 15 / 11),calc(100vw - 845px),950px); }
}
#journeyCard { color:#e9d8b4; border-left:2px solid #a78143; font:11px/1.36 'Segoe UI',system-ui,sans-serif; }
#journeyCard .journey-heading { display:flex; align-items:center; justify-content:space-between; gap:6px; color:#d9b879; font-size:9px; font-weight:700; letter-spacing:.09em; }
#journeyCard button { cursor:pointer; border:1px solid #826237; border-radius:4px; background:#3b2a17; color:#f5dfb5; font:inherit; }
#journeyCard button:hover { background:#563d20; }
#journeyCard button:disabled { opacity:.48; cursor:default; }
#journeyToggle { min-width:20px; min-height:20px; }
#journeyTitle { display:block; color:#ffdc92; font-size:12px; margin-top:5px; }
#journeyText { margin:5px 0; }
#journeyProgress { color:#b9d6aa; font-weight:600; margin:4px 0; }
#journeyReward { color:#dfba72; font-size:10px; margin:5px 0; }
#journeyGrowth { color:#b9d6aa; font-size:10px; margin:6px 0; }
#journeyPath { margin-top:9px; border-top:1px solid #6b5129; padding-top:7px; }
#journeyPath summary { cursor:pointer; color:#ffdc92; padding:4px 0; }
#journeyPathSteps p { margin:8px 0; }
#journeyPathSteps strong, #journeyPathSteps span { display:block; }
#journeyPathSteps span, .journey-resume { color:#c8d5b8; font-size:10px; margin-top:3px; }
#journeyCard .journey-actions { display:flex; gap:4px; flex-wrap:wrap; margin-top:7px; }
#journeyCard .journey-actions button { padding:5px 6px; }
#journeyAction { background:#705022 !important; border-color:#b48c48 !important; font-weight:700 !important; }
#journeyMore { margin-top:8px; padding-top:7px; border-top:1px solid #6b5129; max-height:230px; overflow:auto; }
#journeyMore p { margin:4px 0 7px; color:#d4c4a4; }
#journeyMore select { max-width:100%; padding:4px; background:#1b150f; color:#f1d594; border:1px solid #826237; }
#journeyMore > button { padding:5px 7px; text-align:left; }
.journey-route { display:flex; flex-direction:column; gap:3px; padding:6px 0; border-top:1px solid #4c3923; }
.journey-route strong { color:#efd596; }
.journey-route span { color:#c8d5b8; font-size:10px; }
.journey-route button { align-self:flex-start; padding:4px 6px; }
#journeyMobile { display:none; }
#journeyMobile:not([hidden]) { display:block; position:fixed; top:58px; left:7px; z-index:170; max-width:min(200px,38vw); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:5px 7px; border:1px solid #ad8651; border-radius:4px; background:rgba(30,22,13,.95); color:#f4dcaa; font:10px/1.2 'Segoe UI',system-ui,sans-serif; box-shadow:0 3px 9px #0009; }
body.journey-mobile-open > #journeyCard { display:block; position:fixed; top:86px; left:7px; z-index:175; box-sizing:border-box; width:min(310px,calc(100vw - 75px)); max-height:min(270px,68vh); overflow:auto; padding:9px; background:rgba(25,20,14,.98); border:1px solid #ad8651; border-radius:5px; box-shadow:0 8px 20px #000c; }
body:not(.touch) #journeyMobile:not([hidden]) { top:8px; right:12px; left:auto; }
body:not(.touch).journey-mobile-open > #journeyCard { top:45px; right:12px; left:auto; max-height:calc(100dvh - 65px); }
@media (max-width:900px) and (max-height:480px) { body.touch.journey-mobile-open #journeyCard { max-height:55vh; } }
