/* The world is the navigation. Only the selected place gets an upgrade surface. */
.capacity-meter,.rush-button{display:none!important}
.dock{width:auto;gap:12px;padding:7px 12px;bottom:max(14px,env(safe-area-inset-bottom))}
.dock button{width:66px;min-width:0}.dock button[data-kind]{display:none}
.mission-peek{max-width:280px}.park-sign{max-width:340px}
.quiet-anchor{pointer-events:none!important;width:150px;height:44px}
.world-hotspot{opacity:0;pointer-events:none;border:0;background:#fff6df;color:#244d42;border-radius:12px;padding:10px 15px;font:500 15px Fredoka,sans-serif;min-height:44px;white-space:nowrap}
.world-hotspot:focus-visible{opacity:1;pointer-events:auto;outline:3px solid #eaaf4c;outline-offset:4px}
.guide-arrow{display:none;font:600 57px Fredoka,sans-serif;color:#fff3ae;text-shadow:0 3px #7c7139,0 0 3px #7c7139;position:absolute;left:50%;top:-35px;transform:translateX(-50%);line-height:1;pointer-events:none}
.guide-target .guide-arrow{display:block;animation:guide-bob 1.1s ease-in-out infinite}
.guide-target::before,.guide-target::after{display:none!important}
.quiet-anchor.guide-target .world-hotspot{opacity:0}.quiet-anchor.guide-target .world-hotspot:focus-visible{opacity:1}
.focus-panel{position:absolute;right:24px;top:132px;bottom:100px;width:420px;max-height:710px;background:#fff9eb;border:0;border-radius:27px;box-shadow:0 14px 45px #243e4430;display:flex;flex-direction:column;pointer-events:auto;overflow:hidden;color:#244d42;animation:focus-enter .28s ease-out}
.focus-heading{display:flex;align-items:center;gap:12px;padding:20px 18px 16px;border-bottom:1px solid #e7ddc5;background:#fff4d9;flex:none}
.focus-heading>.upgrade-art{width:54px;height:54px;flex:none;--icon-fill:var(--place-color)}
.focus-heading>div{flex:1;min-width:0}.focus-heading p{margin:5px 0 0;font-size:12px;color:#617562;line-height:1.3}.focus-heading h2{margin:0;font-size:27px;line-height:1.08;font-weight:600;overflow-wrap:anywhere}
.focus-heading button{width:40px;height:40px;min-height:40px;display:grid;place-items:center;align-self:flex-start;border:1px solid #e6d7b5;background:#fffaf0;border-radius:50%;color:#38594b;flex:none}.focus-heading button svg{width:19px;height:19px}
.focus-body{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4cbb0 transparent;padding:0 19px 12px;min-height:0;flex:1}
.focus-panel footer{font-size:12px;text-align:center;color:#59674f;padding:9px 12px;background:#f9f0dc;flex:none}
.focus-live{display:flex;padding:17px 0;gap:14px;justify-content:space-between;border-bottom:1px solid #e8dfca}.focus-live>div{display:flex;flex-direction:column;gap:3px}.focus-live strong{font-size:23px;font-weight:600;line-height:1.1}.focus-live span{font-size:12px;color:#53694f}
.order-live{padding:12px 0 4px}.order-live span{display:block;font-size:12px;color:#53694f;margin-bottom:5px}
.focus-panel progress{display:block;width:100%;height:7px;appearance:none;border:0;background:#e8e7cf;border-radius:8px;overflow:hidden}.focus-panel progress::-webkit-progress-bar{background:#e8e7cf;border-radius:8px}.focus-panel progress::-webkit-progress-value{background:#84aa76;border-radius:8px}.focus-panel progress::-moz-progress-bar{background:#84aa76;border-radius:8px}
.order-live progress{height:5px}.order-live progress::-webkit-progress-value{background:#e4ad4a}
.investment{display:grid;grid-template-columns:42px minmax(0,1fr) 82px;gap:10px;padding:20px 0;border-bottom:1px solid #e8dfca;align-items:center}.investment:last-child{border-bottom:0}
.upgrade-art{width:40px;height:40px;fill:none;stroke:#466b57;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;--icon-fill:#c4d4a7}.upgrade-art .fill{fill:var(--icon-fill);stroke:#466b57}.upgrade-art .accent{fill:#eebf62;stroke:#9e793f}
.investment:nth-of-type(2n) .upgrade-art{--icon-fill:#f0d2a2}.investment:nth-of-type(3n) .upgrade-art{--icon-fill:#b8d7cf}
.investment-heading{display:flex;gap:6px;justify-content:space-between;align-items:baseline}.investment h3{font-weight:500;font-size:16px;line-height:1.15;margin:0}.investment-heading>span{font-size:11px;color:#56694f;white-space:nowrap}.investment-benefit{font-size:12px;line-height:1.4;margin:7px 0;display:flex;gap:5px;flex-wrap:wrap;color:#53694f}.investment-benefit strong{color:#345b44;font-weight:500}.investment-benefit>b{color:#b18b48}.investment-copy p{font-size:11px;line-height:1.45;color:#56694f;margin:7px 0 0}
.invest-button{min-height:51px;padding:9px 7px;border-radius:14px;border:0;background:#4d7845;color:#fffdf1;display:flex;flex-direction:column;gap:3px;justify-content:center;align-items:center;line-height:1.1;box-shadow:0 3px 7px #243e4420;transition:transform .12s,background .12s}.invest-button strong{font-size:16px;font-weight:600}.invest-button span{font-size:11px}.invest-button:active:not(:disabled){transform:translateY(2px)}.invest-button:hover:not(:disabled){background:#416b3c}.invest-button:disabled{opacity:1;background:#eeeadb;color:#8e9682;border-color:#dddccb;box-shadow:none;cursor:default}
.investment-done{font-size:30px;justify-self:center;color:#689f58}.finished .investment-benefit{color:#375e43}
.focus-note{font-size:13px;line-height:1.6;color:#53694f;margin:17px 0 8px}.build-story{text-align:center;padding:23px 2px 12px}.build-story>.upgrade-art{width:80px;height:80px;stroke-width:1.2}.build-story h3{font-size:25px;font-weight:500;margin:10px 0}.build-story p{font-size:15px;color:#53694f;line-height:1.55}.build-story dl{text-align:left;margin:24px 0}.build-story dl>div{display:flex;justify-content:space-between;border-bottom:1px solid #e8dfca;padding:11px 0;font-size:14px;gap:10px}.build-story dd{font-weight:500;margin:0}.build-story dt{color:#53694f}.build-story .invest-button{width:100%;min-height:62px}.build-story .invest-button strong{font-size:22px}.build-story .invest-button span{font-size:14px}.prerequisite{background:#f0ead7;padding:13px;border-radius:12px}
.extras{padding:16px 0;font-size:13px;color:#657764}.extras summary{cursor:pointer;min-height:28px}.extras>div{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:8px 0}.extras p{flex:1}.extras .invest-button{min-width:90px}.campaign{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #e8dfca}.campaign h3{font-size:24px;font-weight:500;margin:0 0 6px}.campaign p{font-size:13px;line-height:1.5;color:#53694f;margin:0}.campaign .invest-button{min-width:105px}
.place-focused .mission-peek,.place-focused .camera-tools,.place-focused .dock{visibility:hidden}.place-focused .park-sign{display:none}.place-focused .opening-guide{left:22px;right:470px;bottom:24px;width:auto;max-width:430px;top:auto}.place-focused #toast{left:calc((100% - 460px)/2);max-width:370px}
.world-pop.reaction{font-size:22px!important;color:#fff4d8;text-shadow:0 2px 1px #536747,1px 0 #536747,-1px 0 #536747}
@keyframes focus-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media(max-width:700px){
 .dock{gap:7px;bottom:max(10px,env(safe-area-inset-bottom));padding:5px 12px}.dock button{width:61px;min-height:48px}.dock svg{width:21px;height:21px}.dock span{font-size:11px}
 .mission-peek{display:none!important}.park-sign{top:94px;left:16px;right:auto;max-width:calc(100% - 90px);font-size:12px}.camera-tools{right:12px;bottom:85px}.hud{padding:12px!important}.hud .brand{width:72px}.hud .wallet{min-width:135px}.hud .wallet strong{font-size:25px}
 .focus-panel{left:8px;right:8px;top:auto;bottom:max(8px,env(safe-area-inset-bottom));width:auto;height:47%;max-height:520px;border-radius:24px 24px 19px 19px}
 .focus-heading{padding:13px 13px 11px;gap:9px}.focus-heading>.upgrade-art{width:43px;height:43px}.focus-heading h2{font-size:24px}.focus-heading p{font-size:11px}.focus-heading button{width:36px;height:36px;min-height:36px}
 .focus-body{padding:0 14px 12px}.focus-panel footer{display:none}.focus-live{padding:12px 0}.focus-live strong{font-size:21px}.focus-live span{font-size:11px}.investment{grid-template-columns:36px minmax(0,1fr) 79px;gap:8px;padding:16px 0}.investment .upgrade-art{width:35px;height:35px}.investment h3{font-size:15px}.investment-benefit{font-size:11px}.investment-copy p{font-size:11px}.investment-heading>span{font-size:11px}.invest-button strong{font-size:15px}.build-story{padding-top:12px}.build-story>.upgrade-art{display:none}.build-story h3{font-size:22px;margin:4px 0}.build-story p{font-size:13px;margin:8px 0}.build-story dl{margin:13px 0}.build-story dl>div{padding:7px 0;font-size:13px}.build-story .invest-button{min-height:54px}
 .place-focused .opening-guide{left:12px;right:12px;top:90px;bottom:auto;max-width:none;padding:9px 12px}.place-focused .guide-copy strong{font-size:15px}.place-focused .guide-copy span{display:none}.place-focused .guide-copy b{font-size:12px;margin-top:4px}.place-focused .guide-hide{font-size:11px}.place-focused #toast{left:50%;bottom:50%;max-width:calc(100% - 36px);font-size:12px}
}
@media(prefers-reduced-motion:reduce){.focus-panel,.guide-arrow{animation:none}.focus-panel progress::-webkit-progress-value{transition:none}}
.gentle-motion .focus-panel,.gentle-motion .guide-arrow{animation:none}

.quiet-anchor:focus-within{visibility:visible}.focus-heading button:focus-visible,.invest-button:focus-visible{outline:3px solid #b97d20;outline-offset:3px}

/* One edge-to-edge world; one safe rectangle for controls, including Android cutouts. */
#game{position:fixed;inset:0;width:100%;height:100%;height:100dvh}
.hud{left:calc(18px + var(--safe-left));right:calc(18px + var(--safe-right))}
.park-sign{top:calc(126px + var(--safe-top));left:calc(25px + var(--safe-left))}
.camera-tools{right:calc(18px + var(--safe-right));bottom:auto}
.dock{bottom:calc(12px + var(--safe-bottom))}
.opening-guide.next-investment{top:auto;bottom:calc(100px + var(--safe-bottom));max-width:350px;width:calc(100% - 90px)}
.next-investment .guide-copy strong{font-size:18px}.next-investment .guide-copy span{font-size:12px;margin:6px 0}.next-investment .guide-hide{min-height:28px}
.focus-panel{top:calc(132px + var(--safe-top));right:calc(24px + var(--safe-right));bottom:calc(100px + var(--safe-bottom))}
.place-focused .opening-guide{top:auto;bottom:calc(24px + var(--safe-bottom))}
.sponsor-offers{border-top:1px solid #e8dfca;margin-top:14px;padding:14px 0}.sponsor-offers h3{font-size:20px;margin:0 0 5px;font-weight:500}.sponsor-offers>p{font-size:12px;color:#53694f;line-height:1.45}.sponsor-offer{display:flex;gap:12px;align-items:center;padding:15px 0;border-top:1px solid #e8dfca}.sponsor-offer>div{flex:1}.sponsor-offer strong{font-size:15px;font-weight:500}.sponsor-offer p{font-size:12px;line-height:1.45;color:#53694f;margin:5px 0 0}.sponsor-offer .invest-button{min-width:92px}.reward-preview{padding:12px;background:#edf0d9;border-radius:12px;font-size:13px;line-height:1.5}.reward-log{font-size:12px;line-height:1.6;max-height:180px;overflow:auto}.reward-status{font-size:12px;color:#53694f}
@media(max-width:700px){
 .hud{top:calc(12px + var(--safe-top));left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));padding:0!important;gap:8px}
 .hud .brand{width:78px;margin:0}.hud .wallet{min-width:0;padding:10px 9px;gap:6px}.hud .wallet strong{font-size:23px}.hud .wallet small{font-size:10px}.hud .gem-wallet{padding:15px 9px}.hud .coin-medal{width:28px;height:28px}
 .park-sign{top:calc(87px + var(--safe-top));left:calc(12px + var(--safe-left));max-width:calc(100% - 75px - var(--safe-left) - var(--safe-right));padding:7px 10px;gap:4px;align-items:center;white-space:nowrap}
 .park-sign #district{max-width:170px;text-overflow:ellipsis;overflow:hidden}.park-sign small{flex:none;margin-left:3px}
 .camera-tools{top:calc(86px + var(--safe-top));right:calc(12px + var(--safe-right));bottom:auto}.camera-tools button{width:40px;height:40px}
 .opening-guide,.opening-guide.next-investment{left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));top:auto;bottom:calc(88px + var(--safe-bottom));width:auto;max-width:none;padding:12px 14px 5px}
 .opening-guide .guide-copy strong{font-size:18px}.opening-guide .guide-copy span{font-size:12px}.opening-guide .guide-hide{min-height:28px}
 .focus-panel{top:auto;left:calc(8px + var(--safe-left));right:calc(8px + var(--safe-right));bottom:calc(8px + var(--safe-bottom));height:47%;max-height:520px}
 .place-focused .opening-guide,.place-focused .opening-guide.next-investment{top:calc(87px + var(--safe-top));bottom:auto;padding:8px 12px 4px;left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right))}
 .place-focused .guide-copy strong{font-size:14px}.place-focused .guide-copy span,.place-focused .guide-hide{display:none}.place-focused .guide-copy b{font-size:12px;min-height:25px}
 .panel{bottom:calc(88px + var(--safe-bottom));max-height:calc(100dvh - 190px - var(--safe-top) - var(--safe-bottom))}
 body.panel-open .opening-guide{visibility:hidden}
}

.kitchen-status,.crew-roster,.upkeep,.repair-call{border-bottom:1px solid #e8dfca;padding:14px 0}.kitchen-status>span{font-size:13px;font-weight:500}.kitchen-status p,.crew-roster p,.upkeep p,.repair-call p{font-size:12px;line-height:1.5;color:#53694f;margin:7px 0}.crew-roster h3{font-size:21px;font-weight:500;margin:8px 0}.crew-roster>div{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;padding:9px 0}.crew-roster small{grid-column:1/-1;color:#53694f}.role-button{padding:10px 13px;background:#e8edda;border-radius:10px;font-size:13px;min-height:44px}.repair-call{background:#fae2c5;padding:15px;border-radius:14px}.repair-call .invest-button{width:100%}.upkeep>span{display:block;font-size:13px;margin-bottom:8px}

.place-focused .opening-guide.next-investment{display:none}
.world-pop.reaction{max-width:220px;white-space:normal;text-align:center;line-height:1.18;font-size:18px!important}
@media(max-width:700px){.world-pop.reaction{max-width:180px;font-size:16px!important}}

.investment-copy p,.investment-benefit,.investment-heading>span,.invest-button span{font-size:12px}
@media(max-width:700px){.investment-copy p,.investment-benefit,.investment-heading>span,.invest-button span{font-size:12px}}

/* Comfortable mobile hit areas without adding more controls to the park. */
.focus-heading button,.camera-tools button,.panel-close,.modal-close{width:48px;height:48px;min-width:48px;min-height:48px;flex-shrink:0}
.camera-tools{gap:8px}.role-button{min-width:48px;min-height:48px}
.opening-guide .guide-hide{min-width:48px;min-height:48px;margin-top:8px}

/* A small illustrated invitation, paired with one physical destination. */
.opening-guide,.opening-guide.next-investment{padding:0;width:360px;max-width:360px;top:auto;bottom:calc(100px + var(--safe-bottom));border-radius:16px;overflow:visible;background:#fff6e1;box-shadow:0 8px 24px #284f4329}
.guide-sheet{display:grid;grid-template-columns:62px minmax(0,1fr) 40px;gap:0 12px;padding:15px 12px 12px}
.guide-visual{align-self:center;display:grid;place-items:center;width:62px;height:66px;background:#ebc46f;border-radius:16px 16px 22px 22px;transform:rotate(-5deg)}
.guide-visual .upgrade-art{width:48px;height:48px;stroke-width:1.6;--icon-fill:#fff5d6;transform:rotate(5deg)}
.guide-body{align-self:center;grid-column:2/4;padding-right:30px}.guide-body>strong{font-size:20px;font-weight:600;line-height:1.1;display:block;text-wrap:balance;color:#244d42}.guide-body p{font-size:13px;line-height:1.4;margin:7px 0 0;color:#46634e}
.guide-dismiss{position:absolute;right:0;top:0;width:48px;height:48px;display:grid;place-items:center;background:none;color:#52715e;border-radius:12px}.guide-dismiss svg{width:17px;height:17px}
.guide-action{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:12px 15px;min-height:48px;width:100%;background:#376b51;color:#fff8e6;border-radius:12px;text-align:left;font-size:15px;font-weight:500}.guide-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.guide-action:hover{background:#285640}.guide-action:focus-visible,.guide-dismiss:focus-visible{outline:3px solid #b97d20;outline-offset:3px}
.guide-journey{grid-column:1/-1;display:flex;gap:4px;margin-top:10px}.guide-journey span{flex:1;height:4px;border-radius:3px;background:#dfdfc7}.guide-journey .reached{background:#b88732}
.guide-arrow{font-size:0;top:-51px;width:48px;height:56px;filter:drop-shadow(0 4px 3px #315f514d)}.guide-arrow svg{width:48px;height:56px;fill:#f6c65c;stroke:#fff5d6;stroke-width:3;stroke-linejoin:round}
.place-focused .opening-guide{width:auto;max-width:360px;bottom:calc(24px + var(--safe-bottom));padding:0}
.gem-wallet>span{display:flex;flex-direction:column;align-items:center;gap:3px}.gem-wallet small{font-size:10px;color:#665079;line-height:1}.gem-wallet svg{color:#795798}
.investment-buy{min-width:0}.investment-buy .invest-button{width:100%;min-height:52px}.invest-button[hidden],.investment-buy small[hidden]{display:none}.diamond-cover,.diamond-confirm{background:#75578f;color:#fff9f3}.diamond-cover:hover:not(:disabled),.diamond-confirm:hover{background:#604378}.diamond-cover strong{display:flex;align-items:center;justify-content:center;gap:4px}.diamond-cover strong svg{width:18px;height:18px}.diamond-cover strong span{font-size:17px}.investment-buy>small{display:block;text-align:center;font-size:11px;line-height:1.35;color:#645c4b;margin:6px 0 0}
.diamond-explainer{display:flex;align-items:flex-start;gap:15px;margin:20px 0}.diamond-explainer>svg{width:48px;height:48px;color:#75578f;flex:none}.diamond-explainer h3{margin:0;font-size:22px;font-weight:500}.diamond-explainer p{font-size:14px;line-height:1.5;color:#53694f}.diamond-receipt{display:flex;flex-direction:column;align-items:center;text-align:center;margin:18px 0}.diamond-receipt svg{width:54px;height:54px;color:#75578f}.diamond-receipt strong{font-size:28px;margin-top:7px;color:#604378}.diamond-receipt p{margin:7px 0;font-size:15px}.modal .diamond-confirm{margin-top:12px}
@media(max-width:700px){
 .opening-guide,.opening-guide.next-investment{left:calc(12px + var(--safe-left));right:calc(12px + var(--safe-right));width:auto;max-width:400px;bottom:calc(88px + var(--safe-bottom));padding:0}
 .guide-sheet{grid-template-columns:52px minmax(0,1fr) 36px;gap:0 10px;padding:12px}.guide-visual{width:52px;height:58px}.guide-visual .upgrade-art{width:42px;height:42px}.guide-body>strong{font-size:18px}.guide-body p{font-size:12px;line-height:1.4}.guide-action{font-size:14px;margin-top:10px}
 .place-focused .opening-guide,.place-focused .opening-guide.next-investment{top:calc(87px + var(--safe-top));bottom:auto;padding:0;max-width:400px}.place-focused .guide-sheet{grid-template-columns:42px minmax(0,1fr) 36px;padding:9px 12px}.place-focused .guide-visual{width:42px;height:43px}.place-focused .guide-visual .upgrade-art{width:34px;height:34px}.place-focused .guide-body>strong{font-size:15px}.place-focused .guide-body p{display:none}.place-focused .guide-action{grid-column:1/-1;min-height:48px;padding:10px 12px;font-size:13px;margin-top:8px}.place-focused .guide-journey{display:none}.place-focused .guide-dismiss{display:grid}
 .hud .gem-wallet{padding:10px 8px;min-height:58px}.hud .wallet{min-height:58px}.hud .wallet strong{font-size:22px}.gem-wallet small{font-size:9px}
 .investment{grid-template-columns:35px minmax(0,1fr) 88px}
}
