/* Entry and embedded-browser layout: never gate access on orientation. */
.panel .actions,.panel .storyActions{display:flex;flex-wrap:wrap;column-gap:16px;row-gap:14px;align-items:stretch;margin-bottom:18px}.panel .actions>button,.panel .storyActions>button{white-space:normal;line-height:1.4;min-height:44px;max-width:100%}.panel .forestNotice{display:block;clear:both;margin-top:22px;margin-bottom:12px;line-height:1.6}.storyText .actions,.storyText .storyActions{gap:14px 16px;margin-top:24px;margin-bottom:22px}.routeContent .actions{gap:14px 16px;margin-bottom:8px}.routeLayout .storyPortrait{animation:none}
#rotateScreen{inset:auto 12px 92px;max-width:440px;margin:auto;padding:14px 18px;border:1px solid #c4a66c;border-radius:16px;box-shadow:0 8px 25px #0006;font-size:14px;z-index:120;pointer-events:auto}
#rotateScreen p{margin:7px 0;font-size:14px;line-height:1.4}#rotateScreen button{min-height:44px;width:100%}
.movieStatus{position:absolute;left:20px;top:max(20px,env(safe-area-inset-top));max-width:min(550px,85vw);padding:12px 18px;background:#102b30e8;border-radius:12px;color:#fff0d1;font-size:16px;z-index:2}.movieStatus[hidden]{display:none}
.restartLink{font-size:14px!important;min-height:44px}.routePanel{max-width:900px}.routeLayout{display:grid;grid-template-columns:130px minmax(0,1fr) 130px;gap:18px;align-items:start}.routeLayout .storyPortrait{width:100%;margin:0}.routeLayout .portraitArch{width:100%;height:auto;aspect-ratio:1.25}.routeLayout canvas{width:100%;height:100%}.routeLayout figcaption span{display:none}.routeContent h2{font-size:27px}.routeContent p{line-height:1.5}.routeChoices{display:grid;gap:10px}.routeChoices button{text-align:left;min-height:52px;white-space:normal}.routeChoices button small{display:block;font-size:14px;font-weight:400;margin-top:5px;opacity:.87}.routeChoices button:disabled{opacity:.65}.routeFeedback{padding:10px 14px;border-left:3px solid #d7ad66;background:#ffffff09;min-height:24px}.routeProgress{color:#e7cd98;font-size:14px}.forestChanges{margin:18px 0;padding:16px 18px;background:#173b3333;border:1px solid #ad925c77;border-radius:12px}.forestChanges h3{margin-top:0}.forestChanges li{margin:9px 0;line-height:1.45}.forestChanges p{margin:8px 0}.forestChanges small{display:block;line-height:1.45}.forestNotice{font-size:15px;border-left:3px solid #b89e61;padding:9px 12px;background:#183e3026}.routePanel button:focus-visible{outline:3px solid #eed58c}.routePanel .actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-height:550px){.routePanel{padding:12px!important}.routeLayout{grid-template-columns:90px minmax(0,1fr) 90px;gap:12px}.routeContent h2{font-size:22px;margin:8px 0}.routeContent p{font-size:15px;margin:9px 0}.routeChoices{gap:7px}.routeChoices button{padding:9px 12px;min-height:44px}.intro .actions{gap:7px}.intro .copy{max-width:76%}}
@media(orientation:portrait) and (max-width:650px){
 .intro .copy{max-width:100%!important;background:#102b30d9;padding:18px;border-radius:16px}.intro{padding:16px!important;overflow-y:auto}.intro h1{font-size:32px}.intro .actions{display:grid;grid-template-columns:1fr}.intro p{font-size:15px}.panel{width:100%;max-width:100%;max-height:calc(100dvh - 110px)!important;overflow:auto;padding:16px!important}
 .panel.storyTalk{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.storyTalk .leftPortrait{grid-column:1;grid-row:1}.storyTalk .rightPortrait{grid-column:2;grid-row:1}.storyTalk .storyText{grid-column:1 / -1;grid-row:2;padding:12px!important}.storyPortrait{max-width:130px;justify-self:center;margin:0}.storyPortrait figcaption span{display:none}.routeLayout{grid-template-columns:1fr 1fr;gap:10px}.routeLayout .leftPortrait{grid-column:1;grid-row:1}.routeLayout .rightPortrait{grid-column:2;grid-row:1}.routeContent{grid-column:1/-1;grid-row:2}.routePanel h2{font-size:23px}
 .chessLayout,.atlasLayout,.storyBookOpen{display:block!important}.chessFrame{width:min(100%,330px)!important;margin:auto!important}.storyBookArt{display:none}.storyBookPage{padding:18px!important}.trailChoices{grid-template-columns:1fr}.puzzleItems,.recipients{gap:5px}.recipients img{max-width:75px}.puzzleItem{padding:8px!important}.puzzleItem img{max-width:65px}.groomCards{grid-template-columns:1fr 1fr!important}header .brand{display:none}#hint{display:none}nav.livingDock{left:12px!important;right:12px!important;justify-content:center}#commandRail{height:90px!important}.moviePanel{max-height:none!important}
}
@media(orientation:portrait) and (max-width:650px){nav.livingDock{transform:none!important;width:auto!important}.routeLayout .storyPortrait{animation:none}.routeContent .relicDisplay{max-width:180px;margin:15px auto}.routeContent .relicDisplay img{max-height:140px}}
@media(prefers-reduced-motion:reduce){.routePanel *{animation:none!important}}
