/* Generated by bundle_game_shell.py. Edit the individual sources. */

/* destination-walk.css */
.walkFigure{margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#223b3d,#14272a)}.walkRouteMap{position:relative;aspect-ratio:400/270;width:100%;isolation:isolate}.walkRouteMap svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.walkRouteMap line{stroke:#526c6d;stroke-width:4;stroke-dasharray:8 7}.walkRouteMap .checkedPath{stroke:var(--gold);stroke-dasharray:none}.walkNode{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;justify-content:center;align-items:center;width:52px;min-height:52px;padding:3px;border-radius:13px;background:#243b3d;border:2px solid #829395;font-size:18px;line-height:1.1;opacity:1!important}.walkNode small{font-size:9px;margin-top:3px}.walkNode.current{background:var(--gold);color:#14272a;border-color:#f4d6a0}.walkNode.checked{border-color:var(--gold)}.walkNode:disabled{cursor:default;color:var(--muted)}.walkNode.current:disabled{color:#14272a}.walkNode:not(:disabled):hover,.walkNode:not(:disabled):focus-visible{outline:3px solid #fff;outline-offset:3px}.walkFigure.alert{background:linear-gradient(145deg,#283139,#1b232d);border-color:#a87261}.walkFigure.alert .checkedPath{stroke:#d49a76;stroke-width:5}.walkFigure figcaption{font-size:.85rem;color:var(--muted);margin-top:12px}.walkStopKey{font-size:.9rem;padding-left:22px;margin-bottom:0}.walkStopKey li{padding:3px 0}.walkStopKey [aria-current]{color:var(--gold);font-weight:700}.walkViewpoint{padding:14px;background:#213a3b;border-left:3px solid var(--gold);border-radius:5px;margin:16px 0}.walkViewpoint p{margin:8px 0}.walkViewpoint small{color:var(--muted)}

.walkNode.current small{color:#14272a}


/* shelter-overview.css */
.shelterOverview{padding:20px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(120deg,#1d3833,#1b2c31);margin:0 0 18px}.shelterOverview[data-outlook="alert"]{background:linear-gradient(120deg,#3b3031,#1b2c31);border-color:#bb806d}.overviewHeading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.overviewHeading h2{margin-bottom:4px}.overviewFacts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.overviewFacts>div{padding:12px;border:1px solid var(--line);border-radius:8px;background:#111e2370}.overviewFacts span,.overviewFacts strong,.overviewFacts small{display:block;overflow-wrap:anywhere}.overviewFacts span{font-size:12px;color:var(--gold)}.overviewFacts strong{margin:5px 0;font-size:16px}.overviewFacts small{font-size:12px}.overviewPriority{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px;background:#101e2366;border-radius:8px}.overviewPriority>div{flex:1}.overviewPriority h3{font-size:19px;margin-bottom:6px}.overviewPriority p{margin:0}.overviewPriority button{flex:0 1 235px;min-height:48px}.overviewNotices{padding:0;margin:14px 0;list-style:none;display:grid;gap:8px}.overviewNotices button{width:100%;text-align:left;background:#2d3031;min-height:48px;border-left:3px solid var(--gold)}.overviewShortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.overviewShortcuts button{min-height:48px;flex:1 1 140px}button[data-overview-target]:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:850px){.overviewFacts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.shelterOverview{padding:16px}.overviewPriority{display:block}.overviewPriority button{width:100%;margin-top:12px}.overviewShortcuts button{flex-basis:120px}}

.overviewHeading{margin-bottom:16px}#overviewReview{border:1px solid var(--line);border-radius:8px;padding:12px}#overviewReview summary{margin-bottom:0;color:var(--gold)}#overviewReview[open] summary{margin-bottom:10px}


/* shelter-art.css */
.illustratedShelter{position:relative;gap:4px;background:#273b34;padding:10px;border:5px solid #7a7762;border-radius:10px;box-shadow:inset 0 0 0 2px #142326,0 8px 20px #07151950;--art-wall:#c6ad7c;--art-side:#887956;--art-roof:#638c82;--art-ground:#526c49;--art-light:#ecc171}.illustratedShelter[data-art-finish="concrete"]{--art-wall:#b1b7af;--art-side:#78868a;--art-roof:#788f9f;--art-ground:#586967}.illustratedShelter[data-art-finish="painted"]{--art-wall:#84b4af;--art-side:#507f7e;--art-roof:#ab7764}.illustratedShelter[data-art-mood="alert"]{background:#302f30;border-color:#9a7464;--art-ground:#62624e;--art-light:#d7ac74}.illustratedShelter[data-art-mood="warm"]{background:#3b4434;border-color:#ad9469;--art-light:#ffe0a0}.illustratedShelter .tile{position:relative;aspect-ratio:auto;min-height:103px;padding:14px 0 5px;background:#28423380;border:1px solid #738367;overflow:visible;transition:background .4s,border-color .4s}.illustratedShelter .tile[data-art-type="empty"]{background:#20372c70}.illustratedShelter .tile:hover{background:#506449}.illustratedShelter .tile:focus-visible{outline:3px solid var(--gold);outline-offset:2px;z-index:1}.illustratedShelter .tile:disabled{opacity:.8}.illustratedShelter .artBuilding{display:block;font-size:inherit;height:63px;pointer-events:none}.illustratedShelter .tile svg{width:100%;height:100%;fill:none;stroke:none}.illustratedShelter .artBuildingName{font:600 10px/1.2 system-ui;display:block;pointer-events:none}.illustratedShelter .artPlotNumber{position:absolute;left:4px;top:2px;font:10px/1.2 system-ui;color:#e5e5cc;pointer-events:none}.illustratedShelter .artCondition{position:absolute;right:2px;top:2px;padding:1px 3px;font:700 9px/1.2 system-ui;background:#162729;color:#f1c58c;border-radius:3px;pointer-events:none}.illustratedShelter .artSite{position:absolute;right:2px;bottom:2px;font:700 9px/1.2 system-ui;color:var(--gold);pointer-events:none}.artGround{fill:var(--art-ground)}.artGrass{stroke:#7d985a;stroke-width:2}.artWall{fill:var(--art-wall)}.artWallSide{fill:var(--art-side)}.artRoof{fill:var(--art-roof)}.artRoofLine{stroke:#28413d;stroke-width:2}.artDoor{fill:#3a4e47}.artWindow{fill:var(--art-light)}.artLight{fill:var(--art-light);stroke:none;opacity:.25}.artPlanter{fill:#bea178}.artPlanterSide{fill:#87764d}.artSoil{fill:#4b4234}.artStem{stroke:#52783c}.artLeaves{fill:#83b563;stroke:#3b663c;stroke-width:2}.artFruit{fill:#e3a06e}.artRepair{stroke:#edc086;stroke-width:5}.artMachine{fill:#a2a88b}.artMachineSide{fill:#6d7e70}.artMachineTop{fill:#b8b59b}.artVent{stroke:#243f37;stroke-width:3}.artPipe{stroke:#727e73;stroke-width:7}.artMeter{fill:#233c38}.artLive{fill:#e8c979;stroke:#293b2c;stroke-width:1.5}.artOff{fill:#8b9a94;stroke:#293b2c;stroke-width:1.5}.artFume{stroke:#b3c4b8;stroke-width:3;opacity:.65}.artBench{fill:#b29b6c}.artTool{stroke:#d2ddd2;stroke-width:4}.artBrace{stroke:#e6d198;stroke-width:4}.artEmpty{fill:#58714c;stroke:#81926b;stroke-dasharray:4 4;opacity:.55}.artChalk{stroke:#c1c4a1;stroke-width:2;opacity:.7}.artNeedsRepair .artLeaves{fill:#a5a174}.artOffBuilding .artMachineTop{fill:#89998b}.shelterArtLegend{font-size:12px;line-height:1.5;margin-bottom:8px}@media(max-width:500px){.illustratedShelter{gap:3px;padding:5px;border-width:4px}.illustratedShelter .tile{min-height:84px}.illustratedShelter .artBuilding{height:46px}.illustratedShelter .artBuildingName{font-size:9px}.illustratedShelter .artCondition{font-size:8px;padding:1px 2px}}@media(prefers-reduced-motion:reduce){.illustratedShelter .tile{transition:none}}


/* survivor-portraits.css */
.illustratedPeople{display:grid;gap:12px}.survivorCard{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#15282c}.survivorCard.contact{border-style:dashed;background:#19272c}.survivorPortrait{width:86px;height:104px;border:2px solid #657b71;border-radius:10px;overflow:hidden;align-self:start}.survivorPortrait svg{display:block;width:100%;height:100%}.survivorCardText p{margin:0 0 8px}.survivorCardText>p:first-child{font-size:14px}.survivorPresence{color:var(--gold);font-size:12px;font-weight:650}.survivorCurrent{color:var(--muted);font-size:12px;line-height:1.5}.survivorVitals{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;padding-top:8px;border-top:1px solid var(--line)}.survivorVitals strong{font-weight:600}.portraitStudyNote{font-size:12px}@media(max-width:500px){.survivorCard{grid-template-columns:65px minmax(0,1fr);gap:10px;padding:10px}.survivorPortrait{width:65px;height:79px}}


/* story-presence.css */
#storyPresence{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid var(--line)}.storyPresenceCast{display:flex;gap:10px;flex-wrap:wrap}.storyParticipant{display:flex;gap:8px;align-items:center;flex:1 1 150px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#15282c}.storyParticipant.viewpoint{border-color:var(--gold)}.storyPortrait{display:block;width:42px;height:51px;flex-shrink:0;border-radius:6px;overflow:hidden;border:1px solid #7b8a76}.storyPortrait svg{width:100%;height:100%;display:block}.storyParticipant strong,.storyParticipant small{display:block;overflow-wrap:anywhere}.storyParticipant strong{font-size:13px}.storyParticipant small{font-size:11px}#storyPresence>p{color:var(--muted);font-size:12px;line-height:1.5;margin:10px 0 0}@media(max-width:500px){.storyParticipant{flex-basis:135px}.storyPresenceCast{gap:8px}}


/* destination-encounter.css */
.destinationEncounter{padding:16px;border:2px solid #b98a74;border-radius:10px;background:linear-gradient(120deg,#392f2d,#243337);margin:16px 0}.destinationEncounter h3{font-size:20px;color:var(--gold)}.destinationEncounter .row button{flex:1 1 160px;min-height:48px;text-align:left}.destinationEncounter p.muted{font-size:12px;margin:12px 0 0}


/* visual-play.css */
.tapPlay main{max-width:1050px;padding-top:14px;padding-bottom:90px}.tapPlay header{max-width:1050px;padding:12px 20px}.playUtility{position:relative}.playUtility summary{list-style:none;margin:0;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:8px}.playUtility[open]>.row{position:absolute;right:0;top:48px;background:#172d32;padding:16px;width:min(340px,85vw);border:1px solid var(--line);border-radius:10px;z-index:10;box-shadow:0 15px 40px #0008}.playUtility .row>*{min-height:44px}#playBar{margin-bottom:12px}.playHeading{display:flex;justify-content:space-between;align-items:center;gap:12px}.playHeading h2{margin-bottom:10px;font-size:32px}.playHeading .eyebrow{margin-bottom:3px}.playHeading>button{font-size:12px;min-height:44px}.tapPlay #shelterOverview,.tapPlay #progress,.tapPlay #chapterTitle,.tapPlay #playerIdentity,.tapPlay #nextStep,.tapPlay #lifeViews,.tapPlay #lifeViewStatus,.tapPlay #campaignSummary{display:none}.tapPlay [data-play-hidden]{display:none!important}.tapPlay .layout{display:block}.tapPlay #day{margin-bottom:5px;font-size:12px;letter-spacing:1px}.tapPlay #stats{gap:6px;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:12px}.tapPlay .stat{border:0;background:#1d3336;padding:8px;text-align:center}.tapPlay .stat b{font-size:22px}.tapPlay .stat span{font-size:10px}.tapPlay .panel{padding:18px;margin-bottom:12px}.tapPlay .panel>h2{font-size:23px;margin-bottom:10px}.tapPlay #shelterPanel{background:radial-gradient(ellipse at 50% 20%,#435748,#1a3031 75%);border-color:#6d8067}.tapPlay #shelterPanel>label,.tapPlay #shelterPanel>select{display:none}.tapPlay #shelterPanel #decorControls{margin-top:12px}.tapPlay .playHelp,.tapPlay #storyDetails{margin-top:12px;font-size:14px}.playHelp summary,#storyDetails summary{color:var(--gold);min-height:44px;padding:10px 0}.tapPlay #forecast{font-size:12px}.tapPlay #builds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.tapPlay #builds button{min-height:70px;text-align:left;font-size:13px;padding:12px;background:linear-gradient(145deg,#455c49,#243e37)}.playShelf{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#d1dacd;margin:12px 0}.playShelf button{min-height:44px;flex-shrink:0;font-size:12px}.tapPlay #map{min-height:390px;background:repeating-linear-gradient(0deg,#2a4236 0px,#2a4236 76px,#304b3b 77px,#304b3b 78px);box-shadow:0 12px 40px #091a1c80,inset 0 0 0 4px #172b26;border-color:#9b9476}.tapPlay .illustratedShelter .tile{min-height:90px;background:#486b3d30;border-color:#82926975}.tapPlay .illustratedShelter .tile[data-art-type="empty"]{background:radial-gradient(ellipse,#76965c30,transparent)}.tapPlay .illustratedShelter .artEmpty{opacity:.25}.tapPlay .illustratedShelter .artBuilding{height:67px}.tapPlay #choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.tapPlay #choices .choice{margin:0;min-height:120px;border-radius:12px;background:linear-gradient(145deg,#38554e,#21383b);border-top:3px solid #cfb17d;padding:16px}.tapPlay #choices strong{font-size:16px;color:#f4d6a0}.tapPlay #choices small{margin-top:8px;font-size:13px;line-height:1.45}.tapPlay #storyBrief{font-size:18px;line-height:1.65}.tapPlay #storyPresence>p{display:none}.tapPlay #storyPresence .storyPortrait{width:66px;height:66px}.tapPlay #storyPresence small{font-size:11px}.tapPlay #storyDetails .eyebrow{display:none}.tapPlay #workShift{background:var(--gold);color:#182a2b;font-weight:700;min-height:56px}.playDayNote{font-size:13px}.tapPlay #tradeList button{flex:1 1 200px;min-height:56px;font-size:13px}.tapPlay #campaignManagement>h2{display:none}.tapPlay #campaignManagement [data-life-panel]>p.muted{display:none}.tapPlay #campaignManagement [data-life-panel]{margin-top:0}.tapPlay #communityChoices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tapPlay #communityChoices small{font-size:12px}.tapPlay #peoplePanel>p,.tapPlay #outingsLife>p,.tapPlay footer{display:none}.tapPlay #chatPanel summary{min-height:44px}.tapPlay #journal{max-height:none}.tapPlay #achievementList{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}.tapPlay #achievementList p{background:#203a3b;border-radius:8px;padding:12px;font-size:13px}.tapPlay #status:not(:empty){position:sticky;bottom:78px;background:#203637;border:1px solid #d0af73;padding:12px;border-radius:10px;box-shadow:0 4px 30px #0005;z-index:4;font-size:14px}.playNext{display:flex;width:100%;gap:12px;align-items:center;padding:12px 16px;text-align:left;min-height:52px;margin:8px 0;background:#263c39;border-color:#7b8d66}.playNext strong{flex:1;font-size:14px}.playNext.urgent{border-color:#e6a278;background:#503b34}.playConditions summary{font-size:13px;padding:8px;min-height:44px;margin-bottom:0}.playConditions button{display:block;width:100%;text-align:left;margin:6px 0}.tapPlay #playTabs{position:sticky;top:0;z-index:6;background:#14282b;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:6px;border:1px solid #567064;border-radius:12px;box-shadow:0 8px 25px #09161980}.tapPlay #playTabs button{min-height:62px;background:transparent;border-color:transparent;font-size:12px;padding:5px}.tapPlay #playTabs button span{display:block;font-size:23px;line-height:1.2}.tapPlay #playTabs button[aria-pressed="true"]{background:#dfbd83;color:#152c2b;font-weight:700}.tapPlay #game{min-height:75vh}body:not(.tapPlay) #playTabs{display:none}body:not(.tapPlay) #playPrompt,body:not(.tapPlay) #storyBrief,body:not(.tapPlay) .playShelf{display:none}body:not(.tapPlay) #storyDetails:not([open])>#sceneText{display:block}body:not(.tapPlay) #storyDetails>summary{display:none}body:not(.tapPlay) .playHelp{display:block}body:not(.tapPlay) .playHelp:not([open])>*:not(summary){display:block}
@media(max-width:600px){.tapPlay main{padding:12px 10px 90px}.tapPlay header{padding:10px 14px}.tapPlay header .eyebrow{font-size:9px;letter-spacing:1px}.tapPlay .panel{padding:12px}.playHeading h2{font-size:27px}.playHeading>button{max-width:115px}.tapPlay #stats{gap:3px}.tapPlay .stat{padding:6px 2px}.tapPlay .stat b{font-size:19px}.tapPlay .stat span{font-size:9px;line-height:1.1;display:block}.tapPlay #playTabs{position:fixed;top:auto;bottom:max(6px,env(safe-area-inset-bottom));left:6px;right:6px;border-radius:14px}.tapPlay #playTabs button{font-size:10px;min-height:58px}.tapPlay #builds{grid-template-columns:repeat(2,1fr)}.tapPlay #map{min-height:360px;gap:3px;padding:5px}.tapPlay .illustratedShelter .tile{min-height:68px}.tapPlay .illustratedShelter .artBuilding{height:43px}.tapPlay .artPlotNumber{font-size:8px}.tapPlay .playShelf{font-size:11px;align-items:flex-start}.tapPlay #communityChoices{grid-template-columns:1fr}.tapPlay #storyBrief{font-size:16px}.tapPlay #choices{grid-template-columns:1fr}.tapPlay #choices .choice{min-height:90px}.tapPlay #storyPresence .storyPortrait{width:56px;height:56px}.tapPlay #storyPresence .storyParticipant{padding:5px}.tapPlay .playNext{padding:10px;min-height:48px}.tapPlay #status:not(:empty){bottom:76px}}
.tapPlay #playResidents{display:flex;gap:6px;margin:8px 0;flex-wrap:wrap}.tapPlay #playResidents button{padding:2px 5px;background:#263e3b;border-color:#80927670;min-width:48px;border-radius:10px}.tapPlay #playResidents button>span{display:block;height:43px;width:43px}.tapPlay #playResidents svg{width:100%;height:100%}.tapPlay #playResidents small{display:block;font-size:10px}.tapPlay #shelterPanel>h2{display:none}body:not(.tapPlay) #playResidents,body:not(.tapPlay) #playLocked{display:none}.tapPlay .stat:nth-child(1) span::before{content:'◒ ';color:#abc985}.tapPlay .stat:nth-child(2) span::before{content:'▧ ';color:#c8af88}.tapPlay .stat:nth-child(3) span::before{content:'▰ ';color:#d5c091}.tapPlay .stat:nth-child(4) span::before{content:'♡ ';color:#d59f90}.tapPlay .stat:nth-child(5) span::before{content:'! ';color:#e8b37d}.tapPlay .stat:nth-child(6) span::before{content:'ϟ ';color:#ecc76f}.tapPlay #shelterPanel>details:not(.playHelp){margin-bottom:8px}.tapPlay #shelterPanel>details>summary{font-size:12px;min-height:32px}.tapPlay #choices .choice:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 16px #081b1c60}@media(prefers-reduced-motion:reduce){.tapPlay #choices .choice:hover:not(:disabled){transform:none}}
.tapPlay .playAdvanced>summary{padding:14px;background:#2a4540;border:1px solid #607b68;border-radius:9px;min-height:48px}.tapPlay #destinationList>details{border:1px solid #718570;border-radius:12px;background:linear-gradient(135deg,#34483f,#1c3337);padding:12px;margin-bottom:10px}.tapPlay #destinationList>details>summary{font-size:17px;min-height:48px;font-family:Georgia,serif}.tapPlay #destinationList>details>summary::before{content:'➜';display:inline-block;color:var(--gold);margin-right:10px}.tapPlay #communityChoices strong{color:var(--gold)}.tapPlay #communityChoices .choice{border-top:3px solid #b7b778;background:linear-gradient(135deg,#344a3c,#203a3b);padding:14px;border-radius:12px}.tapPlay #communityLast{font-size:12px}.tapPlay #playResidents button:hover{border-color:var(--gold)}
.tapPlay .playWalkDetails summary{color:var(--gold);font-size:13px;padding:8px 0;min-height:44px}.tapPlay #destinationWalkPanel nav[aria-label="Connected destination stops"]{display:none}.tapPlay #destinationWalkPanel>p.muted{font-size:12px}.tapPlay #destinationWalkPanel .walkFigure{margin:8px 0}.tapPlay #destinationWalkPanel [data-walk-return]{min-height:48px;background:#4a5141}.tapPlay #destinationWalkPanel>p.eyebrow{font-size:10px}.tapPlay #destinationWalkPanel>.courtyardFigure{max-width:420px;margin:12px auto}


/* opening-film.css */
.openingFilm{position:relative;width:100%;aspect-ratio:16/9;background:#081316;border:1px solid #677d72;border-radius:12px;overflow:hidden;box-shadow:0 12px 36px #0006;margin:14px 0}.openingFilm video{display:block;width:100%;height:100%;object-fit:contain;background:#081316}.openingFilmControls{margin:12px 0}.openingFilmControls button{min-height:48px;flex:1 1 130px;font-size:13px}.openingFilmControls #openingPlay{background:var(--gold);color:#14292b;font-weight:700}#openingArrival{position:absolute;inset:0 0 42px;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;background:linear-gradient(0deg,#0c1c22ee,#10262ab3);text-align:center;padding:20px}#openingArrival p{font:clamp(23px,5vw,42px)/1.2 Georgia,serif;color:#f1d09a;margin-bottom:12px}#openingArrival strong{font-size:16px}#openingFilmStatus:empty{display:none}#openingFilmStatus{font-size:13px;color:var(--gold)}#openingText{font-size:15px}#openingHairQuestion,#openingPriorityQuestion{border-left:3px solid var(--gold);padding-left:12px;margin:14px 0}#opening .row>button{min-height:48px}@media(min-width:900px){#opening{max-width:1000px}}@media(max-width:500px){.openingFilm{margin:10px 0}.openingFilmControls button{flex:1 1 90px;padding:8px;font-size:12px}#openingArrival{inset:0 0 30px;padding:12px}#openingArrival strong{font-size:12px}#openingText{font-size:14px}}


/* outing-board.css */
.outingBoard h3{font-size:27px;margin:4px 0 18px}.outingPlaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.outingPlace{padding:0;overflow:hidden;border-radius:14px;text-align:left;border:2px solid #647e70;background:#223c37;min-height:230px}.outingPlace[aria-pressed=true]{border-color:#f1cf8f;box-shadow:0 0 0 2px #dfbd8335}.outingScene{width:100%;height:auto;display:block}.outingPlaceText{display:grid;padding:12px;gap:5px}.outingPlace strong{font-family:Georgia,serif;font-size:19px;color:#f5dbad}.outingPlace small{font-size:12px;color:#cad7bc}.outingAvailability{font-size:11px;color:#b7c8bf}.outingBoard.alert .outingScene{filter:saturate(.72) contrast(1.16)}.outingBoard.alert .outingPlace{border-color:#978270}.outingBoard.alert .outingPlace[aria-pressed=true]{border-color:#f1cf8f}.outingHint,.outingDescription{color:#cdd8cb;font-size:14px}.outingPlan{background:#1c3331;border:1px solid #788c71;border-radius:14px;margin-top:16px;padding:18px}.outingPlanHeading,.outingResultHeading{display:flex;gap:12px;align-items:center;justify-content:space-between}.outingPlan h4{font-family:Georgia,serif;font-size:25px;margin:5px 0}.outingPlan .eyebrow{font-size:10px;margin-bottom:4px}.outingPlanHeading button{min-height:44px;font-size:12px}.outingTasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.outingTasks button{min-height:90px;text-align:left;background:#2d4942;border-radius:10px}.outingTasks [aria-pressed=true]{background:#dcc18b;color:#21342f;border-color:#f4dba6}.outingTasks small{display:block;font-size:11px;line-height:1.5;margin-top:6px}.outingTasks [aria-pressed=true] small{color:#30433a}.outingReview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.outingReview>div{border:1px solid #526b5c;border-radius:10px;padding:12px}.outingChips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.outingChip{background:#355448;border:1px solid #728779;border-radius:8px;padding:8px 10px;font-size:12px;color:#f2e2bd}.outingChip>span{margin-right:4px}.outingChip.gain{border-color:#8fb775;background:#314f38;color:#d7e8c1}.outingChip.loss{border-color:#cd9a7d;background:#513d34;color:#f5ccb1}.outingChip.neutral{background:#30443f;border-color:#61736a;color:#c4d1c9}.outingReview small{font-size:11px;color:#bdcdc2;display:block;line-height:1.5}.outingTeam{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#2a443b;padding:12px;border-radius:10px}.outingTeam>div{flex:1;min-width:180px}.outingTeam small{display:block;color:#ccd8c5;font-size:12px;margin-top:5px}.outingTeam button{min-height:44px;font-size:12px}.outingPerson{width:48px;font-size:10px;text-align:center;flex-shrink:0}.outingPerson>span{display:block;width:48px;height:58px}.outingPerson svg{width:100%;height:100%;border-radius:8px}.outingRisk{font-size:13px;color:#dbc49a;line-height:1.6}.outingBlocked{background:#513b33;border-left:3px solid #dca581;padding:12px;font-size:14px}.outingLaunch{display:grid;grid-template-columns:1fr 1fr;gap:10px}.outingLaunch button{min-height:94px;font-size:15px;text-align:left;padding:14px;border-radius:10px}.outingLaunch small{display:block;margin-top:7px;line-height:1.5;font-size:11px;color:inherit;font-weight:normal}.outingFinePrint summary,.outingLegacy>summary{min-height:48px;padding:12px 0;color:var(--gold);font-size:13px}.outingFinePrint p{font-size:13px}.outingLegacy{margin:12px 0}.outingLegacy[open]{border:1px solid #5c7464;padding:0 12px;border-radius:10px}.tapPlay #outingsLife>h3{display:none}body:not(.tapPlay) #outingBoard,body:not(.tapPlay) #outingDayResult{display:none}body:not(.tapPlay) .outingLegacy>summary{display:none}body:not(.tapPlay) .outingLegacy:not([open])>*:not(summary){display:block}.tapPlay #outingDayResult{background:#203b33;border:1px solid #849273;border-radius:12px;padding:14px;margin:12px 0}.outingResultHeading h3{font-size:18px;margin:2px 0 8px}.outingResultHeading .eyebrow{font-size:10px;margin:0}.outingResultHeading button{min-width:44px;min-height:44px;font-size:24px}.outingDayResult small,#outingDayResult>small{font-size:11px;color:#c5d1c1;line-height:1.5}#outingDayResult>button{min-height:44px;font-size:12px;margin-top:10px}.outingPlaces button:focus-visible,.outingTasks button:focus-visible,.outingLaunch button:focus-visible{outline:3px solid #ffe3a7;outline-offset:3px}@media(max-width:600px){.outingPlaces{gap:6px}.outingPlace{min-height:170px;border-radius:10px}.outingPlaceText{padding:8px;gap:6px}.outingPlace strong{font-size:14px;line-height:1.25}.outingPlace small{font-size:10px;line-height:1.3}.outingAvailability{font-size:9px}.outingBoard h3{font-size:24px;margin-bottom:12px}.outingPlan{padding:12px}.outingPlan h4{font-size:21px}.outingTasks{grid-template-columns:1fr;gap:6px}.outingTasks button{min-height:65px;padding:12px}.outingTasks small{margin-top:4px}.outingReview{grid-template-columns:1fr;gap:8px}.outingLaunch{grid-template-columns:1fr}.outingLaunch button{min-height:78px}.outingTeam>div{min-width:130px}.outingChip{font-size:11px;padding:7px 8px}}


/* shelter-land.css */
#map.shelterLand,.tapPlay #map.shelterLand{position:relative;display:block;width:100%;max-width:680px;aspect-ratio:680/590;min-height:0;margin:12px auto 6px;padding:0;border:1px solid #879e7b;border-radius:18px;background:#526d5d;overflow:hidden;box-shadow:0 16px 35px #0c201b55;isolation:isolate;--art-wall:#cfb88c;--art-side:#8c805b;--art-roof:#75988b;--art-ground:#788761;--art-light:#efc184}
.landCanvas{position:absolute;inset:0;pointer-events:none}.landCanvas>svg{width:100%;height:100%;display:block}
.landStage{position:relative;min-width:100%;min-height:100%;aspect-ratio:680/590}#map.shelterLand[data-land-zoom="close"]{overflow:auto;scrollbar-color:#a6b490 #45664e;scrollbar-width:thin;overscroll-behavior:contain}
#map .landPlot{position:absolute;width:14.7059%;height:16.9492%;padding:0;border:0;border-radius:7px;background:transparent;aspect-ratio:auto;min-height:0;color:#f9edcb;z-index:1;overflow:visible;font-size:11px}
#map .landPlot:hover{background:#e5dc9b18;border:1px solid #ecd7a066}#map .landPlot:focus-visible{outline:3px solid #ffe1a3;outline-offset:-4px;background:#f0ce8730;z-index:2}#map .landPlot:disabled{opacity:1}
#map .landPlotLabel{display:none;position:absolute;left:50%;bottom:6px;transform:translateX(-50%);white-space:nowrap;max-width:230px;padding:5px 8px;border-radius:5px;background:#16332bf0;color:#f5dfaf;font:600 11px/1.2 system-ui;pointer-events:none;z-index:3}
#map .landPlot:hover .landPlotLabel,#map .landPlot:focus-visible .landPlotLabel{display:block}#map .landPlot[data-plot="0"] .landPlotLabel,#map .landPlot[data-plot="6"] .landPlotLabel,#map .landPlot[data-plot="12"] .landPlotLabel,#map .landPlot[data-plot="18"] .landPlotLabel,#map .landPlot[data-plot="24"] .landPlotLabel{left:0;transform:none}#map .landPlot[data-plot="5"] .landPlotLabel,#map .landPlot[data-plot="11"] .landPlotLabel,#map .landPlot[data-plot="17"] .landPlotLabel,#map .landPlot[data-plot="23"] .landPlotLabel,#map .landPlot[data-plot="29"] .landPlotLabel{left:auto;right:0;transform:none}
#map[data-land-mode="planning"] .landPlot.empty{border:1px dashed #ecd4a666;background:#d7ce9910;margin:0}#map .landTarget,#map .landSource{outline:3px solid #f4d497;outline-offset:-4px}#map .landPlotMark{display:block;font:300 24px/1 system-ui;color:#f1d9a77a;pointer-events:none}
.landTools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.landTools p{margin:0}.landTools .eyebrow{font-size:9px;letter-spacing:1.4px;color:#d8d0a5}.landTools #landSize{font-size:12px;color:#d3dfce}.landTools .row{gap:6px}.landTools button{min-height:44px;font-size:12px;padding:8px 12px;background:#2c493c;border-color:#8c9b74}.landHint{font-size:12px;color:#d8dfcf;margin:8px 0 14px;line-height:1.5}
.landExpansion,.landPlacement{background:#203b33;border:1px solid #a0aa7d;border-radius:12px;padding:14px;margin:12px 0}.landExpansion h3,.landPlacement h3{font-family:Georgia,serif;font-size:21px;color:#f0d6a1;margin:0 0 7px}.landExpansion p,.landPlacement p{font-size:13px;line-height:1.5;margin:0 0 10px}.landExpansion button,.landPlacement button{min-height:48px}.landDetails{margin:8px 0;font-size:12px}.landDetails summary{min-height:44px;padding:10px 0;color:var(--gold)}
.tapPlay #builds{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tapPlay #builds button,#builds button{display:flex;align-items:center;gap:5px;min-height:92px;padding:9px;background:linear-gradient(145deg,#405947,#263f37);border-color:#7f927071;--art-wall:#d2ba8f;--art-side:#90805a;--art-roof:#799b8a;--art-ground:#667c50;--art-light:#efc184}.tapPlay #builds button.active,#builds button.active{border-color:#f0d3a0;background:#4c6048;box-shadow:inset 0 0 0 1px #d9c595}.landBuildArt{display:block;width:49px;height:57px;flex:0 0 49px}.landBuildArt svg{width:100%;height:100%;fill:none;stroke:none}#builds strong{display:block;font-size:12px;line-height:1.3}#builds small{display:block;font-size:10px;line-height:1.4;color:#d0d7bd;margin-top:5px}.shelterArtLegend{display:none}.landFume{animation:landDrift 4s ease-in-out infinite}@keyframes landDrift{50%{opacity:.3;transform:translateY(-3px)}}
@media(max-width:600px){.tapPlay #builds{grid-template-columns:repeat(2,minmax(0,1fr))}.tapPlay #builds button{min-height:84px;padding:8px}.landTools{gap:8px}.landTools .row{width:100%}.landTools button{flex:1}.landTools #landSize{font-size:11px}.landPlacement .row>button,.landExpansion .row>button{flex:1}.landHint{font-size:11px}#map.shelterLand,.tapPlay #map.shelterLand{border-radius:12px}.landBuildArt{width:43px;flex-basis:43px;height:50px}#map .landPlotLabel{font-size:9px;white-space:normal;min-width:78px;max-width:115px;text-align:center}}
@media(prefers-reduced-motion:reduce){.landFume{animation:none}}

/* Real room imagery stays sharp at either shelter zoom level. */
.landBuildArt img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}.landCanvas image{image-rendering:auto}.landBuildArt{overflow:hidden}
.realRoomDetail{margin:12px auto 18px;max-width:360px}.realRoomDetail img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:0 6px 18px #07191266}.realRoomDetail figcaption{font:12px/1.5 system-ui;color:#ded8bd;margin-top:8px;text-align:center}

.roomUpgrade{padding:14px;border:1px solid #8d927477;border-radius:8px;background:#243c32;margin:12px 0}.roomUpgrade h4{margin:0 0 7px;font-size:16px}.roomUpgrade p{font-size:13px;line-height:1.5;margin:8px 0}.roomUpgrade .upgradeGain{font-size:20px;color:#e5d6b7}.roomUpgrade button{min-height:48px}.roomUpgrade small{display:block;font-size:11px;line-height:1.5;margin-top:8px;color:#c8cfbc}.upgradeBreakdown{font-size:12px}.upgradeBreakdown summary{padding:12px 0;cursor:pointer;min-height:44px}

#map .landPlotMark[data-tone=benefit],#map .landPlotMark[data-tone=warning]{display:grid;place-items:center;width:29px;height:29px;margin:auto;font-size:14px;font-weight:750;border:1px solid;border-radius:50%}
#map .landPlotMark[data-tone=benefit]{background:#203a2b;border-color:#b6d6a3;color:#e0f2cc}
#map .landPlotMark[data-tone=warning]{background:#3b2c21;border-color:#e6bd8d;color:#ffe5c3}


/* region-map.css */
#regionMapPanel{padding:20px;border:1px solid #87977e;border-radius:16px;background:linear-gradient(135deg,#354f43,#172f2b);margin:16px 0}.atlasHeading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.atlasHeading h2{font-size:28px;margin:3px 0}.atlasHeading p{margin:3px 0;font-size:12px}.atlasTools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0}.atlasTools label{display:flex;align-items:center;gap:8px;font-size:12px}.atlasTools select{max-width:210px}.atlasMap{position:relative;aspect-ratio:3/2;overflow:hidden;border:1px solid #9ca485;border-radius:12px;isolation:isolate;background:#465b40}.atlasMap[data-atlas-close=true]{overflow:auto;overscroll-behavior:contain}.atlasStage{position:relative;min-width:100%;min-height:100%;aspect-ratio:3/2}.atlasTerrain{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.atlasPin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;padding:7px 10px;border:2px solid #e2d4a0;border-radius:10px;background:#1d342de8;color:#fff4ce;min-height:44px;box-shadow:0 3px 8px #081a2b80;z-index:2;font-size:11px;max-width:180px}.atlasPin b{font-size:22px;line-height:1}.atlasPin[aria-pressed=true]{background:#776748;border-color:#fff3bc;outline:3px solid #f6dfad70}.atlasPin.atlasVisited{border-color:#a7c995}.atlasPin.atlasHome{background:#594b32}.atlasPin:focus-visible{outline:3px solid #fff2b5;outline-offset:3px;z-index:3}.atlasPlaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.atlasPlaces button{padding:0;overflow:hidden;background:#1d352e;border-color:#8c9a80;text-align:left}.atlasPlaces button[aria-pressed=true]{border-color:#f3dba0}.atlasPlaces img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.atlasPlaces span{display:block;padding:9px}.atlasPlaces strong{font-size:13px;display:block}.atlasPlaces small{font-size:11px;color:#d2d8bd}.atlasSettlement{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:22px 0;border-top:1px solid #7d92745c;padding-top:20px;align-items:start}.atlasSettlement>img{width:100%;height:auto;border-radius:10px}.atlasSettlement h3{font-size:24px;margin:4px 0 10px}.atlasSettlement p{font-size:13px;line-height:1.5}.atlasRecord,.atlasNote{color:#ddd4b0}.atlasSettlement details{font-size:12px;margin:12px 0}.atlasSettlement summary,.atlasRadio summary{padding:10px 0;cursor:pointer}.atlasSettlement button{min-height:48px;width:100%}.atlasHint{font-size:13px}.atlasRadio{font-size:12px;margin-top:16px;color:#d0d8c8}.atlasRadio p{line-height:1.6}.roomService{max-width:560px;margin:12px auto 20px}.roomService p{font-size:13px;line-height:1.6}.roomService button{min-height:48px}.outingScene{object-fit:cover}.atlasTools button{min-height:44px}
@media(max-width:600px){#regionMapPanel{padding:12px}.atlasHeading h2{font-size:24px}.atlasTools{flex-wrap:wrap}.atlasTools label{width:100%;justify-content:space-between}.atlasPin{padding:5px;min-width:44px;max-width:48px;min-height:44px;border-radius:50%;justify-content:center}.atlasPin span{display:none}.atlasPlaces{grid-template-columns:1fr}.atlasPlaces button{display:flex;align-items:center;min-height:80px}.atlasPlaces img{width:105px;flex:0 0 105px}.atlasSettlement{grid-template-columns:1fr;gap:12px}.atlasHeading button{min-height:44px}.landTools .row{flex-wrap:wrap}.landTools button{flex:1 0 40%}}


/* survivor-journey.css */
#survivorSelection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}#survivorSelection button{padding:0;overflow:hidden;min-width:0;background:#17251f;text-align:left}#survivorSelection img{display:block;width:100%;aspect-ratio:1;object-fit:cover}#survivorSelection strong,#survivorSelection small{display:block;padding:6px 10px}#survivorSelection small{font-size:12px;padding-top:0;color:#c6ccb8}#survivorSelection [aria-pressed="true"]{outline:2px solid #e5cda3;outline-offset:2px}.survivorSelectNative{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.survivorHistory{margin-top:14px}.survivorHistory summary{padding:10px 0}.survivorHistory p{font-size:13px;line-height:1.5}#survivorMeeting .imPersonPhoto{max-width:240px}.openingPortraitPlaceholder{width:100%;height:100%;object-fit:cover;object-position:center 30%}
@media(max-width:600px){#survivorSelection{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#survivorSelection strong{font-size:15px}#survivorSelection img{aspect-ratio:1.2}#survivorSelection small{min-height:40px}}

.openingFilm video[hidden],.openingPortraitPlaceholder[hidden],.openingFilmControls[hidden]{display:none!important}


/* immersive-play.css */
.immersive{--im-top:64px;--im-bottom:72px;--im-side:82px;overflow:hidden;height:100dvh;background:#202b24;font-size:14px}
.immersive main{max-width:none;margin:0;padding:0}.immersive>header,.immersive>footer,.immersive>#offlineStatus{display:none}.immersive #game{padding:0}.immersive #game>.eyebrow,.immersive #game>h1,.immersive #game>p,.immersive #progress,.immersive #shelterOverview,.immersive #stats,.immersive #playBar{display:none!important}
.immersive #game .layout,.immersive #game .layout>div{display:contents}.immersive #game .panel,.immersive #campaignManagement,.immersive #game [data-play-group],.immersive #game .imPath>*{display:none!important}
.immersive #game .imPath{display:contents!important}.immersive #game .imPath>.imPath{display:contents!important}
.immersive #game #shelterPanel,.immersive #game #regionMapPanel{display:none!important;position:fixed;inset:var(--im-top) 0 var(--im-bottom);border:0;border-radius:0;padding:0;margin:0;overflow:hidden;background:#26322b url('mobile-art/ground-realistic.webp') center/cover;box-shadow:none}
.immersive[data-im-scene="shelter"] #game #shelterPanel,.immersive[data-im-scene="world"] #game #regionMapPanel{display:block!important}
.immersive #shelterPanel>*{display:none!important}.immersive #shelterPanel #map{display:block!important;position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;border:0;aspect-ratio:auto;border-radius:0;background:transparent;overflow:auto;scrollbar-width:none;overscroll-behavior:contain;box-shadow:none}
.immersive #map .landStage{min-width:0;min-height:0;aspect-ratio:680/590}.immersive #map .landPlot{border-radius:2px}.immersive #map .landPlot.empty:not(:hover):not(:focus-visible){background:transparent}.immersive #map[data-land-mode="planning"] .landPlot.empty{border:1px dashed #e1d0a277}
.immersive #shelterPanel #landPlacement:not([hidden]){display:block!important;position:fixed;z-index:55;bottom:calc(var(--im-bottom) + 10px);left:50%;transform:translateX(-50%);width:min(540px,calc(100% - 24px));margin:0;padding:12px;background:#16251ef2;box-shadow:0 8px 35px #0008}.immersive #landPlacement h3{font-size:16px}.immersive #landPlacement p{font-size:12px;margin:0 0 8px}
.immersive #regionMapPanel>*{display:none!important}.immersive #regionMapPanel .atlasMap{display:block!important;position:absolute;inset:0;height:100%;max-height:none;aspect-ratio:auto;border:0;border-radius:0;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}.immersive .atlasStage{min-width:0;min-height:0;aspect-ratio:3/2}.immersive .atlasPin{min-width:48px;min-height:48px;box-shadow:0 4px 16px #000a}.immersive .atlasPin strong{font-size:12px}.immersive .atlasPin span{font-size:20px}
#imTravel{position:fixed;inset:var(--im-top) 0 var(--im-bottom);background-size:cover;background-position:center;z-index:1}#imTravel::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#09171030,transparent 45%,#08120de6)}.imTravelPlaces{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 170px));display:flex;gap:12px}.imTravelPlaces button{flex:1;min-width:0;padding:0;overflow:hidden;background:#17251fea;border-color:#bbaf8b77;border-radius:6px;box-shadow:0 8px 25px #0005}.imTravelPlaces img{width:100%;height:90px;object-fit:cover;display:block}.imTravelPlaces strong,.imTravelPlaces small{display:block;padding:4px 8px;font-size:13px}.imTravelPlaces small{font-size:11px;color:#c7c7b6;padding-top:0}.imTravelPlaces [aria-pressed="true"]{border-color:#e8d3a5}
#imHUD{position:fixed;inset:0;z-index:60;pointer-events:none;font:13px/1.2 system-ui}#imHUD button,#imHUD nav{pointer-events:auto}#imHUD button{min-width:44px;min-height:44px;border-radius:5px;background:#15231edb;border-color:#a5967377;color:#eee5cf;padding:8px;backdrop-filter:blur(12px)}#imHUD button:hover{background:#314139ef}#imHUD svg,#imSheetBar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.imTop{position:absolute;top:0;left:0;right:0;height:var(--im-top);padding:calc(8px + env(safe-area-inset-top)) 16px 8px;display:flex;align-items:center;gap:16px;background:#0d1a16f5;border-bottom:1px solid #8a8e6a55;pointer-events:auto}#imIdentity{text-align:left!important;flex:0 0 auto;border:0!important;background:none!important;padding:0!important}#imIdentity span{display:block;font-size:13px;letter-spacing:2px}#imIdentity small{display:block;font-size:10px;color:#b9beac;margin-top:3px}
#imTicker{display:flex;gap:2px;justify-content:center;flex:1;min-width:0}#imTicker button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;min-width:62px;padding:6px}#imTicker b{font-size:15px;font-variant-numeric:tabular-nums}#imTicker svg{width:18px;height:18px;color:#c2bb96}
.imSceneTitle{position:absolute;top:calc(var(--im-top) + 18px);left:24px;max-width:calc(100% - 180px);text-shadow:0 2px 7px #000;background:#111b1599;padding:8px 12px;border-left:2px solid #c1b58f}.imSceneTitle span{display:block;font:21px/1.15 Georgia,serif}.imSceneTitle small{display:block;margin-top:4px;color:#e3dcc4;font-size:11px}
#imActions{position:absolute;right:16px;top:calc(var(--im-top) + 16px);display:flex;flex-direction:column;gap:8px}#imActions button{width:60px;display:flex;flex-direction:column;align-items:center;gap:4px}#imActions button span{font-size:10px}.imAlert{border-color:#e7b47e!important;position:relative}.imAlert::after{content:'';width:7px;height:7px;border-radius:50%;background:#d79b5a;position:absolute;top:5px;right:5px}
#imFaces{position:absolute;left:20px;bottom:calc(var(--im-bottom) + 14px);display:flex;gap:8px;max-width:calc(100% - 105px);overflow:auto;scrollbar-width:none}#imFaces button{padding:0;width:58px;flex:0 0 58px;overflow:hidden;background:#18251ff0;border-color:#c6b9968a}#imFaces span{display:block;width:56px;height:62px}#imFaces svg{display:block;width:100%;height:100%;stroke:none}#imFaces small{font-size:10px;display:block;padding:4px 0;color:#eee4d0}
#imSceneTools{position:absolute;right:16px;bottom:calc(var(--im-bottom) + 14px);display:flex;gap:8px}#imSceneTools span{display:none}#imViews{position:absolute;bottom:0;left:0;right:0;height:var(--im-bottom);background:#0d1a16f5;border-top:1px solid #8a8e6a55;display:flex;justify-content:center;gap:30px;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}#imViews button{width:120px;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:#bfc6b6}#imViews button[aria-pressed="true"]{color:#f2dfb6;background:#4e5a443a;border-bottom:2px solid #dec59a}
#imToast{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(var(--im-bottom) + 12px);margin:0;background:#111c17f2;border:1px solid #bead82;padding:10px 14px;max-width:min(560px,calc(100% - 24px));color:#eee5cb;pointer-events:none;box-shadow:0 4px 20px #0008}
#imShade{position:fixed;inset:0;z-index:70;background:#020a08a3;border:0;border-radius:0;backdrop-filter:blur(3px)}#imSheetBar{position:fixed;z-index:91;right:16px;top:calc(var(--im-top) + 12px);width:min(470px,calc(100% - 32px));height:54px;background:#17251ffb;border:1px solid #8b937577;border-bottom:0;border-radius:10px 10px 0 0;padding:6px 12px;display:flex;align-items:center;justify-content:space-between}#imSheetBar strong{font-size:16px}#imClose{width:44px;height:44px;padding:9px;border:0;background:none}
.immersive #game .imActivePanel,.immersive #game .imPath>.imActivePanel,.immersive #shelterPanel>.imActivePanel,.immersive #regionMapPanel>.imActivePanel,.immersive #imMenu.imActivePanel,.immersive #imPerson.imActivePanel{display:block!important;position:fixed!important;inset:auto!important;top:calc(var(--im-top) + 66px)!important;right:16px!important;bottom:calc(var(--im-bottom) + 12px)!important;left:auto!important;width:min(470px,calc(100% - 32px))!important;max-height:none!important;margin:0!important;padding:16px!important;z-index:90!important;overflow:auto!important;overscroll-behavior:contain;background:#1a2b23fc!important;border:1px solid #8b937577!important;border-top:0!important;border-radius:0 0 10px 10px!important;box-shadow:0 18px 60px #0009;color:#efe8d6;scrollbar-width:thin;aspect-ratio:auto!important;transform:none!important}
.immersive .imActivePanel h2{font-size:23px}.immersive .imActivePanel h3{font-size:18px}.immersive .imActivePanel p{font-size:13px;line-height:1.5}.immersive .imActivePanel small{font-size:12px}.immersive .imActivePanel button{min-height:44px}.immersive .imActivePanel>h2:first-child{margin-top:0}.immersive .imActivePanel .portraitStudyNote{display:none}.immersive .imActivePanel .survivorPortrait{border-radius:6px}.immersive .imActivePanel .realRoomDetail{max-width:240px}.immersive .imActivePanel .realRoomDetail figcaption{display:none}.immersive #builds.imActivePanel{display:grid!important;grid-template-columns:1fr 1fr;align-content:start;gap:10px}.immersive #builds.imActivePanel button{display:flex;flex-direction:column;text-align:center;padding:10px}.immersive #builds .landBuildArt{width:100%;height:110px;flex-basis:auto}.immersive #builds strong{font-size:13px;margin-top:8px}.immersive #builds small{font-size:11px}.imMenuGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.imMenuGrid button{text-align:left;background:#2c3c30;padding:12px;font-size:13px}.imSmall{font-size:11px!important;margin-top:16px}
.immersive #outingBoard.imActivePanel>.outingPlaces,.immersive #outingBoard.imActivePanel>h3,.immersive #outingBoard.imActivePanel>.eyebrow{display:none}.immersive .outingPlan{border:0;padding:0;background:none}.immersive .outingDescription{display:none}.immersive .outingLaunch{grid-template-columns:1fr}.immersive .outingTeam{flex-wrap:wrap}.immersive .atlasSettlement>p:not(.eyebrow){font-size:13px}.immersive #destinationWalkPanel .courtyardFigure{display:none}.immersive .walkFigure{background:url('world-assets/courtyard.png') center/cover}.immersive .walkRouteMap{background:#10201765}.immersive .walkFigure .walkNode{border-radius:5px;background:#15251eef;border-color:#b8ac87}.immersive .walkViewpoint p{font-size:12px}
.immersive.imSheetOpen #imHUD{pointer-events:none}.immersive.imSheetOpen #imHUD button,.immersive.imSheetOpen #imHUD nav{pointer-events:none}
.immersive.imSheetOpen #shelterPanel:has(.imActivePanel),.immersive.imSheetOpen #regionMapPanel:has(.imActivePanel){z-index:80;background-color:#0d1712}.immersive.imSheetOpen #shelterPanel:has(.imActivePanel) #map,.immersive.imSheetOpen #regionMapPanel:has(.imActivePanel) .atlasMap{filter:blur(3px) brightness(.4);pointer-events:none}.immersive.imSheetOpen #shelterPanel:has(.imActivePanel){background-image:linear-gradient(#07110be0,#07110be0),url('mobile-art/ground-realistic.webp')}
.immersive #status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.immersive #game #regionMapPanel .atlasPin{width:auto;min-width:48px;max-width:150px;min-height:48px;border:1px solid #c2b28c;border-radius:5px;font-size:11px;padding:7px 9px;background:#14251de8}.immersive #game #regionMapPanel .atlasPin span{font-size:11px}.immersive #game #regionMapPanel .atlasPin b{font-size:17px}.immersive #game #shelterPanel:has(.imActivePanel){background-image:linear-gradient(#07110be0,#07110be0),url('mobile-art/ground-realistic.webp')}
.immersive #game #shelterPanel #builds.imActivePanel{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:10px}.immersive #builds.imActivePanel button{width:100%;min-width:0}.immersive #game #regionMapPanel .atlasPin svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}
.immersive #game #shelterPanel #builds.imActivePanel{grid-auto-rows:max-content}.immersive #game #shelterPanel #builds.imActivePanel button{height:auto;min-height:180px;flex-shrink:0;justify-content:flex-start}.immersive #game #shelterPanel #landPlacement:not([hidden]){z-index:65}.immersive:has(#landPlacement:not([hidden])) #imFaces,.immersive:has(#landPlacement:not([hidden])) #imSceneTools{visibility:hidden}
@media(max-width:700px){.immersive{--im-top:64px;--im-bottom:68px}.imTop{padding-left:10px;padding-right:8px;gap:5px}#imIdentity span{font-size:9px;letter-spacing:1px}#imIdentity small{font-size:9px;max-width:68px;overflow:hidden;text-overflow:ellipsis}#imTicker{gap:0}#imTicker button{min-width:0;flex:1;padding:4px 1px;flex-direction:column;gap:2px}#imTicker svg{width:16px;height:16px}#imTicker b{font-size:12px}.imSceneTitle{left:12px;top:calc(var(--im-top) + 12px);padding:7px 9px;max-width:calc(100% - 84px)}.imSceneTitle span{font-size:18px}#imActions{right:10px;top:calc(var(--im-top) + 12px);gap:7px}#imActions button{width:49px;min-height:48px;padding:6px 3px}#imActions button span{font-size:9px}#imFaces{left:12px;bottom:calc(var(--im-bottom) + 12px);gap:5px;max-width:calc(100% - 75px)}#imFaces button{width:45px;flex-basis:45px}#imFaces span{width:43px;height:49px}#imFaces small{font-size:9px;padding:3px 0}#imSceneTools{right:10px;bottom:calc(var(--im-bottom) + 12px);flex-direction:column;gap:6px}#imViews{gap:8px}#imViews button{flex:1;width:auto;font-size:11px}.imTravelPlaces{width:calc(100% - 80px);left:12px;transform:none;gap:6px;bottom:100px}.imTravelPlaces img{height:66px}.imTravelPlaces strong{font-size:10px;padding:6px 3px}.imTravelPlaces small{display:none}#imSheetBar{top:auto;bottom:calc(min(76dvh,660px) - 54px);right:8px;width:calc(100% - 16px)}.immersive #game .imActivePanel,.immersive #game .imPath>.imActivePanel,.immersive #shelterPanel>.imActivePanel,.immersive #regionMapPanel>.imActivePanel,.immersive #imMenu.imActivePanel,.immersive #imPerson.imActivePanel{top:auto!important;bottom:0!important;right:8px!important;left:8px!important;width:auto!important;height:calc(min(76dvh,660px) - 54px)!important;padding:14px 14px calc(14px + env(safe-area-inset-bottom))!important;border-radius:0!important}.immersive #landPlacement{bottom:calc(var(--im-bottom) + 8px)!important}.immersive #landPlacementSummary{max-height:92px;overflow:auto}.immersive #landPlacement .row{flex-wrap:nowrap}#imToast{width:calc(100% - 24px);font-size:12px}}
@media(max-height:500px){.immersive{--im-top:48px;--im-bottom:52px}.imTop{padding:2px 12px}#imActions{flex-direction:row;top:calc(var(--im-top) + 8px)}#imActions button{min-height:42px}#imActions svg{width:18px;height:18px}#imFaces span{height:42px}.imSceneTitle{top:calc(var(--im-top) + 8px)}#imViews{padding:3px}#imViews button{min-height:44px;flex-direction:row;justify-content:center}#imSheetBar{top:calc(var(--im-top) + 4px);bottom:auto}.immersive #game .imActivePanel,.immersive #game .imPath>.imActivePanel,.immersive #shelterPanel>.imActivePanel,.immersive #regionMapPanel>.imActivePanel,.immersive #imMenu.imActivePanel,.immersive #imPerson.imActivePanel{top:calc(var(--im-top) + 58px)!important;bottom:4px!important;height:auto!important}.imTravelPlaces{bottom:80px}.imTravelPlaces img{height:50px}}

.imPersonPhoto{display:block;width:min(100%,300px);aspect-ratio:1;object-fit:cover;border-radius:6px;margin:0 auto 16px}.imPersonVitals{display:flex;gap:20px;padding:12px;background:#2e4033;border-radius:6px}.imPersonVitals strong{margin-left:5px}.immersive #game #regionMapPanel .atlasPin span{display:block;font-size:10px;max-width:105px}.immersive #game #regionMapPanel .atlasPin{max-width:140px}.immersive #game #regionMapPanel .atlasSettlement.imActivePanel{
 display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;align-content:start;
}
.immersive #game .layout.imPath>div{display:contents!important}
.imSetupNotes{margin-top:18px;font-size:13px}.imSetupNotes summary{padding:12px 0}.imSetupNotes p{font-size:13px;line-height:1.5}
.immersive.imSheetOpen #shelterPanel:has(.imActivePanel),.immersive.imSheetOpen #regionMapPanel:has(.imActivePanel){pointer-events:none}.immersive #game .imActivePanel,.immersive #imMenu.imActivePanel,.immersive #imPerson.imActivePanel{pointer-events:auto}
@media(orientation:landscape) and (max-height:540px){
 .immersive #game #regionMapPanel .atlasSettlement.imActivePanel>img{
  height:clamp(150px,55dvh,240px);object-fit:cover;
 }
 .immersive #regionMapPanel .atlasSettlement h3{font-size:clamp(1rem,2.8vw,1.28rem);margin:1px 0 7px}
 .immersive #regionMapPanel .atlasSettlement :is(p,details){margin-block:5px}
}
@media(orientation:landscape) and (max-height:540px) and (min-width:540px){
 .immersive #game #regionMapPanel .atlasSettlement.imActivePanel{
  grid-template-columns:minmax(132px,.88fr) minmax(0,1.12fr);
 }
}
@media(orientation:landscape) and (max-height:540px) and (max-width:539px){
 .immersive #game #regionMapPanel .atlasSettlement.imActivePanel>img{height:72px}
}

/* Current portrait fatigue: more sand fill means more tired; never health or energy. */
#imFaces button>span{position:relative}
#imFaces .imFatigueTrack{position:absolute;display:block;left:3px;right:3px;bottom:3px;height:5px;box-sizing:border-box;border:1px solid #dbc79699;border-radius:2px;background:#2d291fe8;pointer-events:none}
#imFaces .imFatigueTrack>i{display:block;width:var(--im-fatigue);height:100%;border-radius:1px;background:#c7ad78}
#imFaces .imFatigueTrack::after{content:"";position:absolute;left:60%;top:-1px;width:1px;height:5px;background:#e6d4aa;pointer-events:none}
#imFaces .imFatigueTired{position:absolute;right:3px;bottom:10px;padding:1px 3px;border:1px solid #cbb17f88;border-radius:3px;background:#332c20ed;color:#ead8b4;font:700 8px/1.1 system-ui;font-style:normal;letter-spacing:.1px;pointer-events:none}


/* simple-menu.css */
.smMenuList{display:grid;gap:9px;margin:14px 0}.smMenuList button{display:flex;flex-direction:column;text-align:left;justify-content:center;gap:4px;padding:13px 16px;min-height:52px}.smMenuList strong{font-size:16px}.smMenuList small{font-size:12px;font-weight:normal;color:#b8c5be;line-height:1.4}.smSettings{margin-top:22px}.smSettings>summary{font-size:14px;color:#bdc9c2}
#imMenu h2{font-size:22px;margin:2px 0 18px}#smBack{min-width:74px;min-height:44px;padding:6px 10px;font-size:14px}#imSheetBar{gap:8px}#imSheetTitle{flex:1;font-size:15px}
.smSupplies{display:grid;gap:12px;margin:0}.smSupplies>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0;border-bottom:1px solid #ffffff16}.smSupplies dt{font-size:15px}.smSupplies dd{margin:0;text-align:right}.smSupplies dd strong{font-size:19px}.smSupplies dd small{display:block;color:#b8c5be;font-size:12px;line-height:1.4}
#smBuildTabs{grid-column:1/-1;display:flex;gap:6px;padding-bottom:10px;position:sticky;top:0;background:#131d18;z-index:2}#smBuildTabs button{flex:1;min-height:44px;padding:8px 5px;font-size:13px}#smBuildTabs [aria-pressed=true]{background:#496551;border-color:#a5bfa2}body.immersive #builds.imActivePanel [hidden]{display:none!important}
body.immersive #game #shelterPanel #builds.imActivePanel #smBuildTabs button{min-height:44px;height:44px;align-items:center;justify-content:center}
body:not(.immersive) #smPeople,body:not(.immersive) #smRest,body:not(.immersive) .smDayIntro{display:none}body.immersive #peoplePanel.imActivePanel> :not(h2):not(#smPeople){display:none!important}
.smPeopleGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smPeopleGrid button{padding:0 0 12px;overflow:hidden;display:flex;flex-direction:column;gap:6px;text-align:left}.smPeopleGrid img{width:100%;height:170px;object-fit:cover;object-position:center 25%}.smPeopleGrid strong,.smPeopleGrid span{margin:0 12px}.smPeopleGrid strong{font-size:16px}.smPeopleGrid strong small{font-weight:normal;color:#b8c5be}.smPeopleGrid span{font-size:12px;color:#b8c5be}.smPeopleTools{margin-top:20px}
body.immersive #workPanel .playDayNote{display:none}body.immersive #workPanel #workShift,body.immersive #smRest{width:100%;min-height:52px;margin:0 0 10px}#smTrade{margin:16px 0}#smTrade summary{min-height:44px;display:flex;align-items:center;cursor:pointer}#smTrade summary:before{content:'›';margin-right:10px}#smTrade[open] summary:before{content:'⌄'}#smTrade #tradeList{padding-top:10px}body.immersive #workPanel>.playHelp{margin-top:16px}body.immersive .smRoomDetails{margin-top:16px}.smRoomDetails summary{min-height:44px;cursor:pointer}
@media(max-width:700px){.smPeopleGrid img{height:145px}.smMenuList button{min-height:56px}#imMenu h2{font-size:20px}#smBuildTabs{gap:4px}.smSupplies>div{grid-template-columns:1fr 1.25fr}}
.smMenuList .smSceneLink{display:flex;flex-direction:column;gap:5px;min-height:56px;padding:14px;text-align:left;text-decoration:none;color:#f0e5cb;border:1px solid #b5b99544;background:#334334;border-radius:12px}.smSceneLink strong{font-size:15px}.smSceneLink small{font-size:12px;color:#b8c5be}.smSceneLink:focus-visible{outline:3px solid #efc184;outline-offset:3px}


/* shelter-scene-main.css */
#liveShelter3D{position:fixed;inset:var(--im-top,64px) 0 var(--im-bottom,72px);z-index:4;background:#243b2c}
#liveShelter3D[hidden]{display:none!important}
#liveShelterFrame{border:0;width:100%;height:100%;display:block;background:#243b2c}
#liveShelterLoading{position:absolute;inset:0;background:#243b2ce8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#eee5cf;pointer-events:none}
#liveShelterLoading[hidden]{display:none}#liveShelterLoading button{pointer-events:auto}
#liveShelter3D.liveShelterPreparing {
  background: none;
  pointer-events: none;
}
#liveShelter3D.liveShelterPreparing iframe { visibility: hidden; }
#liveShelter3D.liveShelterPreparing #liveShelterLoading {
  inset: auto auto 10px 50%;
  translate: -50%;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 4px 5px 4px 10px;
  border: 1px solid #a78d5d;
  border-radius: 12px;
  background: #18291ff2;
  flex-direction: row;
  gap: 8px;
  font-size: 11px;
}
#liveShelter3D.liveShelterPreparing #liveShelterLoading button {
  min-height: 44px;
  padding: 6px 8px;
  font-size: 11px;
}
.immersive.liveShelter #shelterPanel #map{visibility:hidden;pointer-events:none}
.immersive.liveShelter #landPlacement{display:none!important}
.immersive.liveShelter #imSceneTools{gap:5px}.immersive.liveShelter #imSceneTools button{font-size:22px;width:44px;padding:7px;min-width:44px}
.immersive.liveShelter #imFaces{max-width:calc(100% - 270px)}
.immersive.liveShelterPanel #imFaces{visibility:hidden}
.immersive.liveShelterPanel .imSceneTitle{visibility:hidden}
.immersive.liveShelter.imSheetOpen #liveShelter3D{pointer-events:none;filter:brightness(.55)}
#sgViewSettings{margin-top:10px}
#liveShelterFloors{position:fixed;left:12px;bottom:calc(var(--im-bottom,72px) + 10px);display:flex;gap:3px;padding:4px;border:1px solid #82785e;background:#17241fef;border-radius:12px;box-shadow:0 3px 14px #0006;pointer-events:auto}
#liveShelterFloors[hidden]{display:none!important}
#liveShelterFloors button{min-height:42px;min-width:46px;padding:6px 12px;border:0;border-radius:8px;background:transparent;color:#e5dfcc;font-size:13px;font-weight:700}
#liveShelterFloors button[aria-pressed="true"]{background:#b89c62;color:#17241f}
#liveShelterFloors button:disabled{opacity:.5}
.immersive.liveShelter #imFaces{bottom:calc(var(--im-bottom,72px) + 74px)}
.immersive.liveShelter.imSheetOpen #liveShelterFloors{display:none}
.immersive.liveShelterPanel #liveShelterFloors{left:50%;right:auto;top:calc(var(--im-top,64px) + 10px);bottom:auto;transform:translateX(-50%)}
@media(max-width:700px){.immersive.liveShelter #imSceneTools{right:10px;gap:4px}.immersive.liveShelter #imSceneTools button{width:42px;min-width:42px}.immersive.liveShelter #imFaces{max-width:calc(100% - 245px)}.immersive.liveShelterPanel #liveShelterFloors{left:12px;top:calc(var(--im-top,64px) + 82px);transform:none}}
@media(max-height:500px){.immersive.liveShelter #imSceneTools{bottom:calc(var(--im-bottom) + 8px)}.immersive.liveShelter #imSceneTools button{height:42px;min-height:42px}.immersive.liveShelterPanel #liveShelterFloors{display:none}}

/* One-handed game HUD. The same navigation stays in place at every size. */
.immersive.liveShelter .imTop{background:linear-gradient(180deg,#17221ffb,#17221ff0);border-bottom-color:#b5a27845;box-shadow:0 3px 18px #0004}
.immersive.liveShelter #imIdentity span{color:#e3c78d;letter-spacing:1.7px}
.immersive.liveShelter #imTicker button{border-radius:9px;font-variant-numeric:tabular-nums;gap:6px}
.immersive.liveShelter #imTicker button:hover{background:#ffffff0b}
.immersive.liveShelter #imTicker [data-im-resource="food"] svg{color:#b7d49e}
.immersive.liveShelter #imTicker [data-im-resource="materials"] svg{color:#b6c4ca}
.immersive.liveShelter #imTicker [data-im-resource="credits"] svg{color:#dfb879}
.immersive.liveShelter #imTicker [data-im-resource="power"] svg{color:#f4cf77}
.immersive.liveShelter #imTicker [data-im-resource="morale"] svg{color:#e1b9a6}
.immersive.liveShelter #imTicker [data-im-resource="attention"] svg{color:#e7a18b}
.immersive.liveShelter .imSceneTitle{left:16px;top:calc(var(--im-top) + 14px);padding:9px 12px;border-left:2px solid #d6b779;border-radius:2px 10px 10px 2px;background:linear-gradient(90deg,#15211ff0,#15211faa);box-shadow:0 4px 18px #0002}
.immersive.liveShelter .imSceneTitle span{font:600 18px/1.2 system-ui;letter-spacing:.15px}
.immersive.liveShelter .imSceneTitle small{color:#d2d1be;letter-spacing:.4px}
.immersive.liveShelter #imActions{top:calc(var(--im-top) + 14px);right:12px;gap:7px;align-items:flex-end}
.immersive.liveShelter #imActions button{width:54px;min-height:48px;border-radius:12px;border:1px solid #b7b49b4a;background:linear-gradient(145deg,#273831ed,#18251fea);box-shadow:0 3px 10px #0004;gap:3px}
.immersive.liveShelter #imActions button span{font-size:10px;font-weight:600;letter-spacing:.1px}
.immersive.liveShelter #imActions [data-im-action="build"]{width:64px;min-height:62px;background:linear-gradient(145deg,#dfc695,#b38c50);border-color:#e9d5ab;color:#20261d;box-shadow:0 4px 14px #0006,inset 0 1px #fff6}
.immersive.liveShelter #imActions [data-im-action="build"] svg{width:26px;height:26px;stroke-width:1.9}
.immersive.liveShelter #imActions [data-im-action="build"] span{font-size:11px}
.immersive.liveShelter #imActions .imAlert::after{width:6px;height:6px;background:#f2bc73;box-shadow:0 0 0 2px #24352e}
.immersive.liveShelter #imViews{background:linear-gradient(180deg,#15231ff2,#101b18);border-top-color:#bfaf824a;gap:14px}
.immersive.liveShelter #imViews button{border-radius:11px;color:#b8c1b5}
.immersive.liveShelter #imViews button[aria-pressed="true"]{color:#f3d8a4;background:#dbc39412;border-bottom-color:#d6b779}
.immersive.liveShelter #imFaces{left:16px;max-width:calc(100% - 112px);gap:7px;bottom:calc(var(--im-bottom) + 86px)}
.immersive.liveShelter #imFaces button{border-radius:10px;box-shadow:0 3px 10px #0006;border-color:#b5ad8a80}
.immersive.liveShelter #imFaces small{background:#15211ff0}
.immersive.liveShelter #liveShelterFloors{left:16px;bottom:calc(var(--im-bottom) + 13px);gap:3px;padding:4px;border-color:#b6aa815c;background:linear-gradient(145deg,#26362ff5,#14231ef5);border-radius:14px;box-shadow:0 4px 18px #0006}
.immersive.liveShelter #liveShelterFloors button{min-width:62px;min-height:48px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px 10px;border-radius:10px;background:transparent}
.immersive.liveShelter #liveShelterFloors button strong{font-size:12px;letter-spacing:.1px}
.immersive.liveShelter #liveShelterFloors button small{font-size:9px;font-weight:500;color:#b9c2b4;white-space:nowrap}
.immersive.liveShelter #liveShelterFloors button[aria-pressed="true"]{background:linear-gradient(145deg,#d4ba82,#b49a63);color:#17251f;box-shadow:inset 0 1px #fff5}
.immersive.liveShelter #liveShelterFloors button[aria-pressed="true"] small{color:#384437}
.immersive.liveShelter #liveShelterFloors [data-state="locked"]{color:#a9b0a4}
.immersive.liveShelter #liveShelterFloors [data-state="available"] small{color:#edcf92}
.immersive.liveShelter #liveShelterFloors [data-service-warning="true"] small{color:#ffd1a0;font-weight:760}
.immersive.liveShelter #liveShelterFloors [data-service-warning="true"][aria-pressed="true"] small{color:#4c220f}
.immersive.liveShelter #imSceneTools{right:16px;bottom:calc(var(--im-bottom) + 13px);display:flex;flex-direction:column;gap:5px;align-items:flex-end}
.immersive.liveShelter #imSceneTools button{width:82px;min-width:82px;min-height:48px;border-radius:12px;background:#192923ed;border-color:#b2aa835c;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 8px;box-shadow:0 3px 10px #0005}
.immersive.liveShelter #imSceneTools button[hidden]{display:none!important}
.immersive.liveShelter #imSceneTools span{display:block;font-size:10px;font-weight:600}
.immersive.liveShelter #imSceneTools svg{width:19px;height:19px;flex-shrink:0}
.immersive.liveShelter #imSceneTools b{font:20px/1 system-ui;width:20px;text-align:center}
.immersive.liveShelter #sgCameraToggle{order:10;background:#26392fed}
.immersive.liveShelter #sgCameraToggle[aria-expanded="true"]{border-color:#d9bf86;color:#eed4a2}
.immersive.liveShelter #sgNextStep{position:absolute;left:16px;top:calc(var(--im-top) + 87px);max-width:calc(100% - 100px);min-height:44px;border:1px solid #b8ad8059;border-radius:12px;background:#172820e8;color:#eeddb6;padding:9px 12px;text-align:left;font-size:11px;font-weight:600;line-height:1.35;box-shadow:0 4px 12px #0003}
.immersive.liveShelter #sgNextStep[data-tone="warning"]{color:#f3c294;border-color:#d4a26a80;background:#30271eea}
.immersive.liveShelter #sgNextStep[hidden]{display:none!important}
.immersive.liveShelterPanel #imSceneTools,.immersive.liveShelter.imSheetOpen #imSceneTools{display:none}
.immersive.liveShelterPanel #liveShelterFloors{left:50%;top:calc(var(--im-top) + 9px);bottom:auto;transform:translateX(-50%)}
@media(max-width:700px){
 .immersive.liveShelter .imTop{gap:4px;padding-left:10px;padding-right:7px}.immersive.liveShelter #imIdentity{max-width:65px}.immersive.liveShelter #imIdentity span{font-size:8px;letter-spacing:.9px}.immersive.liveShelter #imIdentity small{font-size:9px}
 .immersive.liveShelter #imTicker button{min-width:0;gap:2px;padding:3px 1px}.immersive.liveShelter #imTicker b{font-size:12px}.immersive.liveShelter #imTicker svg{width:17px;height:17px}
 .immersive.liveShelter .imSceneTitle{left:12px;max-width:calc(100% - 100px)}.immersive.liveShelter .imSceneTitle span{font-size:16px}
 .immersive.liveShelter #imActions{right:10px}.immersive.liveShelter #imFaces{left:12px;max-width:calc(100% - 108px)}.immersive.liveShelter #imFaces button{width:46px;flex-basis:46px}.immersive.liveShelter #imFaces span{width:44px;height:50px}
 .immersive.liveShelter #liveShelterFloors{left:12px}.immersive.liveShelter #liveShelterFloors button{min-width:58px;padding:5px 8px}
 .immersive.liveShelter #imSceneTools{right:12px}.immersive.liveShelter #sgNextStep{left:12px;top:calc(var(--im-top) + 82px);font-size:10px;padding:8px 10px}
 .immersive.liveShelterPanel #liveShelterFloors{left:12px;top:calc(var(--im-top) + 82px);transform:none}
}
@media(max-height:500px){
 .immersive.liveShelter .imSceneTitle{left:12px;top:calc(var(--im-top) + 8px);padding:6px 9px;max-width:calc(100% - 340px)}.immersive.liveShelter .imSceneTitle span{font-size:14px}.immersive.liveShelter .imSceneTitle small{font-size:10px;margin-top:2px}
 .immersive.liveShelter #imActions{flex-direction:row;align-items:center;top:calc(var(--im-top) + 8px);right:10px;gap:5px}.immersive.liveShelter #imActions button,.immersive.liveShelter #imActions [data-im-action="build"]{min-height:45px;width:54px;padding:5px;gap:2px}.immersive.liveShelter #imActions svg,.immersive.liveShelter #imActions [data-im-action="build"] svg{width:19px;height:19px}.immersive.liveShelter #imActions button span,.immersive.liveShelter #imActions [data-im-action="build"] span{font-size:9px}
 .immersive.liveShelter #sgNextStep{top:calc(var(--im-top) + 64px);max-width:calc(100% - 110px);font-size:10px;min-height:44px}
 .immersive.liveShelter #imFaces{bottom:calc(var(--im-bottom) + 76px);max-width:calc(100% - 130px)}.immersive.liveShelter #imFaces span{height:38px}.immersive.liveShelter #imFaces small{font-size:9px}
 .immersive.liveShelter #liveShelterFloors{bottom:calc(var(--im-bottom) + 10px)}.immersive.liveShelter #liveShelterFloors button{min-height:44px}
 .immersive.liveShelter #imSceneTools{bottom:calc(var(--im-bottom) + 10px)}.immersive.liveShelter.sgCameraOpen #imSceneTools{flex-direction:row;align-items:center;max-width:calc(100% - 250px);flex-wrap:wrap;justify-content:flex-end}.immersive.liveShelter #imSceneTools button{min-height:44px;height:44px}
 .immersive.liveShelterPanel #liveShelterFloors{display:none}
}
@media(prefers-reduced-motion:no-preference){.immersive.liveShelter #imHUD button{transition:background-color .15s,border-color .15s}.immersive.liveShelter #imActions [data-im-action="build"]:active{transform:translateY(1px)}}


/* arrival-story.css */
#arrivalStory[hidden],#arrivalGuide[hidden]{display:none!important}.arrivalSR{position:fixed;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.arrivalTutorial:not(.liveShelter):has(#landPlacement:not([hidden])) #arrivalGuide {
 display:none!important;
}
#arrivalStory{position:fixed;inset:0;z-index:200;background:#121b19;color:#f3e9d3;display:grid;grid-template-rows:auto minmax(160px,1fr) auto;overflow:hidden;font-family:system-ui,sans-serif;isolation:isolate;overscroll-behavior:none}
#arrivalStory button{min-width:48px;min-height:48px;font:600 14px/1.2 system-ui;touch-action:manipulation;color:#f8edda}
#arrivalStory button:focus-visible,#arrivalGuide button:focus-visible{outline:3px solid #fff3c1;outline-offset:4px}
.arrivalBackdrop{position:absolute;inset:0;z-index:-3;background:linear-gradient(180deg,#14211f12,#08151222 45%,#0c161ce3),url('mobile-art/depot.webp') center 58%/cover;filter:saturate(.75) brightness(.68);transform:scale(1.035);transition:filter 1.3s}
.arrivalAtGate .arrivalBackdrop{background-image:linear-gradient(180deg,#14211f12,#08151233 40%,#0c171ce3),url('mobile-art/courtyard.webp')}
[data-realism="realistic"] .arrivalBackdrop{filter:saturate(.98) brightness(.9)}[data-realism="mixed"] .arrivalBackdrop{filter:saturate(.72) contrast(1.12) brightness(.67)}[data-realism="comic"] .arrivalBackdrop{filter:saturate(.58) contrast(1.2) brightness(.67)}
.arrivalDust{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 10% 40%,#e9d4a010,transparent 55%),repeating-linear-gradient(155deg,transparent 0 180px,#e8cfac06 181px 183px,transparent 184px 330px)}
.arrivalHeader{display:flex;align-items:center;gap:24px;padding:calc(17px + env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) 16px max(22px,env(safe-area-inset-left));background:linear-gradient(#0e1b19e8,#111e1a90,transparent);min-height:58px;z-index:2}
.arrivalBrand span{font-size:18px;font-weight:800;letter-spacing:5px;color:#e9cf94}.arrivalBrand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;color:#cccdbb}.arrivalProgress{display:flex;gap:4px;margin-left:auto}.arrivalProgress span{display:block;width:23px;height:3px;background:#eff0e13b;border-radius:2px}.arrivalProgress .passed{background:#e4c584}.arrivalSaved{font-size:10px;color:#d0d2c1}
.arrivalArena{position:relative;min-height:0;max-width:1500px;width:100%;margin:auto;align-self:stretch}.arrivalSceneLabel{position:absolute;top:3%;left:5%;max-width:65%;text-shadow:0 2px 8px #000}.arrivalSceneLabel span{display:block;text-transform:uppercase;font-size:10px;letter-spacing:2px;color:#e6d4b5}.arrivalSceneLabel strong{display:block;font-size:clamp(18px,2.8vw,29px);margin-top:5px;font-weight:500}
.arrivalViewpoint{position:absolute;bottom:1%;left:5%;display:flex;align-items:flex-end;filter:drop-shadow(0 5px 6px #0007)}.arrivalViewpoint img{width:clamp(62px,11vw,120px);height:clamp(78px,13vw,146px);object-fit:cover;border-radius:7px;border:1px solid #c2b392a6;object-position:50% 25%;background:#27332c}.arrivalViewpoint span{padding:5px 9px;margin:0 0 7px -7px;background:#12221fef;border:1px solid #9d9a7855;border-radius:4px;font-size:12px;font-weight:600}.arrivalDanger{position:absolute;right:5%;bottom:3%;display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.2px;padding:8px 11px;background:#171e19cc;border:1px solid #aea78b55;border-radius:20px}.arrivalDanger i{width:6px;height:6px;background:#dd9476;border-radius:50%}
.arrivalFoe{position:absolute;left:var(--foe-x);top:var(--foe-y);width:clamp(50px,13vw,140px);height:clamp(95px,23vw,245px);transform:translate(-50%,-70%) rotate(-5deg);filter:drop-shadow(0 6px 7px #0008);animation:arrivalSway 5s var(--foe-delay) ease-in-out infinite alternate;pointer-events:none}.arrivalFoe svg{width:100%;height:100%;fill:#69715cf5;stroke:#1d281f;stroke-width:1.5}.arrivalRag{fill:#535a49!important;stroke:#272d23!important}.arrivalEyes{fill:none;stroke:#b8b088!important;stroke-width:2!important}.arrivalFoe~.arrivalFoe{opacity:.78;scale:.84}.arrivalHotspot{position:absolute;transform:translate(-50%,-50%);max-width:180px;display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid #d7bd81b0;border-radius:10px;background:linear-gradient(150deg,#34473ef0,#172f28f5);box-shadow:0 5px 18px #0008,0 0 0 5px #d4ba8230;backdrop-filter:blur(8px);white-space:normal;text-align:left;z-index:3}.arrivalHotspot:hover{background:#435447}.arrivalHotspot svg{width:25px;height:25px;flex:none;fill:none;stroke:#f0d7a0;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.arrivalCombat{border-color:#dc957bbf;background:linear-gradient(150deg,#684c3bf5,#352d26f5);box-shadow:0 5px 18px #0008,0 0 0 5px #bb795426}.arrivalCombat svg{stroke:#f4b397}.arrivalRoute{position:absolute;left:36%;top:33%;width:24%;height:48%;transform:skew(-26deg);background:linear-gradient(0deg,transparent,#e6c5810b);border-right:1px dashed #e5caa060;pointer-events:none}.arrivalCover{position:absolute;left:5%;top:49%;width:20%;height:20%;border:1px solid #726c5370;background:repeating-linear-gradient(3deg,#302c2380 0 10px,#191d1790 11px 13px);transform:skewY(-6deg);box-shadow:0 7px 10px #0005;pointer-events:none;opacity:.7}
.arrivalCaption{padding:15px max(26px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(26px,env(safe-area-inset-left));background:linear-gradient(transparent,#101b18d9 25%,#101b18fa);border-top:1px solid #c6b78b33;z-index:2}.arrivalChapter{margin:0 0 7px!important;font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#e3c58b}.arrivalCaption h1{font-size:clamp(21px,3vw,34px);font-weight:500;margin:0 0 8px;line-height:1.15}.arrivalCaption p:not(.arrivalChapter){max-width:780px;margin:0;font-size:14px;line-height:1.5;color:#e4e2d1}.arrivalCaption small{display:block;font-size:10px;color:#aebdae;margin-top:12px}
#arrivalGuide{position:fixed;z-index:64;left:max(12px,env(safe-area-inset-left));top:calc(var(--im-top,64px) + 12px);width:min(340px,calc(100vw - 98px));padding:12px 14px;color:#f1e7d0;background:linear-gradient(140deg,#263a30f5,#17271ff7);border:1px solid #bcab7770;border-left:3px solid #e2c384;border-radius:10px;box-shadow:0 8px 24px #0006;backdrop-filter:blur(12px);font:13px/1.35 system-ui}
.arrivalGuideHeading{display:flex;gap:9px;align-items:center}.arrivalGuideCount{font-size:11px;padding:7px 6px;border:1px solid #b6a77a66;border-radius:8px;color:#e4ca94;white-space:nowrap}.arrivalGuideHeading small{display:block;font-size:8px;letter-spacing:1px;color:#bfccba}.arrivalGuideHeading h2{font-size:16px;font-weight:600;margin:2px 0 0;line-height:1.2}.arrivalGuideText{margin:8px 0;color:#d2d8c9;font-size:12px}.arrivalGuideActions{display:flex;gap:6px}.arrivalGuideActions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 12px;width:100%;font:700 12px/1.2 system-ui;background:linear-gradient(#d0b785,#ad9566);border:1px solid #dfca95;color:#202d25;border-radius:8px;touch-action:manipulation}.arrivalGuideActions svg,#arrivalGuide [data-arrival-navigate="power"] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.arrivalGuideReward{display:block;margin-top:6px;font-size:10px;color:#c1d4b5}.arrivalGuideHelp{margin-top:7px;font-size:11px}.arrivalGuideHelp summary{min-height:26px;cursor:pointer;color:#d4d5c2}.arrivalGuideHelp p{font-size:11px;line-height:1.4;margin:4px 0 8px}.arrivalGuideHelp button{min-height:44px;padding:9px 11px;border:1px solid #a6ac8566;background:#20372c;color:#e5e2cc;border-radius:6px;font:600 11px system-ui;display:flex;align-items:center;gap:6px}.arrivalRecovery{border-top:1px solid #a8ad8b44;padding-top:8px;margin-top:8px}.arrivalRecovery small{display:block;font-size:10px;color:#c4cbb9;margin:4px 0 9px}.arrivalTeachingTarget{outline:2px solid #edce89!important;outline-offset:3px;box-shadow:0 0 0 5px #dec58220!important}.arrivalTutorial .imSceneTitle{visibility:hidden}.arrivalTutorial #sgNextStep{display:none!important}.arrivalTutorial.liveShelterPanel #arrivalGuide:not(.arrivalClaimReady),.arrivalTutorial.imSheetOpen #arrivalGuide:not(.arrivalClaimReady){display:none!important}
.arrivalTutorial.liveShelterPanel #arrivalGuide.arrivalClaimReady,.arrivalTutorial.imSheetOpen #arrivalGuide.arrivalClaimReady{top:auto;bottom:calc(var(--im-bottom,68px) + 10px);width:min(340px,calc(100vw - 28px));padding:10px 12px;z-index:94}.arrivalTutorial.liveShelterPanel .arrivalClaimReady .arrivalGuideText,.arrivalTutorial.liveShelterPanel .arrivalClaimReady .arrivalGuideReward,.arrivalTutorial.imSheetOpen .arrivalClaimReady .arrivalGuideText,.arrivalTutorial.imSheetOpen .arrivalClaimReady .arrivalGuideReward{display:none}.arrivalTutorial.liveShelterPanel .arrivalClaimReady .arrivalGuideHeading,.arrivalTutorial.imSheetOpen .arrivalClaimReady .arrivalGuideHeading{margin-bottom:8px}
@keyframes arrivalSway{from{transform:translate(-50%,-70%) rotate(-4deg)}to{transform:translate(-48%,-68%) rotate(2deg)}}
@media(max-width:600px){.arrivalHeader{padding:calc(13px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 13px max(16px,env(safe-area-inset-left));gap:10px}.arrivalBrand span{font-size:15px;letter-spacing:3px}.arrivalBrand small{font-size:7px;letter-spacing:.8px}.arrivalProgress span{width:12px}.arrivalSaved{display:none}.arrivalBackdrop{background-position:52% 50%}.arrivalArena{min-height:240px}.arrivalSceneLabel{top:4%;max-width:82%}.arrivalSceneLabel strong{font-size:19px}.arrivalSceneLabel span{font-size:9px}.arrivalViewpoint img{width:72px;height:91px}.arrivalViewpoint span{font-size:10px;padding:5px 7px}.arrivalHotspot{font-size:12px!important;padding:11px 10px;gap:7px;max-width:140px}.arrivalHotspot svg{width:20px;height:20px}.arrivalDanger{font-size:10px;max-width:42%;right:4%;bottom:4%}.arrivalCaption{padding:16px 18px calc(18px + env(safe-area-inset-bottom))}.arrivalCaption h1{font-size:24px}.arrivalCaption p:not(.arrivalChapter){font-size:13px;line-height:1.45}.arrivalCaption small{font-size:10px;margin-top:10px}.arrivalFoe{width:90px;height:175px}.arrivalCover{width:25%;height:16%}#arrivalGuide{padding:10px 11px}.arrivalGuideHeading h2{font-size:14px}.arrivalGuideHeading small{font-size:7px}.arrivalGuideText{font-size:11px}.arrivalGuideReward{font-size:9px}}
@media(max-height:520px) and (min-width:600px){#arrivalStory{grid-template-columns:minmax(300px,1fr) minmax(230px,30%);grid-template-rows:auto minmax(180px,1fr)}.arrivalHeader{grid-column:1/-1;padding:calc(8px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 8px max(20px,env(safe-area-inset-left));min-height:42px}.arrivalBrand span{font-size:14px}.arrivalBrand small{font-size:7px}.arrivalSaved{font-size:9px}.arrivalProgress span{width:17px}.arrivalArena{grid-column:1;min-height:0}.arrivalCaption{grid-column:2;grid-row:2;padding:18px 18px calc(12px + env(safe-area-inset-bottom));border-left:1px solid #c6b78b33;border-top:0;background:#101b18c9;display:flex;flex-direction:column;justify-content:center;overflow:auto}.arrivalCaption h1{font-size:24px}.arrivalCaption p:not(.arrivalChapter){font-size:12px;line-height:1.4}.arrivalCaption small{font-size:9px}.arrivalViewpoint img{width:58px;height:70px}.arrivalViewpoint span{font-size:10px}.arrivalFoe{width:74px;height:135px}.arrivalHotspot{font-size:12px!important;padding:10px;max-width:140px}.arrivalSceneLabel strong{font-size:17px}.arrivalDanger{font-size:9px}.arrivalSceneLabel span{font-size:8px}#arrivalGuide{max-width:265px;width:265px;top:calc(var(--im-top,48px) + 9px);padding:9px 11px}.arrivalGuideHeading h2{font-size:13px}.arrivalGuideText{font-size:11px;margin:5px 0}.arrivalGuideHeading small{font-size:7px}.arrivalGuideHelp{margin-top:3px}.arrivalTutorial.liveShelterPanel #arrivalGuide.arrivalClaimReady,.arrivalTutorial.imSheetOpen #arrivalGuide.arrivalClaimReady{left:auto;right:12px;bottom:calc(var(--im-bottom,52px) + 10px);width:250px}}
@media(prefers-reduced-motion:reduce){.arrivalFoe{animation:none}.arrivalBackdrop{transition:none}}
/* The two close-combat targets stay separated on narrow phones. */
#arrivalStory .arrivalCaption{display:block;max-width:none;width:100%;margin:0}#arrivalStory .arrivalHeader{max-width:none;width:100%;margin:0}
#arrivalStory .arrivalArena{margin:0 auto}
@media(max-height:520px) and (min-width:600px){#arrivalStory .arrivalCaption{display:flex}}
@media(max-width:600px){#arrivalStory [data-arrival-action="strike"]{left:73%!important;top:45%!important}#arrivalStory [data-arrival-action="shove"]{left:28%!important;top:66%!important}}
/* The first rooms are conversations and useful discoveries in the same yard. */
.arrivalGuideTop{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.arrivalGuideTop>.arrivalGuideCount{margin-left:auto}.arrivalSpeaker{display:flex;align-items:center;gap:8px;min-width:0}.arrivalSpeaker img{width:34px;height:38px;object-fit:cover;object-position:50% 23%;border:1px solid #bdaf875c;border-radius:6px;background:#263c30;flex:none}.arrivalSpeaker strong{display:block;font-size:12px;line-height:1.3;color:#eaddb8}.arrivalSpeaker small{display:block;font-size:9px;line-height:1.3;color:#b9c9b7}.arrivalGuideCost{display:block;font-size:10px;color:#d9c79b;margin:0 0 7px}.arrivalGuideHelp[open]{max-height:min(260px,33dvh);overflow:auto;overscroll-behavior:contain;padding-bottom:4px}.arrivalGuideHelp summary{min-height:32px;display:list-item;padding:6px 0;box-sizing:border-box}.arrivalClaimReady .arrivalGuideTop{margin-bottom:6px}.arrivalTutorial.liveShelterPanel .arrivalClaimReady .arrivalGuideTop,.arrivalTutorial.imSheetOpen .arrivalClaimReady .arrivalGuideTop{display:none}
@media(max-height:520px) and (min-width:600px){.arrivalGuideTop{margin-bottom:5px}.arrivalSpeaker img{width:28px;height:31px}.arrivalSpeaker strong{font-size:11px}.arrivalSpeaker small{font-size:8px}.arrivalGuideCount{padding:5px}.arrivalGuideCost{margin-bottom:5px;font-size:9px}.arrivalGuideHelp summary{min-height:27px;padding:4px 0}.arrivalGuideHelp[open]{max-height:100px}}
.arrivalHotspot small{display:block;font-size:9px;line-height:1.2;font-weight:500;margin-top:4px;color:#dccaa7}
.arrivalEconomyKey{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 7px;font-size:9px;line-height:1.4;color:#c7d5be}.arrivalEconomyKey span{white-space:nowrap}.arrivalTutorial.liveShelterPanel .arrivalClaimReady .arrivalEconomyKey,.arrivalTutorial.imSheetOpen .arrivalClaimReady .arrivalEconomyKey{display:none}
/* The same contained adult cutout is shared by visible threats. The original
   SVG stays in place until a real image load succeeds, and survives errors. */
.arrivalFoe>.arrivalThreatArt{display:none;position:absolute;left:50%;top:0;width:auto;height:100%;max-width:none;transform:translateX(-50%);object-fit:contain;pointer-events:none;user-select:none;filter:saturate(.7) brightness(.86);transition:filter .75s ease}
.arrivalFoe.arrivalThreatReady>.arrivalThreatArt{display:block}.arrivalFoe.arrivalThreatReady>svg{visibility:hidden}
[data-realism="realistic"] .arrivalThreatArt{filter:saturate(.9) contrast(1.02) brightness(.92)}[data-realism="mixed"] .arrivalThreatArt{filter:saturate(.62) contrast(1.1) brightness(.88)}[data-realism="comic"] .arrivalThreatArt{filter:saturate(.35) contrast(1.22) brightness(.84)}
@media(prefers-reduced-motion:reduce){.arrivalFoe>.arrivalThreatArt{transition:none}}

/* The real immediate attention effect; original actions keep their hit areas. */
#arrivalStory .arrivalHotspot .arrivalAttentionCue{position:absolute;right:6px;bottom:-8px;display:flex;align-items:center;gap:4px;width:max-content;max-width:calc(100% - 12px);margin:0;padding:2px 4px;border:1px solid #c8b58b70;border-radius:4px;background:#1c3029;font-size:10px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;pointer-events:none;user-select:none}
#arrivalStory .arrivalHotspot .arrivalAttentionCue svg{width:12px;height:12px;stroke:currentColor;flex:none}
#arrivalStory .arrivalHotspot .arrivalAttentionCue b{font:inherit;overflow-wrap:anywhere}
#arrivalStory .arrivalHotspot .arrivalAttentionUp{color:#f3c59a}
#arrivalStory .arrivalHotspot .arrivalAttentionDown{color:#bfe0bb}


/* story-compass.css */
#storyCompass[hidden]{display:none!important}#storyCompass{position:fixed;z-index:63;left:max(12px,env(safe-area-inset-left));top:calc(var(--im-top,64px) + 84px);width:min(420px,calc(100vw - 104px));display:flex;align-items:stretch;gap:0;background:linear-gradient(125deg,#20362eee,#182920f5);border:1px solid #b5ab7959;border-left:3px solid #d4bb7d;border-radius:10px;box-shadow:0 5px 18px #0005;backdrop-filter:blur(12px);color:#e8e3cf;font:13px/1.25 system-ui,sans-serif}
#storyCompass button{font-family:inherit;touch-action:manipulation}#storyCompass button:focus-visible,#storyCompass summary:focus-visible{outline:3px solid #f1d79a;outline-offset:3px}#storyCompass .storyCompassGo{display:flex;align-items:center;gap:9px;width:100%;min-width:0;min-height:64px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;box-shadow:none}.storyCompassGo:hover{background:#e4dbbf09!important}.storyCompassPortrait{width:34px;height:40px;flex:none;object-fit:cover;object-position:50% 25%;border:1px solid #c1b38670;border-radius:6px;background:#2c3b2d}.storyCompassMark{width:34px;height:40px;display:grid;place-items:center;flex:none;color:#dbc48a;background:#5d694530;border:1px solid #a9ad7355;border-radius:7px}.storyCompassMark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.storyCompassCopy{display:block;min-width:0;flex:1}.storyCompassCopy strong{display:block;font-size:13px;line-height:1.3;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f0e2bd}.storyCompassCopy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;font-size:10px;color:#c9d3be;margin-top:3px}.storyCompassArrow{width:16px;height:20px;flex:none;fill:none;stroke:#d8c18a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.storyCompassPlan{flex:none;width:43px;border-left:1px solid #b9ac7e33}.storyCompassPlan>summary{display:flex;align-items:center;justify-content:center;min-width:43px;min-height:100%;height:64px;cursor:pointer;list-style:none;color:#cdbf91;font-size:13px;letter-spacing:1px;user-select:none}.storyCompassPlan>summary::-webkit-details-marker{display:none}.storyCompassPlan[open]>summary{background:#d3c49416}.storyCompassDetails{position:absolute;top:calc(100% + 8px);left:-3px;right:0;padding:13px 14px;max-height:min(270px,37dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #a6a27980;border-radius:10px;background:#182c22f5;box-shadow:0 8px 25px #0008;backdrop-filter:blur(14px);color:#dddcc6}.storyCompassDetails h2{font-size:15px;line-height:1.3;color:#efdfb4;margin:0 0 7px}.storyCompassDetails p{font-size:12px;line-height:1.4;margin:0 0 9px}.storyCompassDetails ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.storyCompassDetails li{display:flex;align-items:center;gap:7px;padding:7px 0;border-top:1px solid #a2aa7c30;font-size:11px}.storyCompassDetails li>span:nth-child(2){flex:1}.storyCompassCheck{color:#d4c18b;flex:none}.storyCompassDetails li.complete{color:#afc5a3}.storyCompassDetails li small{display:block;font-size:10px;color:#b8c7ad;margin-top:3px}.storyCompassDetails li button{min-height:44px;min-width:44px;border:1px solid #a4ad7b55;border-radius:7px;padding:6px 9px;background:#2b4131;color:#e5ddbf;font-size:11px;font-weight:650}.storyCompassNote{display:block;margin-top:10px;font-size:9px;line-height:1.4;color:#b4c4aa}
.storyCompassVisible #sgNextStep{display:none!important}.imSheetOpen #storyCompass,.liveShelterPanel #storyCompass,.arrivalPrologue #storyCompass,.arrivalTutorial #storyCompass,body:has(dialog[open]) #storyCompass{display:none!important}
@media(max-width:600px){#storyCompass{top:calc(var(--im-top,64px) + 81px);width:calc(100vw - 100px)}#storyCompass .storyCompassGo{gap:7px;padding:8px;min-height:62px}.storyCompassPortrait,.storyCompassMark{width:29px;height:35px}.storyCompassCopy strong{font-size:12px}.storyCompassCopy>span{font-size:10px}.storyCompassArrow{width:12px}.storyCompassPlan{width:35px}.storyCompassPlan>summary{min-width:35px;height:62px}.storyCompassDetails{right:-70px;max-height:35dvh}}
@media(max-height:520px) and (min-width:600px){#storyCompass{top:calc(var(--im-top,48px) + 65px);width:min(410px,calc(100vw - 220px))}#storyCompass .storyCompassGo{min-height:56px;padding:7px 10px}.storyCompassPortrait,.storyCompassMark{height:34px;width:29px}.storyCompassCopy strong{font-size:12px}.storyCompassCopy>span{-webkit-line-clamp:1;font-size:10px}.storyCompassPlan>summary{height:56px}.storyCompassDetails{max-height:32dvh}.storyCompassDetails h2{font-size:13px}.storyCompassDetails p{font-size:11px}}
.storyCompassCopy>span{-webkit-line-clamp:1}.storyCompassPlan,.storyCompassPlan>summary{min-width:44px;width:44px}

/* The visible story invitation replaces only the unfocused side shortcut.
   Keep the native shortcut during loading, illustrated recovery and other
   scenes, and never remove a control which already holds keyboard focus.
   Browsers without :has keep the existing shortcut as their fallback. */
body.immersive.liveShelter.storyCompassVisible[data-im-scene="shelter"]:not(.imSheetOpen,.liveShelterPanel,.arrivalPrologue,.arrivalTutorial):not(:has(dialog[open])):not(:has(#landPlacement:not([hidden]))):has(#liveShelter3D[data-ready="true"]:not([hidden])):has(#storyCompass:not([hidden]):not([inert])>.storyCompassGo[data-compass-go]:not(:disabled):not([hidden]):not([inert]):not([aria-disabled="true"])) #imActions>[data-im-action="events"]:not(:focus){display:none!important}


/* supplies-feedback.css */
#imTicker .supplyChanged{position:relative}#imTicker .supplyDelta{position:absolute;right:0;bottom:-8px;min-width:20px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 5px;border-radius:6px;border:1px solid #adc49377;background:#223e2af5;color:#d7edbf;box-shadow:0 2px 6px #0005;font:700 10px/1 system-ui;pointer-events:none;z-index:2}#imTicker [data-supply-tone="negative"] .supplyDelta{background:#4d3026f5;color:#f3c4aa;border-color:#be8c7177}#imTicker .supplyDeltaFresh{animation:supplyDeltaAppear 180ms ease-out both}
#supplyFeedback[hidden]{display:none!important}#supplyFeedback{position:fixed;left:50%;bottom:calc(var(--im-bottom,68px) + 12px);transform:translateX(-50%);z-index:96;pointer-events:none;max-width:min(560px,calc(100vw - 24px));margin:0;padding:8px 12px;border:1px solid #baa87966;border-radius:9px;background:#14271fee;box-shadow:0 4px 14px #0006;color:#e6dfbf;font:600 11px/1.25 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(10px)}
.suppliesFeedbackVisible #imToast{bottom:calc(var(--im-bottom,68px) + 48px)}
#lastSupplyChange[hidden]{display:none!important}#lastSupplyChange{margin:12px 0;border-top:1px solid #929e7545;padding-top:8px}#lastSupplyChange>summary{font:600 12px/1.3 system-ui;min-height:44px;padding:12px 0;cursor:pointer;box-sizing:border-box;color:#d9d6b9}.supplyReceipt{font:12px/1.4 system-ui;color:#d7ddc8}.supplyReceiptSummary{margin:4px 0 9px}.supplyReceipt table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;margin-bottom:10px}.supplyReceipt caption{text-align:left;font-size:10px;color:#b8c7ab;padding-bottom:7px}.supplyReceipt th,.supplyReceipt td{border-bottom:1px solid #91a07233;text-align:right;padding:7px 4px;overflow-wrap:anywhere}.supplyReceipt th:first-child{text-align:left}.supplyReceipt td[data-tone="positive"]{color:#c1ddaa;font-weight:700}.supplyReceipt td[data-tone="negative"]{color:#e5b092;font-weight:700}.supplyReceipt small{display:block;font-size:10px;line-height:1.45;color:#b7c7a9}.supplyMilestones{font-size:11px;color:#e3cd91;margin:9px 0}
@keyframes supplyDeltaAppear{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#imTicker .supplyDelta{font-size:9px;right:1px;bottom:-7px;padding:3px 4px;min-width:17px;max-width:50px}#supplyFeedback{font-size:10px;padding:7px 10px}.supplyReceipt table{font-size:10px}}
@media(max-height:520px) and (min-width:600px){#imTicker .supplyDelta{bottom:-6px;font-size:9px}#supplyFeedback{font-size:10px;padding:7px 11px}}
@media(prefers-reduced-motion:reduce){#imTicker .supplyDeltaFresh{animation:none}}


/* save-health.css */
#saveHealthWarning[hidden],#saveHealthIndicator[hidden],#saveHealthLegacy[hidden]{display:none!important}.save-health-sr{position:fixed;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
#imActions [data-im-action="menu"][data-save-health="unsaved"]{position:relative;border-color:#dfad73!important;box-shadow:0 0 0 2px #d1a3602a,0 3px 10px #0004!important}#imActions .save-health-indicator{position:absolute;top:-6px;right:-5px;display:block;padding:3px 5px;border:1px solid #d8aa6d;border-radius:5px;background:#61462bf5;color:#ffe0a6;font:700 8px/1 system-ui;box-shadow:0 2px 5px #0005;pointer-events:none}
#saveHealthWarning{margin:9px 0 12px;padding:11px 12px;border:1px solid #c69b6266;border-left:3px solid #dcb37c;border-radius:8px;background:#47382977;color:#ecdbb9;font:12px/1.4 system-ui}#saveHealthWarning>strong{display:block;font-size:12px;color:#f3d5a0}#saveHealthWarning>p{font-size:11px;line-height:1.4;margin:4px 0 9px;color:#e0cfad}.save-health-actions{display:flex;gap:7px;flex-wrap:wrap}.save-health-actions button{min-height:44px;flex:1;min-width:90px;padding:9px 10px;border:1px solid #bba16d88;border-radius:7px;background:#4e4d32;color:#f2e3be;font:600 11px/1.2 system-ui}.save-health-actions button:focus-visible{outline:3px solid #f1d29b;outline-offset:3px}
#saveHealthLegacy{align-self:center;color:#f0c68d;font:600 11px/1.3 system-ui}.immersive #saveHealthLegacy{display:none!important}
.arrivalPrologue .arrivalHeader:has(#saveHealthWarning:not([hidden])){flex-wrap:wrap}#arrivalStory #saveHealthWarning.save-health-arrival{flex:1 0 100%;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;margin:2px 0 0;padding:8px 10px;background:#302d21e8;max-width:100%;border-left-width:2px}#arrivalStory .save-health-arrival>strong{grid-column:1;grid-row:1}#arrivalStory .save-health-arrival>p{grid-column:1;grid-row:2;margin:3px 0 0;font-size:10px}#arrivalStory .save-health-arrival>.save-health-actions{grid-column:2;grid-row:1/3;align-self:center;flex-wrap:nowrap}#arrivalStory .save-health-actions button{min-width:74px;max-width:108px;font-size:10px;padding:8px}
@media(max-width:480px){#arrivalStory #saveHealthWarning.save-health-arrival{column-gap:8px}#arrivalStory .save-health-arrival>p{font-size:9px}#arrivalStory .save-health-actions{gap:5px}#arrivalStory .save-health-actions button{min-width:64px;max-width:74px;font-size:9px;padding:6px}}
.immersive #imActions .save-health-indicator{font-size:8px;line-height:1}


/* day-choice.css */
#dayChoiceCards[hidden]{display:none!important}
.immersive #workPanel.dayCardsReady #workShift,.immersive #workPanel.dayCardsReady #smRest,.immersive #workPanel.dayCardsReady .smDayIntro,.immersive #workPanel.dayCardsReady .playDayNote{display:none!important}
#dayChoiceCards{display:grid;gap:8px;margin:10px 0 14px;min-width:0}
#dayChoiceCards .dayChoiceCard{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:92px;padding:12px;text-align:left;border:1px solid #74806a70;border-radius:12px;color:#f0eedf;background:linear-gradient(125deg,#364538,#1d2a25);box-shadow:inset 0 1px #d9e5c414,0 3px 8px #0002;touch-action:manipulation}
#dayChoiceCards .dayChoiceCard:hover:not(:disabled){border-color:#c7b77d;background:linear-gradient(125deg,#41553e,#24372c)}
#dayChoiceCards .dayChoiceCard:focus-visible{outline:3px solid #e6c76f;outline-offset:2px}
#dayChoiceCards .dayChoiceCard:disabled{opacity:.72;cursor:default;background:linear-gradient(125deg,#303b34,#202925)}
.dayChoiceIcon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:42px;color:#d5c391}
.dayChoiceIcon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dayChoiceBody{display:grid;gap:6px;flex:1;min-width:0}
.dayChoiceHeading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.dayChoiceHeading strong{font-size:16px;line-height:1.2;color:#fff6db}
.dayChoiceHeading small{font-size:12px;white-space:nowrap;color:#c9ccbc}
.dayChoiceSupplies{display:flex;flex-wrap:wrap;gap:4px 6px;font-size:12px;line-height:1.5}
.dayChoiceChip{display:inline-block;padding:1px 5px;border:1px solid #bac7ad38;border-radius:4px;color:#d2d9cb;background:#121b1840;font-variant-numeric:tabular-nums;white-space:nowrap}
.dayChoiceChip.gain{color:#d4eac2;border-color:#9bb97665}.dayChoiceChip.cost{color:#f1cfb5;border-color:#bc8f6765}
.dayChoiceCare,.dayChoiceEffects,.dayChoiceReason,.dayChoiceWarning{font-size:12px;line-height:1.35;color:#c8d1bf;overflow-wrap:anywhere}
.dayChoiceReason,.dayChoiceWarning{color:#e5c5a3}
.dayChoiceArrow{flex:0 0 10px;font-size:26px;font-weight:400;color:#d5c391}
#dayChoiceCards .dayChoiceNote{margin:0 2px;color:#b8c2b4;font-size:11px;line-height:1.4}
@media(max-width:380px){#dayChoiceCards .dayChoiceCard{padding:10px 8px;gap:6px}.dayChoiceIcon{flex-basis:28px;width:28px}.dayChoiceIcon svg{width:25px;height:25px}.dayChoiceSupplies{gap:4px}.dayChoiceChip{padding:1px 4px;font-size:11px}}
@media(max-height:500px) and (orientation:landscape){#dayChoiceCards{gap:6px;margin-top:6px}#dayChoiceCards .dayChoiceCard{min-height:78px;padding:9px 10px}.dayChoiceBody{gap:4px}}
@media(prefers-reduced-motion:reduce){#dayChoiceCards *{animation:none!important;transition:none!important}}


/* shelter-recovery.css */
#shelterRecoveryBanner[hidden]{display:none!important}
#shelterRecoveryBanner{position:fixed;z-index:66;top:calc(var(--im-top,64px) + 84px);left:max(12px,env(safe-area-inset-left));width:min(420px,calc(100vw - 104px));padding:11px 12px;border:1px solid #c3ad796b;border-left:3px solid #d4b777;border-radius:10px;background:linear-gradient(135deg,#283b2ff5,#17281ff7);color:#e6e5ce;box-shadow:0 5px 20px #0005;pointer-events:auto;font:12px/1.35 system-ui,sans-serif;backdrop-filter:blur(12px)}
#shelterRecoveryBanner h2{margin:0;color:#f1dfb7;font-size:14px;line-height:1.25;font-weight:650}
#shelterRecoveryBanner p{margin:6px 0 9px;color:#d0d7c5;font-size:11px;line-height:1.4}
.shelterRecoveryActions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.shelterRecoveryActions.shelterRecoverySingle{grid-template-columns:1fr}
#shelterRecoveryBanner button{min-width:44px;min-height:44px;padding:8px 9px;border:1px solid #b7ae7c6b;border-radius:7px;color:#e7e1c6;background:#2b4031;font:600 12px/1.2 system-ui;touch-action:manipulation}
#shelterRecoveryBanner [data-shelter-recovery="retry"]{background:linear-gradient(#d2b982,#b29967);color:#202e23;border-color:#e0c995}
#shelterRecoveryBanner button[hidden]{display:none!important}
#shelterRecoveryBanner button:focus-visible{outline:3px solid #f6dda4;outline-offset:3px}
.shelterRecoveryVisible #storyCompass,.shelterRecoveryVisible #sgNextStep,.shelterRecoveryVisible #arrivalGuide{display:none!important}
.imSheetOpen #shelterRecoveryBanner,.arrivalPrologue #shelterRecoveryBanner,.liveShelterPanel #shelterRecoveryBanner,body:has(dialog[open]) #shelterRecoveryBanner{display:none!important}
@media(max-width:600px){#shelterRecoveryBanner{top:calc(var(--im-top,64px) + 81px);width:calc(100vw - 100px);padding:10px}#shelterRecoveryBanner button{font-size:11px}}
@media(max-height:520px) and (min-width:600px){#shelterRecoveryBanner{top:calc(var(--im-top,48px) + 65px);width:min(410px,calc(100vw - 220px));padding:9px 11px}#shelterRecoveryBanner p{margin:5px 0 7px}}
@media(prefers-reduced-motion:reduce){#shelterRecoveryBanner *{animation:none!important;transition:none!important}}


/* offline-packs.css */
#offlinePackSettings{margin:10px 0 14px;padding:11px 12px;border:1px solid #b5b28a44;border-radius:9px;background:#253a2e70;color:#dce2cc}
#offlinePackSettings h3{font:650 13px/1.3 system-ui;margin:0 0 5px;color:#e5d8ad}
#offlinePackSettings p{font-size:12px;line-height:1.4;margin:0 0 8px;color:#d0d9c5}
#offlinePackSettings button{width:100%;min-height:44px;padding:9px 11px;margin:0;border:1px solid #bcb38366;border-radius:7px;background:#334a36;color:#f0e5c5;font:600 12px/1.25 system-ui;text-align:center;touch-action:manipulation}
#offlinePackSettings button:focus-visible{outline:3px solid #eed19a;outline-offset:3px}
#offlinePackSettings button:disabled{opacity:.65;cursor:default}
#offlinePackSettings small{display:block;margin-top:7px;color:#b4c2ac;font-size:10px;line-height:1.4}
#offlinePackSettings progress{display:block;width:100%;height:6px;margin:0 0 9px;accent-color:#c6b67c}
#offlinePackSettings [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){#offlinePackSettings *{animation:none!important;transition:none!important}}


/* shelter-presence.css */
.smPeopleGrid .shelterPresenceAway{align-self:flex-start;max-width:calc(100% - 24px);padding:4px 6px;border:1px solid #b7a36a66;border-radius:5px;background:#81723e24;color:#e6d5a0;font-size:11px;line-height:1.3}
.immersive #imPerson .shelterPresenceBadge{display:inline-block;max-width:100%;margin:0 0 10px;padding:5px 8px;border:1px solid #b7a36a66;border-radius:6px;background:#81723e24;color:#e6d5a0;font-size:12px;line-height:1.35}
.shelterPresenceBadge[hidden]{display:none!important}


/* route-scene.css */
#routeScene{position:absolute;inset:0;isolation:isolate;overflow:hidden;color:#f4eddb;background:#18271f}
#routeScene[hidden]{display:none}
#routeScene button,#routeScene summary{min-height:44px;touch-action:manipulation;font:inherit}
#routeScene button{color:inherit;border:1px solid #c0ad7d99;background:#19291ff0;border-radius:8px;box-shadow:0 5px 18px #0005}
#routeScene button:focus-visible,#routeScene summary:focus-visible{outline:3px solid #ffe1a0;outline-offset:3px}
#routeScene button:disabled{opacity:.48;cursor:default}
#routeScene svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.routeScenery,.routeScrim{position:absolute;inset:0;z-index:-2}.routeScenery{background-size:cover;background-repeat:no-repeat;transform:scale(1.025)}
.routeScrim{z-index:-1;background:linear-gradient(180deg,#06130bc7 0,transparent 31%,#06120b33 52%,#07130cf5 100%)}
.routeSceneHeader{position:absolute;top:16px;left:20px;right:90px;text-shadow:0 2px 8px #000}
.routePlace{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#dfd4b2}
#routeScene h2{font:28px/1.1 Georgia,serif;margin:5px 0 10px}
.routeProgress{display:flex;align-items:center;gap:5px}.routeProgress>span{width:7px;height:7px;border-radius:50%;border:1px solid #d4d2b599;background:#17251dbb}.routeProgress>span.checked{background:#a8b890}.routeProgress>span.current{background:#f7dfaa;box-shadow:0 0 0 3px #e4d09a33}.routeProgress>small{font-size:10px;color:#ded7c0;margin-left:7px}
.routePlayArea{position:absolute;inset:130px 96px 180px 24px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}
.routeMoves{display:flex;justify-content:center;align-items:center;gap:20px;width:100%}
#routeScene .routeMove{position:relative;min-width:110px;max-width:180px;min-height:88px;flex:1;padding:12px 10px;background:#16251ae0;text-align:center;border-color:#dec99b}
.routeMove strong,.routeMove small{display:block}.routeMove strong{font-size:14px;margin-top:4px}.routeMove small{font-size:10px;color:#dccfae;margin-top:4px}
.routeMoveMark{display:flex;align-items:center;justify-content:center;width:35px;height:35px;margin:-31px auto 5px;background:#dbca9c;color:#223225;border-radius:50%;box-shadow:0 0 0 7px #1b2d2266,0 4px 18px #0008}
.routeBack{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.routeBackButton{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;font-size:11px!important}.routeBackButton svg{width:16px!important;height:16px!important}
.routeDock{position:absolute;left:20px;right:96px;bottom:14px;max-width:620px;margin:auto}
.routeViewpoint{display:flex;align-items:center;gap:9px}.routeViewpoint img{width:40px;height:40px;border:1px solid #ac9d75;border-radius:50%;object-fit:cover}.routeViewpoint strong,.routeViewpoint small{display:block}.routeViewpoint strong{font-size:12px}.routeViewpoint small{font-size:10px;color:#c4c9b7;margin-top:2px}
.routeCaption{font-size:15px;line-height:1.35;margin:8px 0 12px;text-shadow:0 2px 5px #000;max-width:42ch}
.routeDock footer{display:flex;justify-content:space-between;align-items:center;gap:10px}
#routeScene .routeReturn{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#13221bce;border-color:#aaa78488;box-shadow:none}.routeReturn span,.routeReturn small{display:block}.routeReturn span{font-size:11px}.routeReturn small{font-size:9px;color:#c1c8b4;margin-top:2px}.routeReturn svg{width:18px!important;height:18px!important}
.routeDetails{font-size:11px}.routeDetails summary{display:flex;align-items:center;justify-content:center;padding:8px 10px;border-bottom:1px solid #c8c2a688;cursor:pointer}.routeDetails>div{position:absolute;z-index:2;bottom:54px;left:0;right:0;max-height:min(47dvh,360px);overflow:auto;overscroll-behavior:contain;background:#14251cfb;border:1px solid #afa980;padding:14px;border-radius:8px;box-shadow:0 8px 28px #0008;line-height:1.5}.routeDetails p{margin:0 0 10px}.routeDetails small{color:#d4d7c7}.routeOtherStops{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.routeEncounter,.routeFinish{padding:13px;background:#132219f2;border:1px solid #a69d78;border-radius:10px;margin:0 0 10px;box-shadow:0 9px 28px #0007}
#routeScene h3{font-size:15px;margin:0 0 10px}.routeWarning{display:flex;gap:7px;align-items:center;color:#efd0a3;font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.routeWarning svg{width:17px!important;height:17px!important}.routeEncounter p{font-size:12px;margin:0 0 10px}.routeEncounter>small,.routeUncertainty{font-size:10px;color:#bdc7b5;display:block;line-height:1.35;margin-top:9px}
.routeResponseChoices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.routeResponse{padding:10px 8px;text-align:left;min-height:68px!important}.routeResponse strong,.routeResponse small{display:block}.routeResponse strong{font-size:12px}.routeResponse small{font-size:10px;color:#e6ceaa;margin-top:5px}
.routeDistantMovement{position:absolute;right:9%;top:28%;width:130px!important;height:170px!important;color:#15201ced;filter:blur(2px);opacity:.7;z-index:-1}.routeHasEncounter .routeScenery{filter:saturate(.6) brightness(.75)}
.routeTasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.routeTask{text-align:left;padding:10px 8px;min-height:82px!important;box-shadow:none!important}.routeTask strong,.routeTask small{display:block}.routeTask strong{font-size:11px;line-height:1.3}.routeTask small{font-size:10px;color:#e3d2aa;margin-top:6px}.routeTask[aria-pressed="true"]{border-color:#ffe1a1!important;background:#44513a!important;box-shadow:inset 0 0 0 1px #e4ce9e!important}
.routeTaskExtra{font-size:10px;color:#e7d6b5;margin:9px 0;line-height:1.4}.routeCommit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:9px 12px;min-height:49px!important;background:#d6c294!important;color:#17291d!important;font-weight:700!important;margin-top:9px}.routeCommit small{display:block;font-size:10px;font-weight:400;margin-top:2px}.routeAtFinish .routeDock,.routeHasEncounter .routeDock{max-width:620px;max-height:calc(100% - 108px);display:flex;flex-direction:column}.routeAtFinish .routeFinish,.routeHasEncounter .routeEncounter{min-height:0;overflow:auto;overscroll-behavior:contain}.routeDock footer,.routeViewpoint,.routeCaption{flex-shrink:0}.routeAtFinish .routeCaption,.routeHasEncounter .routeCaption{font-size:12px;margin-bottom:9px}.routeAtFinish .routeViewpoint img,.routeHasEncounter .routeViewpoint img{width:32px;height:32px}
.routeSceneVisible .imSceneTitle,.routeSceneVisible #imFaces,.routeSceneVisible #storyCompass,.routeSceneVisible #sgNextStep{display:none!important}
.routeSceneVisible #imToast{bottom:calc(var(--im-bottom) + 8px);font-size:11px;max-width:calc(100% - 30px)}
@media(min-width:900px){.routePlayArea{left:16%;right:22%;bottom:220px}.routeDock{left:20%;right:25%}.routeSceneHeader{left:32px}.routeScenery{background-size:cover}}
@media(max-width:600px){.routeSceneHeader{top:14px;left:14px;right:75px}#routeScene h2{font-size:25px}.routePlace{font-size:10px}.routePlayArea{inset:125px 74px 185px 14px;gap:14px}.routeMoves{gap:10px}#routeScene .routeMove{min-width:0;min-height:90px;padding:10px 7px}.routeMove strong{font-size:12px}.routeMove small{font-size:9px}.routeDock{left:14px;right:74px;bottom:12px}.routeCaption{font-size:14px}.routeTasks{grid-template-columns:1fr}.routeTask{min-height:44px!important;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.routeTask strong{font-size:11px;max-width:65%}.routeTask small{font-size:10px;text-align:right;margin:0;max-width:45%}.routeAtFinish .routeDock,.routeHasEncounter .routeDock{right:74px}.routeFinish,.routeEncounter{padding:10px}.routeResponseChoices{grid-template-columns:1fr}.routeResponse{min-height:44px!important;padding:8px 9px}.routeResponse strong{display:inline;font-size:11px}.routeResponse small{display:inline;font-size:10px;margin-left:7px}.routeDistantMovement{right:20%;top:23%;width:100px!important;height:135px!important}.routeAtFinish .routeSceneHeader,.routeHasEncounter .routeSceneHeader{top:12px}}
@media(orientation:landscape) and (max-height:600px){.routeSceneHeader{top:10px;left:16px;right:55%}.routePlace{font-size:9px}#routeScene h2{font-size:22px;margin:3px 0 7px}.routeProgress>small{font-size:9px}.routePlayArea{inset:110px 54% 20px 18px;gap:12px}.routeMoves{gap:12px}#routeScene .routeMove{min-width:0;max-width:145px;min-height:70px;padding:8px 6px}.routeMove strong{font-size:11px}.routeMove small{font-size:9px}.routeMoveMark{width:27px;height:27px;margin-top:-22px}.routeDock{left:50%;right:12px;bottom:9px;max-height:calc(100% - 66px);padding:8px 3px 0 8px}.routeCaption{font-size:12px;margin:5px 0 8px}.routeViewpoint img{width:30px;height:30px}.routeViewpoint strong{font-size:10px}.routeViewpoint small{font-size:9px}.routeAtFinish .routeDock,.routeHasEncounter .routeDock{right:12px;max-height:calc(100% - 66px)}.routeTasks{grid-template-columns:repeat(3,minmax(0,1fr))}.routeTask{display:block;min-height:66px!important;padding:6px!important}.routeTask strong{max-width:none;font-size:10px}.routeTask small{max-width:none;text-align:left;font-size:9px;margin-top:4px}.routeFinish,.routeEncounter{padding:9px;margin-bottom:6px}#routeScene h3{font-size:12px;margin-bottom:7px}.routeFinish .routeUncertainty{font-size:9px;margin-top:5px}.routeCommit{min-height:44px!important;padding:5px 8px;margin-top:6px}.routeTaskExtra{margin:5px 0;font-size:9px}.routeResponseChoices{grid-template-columns:1fr 1fr}.routeResponse{padding:7px!important;min-height:48px!important}.routeResponse strong,.routeResponse small{display:block;margin-left:0;font-size:10px}.routeResponse small{font-size:9px;margin-top:4px}.routeEncounter p{display:none}.routeWarning{margin-bottom:5px;font-size:9px}.routeDetails>div{position:fixed;left:25%;right:12px;bottom:calc(var(--im-bottom) + 58px);max-height:60dvh}.routeDistantMovement{left:26%;top:28%;width:90px!important;height:130px!important}}
@media(prefers-reduced-motion:reduce){#routeScene *,#routeScene *::before,#routeScene *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media (orientation:landscape) and (max-height:450px) {
  .routeAtFinish .routeDock,
  .routeHasEncounter .routeDock {
    top: 62px;
    max-height: none;
    padding-top: 0;
  }
  .routeAtFinish .routeViewpoint,
  .routeHasEncounter .routeViewpoint,
  .routeAtFinish .routeCaption,
  .routeHasEncounter .routeCaption {
    position: absolute;
    right: calc(100% + 14px);
    width: min(37vw, 290px);
  }
  .routeAtFinish .routeViewpoint,
  .routeHasEncounter .routeViewpoint { top: 28%; }
  .routeAtFinish .routeCaption,
  .routeHasEncounter .routeCaption { top: calc(28% + 34px); }
  .routeAtFinish .routeFinish,
  .routeHasEncounter .routeEncounter { flex: 1 1 auto; }
  .routeAtFinish .routeTask { min-height: 55px!important; }
}


/* room-work.css */
.roomWorkCondensed>h3{font-size:18px!important;margin:0 0 14px!important}
.roomWorkPreview{padding:14px;border:1px solid #b8aa7a99;border-radius:9px;background:#22362bee}
.roomWorkHeading{display:flex;gap:12px;align-items:center}.roomWorkHeading svg{width:34px;height:34px;fill:none;stroke:#d8c89f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}.roomWorkHeading h4{font-size:17px;line-height:1.2;margin:0 0 4px}.roomWorkHeading small{font-size:11px;color:#c3cbb8}
.roomWorkService{font-size:12px!important;line-height:1.45!important;margin:13px 0 12px!important;color:#eadcc0}.roomWorkNetLabel{font-size:10px!important;text-transform:uppercase;letter-spacing:.7px;margin:0 0 7px!important;color:#c7cbb8}
.roomWorkChips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.roomWorkChip{display:flex;flex-direction:column;text-align:center;padding:11px 6px;border:1px solid #a8ab8b66;border-radius:6px;background:#14251bbf}.roomWorkChip strong{font-size:22px;font-variant-numeric:tabular-nums}.roomWorkChip small{font-size:11px!important;color:#d0d5c0;margin-top:4px}.roomWorkChip.cost strong{color:#efc69b}.roomWorkChip.gain strong{color:#cfddb4}.roomWorkChip.neutral strong{color:#d2d2bf}
.roomWorkMood{font-size:11px!important;text-align:center;color:#d8d5ba;margin:10px 0!important}.roomWorkMood span{padding:0 5px}.roomWorkEstimate{display:block;font-size:10px!important;line-height:1.4;color:#ead3a6;margin:7px 0}
.roomWorkBlocked{border-left:2px solid #dcac77;padding:9px 11px;background:#7354372d;color:#f0d0ae;font-size:12px!important;line-height:1.45!important;margin:11px 0!important}
.roomWorkStart{display:block;width:100%;min-height:48px!important;margin:12px 0 9px!important;padding:11px 9px!important;background:#d4c39b!important;color:#18291e!important;border-color:#efdfb8!important;font-size:13px!important;font-weight:700}
.roomWorkStart:disabled{opacity:.5}.roomWorkStart:focus-visible,.roomWorkDetails summary:focus-visible{outline:3px solid #ffe5af;outline-offset:3px}
.roomWorkNote{display:block;font-size:10px!important;line-height:1.4!important;color:#c0c8b4}
.roomWorkDetails{margin-top:12px;border-top:1px solid #a4a68a55;padding-top:5px}.roomWorkDetails>summary{display:flex;align-items:center;min-height:44px;padding:9px 2px;font-size:12px;color:#e0d5b9;cursor:pointer}.roomWorkDetails>summary::after{content:'+';margin-left:auto;font-size:20px;font-weight:300}.roomWorkDetails[open]>summary::after{content:'−'}.roomWorkDetails>summary:hover{color:#fff0ce}.roomWorkDetails .roomService{display:none}.roomWorkDetails button{min-height:44px}
@media(orientation:landscape) and (max-height:600px){.roomWorkPreview{padding:11px;display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.roomWorkHeading{grid-column:1;grid-row:1}.roomWorkHeading svg{width:28px;height:28px}.roomWorkHeading h4{font-size:15px}.roomWorkService{grid-column:1;grid-row:2 / 4;margin:0!important;font-size:11px!important}.roomWorkNetLabel{grid-column:2;grid-row:1;align-self:end;margin-bottom:0!important;font-size:9px!important}.roomWorkChips{grid-column:2;grid-row:2;gap:4px}.roomWorkChip{padding:8px 4px}.roomWorkChip strong{font-size:19px}.roomWorkChip small{font-size:9px!important}.roomWorkMood{grid-column:2;grid-row:3;margin:0!important;font-size:10px!important}.roomWorkStart,.roomWorkNote,.roomWorkEstimate,.roomWorkBlocked{grid-column:1 / -1}.roomWorkStart{margin:2px 0 0!important;min-height:44px!important}.roomWorkNote{font-size:9px!important}.roomWorkBlocked{margin:0!important}}
@media(prefers-reduced-motion:reduce){.roomWorkCondensed *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


/* feedback.css */
.feedbackUnified #supplyFeedback{display:none!important}
.feedbackUnified #imToast{position:fixed;z-index:110;left:50%;right:auto;top:auto;bottom:calc(var(--im-bottom,68px) + 12px)!important;transform:translateX(-50%);width:max-content;max-width:min(560px,calc(100vw - 28px));padding:9px 12px;border-radius:9px;font:600 11px/1.4 system-ui;white-space:normal;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 6px 24px #0007}
.feedbackUnified #imToast[hidden]{display:none!important}
.feedbackUnified #imToast[data-feedback-tone="important"]{border-color:#d7ad7c;background:#30271ff5;color:#f5dfc0}
.feedbackUnified.liveShelterPanel #imToast[data-feedback-tone="routine"]{top:calc(var(--im-top,64px) + 12px);bottom:auto!important;max-width:calc(100vw - 100px)}
.feedbackUnified.imSheetOpen #imToast{bottom:calc(12px + env(safe-area-inset-bottom))!important}
@media(max-width:600px){.feedbackUnified #imToast{font-size:10px;max-width:calc(100vw - 28px);padding:8px 10px}}
@media(orientation:landscape) and (max-height:520px){.feedbackUnified #imToast{font-size:10px;left:12px;transform:none;bottom:calc(var(--im-bottom,52px) + 8px)!important;max-width:calc(100vw - 24px)}.feedbackUnified.liveShelterPanel #imToast[data-feedback-tone="routine"]{top:calc(var(--im-top,48px) + 65px);bottom:auto!important;max-width:calc(50vw - 24px)}.feedbackUnified.imSheetOpen #imToast{bottom:8px!important}}
@media(prefers-reduced-motion:reduce){.feedbackUnified #imToast{animation:none!important;transition:none!important}}
.feedbackUnified #imToast[data-store-action]{display:flex;align-items:center;gap:8px}
.feedbackUnified #imToast [data-store-put-back]{pointer-events:auto;flex:0 0 auto;min-width:74px;min-height:44px;padding:8px 12px;border:1px solid #b8aa8d;border-radius:7px;background:#504738;color:#fff4dd;font:700 12px/1.2 system-ui;touch-action:manipulation}
.feedbackUnified #imToast [data-store-put-back]:focus-visible{outline:3px solid #f3d28d;outline-offset:3px}
/* Actionable receipts stay clear of the resident and floor/camera rows. */
.feedbackUnified.liveShelter #imToast[data-store-action]{bottom:calc(var(--im-bottom,68px) + 174px)!important}
@media(orientation:landscape) and (max-height:520px){.feedbackUnified.liveShelter #imToast[data-store-action]{left:auto;right:12px;transform:none;bottom:calc(var(--im-bottom,52px) + 76px)!important;max-width:calc(50vw - 24px)}}


/* project-cards.css */
#survivorProjects.projectCardsReady>p.muted{display:none}
.projectCards{display:grid;gap:14px}.projectCard{padding:13px;border:1px solid #a9ac8359;border-radius:10px;background:linear-gradient(135deg,#2a3d30,#192b22);box-shadow:0 5px 15px #0003}
.projectCardHeading{display:flex;align-items:center;gap:10px}.projectCardHeading img{width:48px;height:48px;object-fit:cover;border:1px solid #b5aa82;border-radius:50%;flex:none}.projectCardHeading>div{min-width:0}.projectCardHeading span{font-size:10px;color:#c1c9b6}.projectCardHeading h3{font-size:16px!important;line-height:1.25;margin:4px 0 0!important;color:#eee2c6}
.projectCardStatus{font-size:11px!important;line-height:1.4!important;margin:12px 0 10px!important;color:#e8d5a9}.projectCardStatus small{display:block;font-size:10px!important;color:#c2c9b5;margin-top:4px}
.projectCardDetail{font-size:11px!important;line-height:1.45!important;color:#c8d0bd;margin:0 0 10px!important}
.projectCardsBlocked{font-size:11px!important;line-height:1.45!important;margin:0 0 8px!important;padding:9px 10px;border-left:2px solid #c9a16f;background:#73533724;color:#e9c59c}
.projectPlayedProgress{display:flex;align-items:center;gap:9px;margin:0 0 12px}.projectPlayedProgress progress{width:100%;height:7px;accent-color:#d0ba80;border:0;border-radius:4px;overflow:hidden}.projectPlayedProgress small{font-size:9px!important;white-space:nowrap;color:#bbc8ad}
.projectCardActions{display:grid;gap:8px}.projectCards .projectCompactAction{display:block;width:100%;min-height:44px;padding:11px;text-align:left;background:#20372bf5;border:1px solid #c3b58a66;border-radius:7px;box-shadow:0 3px 10px #0002;color:#eee6d1}
.projectCompactAction>strong{font-size:12px;line-height:1.3;display:block;margin-bottom:8px}.projectActionCost{display:flex;flex-wrap:wrap;gap:5px}.projectCost{display:block;padding:4px 6px;border:1px solid #a5ac874d;border-radius:4px;font-size:10px;color:#e8d7b7;background:#16291ecc}.projectCost.free{color:#d2dfbd}.projectCost.missing{border-color:#d8a16b;color:#f0c092}.projectCost small{font-size:9px!important;display:block;margin-top:3px}
.projectActionTime{display:block;font-size:9px;color:#c9cfbb;margin:7px 0 0;line-height:1.4}.projectActionDetail{display:block;font-size:10px!important;line-height:1.45!important;color:#c7d2bc;margin-top:6px}.projectActionBlocked{display:block;font-size:10px!important;line-height:1.45!important;color:#e6bc91;margin-top:7px}.projectCompactAction:disabled{opacity:.7!important;background:#1e2e24;color:#b8c2ae}.projectCompactAction:disabled .projectActionCost,.projectCompactAction:disabled .projectActionTime{opacity:.7}
.projectCompactAction:focus-visible,.projectCardNotes summary:focus-visible{outline:3px solid #ffe5ae;outline-offset:3px}.projectCardNotes{border-top:1px solid #a4aa8340;margin-top:10px;padding-top:3px}.projectCardNotes summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:11px;color:#d6d1b7}.projectCardNotes summary::after{content:'+';margin-left:auto;font-size:18px}.projectCardNotes[open] summary::after{content:'−'}.projectCardNotes p{font-size:11px!important;line-height:1.5!important;margin:2px 0 8px}.projectCardNotes>small{font-size:10px!important;line-height:1.45;display:block;color:#bfc9b3}.projectCardsEmpty{font-size:12px;line-height:1.5;color:#c5cbb9}
@media(orientation:landscape) and (max-height:600px){.projectCard{padding:11px}.projectCardHeading img{width:40px;height:40px}.projectCardHeading h3{font-size:15px!important}.projectCards .projectCompactAction{padding:9px}.projectCompactAction>strong{font-size:11px;margin-bottom:6px}.projectActionCost{gap:4px}.projectActionDetail{font-size:9px!important}.projectCardStatus{margin:10px 0!important}}
@media(prefers-reduced-motion:reduce){.projectCards *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* story-conversation.css */
#storyPanel.storyConversationReady>#storyBrief{display:none!important}
#storyPanel.storyConversationReady #sceneTitle{font-size:21px;line-height:1.2;margin-bottom:12px}
.storyConversationBeat{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;align-items:center;padding:13px;background:linear-gradient(125deg,#344637,#1d3028);border:1px solid #c2b38955;border-radius:10px;margin:0 0 12px}
.storyConversationPerson{display:flex;align-items:center;gap:9px;min-width:0}.storyConversationPerson img{width:48px;height:60px;object-fit:cover;object-position:center 30%;border:1px solid #c6b48388;border-radius:7px;flex:none}.storyConversationPerson>div{min-width:0}.storyConversationPerson strong{display:block;color:#eee0bd;font-size:13px;line-height:1.3}.storyConversationPerson span,.storyConversationPerson small{display:block;color:#c4ccb7;font-size:10px;line-height:1.4;margin-top:4px}.storyConversationPerson small{color:#dcc8a5}
.storyConversationBeat>p{font-size:13px!important;line-height:1.55!important;margin:0!important;color:#e2e5d6}.storyConversationBeat>.storyConversationLock{grid-column:1/-1}
#storyPanel.storyConversationReady #choices{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:10px}
#storyPanel.storyConversationReady #choices .storyCompactChoice{display:block;min-height:44px;margin:0;padding:12px;border-radius:8px;background:linear-gradient(135deg,#344b3d,#21372c);border:1px solid #b4aa7a7a;text-align:left;box-shadow:0 3px 10px #0002}
#storyPanel.storyConversationReady #choices .storyCompactChoice>strong{display:block;font-size:13px;line-height:1.3;color:#f1dfba}
.storyConversationFacts{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 0}.storyConversationFacts>span{display:block;font-size:10px;line-height:1.3;padding:4px 6px;border:1px solid #a8b18d55;border-radius:4px;background:#192d23;color:#e1d6b9}
#storyPanel.storyConversationReady #choices .storyCompactChoice small{font-size:11px;line-height:1.45;display:block;margin-top:7px;color:#cdd8c3}.storyConversationCare,.storyConversationRecruit{color:#e3d5b2!important}
#storyPanel.storyConversationReady .storyConversationLock{color:#e9c18c!important;font-size:11px!important;line-height:1.45!important}
#storyPanel.storyConversationReady #choices .storyCompactChoice:disabled{opacity:.7;background:#24342a}
#storyPanel.storyConversationReady #choices .storyCompactChoice:focus-visible,#storyPanel.storyConversationReady #storyDetails>summary:focus-visible{outline:3px solid #ffe2a3;outline-offset:3px}
#storyPanel.storyConversationReady #storyDetails{margin:0 0 8px;border-bottom:1px solid #a7af8b33;padding-bottom:2px}
#storyPanel.storyConversationReady #storyDetails>summary{display:flex;align-items:center;min-height:44px;font-size:11px;padding:8px 0;cursor:pointer;color:#d6cba9}
#storyPanel.storyConversationReady #storyDetails>summary::after{content:'+';margin-left:auto;font-size:18px}#storyPanel.storyConversationReady #storyDetails[open]>summary::after{content:'−'}
#storyPanel.storyConversationReady #storyDetails p{font-size:12px;line-height:1.6}#storyPanel.storyConversationReady #storyDetails .storyConversationNote{font-size:10px;color:#bbc7b2}
#storyPanel.storyConversationReady #storyDetails #storyPresence .storyPortrait{width:40px;height:40px}#storyPanel.storyConversationReady #storyDetails #storyPresence>p{display:block;font-size:10px}
@media(max-width:600px){.storyConversationBeat{grid-template-columns:1fr;gap:10px;padding:11px}.storyConversationPerson img{width:43px;height:53px}.storyConversationPerson>div{display:flex;flex-wrap:wrap;gap:3px 8px;align-items:baseline}.storyConversationPerson strong{font-size:13px}.storyConversationPerson span{margin:0}.storyConversationPerson small{width:100%;margin:0}.storyConversationBeat>p{font-size:12px!important}#storyPanel.storyConversationReady #choices{grid-template-columns:1fr}#storyPanel.storyConversationReady #choices .storyCompactChoice{padding:11px}}
@media(orientation:landscape) and (max-height:600px){.storyConversationBeat{grid-template-columns:140px minmax(0,1fr);gap:12px;padding:9px}.storyConversationPerson img{width:37px;height:45px}.storyConversationBeat>p{font-size:11px!important}#storyPanel.storyConversationReady #choices{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#storyPanel.storyConversationReady #choices .storyCompactChoice{padding:10px}#storyPanel.storyConversationReady #choices .storyCompactChoice>strong{font-size:12px}#storyPanel.storyConversationReady #choices .storyCompactChoice small{font-size:10px}}
@media(prefers-reduced-motion:reduce){#storyPanel.storyConversationReady *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.storyConversationShared{padding:9px 11px;margin:0 0 10px;border:1px solid #adb08340;border-left:2px solid #cbb77b;border-radius:6px;background:#1b3024}
.storyConversationShared>small{display:block;font-size:9px!important;line-height:1.3;color:#bfcaaf}.storyConversationShared>.storyConversationFacts{margin:6px 0 0}.storyConversationShared>p{font-size:10px!important;line-height:1.4!important;color:#cbd3bb;margin:7px 0 0!important}
.storyWaitingDay{margin:0 0 11px}.storyWaitingDay>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:12px;border:1px solid #d4bd7b88;border-radius:7px;background:linear-gradient(135deg,#546047,#334b35);color:#f1e3be;font-size:13px;font-weight:650;text-align:left}.storyWaitingDay>small{display:block;margin-top:7px;color:#becab1;font-size:10px!important;line-height:1.4}.storyWaitingDay>button:focus-visible{outline:3px solid #ffe1a2;outline-offset:3px}
@media(orientation:landscape) and (max-height:600px){.storyConversationShared{padding:7px 10px;margin-bottom:8px}.storyWaitingDay>button{padding:10px}.storyWaitingDay>small{font-size:9px!important}}

/* Only the current Chapter Three departure: story first, explicit actions next. */
#storyPanel.storyConversationDelivery .storyConversationBeat{grid-template-columns:44px minmax(0,1fr);gap:4px 10px;align-items:start;padding:10px;margin-bottom:8px}
#storyPanel.storyConversationDelivery .storyConversationPerson{display:contents}
#storyPanel.storyConversationDelivery .storyConversationPerson img{grid-column:1;grid-row:1/3;width:40px;height:49px;margin:0}
#storyPanel.storyConversationDelivery .storyConversationPerson>div{grid-column:2;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline}
#storyPanel.storyConversationDelivery .storyConversationPerson strong{font-size:12px;line-height:1.25}
#storyPanel.storyConversationDelivery .storyConversationPerson span,#storyPanel.storyConversationDelivery .storyConversationPerson small{font-size:9px;line-height:1.3;margin:0}
#storyPanel.storyConversationDelivery .storyConversationBeat>p{grid-column:2;font-size:12px!important;line-height:1.4!important}
#storyPanel.storyConversationDelivery .storyConversationShared{padding:8px 10px;margin-bottom:8px}
#storyPanel.storyConversationDelivery .storyConversationShared>small{display:inline-block;margin-right:7px}
#storyPanel.storyConversationDelivery .storyConversationShared>.storyConversationFacts{display:inline-flex;margin:0}
#storyPanel.storyConversationDelivery .storyConversationShared>p{font-size:10px!important;line-height:1.35!important;margin-top:5px!important}
#storyPanel.storyConversationDelivery #choices{gap:7px;margin-top:7px}
#storyPanel.storyConversationDelivery #choices .storyCompactChoice{padding:10px;min-height:44px}
#storyPanel.storyConversationDelivery #choices .storyCompactChoice>.storyConversationFacts{margin-top:5px}
#storyPanel.storyConversationDelivery #choices .storyCompactChoice>small{margin-top:5px}
#storyPanel.storyConversationDelivery #storyDetails{margin-top:10px;margin-bottom:0;border-bottom:0;border-top:1px solid #a7af8b33}
@media(orientation:landscape) and (max-height:600px){#storyPanel.storyConversationDelivery .storyConversationBeat{padding:8px;gap:3px 9px}#storyPanel.storyConversationDelivery .storyConversationBeat>p{font-size:11px!important}#storyPanel.storyConversationDelivery .storyConversationShared{padding:7px 9px}#storyPanel.storyConversationDelivery #choices .storyCompactChoice{padding:9px}}


/* milestone-cards.css */
#achievementList.milestoneCardsReady{display:block!important}
.milestoneHeading,.milestoneCard>header{padding:0;max-width:none;margin:0;border:0;justify-content:flex-start;flex-wrap:nowrap}
.milestoneCards{display:grid;gap:13px}.milestoneHeading{display:flex;gap:11px;align-items:center}.milestoneHeading h2{font-size:22px!important;line-height:1.2;margin:0 0 5px!important}.milestoneHeading small{font-size:10px!important;color:#c6ccb7}.milestoneMedal{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #c4ad6e77;border-radius:10px;background:linear-gradient(135deg,#6d673a55,#293a26);color:#ddc180}.milestoneMedal svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.milestoneHistoryTotals{padding:10px 11px;background:#12261c99;border:1px solid #9aa87d40;border-radius:7px}.milestoneHistoryTotals>small{display:block;font-size:10px!important;color:#c9cfb6;margin-bottom:7px}.milestoneHistoryTotals>div,.milestoneRewardLine>span{display:flex;flex-wrap:wrap;gap:5px}.milestoneReward{display:inline-block;padding:4px 6px;border:1px solid #b7af784d;border-radius:4px;background:#263b26;color:#e6d9b1;font-size:10px;line-height:1.3;font-variant-numeric:tabular-nums}
.milestoneNext{display:grid;gap:9px}.milestoneNext>h2{font-family:inherit;font-size:11px!important;text-transform:uppercase;letter-spacing:1px;color:#c9c5a6;margin:3px 0 0!important}.milestoneCard{padding:11px;border:1px solid #a4ad7c66;border-radius:9px;background:linear-gradient(130deg,#314334,#20332a)}.milestoneCard>header{display:flex;gap:8px;align-items:center}.milestoneCheck{flex:none;color:#e1c689;font-size:17px}.milestoneCard h3{font-family:inherit;font-size:14px!important;line-height:1.3;margin:0!important;color:#eddfb9}.milestoneCard>p{font-size:11px!important;line-height:1.5!important;color:#cfd6c3;margin:8px 0 9px!important}.milestoneRequirements{display:grid;gap:4px;font-size:10px;line-height:1.4;margin:9px 0;color:#cbd0b8}.milestoneRequirements>span>span{display:inline-block;min-width:13px}.milestoneRequirements .complete{color:#b7d1a6}.milestoneRequirements .unverified{color:#e0c69c}.milestoneProgress{display:grid;gap:4px;margin:9px 0}.milestoneProgress progress{width:100%;height:7px;accent-color:#d2bd7e;border-radius:5px;overflow:hidden}.milestoneProgress small{font-size:10px!important;color:#c2ceb5}
.milestoneRewardLine{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;margin-top:9px}.milestoneRewardLine>small{font-size:9px!important;color:#c0c9ae}.milestoneCard>button{display:block;width:100%;min-height:44px;margin:10px 0 0;padding:9px 11px;text-align:left;border-radius:6px;border:1px solid #c9b67c77;background:#233b2c;color:#eddfb6;font-size:11px;font-weight:600}.milestoneCard>button>span{float:right}.milestoneCard>button:focus-visible,.milestoneHistory>summary:focus-visible{outline:3px solid #ffe1a2;outline-offset:3px}.milestoneCard>.milestoneMet{padding:7px 8px;background:#6e67312b;border-left:2px solid #ccb56c;color:#e4d6ab!important;font-size:10px!important}
.milestoneHistory{border-top:1px solid #adb28255;padding-top:2px}.milestoneHistory>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:11px;color:#d9cfaa}.milestoneHistory>summary::after{content:'+';margin-left:auto;font-size:18px}.milestoneHistory[open]>summary::after{content:'−'}.milestoneHistory .milestoneCard{margin-top:8px;background:#26392d;border-color:#8b9e6c40}.milestoneHistory .milestoneCard h3{font-size:12px!important}.milestoneHistory .milestoneRewardLine{margin:6px 0 0}.milestoneNote,.milestoneEmpty{font-size:10px!important;line-height:1.5!important;color:#bbc7ae;margin:9px 0 0!important}
@media(orientation:landscape) and (max-height:600px){.milestoneCards{gap:10px}.milestoneHeading h2{font-size:19px!important}.milestoneMedal{width:39px;height:39px}.milestoneCard{padding:9px}.milestoneCard>p{margin:6px 0!important}.milestoneRequirements{margin:6px 0}.milestoneCard>button{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.milestoneCards *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* tactical-scene.css */
#routeEncounterPanel.tacticalSceneReady{margin-top:0;border-top:0;padding-top:0}
#routeEncounterPanel.tacticalSceneReady>h3{font-size:20px;margin:0 0 12px}.tacticalScene{display:grid;gap:10px}.tacticalIntro{display:flex;align-items:center;gap:9px}.tacticalIntro img{width:39px;height:46px;object-fit:cover;object-position:center 25%;border:1px solid #baa36d80;border-radius:6px}.tacticalIntro strong{font-size:12px;color:#eddfbd;display:block}.tacticalIntro small{display:block;font-size:9px!important;margin-top:3px;color:#c2cbb3}.tacticalBeat{font-size:12px!important;line-height:1.45!important;margin:0!important;color:#dbe0cf}.tacticalScene #routeEncounterSummary{font-size:10px!important;line-height:1.5!important;margin:0!important;padding:7px 9px;border:1px solid #b2b18445;border-radius:5px;background:#15291f;color:#e0d6b6;font-variant-numeric:tabular-nums}
.tacticalLegend{display:flex;gap:5px;flex-wrap:wrap}.tacticalLegend>span{padding:4px 6px;border-radius:4px;font-size:9px;color:#e4dcc5;background:#273a2b;border:1px solid #92a16f66}.tacticalLegend>.now{border:1px solid #e18662;background:#633b2b;color:#ffe1ce}.tacticalLegend>.next{border:1px dashed #e7c36b;background:#4c482b;color:#f4dda0}.tacticalLegend>.team{border-color:#d8dbc4;color:#f0f2da}.tacticalLegend>.gap{border-color:#8ab3a1;color:#c4eadc}
.tacticalBoard{position:relative;width:100%;height:clamp(260px,36dvh,390px);border:1px solid #adac7a66;border-radius:9px;overflow:hidden;background:#27312a;isolation:isolate}.tacticalBoard>canvas{display:block;width:100%;height:100%;pointer-events:none}.tacticalOverlay{position:absolute;inset:0;pointer-events:none}.tacticalMove{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:1px;border:1px solid #e0d9a9b3;border-radius:9px;background:#244d39c9;box-shadow:0 3px 10px #0008,inset 0 1px #fff3;color:#fff3ca;pointer-events:auto;touch-action:manipulation}.tacticalMove>span{font-size:19px;line-height:1}.tacticalMove>small{font-size:9px!important;line-height:1.2;color:inherit}.tacticalMove.danger{background:#7a3f29e8;border:2px dashed #eac271;color:#ffe1a4}.tacticalMove.exit{background:#376756e8;color:#e4fff4;border-color:#c7e6d7}.tacticalMove:focus-visible,.tacticalNativeAction:focus-visible,.tacticalViewRow>button:focus-visible,.tacticalRules>summary:focus-visible{outline:3px solid #ffe2a5;outline-offset:3px}
.tacticalGridHost #routeEncounterGrid{margin:0;gap:5px}.tacticalGridHost #routeEncounterGrid>button{position:relative;min-height:44px;height:clamp(44px,8dvh,63px);font-size:11px;border-radius:5px;background:#2e4434;color:#e5debf}.tacticalGridHost #routeEncounterGrid .obstacle{background:#27332d;color:#9d9e8b;border-color:#4e5948}.tacticalGridHost #routeEncounterGrid .patrol{background:#6b3e2a;border:2px solid #e39772;color:#ffe2d2}.tacticalGridHost #routeEncounterGrid .next{border:2px dashed #e7c36b}.tacticalGridHost #routeEncounterGrid .you{background:#c9cbb1;color:#202e23;font-weight:700}.tacticalGridHost #routeEncounterGrid>button:disabled{opacity:.65}.tacticalGridHost #routeEncounterGrid>.patrol:disabled,.tacticalGridHost #routeEncounterGrid>.next:disabled{opacity:.95}
.tacticalPins{position:absolute;inset:0;pointer-events:none;color:#f4e2b0}.tacticalPins svg{display:block;overflow:visible;pointer-events:none}.tacticalPins line{stroke:#e9d6a0;stroke-width:1.5}.tacticalPins circle{fill:#f0dda5}
.tacticalMove.currentDanger{background:#793a29eb;border:2px solid #ee9b78;color:#ffe2d1}.tacticalMove.nextDanger{background:#69603bea;border:2px dashed #edd18c;color:#fff0bd}.tacticalMove.currentDanger.nextDanger{background:#753e29eb;border:2px solid #ee9b78}.tacticalMove.currentDanger.nextDanger::after{content:'';position:absolute;inset:3px;border:1px dashed #edd18c;border-radius:5px;pointer-events:none}
.tacticalAlternatives{border-top:1px solid #9ca47744;padding-top:9px}.tacticalAlternatives>small{display:block;color:#c8cbb1;font-size:10px!important;margin-bottom:6px}.tacticalAlternatives #navigationThreat>p{font-size:10px!important;line-height:1.4!important;margin:0 0 7px!important}.tacticalAlternatives #navigationThreat>.row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tacticalAlternatives button{min-height:44px;font-size:10px;padding:9px 10px;text-align:left;border-color:#91a07566;background:#293d2c;color:#ddd9b9}.tacticalRules #expeditionStudy{border-top:1px solid #9ba68044;margin-top:11px;padding-top:11px}.tacticalRules #expeditionStudy h3{font-size:13px;margin-bottom:8px}.tacticalRules #expeditionStudy p,.tacticalRules #expeditionStudy small{font-size:11px!important}
.tacticalNativeControls{display:grid;gap:7px}.tacticalNativeControls #routeEncounterControls{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tacticalNativeControls #encounterRetreat{grid-column:1/-1}.tacticalNativeControls .tacticalNativeAction{display:block;min-height:44px;width:100%;padding:10px 11px;border:1px solid #b9ae7c66;border-radius:7px;background:linear-gradient(135deg,#354c38,#243b2c);color:#ebdfbd;text-align:left}.tacticalNativeAction strong{display:block;font-size:12px;line-height:1.3}.tacticalNativeAction small{display:block;font-size:10px!important;line-height:1.4;margin-top:5px;color:#c3d0b7}.tacticalNativeAction:disabled{opacity:.6}.tacticalViewRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tacticalViewRow>button{min-height:44px;padding:7px 10px;font-size:10px;background:#233c2c;color:#d8d0ae;border-color:#99a07166}.tacticalMessage{flex:1;min-width:140px;font-size:9px!important;line-height:1.4;color:#ddc79f}.tacticalRules{border-top:1px solid #98a47545}.tacticalRules>summary{display:flex;align-items:center;min-height:44px;margin:0;cursor:pointer;font-size:11px;color:#d2c7a4}.tacticalRules>summary::after{content:'+';margin-left:auto;font-size:18px}.tacticalRules[open]>summary::after{content:'−'}.tacticalRules>p{font-size:11px!important;line-height:1.5!important}.tacticalRules .tacticalCare{color:#c4ceb7}
@media(orientation:landscape) and (max-height:600px){.tacticalScene{gap:8px}.tacticalBoard{height:280px}.tacticalIntro img{width:33px;height:39px}.tacticalBeat{font-size:11px!important}.tacticalNativeControls #routeEncounterControls{grid-template-columns:1fr 1fr 1fr}.tacticalNativeControls #encounterRetreat{grid-column:auto}.tacticalNativeControls .tacticalNativeAction{padding:8px}.tacticalNativeAction small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){#routeEncounterPanel.tacticalSceneReady *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* The explicit crossing deserves the available screen, rather than a short
   bottom sheet with its essential turn controls below the scenery. */
.immersive:has(#routeEncounterPanel.tacticalSceneReady.imActivePanel) #imSheetBar{top:calc(env(safe-area-inset-top) + 8px);bottom:auto;left:8px;right:8px;width:auto;height:48px}
.immersive #game #routeEncounterPanel.tacticalSceneReady.imActivePanel{top:calc(env(safe-area-inset-top) + 56px)!important;bottom:calc(env(safe-area-inset-bottom) + 8px)!important;left:8px!important;right:8px!important;width:auto!important;height:auto!important;padding:12px!important}
.immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel>.tacticalScene{gap:8px}
@media(min-width:700px) and (orientation:landscape){
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden]))>.tacticalScene{grid-template-columns:minmax(280px,1.3fr) minmax(300px,1fr);grid-template-rows:repeat(5,min-content) minmax(min-content,1fr) min-content;grid-template-areas:"board intro" "board beat" "board stats" "board legend" "board controls" "board view" "rules rules";align-items:start}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalIntro{grid-area:intro}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalBeat{grid-area:beat}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) #routeEncounterSummary{grid-area:stats}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalLegend{grid-area:legend}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalBoard,.immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalGridHost{grid-area:board}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalBoard{height:clamp(260px,calc(100dvh - 130px),660px)}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalNativeControls{grid-area:controls}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalViewRow{grid-area:view}
 .immersive #routeEncounterPanel.tacticalSceneReady.imActivePanel:has(#routeEncounterControls:not([hidden])) .tacticalRules{grid-area:rules}
}


/* jobs-care.css */
.immersive #careLife.jobsCareReady{padding:16px;}
#careLife.jobsCareReady .jobsCare{display:grid;gap:12px;color:#eee8d8;}
#careLife.jobsCareReady .jobsCareHeading{display:flex;align-items:center;justify-content:space-between;gap:10px;position:static;background:none;padding:0;border:0;}
#careLife .jobsCareHeading small{font-size:10px;letter-spacing:.13em;color:#acb7a5;}
#careLife .jobsCareHeading h2{margin:2px 0;font-size:25px;line-height:1.15;}
#careLife .jobsCareHeading>span{padding:5px 8px;border:1px solid #627566;border-radius:20px;color:#d1d8c5;font-size:11px;white-space:nowrap;}
#careLife .jobsCareCover{display:flex;align-items:center;gap:11px;border:1px solid #63765e;border-radius:12px;padding:10px;background:linear-gradient(125deg,#344637,#24352c);}
#careLife .jobsCareChildren{display:flex;gap:6px;flex-shrink:0;}
#careLife .jobsCareChild{display:grid;justify-items:center;gap:3px;font-size:11px;}
#careLife .jobsCareChild img{width:40px;height:46px;object-fit:cover;object-position:50% 22%;border-radius:7px;border:1px solid #b6b69c;}
#careLife .jobsCareCover>div>strong{font-size:14px;}
#careLife .jobsCareCover p{margin:3px 0 0;font-size:12px;line-height:1.4;color:#d0d7c5;}
#careLife .jobsCareScope{margin:0;color:#b8c4b2;font-size:12px;line-height:1.4;}
#careLife .jobsCareBlocked{margin:0;padding:9px 11px;border:1px solid #af8957;border-radius:8px;color:#f0d2a4;background:#4b3c29;font-size:13px;}
#careLife .jobsCareCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:10px;}
#careLife .jobsCareCard{min-width:0;border:1px solid #5b6b59;border-radius:12px;padding:12px;background:linear-gradient(145deg,#344137,#26362e);box-shadow:0 4px 14px #07120d25;}
#careLife .jobsCareCard>header{display:flex;align-items:center;gap:10px;position:static;padding:0;border:0;background:none;}
#careLife .jobsCareCard>header>img{width:52px;height:62px;object-fit:cover;object-position:50% 20%;border-radius:8px;border:1px solid #a7a98c;flex-shrink:0;}
#careLife .jobsCareCard>header>div{min-width:0;flex:1;}
#careLife .jobsCareCard h3{font-size:18px;line-height:1.15;margin:0 0 4px;}
#careLife .jobsCareRole{display:block;font-size:12px;color:#e9d1a0;line-height:1.35;}
#careLife .jobsCarePresence{display:block;font-size:11px;color:#acbeaa;margin-top:3px;line-height:1.3;}
#careLife .jobsCarePresence.away{color:#efc794;}
#careLife .jobsCareKeeper{font-size:10px;padding:4px 6px;color:#d8e7d5;border:1px solid #819b79;border-radius:6px;align-self:flex-start;}
#careLife .jobsCareVitals{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin:12px 0 8px;font-size:11px;color:#becab8;font-variant-numeric:tabular-nums;}
#careLife .jobsCareVitals strong{font-size:15px;color:#f2eddf;}
#careLife .jobsCareVitals small{font-size:10px;color:#aebca8;}
#careLife .jobsCareVitals progress{display:block;width:100%;height:5px;appearance:none;border:0;border-radius:4px;overflow:hidden;margin-top:4px;background:#182a21;accent-color:#abc09a;}
#careLife .jobsCareVitals progress::-webkit-progress-bar{background:#182a21;}
#careLife .jobsCareVitals progress::-webkit-progress-value{background:#abc09a;}
#careLife .jobsCareVitals progress::-moz-progress-bar{background:#abc09a;}
#careLife .jobsCareVitals .tired progress{accent-color:#e6b574;}
#careLife .jobsCareVitals .tired progress::-webkit-progress-value{background:#e6b574;}
#careLife .jobsCareVitals .tired progress::-moz-progress-bar{background:#e6b574;}
#careLife .jobsCareTired{display:block;color:#edc893;font-size:11px;margin-bottom:8px;}
#careLife .jobsCareJob{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin:0;font-size:12px;color:#d5d9c8;}
#careLife select.jobsCareSelect{width:100%;min-width:0;min-height:44px;margin:0;padding:9px 30px 9px 10px;border:1px solid #839477;border-radius:8px;background:#172b23;color:#f4ebd7;font:inherit;font-size:14px;}
#careLife select.jobsCareSelect:disabled{opacity:.65;}
#careLife .jobsCareCareRule{display:block;font-size:11px;color:#c5cdb8;line-height:1.4;margin-top:7px;}
#careLife .jobsCareActivity{display:block;font-size:11px;line-height:1.4;margin-top:7px;color:#b9cbb0;}
#careLife .jobsCareActivity.waiting{color:#edc893;}
#careLife .jobsCareNotes,#careLife .jobsCareRules{border:0;border-top:1px solid #50624f;background:none;padding:0;border-radius:0;margin:10px 0 0;}
#careLife .jobsCareNotes summary,#careLife .jobsCareRules summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:12px;color:#c1ccb6;cursor:pointer;}
#careLife .jobsCareNotes summary::before,#careLife .jobsCareRules summary::before{content:'+';font-size:17px;color:#d9c18b;}
#careLife .jobsCareNotes[open] summary::before,#careLife .jobsCareRules[open] summary::before{content:'−';}
#careLife .jobsCareNotes p,#careLife .jobsCareRules p{font-size:12px;line-height:1.5;margin:4px 0 10px;color:#c2cdb8;}
#careLife .jobsCareNotes>small{display:block;font-size:12px;line-height:1.5;margin:4px 0 10px;color:#c2cdb8;}
#careLife .jobsCareRules h3{font-size:16px;}
#careLife.jobsCareReady :focus-visible{outline:3px solid #f0d792;outline-offset:3px;}
@media(max-width:370px){.immersive #careLife.jobsCareReady{padding:12px;}#careLife .jobsCareHeading h2{font-size:23px;}#careLife .jobsCareKeeper{font-size:9px;padding:3px 4px;}}
@media(orientation:landscape) and (max-height:540px){.immersive #careLife.jobsCareReady{padding:12px 16px;}#careLife.jobsCareReady .jobsCare{gap:9px;}#careLife .jobsCareCover{padding:8px 10px;}#careLife .jobsCareCards{grid-template-columns:repeat(auto-fit,minmax(265px,1fr));}#careLife .jobsCareCard{padding:10px;}}
@media(prefers-reduced-motion:reduce){#careLife.jobsCareReady *,#careLife.jobsCareReady *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}


/* shelter-ambience.css */
.shelterAmbienceSetting{display:grid;gap:8px;margin:14px 0 0}.shelterAmbienceSetting button{min-height:48px;text-align:left;padding:12px 16px}.shelterAmbienceSetting p{grid-row:1;font-size:13px;line-height:1.45;margin:0;color:#bdc9c2;overflow-wrap:anywhere}


/* trade-supplies.css */
.tradeSuppliesNote[hidden]{display:none!important}
.immersive #workPanel.tradeSuppliesFocused #dayChoiceCards,.immersive #workPanel.tradeSuppliesFocused>#workShift,.immersive #workPanel.tradeSuppliesFocused>#smRest,.immersive #workPanel.tradeSuppliesFocused>.smDayIntro,.immersive #workPanel.tradeSuppliesFocused>.playDayNote{display:none!important}
.immersive #workPanel.tradeSuppliesFocused>.tradeSuppliesNote{margin:5px 0 12px;color:#ccd3bf;font-size:12px;line-height:1.45}
.immersive #workPanel.tradeSuppliesFocused>#smTrade{margin-top:0}
.immersive #workPanel.tradeSuppliesFocused #tradeList{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding-top:4px}
.immersive #workPanel.tradeSuppliesFocused #tradeList button{min-height:56px;width:100%;margin:0;text-align:left;overflow-wrap:anywhere;font-size:13px;line-height:1.4;touch-action:manipulation}
.immersive #workPanel.tradeSuppliesFocused #tradeList button:focus-visible{outline:3px solid #e6c76f;outline-offset:2px}
@media(min-width:720px) and (orientation:landscape){.immersive #workPanel.tradeSuppliesFocused #tradeList{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* arrival-backdrop.css */
#arrivalStory.arrivalBackdropMemory .arrivalBackdrop,#arrivalStory.arrivalBackdropYard[data-step="0"] .arrivalBackdrop{filter:saturate(.98) brightness(.94)}
#arrivalStory.arrivalBackdropYard[data-step="1"] .arrivalBackdrop{filter:saturate(.95) brightness(.92)}
#arrivalStory.arrivalBackdropYard[data-step="2"] .arrivalBackdrop,#arrivalStory.arrivalBackdropYard[data-step="3"] .arrivalBackdrop{filter:saturate(.82) contrast(1.04) brightness(.88)}
#arrivalStory.arrivalBackdropYard[data-step="4"] .arrivalBackdrop{filter:saturate(.72) contrast(1.1) brightness(.84)}
/* Keep the ordinary setting full bleed on tall screens. The selected image's
   focal x preserves its face; landscape retains the complete original frame.
   No native action or label moves with this decorative composition. */
#arrivalStory.arrivalBackdropMemory .arrivalBackdrop,#arrivalStory.arrivalBackdropYard .arrivalBackdrop{transform:none;background-repeat:no-repeat}
#arrivalStory.arrivalBackdropMemory .arrivalBackdrop{background-size:cover,cover,cover;background-position-y:0,50%,0!important}
@media(orientation:landscape){#arrivalStory.arrivalBackdropMemory .arrivalBackdrop{--arrival-photo-height:min(calc(100dvh - 72px),calc(100vw*.5625));background-size:cover,auto var(--arrival-photo-height),cover;background-position:0 0,0 clamp(0px,calc(36dvh - var(--arrival-photo-height)*var(--arrival-memory-face-y)),calc(100dvh - var(--arrival-photo-height))),0 0!important}}
/* The same photographed yard supplies a clear ground plane beneath the
   decorative figures. Their native coordinates and all action boxes remain. */
#arrivalStory.arrivalBackdropYard .arrivalBackdrop{background-position:0 0,50% calc(50% - 14dvh),0 0!important}
#arrivalStory.arrivalBackdropYard .arrivalFoe{left:calc(30% + var(--foe-x)*.375)}
@media(max-width:600px){#arrivalStory.arrivalBackdropYard[data-step="2"] .arrivalFoe{left:40%}}
/* The ambulance photograph already contains the first visible threat. */
#arrivalStory[data-step="0"] .arrivalCover,
#arrivalStory.arrivalAmbulanceCrash .arrivalFoe,
#arrivalStory.arrivalAmbulanceCrash .arrivalCover{display:none}
#arrivalStory.arrivalAmbulanceCrash .arrivalBackdrop{background-position:0 0,38% 50%,0 0!important}
@media(orientation:landscape){
 #arrivalStory.arrivalAmbulanceCrash .arrivalBackdrop{background-position:0 0,50% 45%,0 0!important}
}


/* arrival-placement.css */
#arrivalGuide .arrivalPlacementResult{display:grid;gap:3px;margin:8px 0;padding:7px 9px;border:1px solid #a8b29244;border-radius:7px;background:#10251e80}
#arrivalGuide .arrivalPlacementResult strong{font-size:12px;line-height:1.3;color:#ead5a5;overflow-wrap:anywhere}
#arrivalGuide .arrivalPlacementResult small{font-size:10px;line-height:1.3;color:#c4d1bd;overflow-wrap:anywhere}
#arrivalGuide .arrivalPlacementResult .arrivalPlacementNeighbor{color:#e1c092}
#arrivalGuide .arrivalPlacementReview{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%;padding:7px 2px;margin-top:3px;background:transparent;border:0;color:#d4dccb;font:600 11px/1.3 system-ui;text-align:left;touch-action:manipulation}
#arrivalGuide .arrivalPlacementReview small{font-size:9px;font-weight:400;color:#b7c7b0;max-width:45%}
.arrivalTutorial.liveShelterPanel #arrivalGuide .arrivalPlacementResult,.arrivalTutorial.imSheetOpen #arrivalGuide .arrivalPlacementResult{margin:0 0 7px;padding:5px 8px}
.arrivalTutorial.liveShelterPanel #arrivalGuide .arrivalPlacementResult .arrivalPlacementNote,.arrivalTutorial.imSheetOpen #arrivalGuide .arrivalPlacementResult .arrivalPlacementNote{display:none}
@media(max-height:520px) and (min-width:600px){#arrivalGuide .arrivalPlacementResult{margin:5px 0;padding:5px 7px}#arrivalGuide .arrivalPlacementResult strong{font-size:11px}#arrivalGuide .arrivalPlacementResult small{font-size:9px}}


/* arrival-ambience.css */
#arrivalStory .arrivalAudioHeader{flex-wrap:wrap;gap:6px 12px}
#arrivalStory .arrivalAmbienceControl{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin-left:auto}
#arrivalStory .arrivalAmbienceControl button{min-height:44px;min-width:76px;max-width:100px;padding:7px 8px;border:1px solid #a6b39870;border-radius:7px;background:#263a32;color:#f0e4c5;font:600 11px/1.2 system-ui;touch-action:manipulation}
#arrivalStory .arrivalAmbienceControl button[aria-pressed="true"]{background:#3a4b36;border-color:#d5bc7b}
#arrivalStory .arrivalAmbienceControl button:focus-visible{outline:3px solid #fff3c1;outline-offset:3px}
#arrivalStory #arrivalAmbienceOff{min-width:44px;max-width:48px}
#arrivalStory #arrivalAmbienceOff[hidden]{display:none!important}
@media(max-width:600px){#arrivalStory .arrivalAmbienceControl button{font-size:10px;max-width:92px}#arrivalStory .arrivalAudioHeader{column-gap:8px}}
@media(max-height:520px) and (min-width:600px){#arrivalStory .arrivalAmbienceControl{gap:4px}#arrivalStory .arrivalAmbienceControl button{font-size:10px;padding:6px}}


/* shelter-growth.css */
#shelterGrowthCard{margin:0 0 20px;padding:15px;border:1px solid #acaa7966;border-radius:13px;background:linear-gradient(135deg,#283d31,#1b2c25);color:#e9e5d4;box-shadow:0 5px 15px #0003;font:13px/1.45 system-ui;text-align:left}
#shelterGrowthCard .growthHeading{display:flex;align-items:center;gap:10px;margin:0 0 11px;padding:0;background:none;border:0;position:static;min-height:0}
#shelterGrowthCard .growthHeading img{width:42px;height:48px;flex:none;object-fit:cover;object-position:50% 22%;border-radius:6px;border:1px solid #d8c58c66;background:#172a22}
#shelterGrowthCard .growthHeading small{display:block;font-size:8px;letter-spacing:1px;color:#c5b88e}
#shelterGrowthCard .growthHeading h4{margin:3px 0;font-size:20px;line-height:1.2;font-weight:650;color:#f0e6ca}
#shelterGrowthCard .growthHeading span{display:block;font-size:10px;color:#bccbb9}
#shelterGrowthCard .growthBeat{margin:0 0 12px;max-width:62ch;font-size:12px;color:#d6ddcc}
#shelterGrowthCard .growthPlans,#shelterGrowthCard .growthOther{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#shelterGrowthCard button{display:block;width:100%;min-width:0;min-height:48px;padding:11px 12px;border:1px solid #9cae8966;border-radius:8px;background:#243c2e;color:#eee7d3;text-align:left;font:600 12px/1.35 system-ui;white-space:normal;touch-action:manipulation}
#shelterGrowthCard button strong{display:block;font:inherit;color:inherit}
#shelterGrowthCard button small{display:block;margin-top:4px;font-size:10px;font-weight:400;line-height:1.4;color:#c5d0bb}
#shelterGrowthCard button:disabled{opacity:.58;cursor:default}
#shelterGrowthCard button:focus-visible,#shelterGrowthCard summary:focus-visible{outline:3px solid #f0d397;outline-offset:3px}
#shelterGrowthCard .growthNext{margin-top:11px}
#shelterGrowthCard .growthPrimary{background:linear-gradient(#c9b580,#ac9867);border-color:#dec897;color:#1a2c23}
#shelterGrowthCard .growthPrimary small{color:#293f30}
#shelterGrowthCard .growthDefer{margin-top:7px}
#shelterGrowthCard .growthDefer button{background:transparent;min-height:44px;padding:9px 12px;border-color:#9baa8950}
#shelterGrowthCard .growthDefer small{display:none}
#shelterGrowthCard .growthFacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:11px}
#shelterGrowthCard .growthFact{padding:8px 9px;background:#0e231c7d;border-radius:6px;min-width:0}
#shelterGrowthCard .growthFact small{display:block;font-size:9px;color:#adc1ac}
#shelterGrowthCard .growthFact strong{display:block;font-size:11px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere;font-weight:600}
#shelterGrowthCard .growthFact.warning{border-left:2px solid #d1a577;color:#e3c5a2}
#shelterGrowthCard .growthLock,#shelterGrowthCard .growthBlocked{color:#ecc095}
#shelterGrowthCard .growthLock{margin:10px 0;font-size:11px}
#shelterGrowthCard .growthDetails{margin-top:10px;border-top:1px solid #c0be9950;padding-top:3px}
#shelterGrowthCard summary{min-height:44px;padding:11px 0;font:600 11px system-ui;cursor:pointer;color:#d5cfb2}
#shelterGrowthCard .growthDetails p{margin:0 0 9px;font-size:11px;line-height:1.45;color:#cad4bf}
#shelterGrowthCard[data-phase="deferred"],#shelterGrowthCard[data-phase="complete"]{padding:12px;background:#21362c}
#shelterGrowthCard[data-phase="deferred"] .growthBeat,#shelterGrowthCard[data-phase="complete"] .growthBeat{font-size:11px}
@media(max-width:370px){#shelterGrowthCard{padding:12px}#shelterGrowthCard .growthPlans,#shelterGrowthCard .growthOther{gap:5px}#shelterGrowthCard button{padding:10px}#shelterGrowthCard .growthHeading h4{font-size:18px}}
@media(orientation:landscape) and (max-height:520px){#shelterGrowthCard{padding:12px}#shelterGrowthCard .growthHeading{margin-bottom:8px}#shelterGrowthCard .growthHeading h4{font-size:18px}}
@media(prefers-reduced-motion:reduce){#shelterGrowthCard *{scroll-behavior:auto}}


/* shelter-bird-story.css */
#shelterBirdStory{margin:18px 0 0;padding:13px;border:1px solid #acaa7966;border-radius:11px;background:linear-gradient(135deg,#283d31,#1b2c25);color:#e9e5d4;font:13px/1.4 system-ui;text-align:left}
#shelterBirdStory .birdHeading{margin:0 0 9px}
#shelterBirdStory .birdHeading>small{font-size:8px;letter-spacing:1px;color:#c5b88e}
#shelterBirdStory h4{margin:3px 0 0;font-size:19px;line-height:1.2;font-weight:650;color:#f0e6ca}
#shelterBirdStory .birdBeat{grid-template-columns:44px minmax(0,1fr);gap:4px 10px;align-items:start;margin:0 0 10px;padding:9px;background:#182f2570}
#shelterBirdStory .birdBeat .storyConversationPerson{display:contents}
#shelterBirdStory .birdBeat img{grid-column:1;grid-row:1/3;width:40px;height:48px;margin:0;object-fit:cover;object-position:50% 23%;border-radius:6px}
#shelterBirdStory .birdBeat .birdFaces{position:relative;display:block;grid-column:1;grid-row:1/3;width:48px;height:58px}
#shelterBirdStory .birdBeat .birdFaces>img{display:block}
#shelterBirdStory .birdBeat .birdCarePortrait{position:absolute;left:23px;bottom:0;width:28px;height:32px;background:#20392b}
#shelterBirdStory .birdBeat .storyConversationPerson>div{grid-column:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
#shelterBirdStory .birdBeat strong{font-size:12px;line-height:1.25}
#shelterBirdStory .birdBeat span{font-size:9px;line-height:1.3;margin:0;color:#c4ccb7}
#shelterBirdStory .birdBeat>p{grid-column:2;font-size:12px!important;line-height:1.45!important;margin:0!important;color:#d6ddcc}
#shelterBirdStory .birdPlans,#shelterBirdStory .birdOther{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#shelterBirdStory button{display:block;width:100%;min-width:0;min-height:48px;padding:10px;border:1px solid #9cae8966;border-radius:8px;background:#243c2e;color:#eee7d3;text-align:left;font:600 12px/1.3 system-ui;white-space:normal;touch-action:manipulation}
#shelterBirdStory button strong{display:block;font:inherit}
#shelterBirdStory button small{display:block;margin-top:5px;font-size:10px;font-weight:400;line-height:1.4;color:#c5d0bb}
#shelterBirdStory button:disabled{opacity:.58;cursor:default}
#shelterBirdStory button:focus-visible,#shelterBirdStory summary:focus-visible{outline:3px solid #f0d397;outline-offset:3px}
#shelterBirdStory .birdFacts{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:9px}
#shelterBirdStory .birdFacts>span{padding:6px 8px;border-radius:5px;background:#10251c88;min-width:0}
#shelterBirdStory .birdFacts small{display:block;font-size:8px;color:#b9c7b1}
#shelterBirdStory .birdFacts strong{display:block;margin-top:2px;font-size:10px;font-weight:500;color:#e1d7b7}
#shelterBirdStory .birdNext,#shelterBirdStory .birdDefer{margin-top:9px}
#shelterBirdStory .birdPrimary{background:linear-gradient(#c9b580,#ac9867);border-color:#dec897;color:#1a2c23}
#shelterBirdStory .birdPrimary small{color:#293f30}
#shelterBirdStory .birdDefer button{background:transparent;min-height:44px;padding:9px 10px;border-color:#9baa8950}
#shelterBirdStory .birdDefer small{font-size:9px;margin-top:3px}
#shelterBirdStory .birdLock{font-size:11px!important;line-height:1.4!important;color:#e6bd8c!important;margin:7px 0}
#shelterBirdStory .birdDetails{margin-top:8px;border-top:1px solid #a6ab7f33}
#shelterBirdStory summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:10px;color:#c9cfb8}
#shelterBirdStory summary::after{content:'+';margin-left:auto;font-size:17px}
#shelterBirdStory details[open]>summary::after{content:'−'}
#shelterBirdStory .birdDetails p{font-size:11px;line-height:1.45;color:#c5d0bb;margin:0 0 9px}
@media(max-width:360px){#shelterBirdStory{padding:11px}#shelterBirdStory .birdPlans,#shelterBirdStory .birdOther{grid-template-columns:1fr}}
@media(orientation:landscape) and (max-height:600px){#shelterBirdStory{padding:11px}#shelterBirdStory .birdBeat{padding:8px}#shelterBirdStory .birdBeat>p{font-size:11px!important}#shelterBirdStory button{padding:9px}}
@media(prefers-reduced-motion:reduce){#shelterBirdStory *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* mobile-visuals.css */
:root {
  --af-ink: #f4eee2;
  --af-muted: #b8c6ba;
  --af-panel: #18251f;
  --af-deep: #101914;
  --af-edge: #80978348;
  --af-gold: #e6c181;
  --af-gold-ink: #201a12;
  --af-radius: 15px;
}

.front-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#setup:has(.front-hero), #opening {
  color: var(--af-ink);
  background: var(--af-deep);
  border: 1px solid var(--af-edge);
  border-radius: 20px;
  overflow: hidden;
}
#setup:has(.front-hero) { padding: 0; max-width: 780px; }
#setup:has(.front-hero) > #eraLabel { display: none; }
body:has(#setup.front-ready:not([hidden])) > header {
  justify-content: end;
  max-width: 824px;
  padding: 8px clamp(10px, 3vw, 22px) 0;
  border: 0;
}
body:has(#setup.front-ready:not([hidden])) > header > :first-child { display: none; }
body:has(#setup.front-ready:not([hidden])) > main { padding-top: 9px; }
body:has(#setup.front-ready:not([hidden])) .playUtility > summary {
  min-height: 44px;
  border-radius: 9px;
  border-color: var(--af-edge);
  background: #18251f;
  color: var(--af-ink);
}
body:has(#setup.front-ready:not([hidden])) .playUtility[open] > .row {
  max-width: min(510px, calc(100vw - 24px));
  border-color: var(--af-edge);
  border-radius: 10px;
  background: #18251f;
}
body:has(#setup.front-ready:not([hidden])) .playUtility[open] > .row :is(button,a) {
  min-height: 44px;
  color: var(--af-ink);
}
.front-hero {
  --arrival-title-art: url('mobile-art/arrival.webp');
  min-height: clamp(210px, 39vw, 365px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(19px, 5vw, 42px);
  background:
    linear-gradient(0deg, #101914 0%, #101914db 15%, #10191424 70%),
    var(--arrival-title-art) center 48% / cover #3d4a35;
}
@media (max-width:950px) and (pointer:coarse), (max-width:600px) {
  .front-hero { --arrival-title-art: url('mobile-art/arrival-compact.webp'); }
}
.front-hero h1 {
  margin: 0 0 6px;
  color: #fff4da;
  font: 720 clamp(37px, 8vw, 77px)/.97 system-ui, sans-serif;
  letter-spacing: -.055em;
  text-shadow: 0 2px 14px #0d120e90;
}
.front-hero p {
  margin: 0;
  max-width: 35ch;
  color: #f4e7cd;
  font-size: clamp(14px, 2.2vw, 18px);
}
.front-identity, .front-creation, #setup > .imSetupNotes {
  margin: 0 clamp(16px, 5vw, 40px) 18px;
}
.front-identity, .front-choices { display: grid; gap: 10px; }
.front-identity label { margin: 0; font-weight: 650; }
#setup .front-identity #playerName, #setup .front-date #startEra {
  margin: 0;
  min-height: 48px;
  border-radius: 9px;
  border-color: var(--af-edge);
  background: #1c2b23;
  color: var(--af-ink);
  font-size: 16px;
}
#setup .front-identity #playerNameHelp { margin: 0; color: var(--af-muted); }
#setup .front-identity #playerName[aria-invalid=true] { border-color: #eea68d; }
#setup .front-identity #playerName[aria-invalid=true] + #playerNameHelp { color: #ffc5af; }
.front-creation {
  border: 1px solid var(--af-edge);
  border-radius: var(--af-radius);
  background: #18241e;
}
.front-creation > summary {
  padding: 13px 15px;
  min-height: 46px;
  margin: 0;
  color: var(--af-gold);
  font-weight: 700;
}
.front-creation[open] > summary { border-bottom: 1px solid var(--af-edge); }
.front-choices { padding: clamp(12px, 4vw, 23px); gap: 20px; }
.front-choices h2 { margin: 0 0 9px; font: 680 20px/1.15 system-ui, sans-serif; }
.front-segments { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.front-segments button {
  min-height: 46px;
  background: #202e26;
  border-color: var(--af-edge);
  border-radius: 8px;
  color: var(--af-ink);
}
.front-segments button[aria-pressed=true] {
  border-color: var(--af-gold);
  color: #ffe5b5;
  background: #443a27;
}
#setup .front-cast #survivorSelection {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin: 10px 0;
}
#setup .front-cast #survivorSelection:empty { display: none; }
#setup .front-cast #survivorSelection button {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid #b7c1a948;
  border-radius: 10px;
  background: #101b16;
}
#setup .front-cast #survivorSelection button[aria-pressed=true] {
  border-color: var(--af-gold);
  outline: 1px solid var(--af-gold);
  outline-offset: 0;
  background: #392e20;
}
#setup .front-cast #survivorSelection button:focus-visible {
  outline: 3px solid #fff2c8;
  outline-offset: 2px;
}
#setup .front-cast #survivorSelection img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/6;
  object-position: center 38%;
}
#setup .front-cast #survivorSelection strong {
  padding: 7px 7px 2px;
  font-size: 14px;
  color: #fff3db;
}
#setup .front-cast #survivorSelection small {
  min-height: 0;
  padding: 2px 7px 8px;
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  color: #c4cdc0;
}
#setup .front-cast #match { min-height: 0; margin: 9px 0; font-size: 13px; color: var(--af-muted); }
#setup #survivorAgeReroll { min-height: 44px; padding: 5px 0; background: none; border: 0; color: var(--af-gold); }
#setup .front-date #eraPreview { margin: 8px 0 0; color: var(--af-muted); font-size: 13px; }
#setup :is(#begin,#resume) {
  min-height: 48px;
  width: 100%;
  padding: 9px 14px;
  border: 1px solid #f6d6a4;
  border-radius: 9px;
  color: var(--af-gold-ink);
  background: linear-gradient(#f2d49e,#d7a86b);
  font-weight: 750;
}
#setup #begin:disabled { opacity: .62; background: #334335; color: #e2e6d8; border-color: var(--af-edge); }
#setup > .imSetupNotes { color: var(--af-muted); }
#setup > .imSetupNotes > summary { min-height: 44px; padding-top: 10px; }
#opening :is(#openingTitle,#eraTransition) { color: var(--af-ink); }
#opening #openingArt { border-radius: 12px; overflow: hidden; background-color: #0a100d; }

/* Shared hierarchy for active play. Keep the existing positions and controls. */
.immersive .imTop, .immersive #imViews {
  background: #111c16fa;
  border-color: #d0be8e37;
}
.immersive #imIdentity span { color: var(--af-gold); font-weight: 750; letter-spacing: .12em; }
.immersive #imTicker button { color: var(--af-ink); border-radius: 8px; }
.immersive #imViews button[aria-pressed=true] {
  color: #ffe2af;
  background: linear-gradient(#423722,#272b1e);
  border-color: #caa26794;
}
.immersive.liveShelter #imActions button,
.immersive.liveShelter #imSceneTools button {
  background-color: #15241bf5;
  border-color: #c3cba955;
  color: var(--af-ink);
}
.immersive.liveShelter #imActions [data-im-action=build] {
  background: linear-gradient(#efd09a,#d3ac73);
  color: var(--af-gold-ink);
  border-color: #ffdea7;
}
.immersive .imSceneTitle { border-left: 2px solid #d8b47f; color: var(--af-ink); }
.immersive #imFaces button {
  background: #16231bfa;
  border-color: #c3cba969;
  border-radius: 9px;
  overflow: hidden;
}
.immersive #imFaces button:focus-visible { outline-offset: 2px; }
.immersive #imPerson .imPersonPhoto {
  display: block;
  width: 100%;
  height: clamp(170px, 32vh, 300px);
  max-height: none;
  margin: 0 0 13px;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid var(--af-edge);
  border-radius: 12px;
}
.immersive #imPerson h2 { color: var(--af-ink); font-family: system-ui, sans-serif; font-weight: 750; }
.immersive.imSheetOpen #imPerson.imActivePanel > h2 { display: none; }
.immersive #imPerson .imPersonVitals > span {
  border-color: var(--af-edge);
  background: var(--af-panel);
}

#regionMapPanel .atlasHeading h2 { color: var(--af-ink); font: 710 clamp(24px,5vw,36px)/1.15 system-ui, sans-serif; }
#regionMapPanel .atlasMap {
  background: #354332;
  border: 1px solid #c7c29668;
  border-radius: 13px;
}
#regionMapPanel .atlasTools select { min-height: 44px; font-size: 16px; }
.immersive #game #regionMapPanel .atlasPin {
  color: var(--af-ink);
  background: #14251df8;
  border-color: #decc9baa;
  border-radius: 8px;
}
.immersive #game #regionMapPanel .atlasPin:is([aria-pressed=true],.atlasHome) {
  background: #edcc94;
  color: #201a12;
  border-color: #fff2d2;
}
#regionMapPanel .atlasPlaces button { background: var(--af-panel); border-color: var(--af-edge); border-radius: 9px; }
#regionMapPanel .atlasPlaces button[aria-pressed=true] { border-color: var(--af-gold); background: #363020; }
#regionMapPanel .atlasPlaces strong { color: var(--af-ink); }
#regionMapPanel .atlasPlaces small, #regionMapPanel .atlasNote { color: var(--af-muted); }
#regionMapPanel .atlasSettlement { border-color: var(--af-edge); }
.immersive[data-im-scene=world] #game #regionMapPanel {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 12px 12px;
  background: #142119;
}
.immersive[data-im-scene=world] #game #regionMapPanel .atlasHeading {
  display: block !important;
  padding-right: 108px;
}
.immersive[data-im-scene=world] #game #regionMapPanel .atlasHeading :is(.eyebrow,button) {
  display: none;
}
.immersive[data-im-scene=world] #game #regionMapPanel .atlasHeading p {
  color: var(--af-muted);
  line-height: 1.2;
}
.immersive[data-im-scene=world] #game #regionMapPanel .atlasMap {
  position: relative;
  inset: auto;
  height: 100%;
  max-height: none;
  background: linear-gradient(#17241eb8,#17241ed4), url('mobile-art/region.webp') center / cover;
  border: 1px solid #acaa7b66;
  border-radius: 12px;
}
.immersive[data-im-scene=world] :is(.imSceneTitle,#imFaces,#storyCompass),
.immersive[data-im-scene=world] #imActions button:not([data-im-action=menu]) { display: none !important; }
.immersive[data-im-scene=world] #imActions { top: calc(var(--im-top) + 8px); }
.immersive[data-im-scene=world] #imActions [data-im-action=menu],
.immersive[data-im-scene=world] #imSceneTools button {
  background: #253729;
  color: #fbebcd;
  border-color: #bfba945d;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 4px;
}
.immersive[data-im-scene=world] #imSceneTools {
  top: calc(var(--im-top) + 8px);
  bottom: auto;
  right: 65px;
}
.immersive[data-im-scene=world]:not(.imSheetOpen) #game #regionMapPanel .atlasPlaces {
  display: grid !important;
  justify-self: center;
  width: min(620px, 100%);
  margin-top: 0;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  z-index: 4;
}
.immersive #game #regionMapPanel .atlasPlaces button {
  min-width: 0;
  box-shadow: 0 3px 14px #0b130d99;
}
.immersive #game #regionMapPanel .atlasPlaces span { padding: 7px; }
.immersive #game #regionMapPanel .atlasPlaces strong { font-size: 12px; line-height: 1.15; }
.immersive #game #regionMapPanel .atlasPlaces img { height: clamp(48px, 9dvh, 82px); }

@media (max-width: 600px) {
  body:not(.immersive) main:has(#setup:not([hidden]) .front-hero) { padding: 10px; }
  .front-hero { min-height: 218px; }
  .immersive #game #regionMapPanel .atlasPlaces {
    gap: 8px;
  }
  .immersive #game #regionMapPanel .atlasPlaces button {
    display: grid;
    align-content: start;
    white-space: normal;
    min-height: 105px;
  }
  .immersive #game #regionMapPanel .atlasPlaces img { width: 100%; height: 48px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .immersive[data-im-scene=world] #game #regionMapPanel {
    grid-template-columns: minmax(0,1fr) minmax(147px,25%);
    grid-template-rows: auto minmax(0,1fr);
    gap: 7px 12px;
  }
  .immersive[data-im-scene=world] #game #regionMapPanel .atlasHeading {
    grid-column: 1 / -1;
    min-height: 42px;
  }
  .immersive[data-im-scene=world] #game #regionMapPanel .atlasHeading h2 { font-size: 23px; }
  .immersive[data-im-scene=world] #game #regionMapPanel .atlasMap { grid-column: 1; grid-row: 2; }
  .immersive[data-im-scene=world]:not(.imSheetOpen) #game #regionMapPanel .atlasPlaces {
    grid-column: 2;
    grid-row: 2;
    align-content: center;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .immersive #game #regionMapPanel .atlasPlaces img { display: none; }
  .immersive #game #regionMapPanel .atlasPlaces button { min-height: 46px; }
  .immersive #game #regionMapPanel .atlasPin span { display: none; }
  .immersive #imPerson .imPersonPhoto {
    float: left;
    width: 38%;
    height: 169px;
    margin: 0 12px 8px 0;
  }
}
@media (max-width: 600px) {
  .immersive #game #regionMapPanel .atlasPin {
    justify-content: center;
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 5px;
  }
  .immersive #game #regionMapPanel .atlasPin span { display: none; }
}
@media (max-width: 350px) {
  #setup .front-cast #survivorSelection { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 380px) and (max-height: 680px) {
  .immersive.liveShelterPanel #liveShelterFloors { display: none; }
}
@media (orientation: landscape) and (max-height: 385px) {
  .immersive[data-im-scene=world]:not(.imSheetOpen) #game #regionMapPanel .atlasPlaces {
    align-content: stretch;
    gap: 4px;
  }
  .immersive #game #regionMapPanel .atlasPlaces button { min-height: 44px; }
  .immersive #game #regionMapPanel .atlasPlaces small { display: none; }
  .immersive[data-im-scene=shelter] #storyCompass {
    top: calc(var(--im-top, 48px) + 60px);
    width: min(185px, 36vw);
    backdrop-filter: none;
  }
  #storyCompass .storyCompassGo { min-height: 44px; padding: 5px 7px; }
  #storyCompass :is(.storyCompassPortrait,.storyCompassMark) { height: 28px; width: 25px; }
  #storyCompass .storyCompassCopy > span, #storyCompass .storyCompassArrow { display: none; }
  #storyCompass .storyCompassPlan > summary { height: 44px; }
  .immersive.liveShelter #imFaces {
    left: 222px;
    right: 100px;
    bottom: calc(var(--im-bottom) + 9px);
    max-width: none;
  }
  .immersive.liveShelterPanel #imActions { visibility: hidden; }
}

.front-era-options{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
.front-era-options button{
 min-height:46px;padding:6px 4px;color:var(--af-ink);
 background:#202e26;border:1px solid var(--af-edge);border-radius:8px;
}
.front-era-options button[aria-pressed=true]{
 color:#ffe5b5;background:#443a27;border-color:var(--af-gold);
}
#setup>.battlePracticeFront{margin-inline:clamp(16px,5vw,40px)}
@media(min-width:540px) and (max-height:560px) and (orientation:landscape){
 .front-hero{min-height:136px;padding:15px 22px}
 .front-hero h1{font-size:42px}
 .front-choices{grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);align-items:start;gap:12px}
 .front-cast{grid-column:1;grid-row:1/span 2}
 .front-date{grid-column:2}
 #setup .front-choices #begin{grid-column:2}
 #setup .front-cast #survivorSelection img{aspect-ratio:1}
}


/* field-trail.css */
#fieldTrailPanel {
  color: #f0e7d6;
  background: #182720;
  border: 1px solid #77654c;
  border-radius: 16px;
  padding: clamp(14px, 4vw, 24px);
}
#fieldTrailPanel[hidden] { display: none; }
.fieldTrailHeading h2 { margin: 4px 0 12px; }
.fieldTrailReturn {
  border-left: 2px solid #d7b574;
  padding-left: 12px;
}
.fieldTrailActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 16px 10px;
}
.fieldTrailActions button { min-height: 46px; }
.fieldTrailBlocked { color: #f3c69f; }
.routeTrailBeat { color: #f0d5a4; margin: 4px 0; }
.fieldRelay {
  padding: 14px 0;
  margin: 10px 0;
  border-block: 1px solid #7c6c515e;
}
.fieldRelay h3 { margin-top: 0; }
.fieldRelay button { min-height: 46px; }
.fieldRelay small { display: block; margin-top: 6px; }


/* mentoring.css */
#mentoringPanel { color:#efe9d9; }
#mentoringPanel[hidden],.mentoringEntry[hidden] { display:none!important; }
#mentoringPanel h2 { margin:.18em 0 .35em; }
#mentoringPanel header>p { margin:.2em 0 .7em; }
.mentoringPeople { display:flex; gap:8px; overflow:auto; padding:4px 3px 8px; }
.mentoringPeople button,.mentoringPerson button,.mentoringLesson button,.mentoringEntry {
  min-height:44px;
  touch-action:manipulation;
}
.mentoringPeople button { flex:0 0 auto; }
.mentoringPeople [aria-pressed="true"] { background:#d7bd86;color:#19281e; }
.mentoringPerson {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px 14px;
 margin-block:9px;
 padding-block:7px;
 border-block:1px solid #a6936063;
}
.mentoringPerson button { margin-inline-start:auto; }
.mentoringLessons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-block:10px; }
.mentoringLesson { background:#1d2e25; border:1px solid #71807485; border-radius:12px; padding:11px; }
.mentoringLesson header { display:flex; justify-content:space-between; align-items:baseline; gap:8px; flex-wrap:wrap; }
.mentoringLesson h3 { margin:0; font-size:1rem; }
.mentoringLesson header span,.mentoringLesson small { color:#ded5bb; font-size:.82rem; }
.mentoringLesson>p { margin:7px 0; }
.mentoringLesson details { margin-top:6px; }
.mentoringActive { border-color:#d3af72; }
.mentoringActive small { display:block; margin-top:6px; }
.mentoringLock { color:#f6c89b; }
.mentoringEntry { margin-block:6px 12px; }
@media (max-width:450px) { .mentoringLessons { grid-template-columns:1fr; } }


/* district-requests.css */
#districtRequestsPanel[hidden] { display:none!important; }
.fieldBoardCard {
 background:#1d3025;
 border:1px solid #7e8469;
 border-radius:12px;
 margin:9px 0;
 padding:12px;
}
.fieldBoardCard header,.fieldBoardActions,.fieldBoardCost {
 display:flex;
 flex-wrap:wrap;
 align-items:baseline;
 gap:8px 12px;
}
.fieldBoardCard h3 { font-size:1.06rem; margin:0; }
.fieldBoardCard header span,.fieldBoardCost { color:#e6d6b4; font-size:.82rem; }
.fieldBoardCost { justify-content:space-between; }
.fieldBoardActive { border-color:#d7b878; }
.fieldBoardReason { color:#f6c79b; }
.fieldBoardActions button,[data-open-district] { min-height:44px; touch-action:manipulation; }
.fieldBoardActions button[data-district-action="deliver"] { background:#d7bc82;color:#16261c; }
.immersive[data-im-scene="world"]:not(.imSheetOpen) #game #regionMapPanel > .atlasRequestShortcut {
 display:inline-flex!important;
 align-items:center;
 position:absolute;
 top:78px;
 left:calc(22px + env(safe-area-inset-left));
 z-index:5;
 padding:0 12px;
 border-color:#c4b787;
 border-radius:8px;
 background:#22372b;
 color:#fff1cc;
 box-shadow:0 3px 14px #0b130d75;
}


/* zombie-battle.css */
#zombieBattle[hidden]{display:none}
body.battleOpen{overflow:hidden}
body.battleOpen #liveSceneQABadge{display:none}
#zombieBattle{
 position:fixed;
 inset:0;
 z-index:250;
 overflow:auto;
 overscroll-behavior:contain;
 background:#121b1a;
 color:#f4ebd8;
 font-family:system-ui,sans-serif;
}
.battleFrame{
 box-sizing:border-box;
 min-height:100dvh;
 max-width:1220px;
 margin:auto;
 padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
 display:flex;
 flex-direction:column;
 gap:8px;
}
.battleFrame>header{
 display:grid;
 grid-template-columns:auto minmax(0,1fr) auto;
 align-items:center;
 gap:10px;
 padding:0 2px;
 width:100%;
 margin:0;
}
.battleFrame>header p{margin:0;color:#ccc1a7;font-size:.77rem}
.battleFrame h2{margin:0;color:#fbedd4;font-size:clamp(1.21rem,5vw,1.9rem);line-height:1.08}
.battlePortrait{
 width:46px;
 height:46px;
 object-fit:cover;
 object-position:center 30%;
 border:1px solid #8a7958;
 border-radius:8px;
}
.battleScout{
 display:grid;
 place-items:center;
 background:#2f3d30;
 color:#f0ce89;
 font-weight:740;
}
.battleVitals{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}
.battleMeter,.battleStock{
 padding:7px 9px;
 border:1px solid #70674c;
 border-radius:8px;
 color:#e5dcc5;
 background:#202b23;
 font-size:.73rem;
}
.battleMeter>span{display:flex;justify-content:space-between;gap:3px}
.battleMeter meter{width:100%;height:8px;margin-top:4px;display:block}
.battleMeter meter::-webkit-meter-bar{background:#131b18;border:0;border-radius:4px}
.battleMeter meter::-webkit-meter-optimum-value{background:#b86f61}
.battleMeter .battleMeter-stamina::-webkit-meter-optimum-value{background:#c2aa64}
.battleStock{display:flex;align-items:center;gap:6px;justify-content:space-between}
.battleStock b{font-size:1.05rem;color:#fedca0}
.battlePlay{flex:1;display:grid;grid-template-rows:minmax(240px,1fr) auto;min-height:0;gap:8px}
.battleField{
 isolation:isolate;
 background:linear-gradient(180deg,#121c1c38,#11181920 38%,#101715aa 83%,#101715e8),url('mobile-art/battle-court.webp') center 55%/cover;
 border:1px solid #786748;
 border-radius:13px;
 overflow:hidden;
 min-height:240px;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.battleField[data-battle-place="yard"]{
 background-image:linear-gradient(180deg,#121c1c26,#11181916 38%,#10171597 74%,#101715e9),url('mobile-art/yard-defense.webp');
 background-position:center 55%;
}
#zombieBattle .battleField[data-battle-place="depot"]{
 background-image:linear-gradient(180deg,#111b181a,#18262143 45%,#131f19c9),url('mobile-art/depot.webp');
}
#zombieBattle .battleField[data-battle-place="exchange"]{
 background-image:linear-gradient(180deg,#151d121a,#28271b38 45%,#161d15d0),url('mobile-art/exchange-v2.webp');
}
#zombieBattle .battleField[data-battle-place="relay"]{
 background-image:linear-gradient(180deg,#1724231a,#20291e4a 45%,#101a16d0),url('mobile-art/relay.webp');
}
.battleLane{
 display:grid;
 grid-template-rows:auto minmax(0,1fr) 51px;
 min-width:0;
 min-height:0;
 padding:6px 4px;
 border-inline-end:1px solid #d7bb7950;
}
.battleLane:last-child{border-inline-end:0}
.battleLane[data-runner-lane="true"]{box-shadow:inset 0 3px #eacb7bcc,inset 0 0 0 1px #eacb7baa}
.battleLane[data-runner-lane="true"] h3{border-color:#efd18b;color:#ffd78e}
.battleLane[data-current="true"]{background:#cbb47728;box-shadow:inset 0 -3px #e9c585}
.battleLane h3{
 width:max-content;
 max-width:100%;
 margin:0 auto;
 padding:4px 10px;
 border:1px solid #c4b384b0;
 border-radius:5px;
 background:#161f1bee;
 color:#f2e9d2;
 font-size:.76rem;
}
.battleTargets{
 min-height:0;
 display:flex;
 flex-wrap:wrap;
 justify-content:center;
 align-content:end;
 align-items:end;
 gap:3px;
 padding:4px 0;
}
#zombieBattle button,.battleOffer button{
 border:1px solid #99845f;
 border-radius:8px;
 color:#f6ebd1;
 background:#263529;
 box-shadow:none;
 min-height:44px;
 text-transform:none;
 touch-action:manipulation;
}
#zombieBattle button:focus-visible,.battleOffer button:focus-visible{outline:2px solid #ffe8b6;outline-offset:2px}
#zombieBattle button:disabled{color:#b3b8ad;opacity:.65}
#zombieBattle .battleEnemy{
 width:min(132px,100%);
 max-width:100%;
 min-width:0;
 margin:0;
 position:relative;
 display:grid;
 justify-items:center;
 gap:0;
 padding:0 2px;
 background:transparent;
 border-color:transparent;
}
.battleEnemy img{
 display:block;
 width:auto;
 max-width:100%;
 height:clamp(66px,18dvh,164px);
 object-fit:contain;
 object-position:bottom;
 filter:drop-shadow(1px 7px 4px #000c);
}
.battleEnemy[data-kind="heavy"] img{filter:drop-shadow(1px 7px 4px #000c)}
.battleEnemy[data-range="3"] img{height:clamp(44px,13dvh,112px)}
.battleEnemy[data-range="2"] img{height:clamp(52px,15dvh,137px)}
@media(min-height:700px){
 .battleEnemy[data-range="2"]{margin-bottom:15px}
 .battleEnemy[data-range="3"]{margin-bottom:32px}
}
#zombieBattle .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy{width:calc(50% - 2px)}
#zombieBattle .battleLane:has(.battleEnemy:nth-child(3)) .battleEnemy{width:calc(33.333% - 2px)}
.battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy img{height:clamp(37px,10dvh,100px)}
.battleEnemy>span{
 width:100%;
 box-sizing:border-box;
 display:grid;
 justify-items:center;
 gap:1px;
 padding:4px 2px;
 background:#14211ef2;
 border:1px solid #847e63;
 border-radius:7px;
 overflow-wrap:anywhere;
}
.battleEnemy strong{font-size:clamp(.66rem,2.5vw,.89rem);line-height:1.1}
.battleEnemy small{color:#dbd3be;font-size:clamp(.59rem,2.1vw,.74rem);line-height:1.1}
.battleEnemyShort{display:none}
.battleLane:has(.battleEnemy:nth-child(3)) .battleEnemyName{display:none}
.battleLane:has(.battleEnemy:nth-child(3)) .battleEnemyShort{display:inline}
#zombieBattle .battleEnemy[aria-pressed="true"]{border-color:#ebcb88}
.battleEnemy[data-intent="attack"]>span .battleIntent{color:#ffd3c6;font-weight:760}
.battleEnemy[data-intent="attack"]>span{border-color:#e59577;background:#382521f5}
.battleIntent b{
 display:inline-grid;
 place-items:center;
 width:1em;
 height:1em;
 color:#3a251f;
 background:#eaa17f;
 border-radius:50%;
}
.battleSilhouette{display:none}
.battleMissingArt img{display:none}
.battleMissingArt .battleSilhouette{
 display:block;
 width:min(57px,85%);
 height:clamp(30px,13dvh,116px);
 margin-bottom:3px;
 background:#627365;
 clip-path:polygon(39% 0,62% 0,72% 21%,85% 31%,95% 71%,78% 70%,73% 49%,71% 73%,82% 100%,63% 100%,50% 76%,40% 100%,18% 100%,32% 68%,25% 47%,21% 70%,3% 70%,15% 29%,30% 21%);
}
.battleLaneFoot{display:grid;align-items:end;justify-items:center;min-width:0;padding:0 3px;color:#ffe8a9}
.battleLaneFoot>strong{font-size:.72rem;padding:8px 0}
.battlePlayerLane{display:flex;align-items:center;justify-content:center;gap:4px}
.battlePlayerLane img{object-fit:cover;object-position:center 28%;border:1px solid #e8c386;border-radius:5px}
.battlePlayerLane span{width:9px;height:9px;rotate:45deg;background:#ebc37b;border-radius:2px}
#zombieBattle .battleMove{width:100%;font-size:.68rem;background:#192721e8;padding:3px}
#zombieBattle .battleRetreat{font-size:.76rem;padding:5px 10px;background:#2b2520;color:#e9d6bc}
.battleHeaderTools{display:flex;align-items:center;gap:4px}
#zombieBattle .battleSound{
 font-size:.67rem;
 padding:5px 7px;
 white-space:nowrap;
}
#zombieBattle .battleSound[aria-pressed="true"]{color:#211f16;background:#d8b579}
.battleDock{display:grid;gap:7px;align-content:start}
.battleTargetReadout,.battleLast,.battleResult{margin:0;padding:7px 8px}
.battleTargetReadout{display:flex;justify-content:space-between;gap:5px;color:#f2d290;font-size:.8rem}
.battleTurn{font-size:.7rem;color:#c9c0a9}
.battleLast{min-height:1.35em;color:#eee4cc;background:#202d26;border-radius:7px;font-size:.79rem}
.battleControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.battleControls button,.battleResult button{padding:6px 8px;text-align:left;min-width:0}
.battleControls button strong,.battleControls button small,.battleResult button small,.battleOffer button small{display:block}
.battleControls button small,.battleResult button small,.battleOffer button small{margin-top:2px;color:#d9d0b8;font-size:.69rem}
.battleControls button[data-battle-action="strike"]:not(:disabled){background:#633529;border-color:#d9aa83}
.battleResult{border:1px solid #887852;border-radius:9px;background:#263228}
.battleResult h3,.battleResult p{margin:0 0 4px}
.battleResult p{color:#d9d0bb;font-size:.8rem}
.battleResult button{width:100%;margin-top:4px}
.battleEffects{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.battleEffects span{padding:4px 7px;border:1px solid #9d855874;border-radius:6px;color:#e8d4a9;font-size:.75rem}
#zombieBattle .battlePrimary{color:#1f2117;background:#e0bb79}
.battlePrimary small{color:inherit}
.battleSave{border-radius:8px;padding:6px;background:#492a27;color:#ffe5d4;font-size:.78rem}
.battleOffer{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0;color:#ead3a3}
.battleOffer span{font-size:.74rem}
.battleOffer button{padding:6px 12px;text-align:left;background:#54372a}
.battleDefenseOffer{
 padding:10px 11px;
 border:1px solid #a5794a;
 border-radius:9px;
 background:#302b22;
}
.battleDefenseOffer p{flex-basis:100%;margin:0 0 2px}
.battleDefenseOffer p>*{display:block}
.battleDefenseOffer p span{margin-top:3px}
.battleDefenseOffer button{min-height:44px}
.battleSr{
 position:absolute;
 width:1px;
 height:1px;
 overflow:hidden;
 clip-path:inset(50%);
 white-space:nowrap;
}
.battleHint{
 margin:0;
 padding:7px 8px;
 border-left:2px solid #caba82;
 border-radius:4px;
 color:#efe0b8;
 background:#303422;
 font-size:.77rem;
}
.battlePracticeFront{
 min-height:44px;
 margin:0 0 9px;
 padding:7px 12px;
 border:1px solid #97875d;
 background:#26342c;
 color:#efddb6;
}
.battlePracticeTravel{
 min-height:44px;
 padding:7px 12px;
}
.travelStoryShortcuts{
 position:absolute;
 z-index:3;
 bottom:max(12px,env(safe-area-inset-bottom));
 inset-inline:12px;
 display:flex;
 justify-content:center;
 flex-wrap:wrap;
 gap:5px;
 pointer-events:none;
}
.travelStoryShortcuts button{
 position:static;
 translate:none;
 min-height:44px;
 min-width:0;
 padding:6px 10px;
 font-size:.79rem;
 pointer-events:auto;
}
#imTravel:has(.travelStoryShortcuts) .imTravelPlaces{bottom:max(62px,calc(env(safe-area-inset-bottom) + 50px));padding-bottom:4px}
@media(max-width:700px){
 .immersive[data-im-scene="travel"]:has(.travelStoryShortcuts) #imFaces{display:none!important}
}
.battlePracticeMenu{
 max-width:min(100%,670px);
 justify-content:center;
 gap:12px;
}
.battlePracticeIntro{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:8px 12px;
 align-items:center;
}
.battlePracticeIntro p{
 grid-column:1/-1;
 margin:0;
 color:#e0d4bd;
 font-size:.84rem;
}
.battlePracticeIntro button{padding:6px 14px}
.battlePracticeMenu label{display:grid;gap:6px;font-size:.82rem;color:#e7d8b5}
.battlePracticeMenu select{
 min-height:44px;
 width:100%;
 padding:8px 10px;
 border:1px solid #9e8e64;
 border-radius:8px;
 background:#232f27;
 color:#f6ebd5;
 font-size:1rem;
}
.battleDrills{display:grid;gap:8px}
.battleDrills button{
 display:grid;
 gap:4px;
 text-align:left;
 padding:10px 12px;
}
.battleDrills button span{font-size:.77rem;color:#dfd2b7}
@media(min-width:735px){
 .battleDrills{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:735px),(min-width:540px) and (orientation:landscape){
 .battleFrame{padding-top:max(9px,env(safe-area-inset-top))}
 .battlePlay{grid-template-columns:minmax(0,2.1fr) minmax(220px,1fr);grid-template-rows:minmax(225px,1fr);align-items:stretch}
 .battleField{min-height:225px}
 .battleDock{align-content:center}
 .battleTargets{align-content:center}
}
@media(min-width:540px) and (max-height:520px) and (orientation:landscape){
 .battleFrame{gap:5px}
 .battleFrame:not(.battlePracticeMenu){height:max(343px,100dvh)}
 .battleFrame>header{height:44px}
 .battlePortrait{width:38px;height:38px}
 .battleVitals{grid-template-columns:1fr 1fr auto}
 .battleMeter,.battleStock{padding:4px 7px;margin:0}
 .battlePlay{flex:1 0 205px;grid-template-rows:minmax(0,1fr)}
 .battleField{min-height:205px}
 .battleLane{grid-template-rows:auto minmax(0,1fr) 46px}
 .battleEnemy img{height:clamp(48px,21dvh,120px)}
 .battleEnemy[data-range="2"] img,.battleEnemy[data-range="3"] img{height:clamp(36px,16dvh,90px)}
 .battleLane:has(.battleEnemy:nth-child(3)) .battleEnemy strong,
 .battleLane:has(.battleEnemy:nth-child(3)) .battleEnemy small{font-size:.65rem;overflow-wrap:normal}
 .battleDock{align-content:start;overflow:auto}
}
@media(max-width:440px) and (max-height:700px){
 .battleFrame{gap:6px;padding-block:max(9px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-bottom))}
 .battleFrame:not(.battlePracticeMenu){height:100dvh}
 .battleFrame>header{gap:5px}
 .battleFrame h2{font-size:clamp(1.08rem,4.6vw,1.35rem)}
 .battlePortrait{width:35px;height:35px}
 .battleMeter,.battleStock{padding:4px 6px;margin:0}
 #zombieBattle .battleRetreat{padding:4px 6px;white-space:nowrap;font-size:.69rem}
 #zombieBattle .battleSound{padding:4px 5px}
 .battlePlay{grid-template-rows:minmax(202px,1fr) auto}
 .battleField{min-height:202px}
 .battleLane{grid-template-rows:auto minmax(0,1fr) 46px}
 .battleEnemy img{height:clamp(43px,12dvh,86px)}
 .battleEnemy[data-range="2"] img,.battleEnemy[data-range="3"] img{height:clamp(34px,10dvh,72px)}
 .battleDock{gap:5px}
 .battleTargetReadout,.battleLast,.battleResult{padding:4px 6px}
 .battleControls button{padding:4px 7px;line-height:1.24}
 .battleControls button strong{font-size:.84rem}
}
@media(max-width:440px){
 #zombieBattle .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy{width:100%}
 .battleLane:has(.battleEnemy:nth-child(2)) .battleTargets{flex-wrap:nowrap;flex-direction:column;justify-content:end;gap:2px}
 #zombieBattle .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy{display:block;position:relative;min-height:44px}
 .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy img,
 .battleLane:has(.battleEnemy:nth-child(2)) .battleSilhouette{
  position:absolute;inset-inline-start:0;bottom:0;width:33px;height:42px;opacity:.68;pointer-events:none;
 }
 .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy>span{position:relative;min-height:42px;padding:2px 2px 2px 13px;background:#14211ecc}
 .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemy[data-intent="attack"]>span{background:#382521dc}
 .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemyName{display:none}
 .battleLane:has(.battleEnemy:nth-child(2)) .battleEnemyShort{display:inline}
}

.battleLane[data-incoming=true] h3{border-color:#f1a78a;color:#ffdbce;background:#492b24}
.battleControls.hasShove{grid-template-columns:repeat(6,minmax(0,1fr))}
.battleControls.hasShove button{grid-column:span 2}
.battleControls.hasShove button:nth-last-child(-n+2){grid-column:span 3}
@media(max-width:420px){
 .battleControls.hasShove button{padding-inline:5px}
 .battleControls.hasShove button small{font-size:.63rem}
}

.battleControls button small.battleCompactCost{display:none}
@media(min-width:540px) and (max-width:734px) and (orientation:landscape){
 .battlePlay{grid-template-columns:minmax(0,1fr) minmax(194px,.62fr)}
 .battleControls button{padding:4px 5px;font-size:.76rem;line-height:1.1}
 .battleControls button small{display:none}
 .battleControls button small.battleCompactCost{display:block;font-size:.61rem;white-space:nowrap}
 .battleEnemy strong{font-size:.62rem;overflow-wrap:normal}
 .battleLane h3{padding-inline:5px}
 .battleLane .battleEnemyName{display:none}
 .battleLane .battleEnemyShort{display:inline}
 .battleDrills{grid-template-columns:repeat(3,minmax(0,1fr))}
}

#zombieBattle [data-battle-face][hidden],#zombieBattle .battlePortrait[hidden],
#zombieBattle .battlePlayerLane span[hidden]{display:none}
.battleField{position:relative}
.battleField:is([data-battle-weather=rain],[data-battle-weather=heat])::before{
 content:'';position:absolute;pointer-events:none;z-index:-1;inset:0;
}
.battleField[data-battle-weather=rain]::before{
 background:linear-gradient(160deg,#526c7960,transparent 55%),
 repeating-linear-gradient(108deg,transparent 0 27px,#a5c3cc17 27px 28px,transparent 28px 52px);
}
.battleField[data-battle-weather=heat]::before{
 background:radial-gradient(ellipse at 78% 12%,#e0aa5b3e,transparent 60%);
}

.battleObjectiveTrack{display:inline-flex;align-items:center;gap:3px;margin-inline-start:5px;vertical-align:middle}
.battleObjectiveTrack i{display:block;width:8px;height:5px;border-radius:2px;background:#2c3832;border:1px solid #8b866c}
.battleObjectiveTrack i[data-complete=true]{background:#e8c98d;border-color:#e8c98d}
@media(orientation:landscape) and (max-width:734px){
 .battleObjectiveTrack{gap:2px;margin-inline-start:3px}
 .battleObjectiveTrack i{width:5px}
}

@media(orientation:landscape) and (min-width:540px) and (max-height:345px){
 .battleFrame:not(.battlePracticeMenu){
  height:100dvh;min-height:310px;
  padding-block:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-bottom));
 }
 .battleFrame:not(.battlePracticeMenu)>header{flex:0 0 44px}
 .battleFrame:not(.battlePracticeMenu) h2{font-size:clamp(1.12rem,3.8vw,1.42rem)}
}


/* pump-story.css */
#pumpStoryPanel[hidden]{display:none!important}
.pumpStory>header h2{margin:4px 0}
.pumpStory .pumpVoice{
 display:grid;
 grid-template-columns:auto 1fr;
 align-items:start;
 gap:10px;
 margin:12px 0;
 padding:9px;
 border:1px solid #927d588a;
 border-radius:9px;
 background:#1a2c25;
}
.pumpVoice img{width:50px;height:50px;border-radius:6px;object-fit:cover;object-position:center 30%}
.pumpVoice p{margin:3px 0;font-size:.9rem}
.pumpStory button,[data-open-pump]{min-height:44px}
#zombieBattle .battleField[data-battle-place="pump"]{
 background-image:linear-gradient(180deg,#1c2a2e28,#15232038 45%,#10221ec2 83%,#101d18ec),url('mobile-art/pump.webp');
}


/* battle-recovery.css */
.battleCare{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(125px,auto);
 align-items:end;
 gap:8px;
 padding:12px;
 margin:10px 0;
 border:1px solid #839677;
 border-radius:10px;
 color:#f4f2dc;
 background:linear-gradient(130deg,#2b4234,#1e2f29);
}
.battleCareIntro{grid-column:1/-1}
.battleCare h3{margin:0 0 4px;font-size:1.06rem;color:#f7f2d5}
.battleCare p{margin:0;color:#d4dec9;font-size:.84rem}
.battleCare label{display:grid;gap:4px;font-size:.72rem}
.battleCare select,.battleCare button{min-height:44px;width:100%;margin:0;color:#f9f2dd;border:1px solid #95a688;border-radius:7px}
.battleCare select{min-width:0;background:#182922}
.battleCare button{background:#47644b}
.battleCare button small{display:block;color:#e7ecd9}
.battleCare .battleCareStatus{grid-column:1/-1}
@media(max-width:350px){.battleCare{grid-template-columns:minmax(0,1fr)}}


/* ferry-story.css */
#ferryStoryPanel[hidden]{display:none!important}
.ferryStory>header{display:block;width:100%;margin:0;padding:0;border:0}
.ferryStory>header h2{margin:4px 0 10px}
.ferryView{
 min-height:110px;
 aspect-ratio:2.8;
 background:linear-gradient(0deg,#101d14ae,transparent),url('mobile-art/ferry.webp') center 58%/cover;
 border:1px solid #917c53;
 border-radius:10px;
}
.ferryVoice{
 display:flex;
 gap:12px;
 align-items:center;
 margin:8px 0;
}
.ferryVoice img{border-radius:8px;object-fit:cover;border:1px solid #a28e63}
.ferryVoice figcaption{display:grid;gap:3px}
.ferryVoice small,.ferryChoices small{display:block;color:#d2c9ac}
.ferryChoices{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px}
.ferryChoices button,[data-open-ferry]{min-height:44px;text-align:left}
.ferryHandoff{
 padding:8px 10px;
 border:1px solid #879a75;
 border-radius:8px;
 color:#e6edca;
 background:#243929;
}
#zombieBattle .battleField[data-battle-place="ferry"]{
 background-image:linear-gradient(180deg,#101b1710,#101b1755 55%,#0c1913d8),url('mobile-art/ferry.webp');
}
.battleEscort{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1.28fr);
 gap:5px;
 align-items:center;
 padding:5px 7px;
 border:1px solid #9a8d5c;
 border-radius:8px;
 background:#26372b;
}
.battleEscort>span{color:#f4e0af;font-size:.72rem}
#zombieBattle .battleEscort button{
 padding:4px 8px;
 text-align:left;
 background:#405539;
 font-size:.79rem;
}
.battleEscort button small{display:block;font-size:.66rem}
@media(min-width:735px) and (max-height:520px){
 .battleDock:has(.battleEscort){gap:5px}
 .battleDock:has(.battleEscort) :is(.battleTargetReadout,.battleLast){padding:4px 6px;line-height:1.2}
 .battleDock:has(.battleEscort) .battleControls button{padding:4px 7px;line-height:1.2}
 .battleDock:has(.battleEscort) .battleControls button strong{font-size:.85rem}
}


/* quick-outing.css */
#outingBoard.imActivePanel:has(.outingQuick)>:is(.outingPlaces,.eyebrow,h3){display:none}
.outingQuick{
 display:grid;
 gap:9px;
 margin-bottom:10px;
}
@media(max-width:480px){
 .immersive #game #regionMapPanel .atlasPin{
  width:44px;min-width:44px;min-height:44px;max-width:44px;
  padding:0;justify-content:center;border-radius:50%;
 }
 .immersive #game #regionMapPanel .atlasPin span{
  position:absolute;left:50%;top:100%;transform:translateX(-50%);
  width:max-content;max-width:86px;
  padding:3px 5px;border:1px solid #a69972;border-radius:5px;
  white-space:nowrap;background:#162820ef;font-size:.61rem;line-height:1.1;
 }
}
.outingQuick h4{margin:0;font-size:clamp(1.18rem,3vw,1.6rem);color:#f6e7cd}
.outingQuick .outingDescription{margin:0;color:#e4e2cf}
.outingQuickView{
 aspect-ratio:2.6;
 min-height:105px;
 background-position:center 55%;
 background-size:cover;
 border:1px solid #998760;
 border-radius:9px;
}
.outingQuick>[data-outing-walk]{min-height:44px}
.outingAdvanced{
 border:1px solid #8a93616f;
 border-radius:9px;
 padding:7px 10px;
 color:#e2e2c8;
}
.outingAdvanced>summary{display:flex;align-items:center;min-height:43px;cursor:pointer}
.outingAdvanced[open]>summary{margin-bottom:7px}
.outingAdvanced :is(.outingReview,.outingTasks,.outingTeam){margin:8px 0}
.outingQuickDepart button{width:100%;min-height:44px}
.outingQuickDepart button small{display:block}
@media(max-height:520px) and (min-width:735px){
 .outingQuickView{aspect-ratio:4;min-height:76px}
}
#imTravel:has(.travelStoryShortcuts) .imTravelPlaces{padding-bottom:4px}
@media(max-width:950px){
 #imTravel .imTravelPlaces{
  width:auto;
  left:max(12px,env(safe-area-inset-left));
  right:max(12px,env(safe-area-inset-right));
  transform:none;
  overflow:auto hidden;
  padding:6px 4px 8px;
  scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  touch-action:pan-x;
  bottom:62px;
 }
 #imTravel .imTravelPlaces button{flex:0 0 min(34vw,135px);scroll-snap-align:start;min-height:62px}
 #imTravel .imTravelPlaces strong{font-size:.77rem;padding:5px 7px}
 #imTravel .imTravelPlaces small{display:none}
}
@media(max-width:600px) and (orientation:portrait){
 .immersive[data-im-scene="world"] #game #regionMapPanel{
  grid-template-rows:auto auto minmax(0,1fr) auto;
  gap:6px;
 }
 .immersive[data-im-scene="world"] #game #regionMapPanel .atlasHeading{grid-row:1}
 .immersive[data-im-scene="world"] #game #regionMapPanel .atlasMap{grid-row:3}
 .immersive[data-im-scene="world"]:not(.imSheetOpen) #game #regionMapPanel .atlasPlaces{
  display:flex!important;
  grid-row:4;
  width:100%;
  gap:6px;
  overflow:auto hidden;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  touch-action:pan-x;
  scrollbar-width:thin;
 }
 .immersive #game #regionMapPanel .atlasPlaces button{
  flex:0 0 min(36vw,138px);
  min-height:72px;
  scroll-snap-align:start;
 }
 .immersive #game #regionMapPanel .atlasPlaces small{display:none}
 .immersive[data-im-scene="world"]:not(.imSheetOpen) #game #regionMapPanel>.atlasRequestShortcut{
  position:static;
  grid-row:2;
  justify-self:start;
  min-height:44px;
  box-shadow:none;
 }
}


/* far-bank.css */
#farBankPanel[hidden]{display:none!important}
.farBank>header{width:100%;margin:0}
.farBank>header h2{margin:4px 0 12px}
.farBankArt{
 min-height:104px;
 aspect-ratio:3;
 border:1px solid #9c885e;
 border-radius:9px;
 background:linear-gradient(#332f1012,#192b235e),url('mobile-art/far-bank.webp') center 58%/cover;
}
.farBankWitness{
 display:flex;
 gap:9px;
 margin:10px 0;
 padding:10px;
 border:1px solid #697f63;
 border-radius:8px;
 background:#253529;
}
.farBankWitness img{object-fit:cover;border-radius:6px}
.farBankWitness p{margin:2px 0;color:#dbe3ce;font-size:.8rem}
.farBankChoices{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px}
.farBankChoices button,[data-open-far-bank]{min-height:44px;text-align:left}
.farBankChoices button small{display:block;font-size:.72rem;color:#e0d8c2}


/* ferry-memory.css */
#ferryMemoryPanel[hidden]{display:none!important}
.ferryMemory>header{display:block;width:100%;padding:0;margin:0;border:0}
.ferryMemory>header h2{margin:4px 0 10px}
.memoryWindow{
 position:relative;
 overflow:hidden;
 aspect-ratio:16/9;
 min-height:122px;
 border:1px solid #a78f63;
 border-radius:9px;
 background:#263229;
}
.memoryWindow img{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:43% 50%;
}
.memoryPresent{
 opacity:0;
 clip-path:inset(0 0 0 100%);
 transition:clip-path 750ms ease,opacity 550ms ease;
}
.memoryWindow[data-present="true"] .memoryPresent{opacity:1;clip-path:inset(0)}
.memoryOptions{display:flex;flex-wrap:wrap;gap:6px}
.memoryOptions button,[data-open-ferry-memory]{min-height:44px}
@media(prefers-reduced-motion:reduce){.memoryPresent{transition:none}}
@media(max-height:510px) and (min-width:700px){
 .memoryWindow{aspect-ratio:3.3;min-height:90px}
}

.memoryWindow{position:relative}
.memoryWindow img[hidden]{display:none}
.memoryWindow[data-unavailable=true]::after{
 content:'Scene image unavailable';position:absolute;inset:auto 10px 10px;z-index:1;
 background:#19251f;color:#f3e5c3;padding:6px 8px;border-radius:5px;font-size:.75rem;
}


/* nearby-stories.css */
#nearbyStoriesPanel[hidden]{display:none!important}
.nearbyStories>h2{margin:4px 0 11px}
.nearbyStoryRows{display:grid;gap:7px}
.nearbyStoryRows button{
 display:grid;
 grid-template-columns:52px minmax(0,1fr);
 align-items:center;
 gap:8px;
 min-height:54px;
 padding:5px 8px;
 text-align:left;
}
.nearbyStoryRows strong,.nearbyStoryRows small{display:block}
.nearbyStoryRows small{margin-top:2px;color:#d9d0b4;font-size:.72rem}
.travelStoryShortcuts [data-nearby-stories]{background:#314c3e}


/* rain-room.css */
#rainRoomPanel[hidden],.rainRoomEntry[hidden]{display:none!important}
.rainRoomEntry,.rainRoomChoices button{min-height:44px}
.rainRoomArt{
 display:block;width:100%;max-height:245px;aspect-ratio:16/9;object-fit:cover;
 object-position:50% 66%;border:1px solid #a3936c;border-radius:8px;background:#44382b;
}
.rainRoomVoice{display:flex;align-items:center;gap:9px;margin:9px 0}
.rainRoomVoice img{width:45px;height:45px;object-fit:cover;border-radius:6px}
.rainRoomVoice p,.rainRoomChoices p{margin:0;font-size:.82rem}
.rainRoomChoices{display:flex;flex-wrap:wrap;gap:7px}
.rainRoomChoices>div{flex:1 1 185px}
.rainRoomChoices>div button{margin-top:5px;width:100%}
@media(max-height:500px) and (min-width:700px){.rainRoomArt{aspect-ratio:3.6;max-height:136px}}


/* watch-bell.css */
#watchBellPanel[hidden],.watchBellEntry[hidden],#spareBowlPanel[hidden],.spareBowlEntry[hidden]{display:none!important}
:is(.watchBellArt,.spareBowlArt){
 display:block;width:100%;max-height:234px;aspect-ratio:16/9;object-fit:cover;object-position:50% 69%;
 border:1px solid #a58c5e;border-radius:8px;background:#443e31;
}
.watchBellVoice{display:flex;align-items:start;gap:8px;margin:8px 0}
.watchBellVoice img{width:42px;height:42px;border-radius:6px;object-fit:cover}
.watchBellVoice p,.watchBellChoices p{margin:0}
.watchBellVoice strong{display:block}
.watchBellChoices{display:flex;flex-wrap:wrap;gap:7px}
.watchBellChoices>div{flex:1 1 184px}
.watchBellChoices>div p{font-size:.78rem}
.watchBellChoices button,.watchBellEntry,.spareBowlEntry{min-height:44px}
.watchBellChoices>div button{margin-top:5px;width:100%}
@media(max-height:500px) and (min-width:660px){:is(.watchBellArt,.spareBowlArt){aspect-ratio:4;max-height:128px}}


/* story-voice.css */
.storyVoice{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;margin:9px 0;color:#e7e9dc;max-width:710px}
.storyVoice .storyVoicePlay,.storyVoice summary{min-height:44px;display:inline-flex;gap:8px;align-items:center;font-size:13px}
.storyVoice .storyVoicePlay{padding:0 12px;background:#263b31;border:1px solid #6b816c;color:#eef1e6;border-radius:9px}
.storyVoice .storyVoicePlay>span:first-child{color:#d8bf85;width:14px;text-align:center}
.storyVoice details{margin:0;color:#c6d3c1}
.storyVoice details[open]{flex-basis:100%}
.storyVoice summary{cursor:pointer;padding:0 6px}
.storyVoice summary::before{content:'+';color:#d8bf85}
.storyVoice details[open] summary::before{content:'−'}
.storyVoice ol{margin:0;padding:0 0 0 22px;max-height:135px;overflow:auto;overscroll-behavior:contain}
.storyVoice li,.storyVoiceCaption,.storyVoiceMessage{font-size:13px;line-height:1.45}
.storyVoice li+li{margin-top:5px}
.storyVoice li strong{display:block;color:#dfc68f}
.storyVoiceCaption{flex-basis:100%;background:#14271f;padding:8px 10px;border-left:2px solid #bea478;border-radius:3px;color:#f3f0df}
.storyVoice details[open]~.storyVoiceCaption{display:none}
.storyVoiceMessage:empty{display:none}
.storyVoiceMessage{color:#e7cf9d;flex-basis:100%}
.arrivalCaption:has(.storyVoice){max-height:56dvh;overflow:auto;overscroll-behavior:contain}
@media(max-height:520px) and (min-width:600px){
 #arrivalStory .arrivalCaption:has(.storyVoice){max-height:none;justify-content:flex-start}
 .arrivalCaption .storyVoice{margin-top:6px}
 .arrivalCaption .storyVoiceCaption{padding:5px 8px;font-size:12px}
}

