/* Approved forest panoramas: route choice alone, oath/find dialogs retain their own layout. */
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection){padding:8px;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));overflow:hidden;background:#07130fe8}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .modal{display:flex;flex-direction:column;width:min(470px,100%);height:min(790px,calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-height:none;min-height:0;padding:10px 4px 4px;overflow:hidden;border:1px solid #b49a6244;border-image:none;border-radius:0;background:linear-gradient(#102b24d9,#102b24f5),url('assets/map-selection/daemmerwald-v1.webp') center/cover;box-shadow:0 24px 80px #0009}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .modal-symbol{display:none}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #modal-title{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:none;border:0;background:none;padding:0;margin:0;font:bold 23px/1.15 'Courier New',monospace;color:#f1e7c9}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #modal-title .detail-head-seal{width:23px;height:23px;padding:0;margin:0;border:0;background:none;color:#ebc66e;filter:drop-shadow(0 0 8px #ebc66e66)}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #modal-title svg{width:23px;height:23px}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #modal-copy{flex:none;font:13px/1.4 'Trebuchet MS',sans-serif;padding:0;margin:4px 4px 10px;color:#c6cdb4}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #choices{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr;flex:1;gap:10px;min-height:0;padding:0;overflow:auto}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice{position:relative;isolation:isolate;display:block;width:100%;min-width:0;min-height:205px;padding:0;overflow:hidden;text-align:left;white-space:normal;color:#f1e7c9;background:#102b24;border:1px solid #b49a6288;border-image:none;border-radius:0;box-shadow:0 8px 22px #0008;clip-path:polygon(0 8px,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px));transform:none;transition:none}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#07130fed 0%,#07130f44 27%,transparent 45%,#07130f55 57%,#07130fed 73%,#07130f 100%)}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#ebc66e00,#ebc66eaa,#ebc66e00) top/100% 1px no-repeat,linear-gradient(90deg,#ebc66e00,#b49a6266,#ebc66e00) bottom/100% 1px no-repeat;box-shadow:inset 0 0 35px #0003}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-art{position:absolute;inset:auto;width:100%;max-width:none;height:145%;top:-4%;left:0;object-fit:cover;object-position:center top;filter:brightness(1.1);opacity:1;z-index:-2;image-rendering:auto;margin:0}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-direction{position:absolute;top:10px;left:14px;color:#e0d7b7;font:12px/1.4 'Trebuchet MS',sans-serif}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-direction svg{display:inline-block;width:15px;height:15px;vertical-align:middle;margin-right:6px;color:#ebc66e}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-name{position:absolute;top:35px;left:14px;right:14px;font:bold 22px/1.1 'Courier New',monospace;letter-spacing:-.5px;text-shadow:0 2px 8px #000;color:#ffe3a0;margin:0}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-copy{position:absolute;left:14px;right:14px;bottom:12px;display:block}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-challenge{display:block;font:14px/1.35 'Trebuchet MS',sans-serif;color:#f1e7c9}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-reward{display:block;border-top:1px solid #b49a6266;padding-top:5px;margin-top:5px;font:bold 14px/1.3 'Trebuchet MS',sans-serif;color:#ffe3a0}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-reward small{display:block;font:11px/1.3 'Trebuchet MS',sans-serif;color:#c6cdb4;margin-bottom:3px}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice:hover{background:#102b24;border-color:#ffe3a0;box-shadow:0 0 25px #ebc66e22}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice:focus-visible{clip-path:none;outline:3px solid #ffe3a0;outline-offset:-3px}
body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-choice:disabled{opacity:1;cursor:default}
.journey-flight{position:fixed;pointer-events:none;z-index:100;overflow:hidden;isolation:isolate;box-shadow:0 0 80px #ebc66e55;background:#102b24}
.journey-flight>img{position:absolute;top:-4%;left:0;width:100%;height:145%;object-fit:cover;object-position:center top;filter:brightness(1.1);image-rendering:auto}
.journey-flight:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 90px #102b2488;background:radial-gradient(ellipse at 65% 30%,#ffe3a022,transparent 55%)}
@media(max-width:350px){body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #modal-title{font-size:20px}body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) .route-name{font-size:20px}}
@media(max-height:500px){body.framed-ui.wald-design #modal.journey-selection:not(.pact-selection) #choices{grid-template-rows:repeat(2,230px)}}
