/* Single art-direction layer. System fonts only; no external requests or font files.
   Warm illustrated tabletop; darker, greener shadows as Pip evolves. */
:root{--paper:#ece3d0;--paper-light:#f6efdf;--ink:#302f27;--muted:#756e5d;--green:#52674b;--green-dark:#354630;--gold:#b79251;--line:transparent;--serif:'Iowan Old Style','Palatino Linotype','Book Antiqua',Georgia,serif;--sans:system-ui,-apple-system,'Segoe UI',sans-serif}
body.game-view{background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;transition:background 1.2s,color 1.2s}
body.game-view:before{background:url('assets/parchment.jpg') repeat;background-size:580px 290px;opacity:.14;mix-blend-mode:multiply}
body.game-view:after{content:'';position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 42% 35%,transparent 40%,#44371c1c);z-index:-1}
body.game-view[data-phase="3"],body.game-view[data-phase="4"]{--paper:#d7d9c7;--paper-light:#eef0df;--green:#435d49}
body.game-view #app{width:100%;max-width:1720px;height:100dvh;margin:0 auto;padding:16px clamp(18px,3vw,52px) 8px;background:none;border:0;border-radius:0;box-shadow:none}
body.game-view #app:before,body.game-view .orbit,body.game-view .sunwash,body.game-view .doodle,body.game-view .chapter-line,body.game-view .stage:before{display:none!important}
body.game-view .topbar{height:64px;flex-shrink:0;border:0;gap:18px}
body.game-view .brand{gap:10px;text-decoration:none}
body.game-view .brand>span{font:700 23px var(--serif);letter-spacing:2.2px;line-height:1}
body.game-view .brand>img{width:20px;height:32px;transform:rotate(-8deg)}
body.game-view .brand small{font:10px var(--sans);letter-spacing:1.5px;margin-top:6px;color:var(--muted)}
body.game-view .header-actions{gap:8px}
body.game-view .icon-button{height:44px;width:44px;border:0;border-radius:10px;color:inherit;background:transparent;box-shadow:none}
body.game-view .icon-button:hover{background:#65563812}
body.game-view .icon-button svg{width:20px;height:20px}
body.game-view .layout{gap:clamp(24px,3vw,52px);min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr)}
body.game-view .shell.has-shop .layout{grid-template-columns:minmax(0,1fr) clamp(330px,29vw,410px)}
body.game-view .playfield{display:flex;flex-direction:column;align-items:center;padding:6px 0 0;min-height:0;overflow:visible}
body.game-view .scoreboard{order:0;margin:10px 0 0;flex-shrink:0;gap:0;text-align:center}
body.game-view .score-label{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:var(--muted)}
body.game-view h1{font:400 clamp(58px,6vw,92px)/1.05 var(--serif);padding:6px 0 0;letter-spacing:-3px;color:var(--ink);text-shadow:none;font-variant-numeric:lining-nums tabular-nums}
body.game-view .production-label{font-size:12px;height:18px;margin:7px 0 0;color:var(--muted)}
body.game-view .production-label.active{color:var(--green)}
body.game-view .stage{order:1;flex:1;width:100%;max-width:none;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;background:none;overflow:visible}
body.game-view .stage:after{content:'';position:absolute;left:6%;right:6%;bottom:4px;height:20px;background:radial-gradient(ellipse,#62523426,transparent 68%);border:0;z-index:-1;pointer-events:none}
body.game-view #village{display:block!important;opacity:.7;z-index:-1;overflow:hidden;bottom:0;top:auto;height:110px}
body.game-view #village .distant-hills{width:88%;height:100%;left:6%;bottom:0;opacity:.12;object-fit:contain;mask-image:linear-gradient(transparent,#000 42%,#000 80%,transparent)}
body.game-view #village .delivery-line,body.game-view #village .little-pile,body.game-view #village .village-cloud{display:none}
body.game-view .clip-button{height:min(270px,96%);width:220px;border-radius:20px;padding:0;z-index:3;align-self:center}
body.game-view .clip-button>#heroClip{max-height:76%;height:204px;width:auto;max-width:190px;object-fit:contain;filter:drop-shadow(1px 5px 0 #4d3c2010);animation:idle-bob 5s ease-in-out infinite}
body.game-view .clip-shadow{display:none}
body.game-view .tap-label{font:italic 18px var(--serif);color:#5b5548;letter-spacing:0;text-transform:none;margin-top:7px}
body.game-view .tap-footer{order:2;padding:5px 0 10px;gap:4px;min-height:26px}
body.game-view .tap-hint{display:none}
body.game-view .click-strength{font:500 11px var(--sans);color:var(--muted)}
body.game-view .combo{top:auto;bottom:1px;font-size:10px;gap:6px;background:none;border:0;box-shadow:none;padding:0;color:var(--green)}
body.game-view .goal{order:5;width:min(430px,100%);max-width:100%;margin:12px 0 5px;padding:9px 12px;border:0;background:none;box-shadow:none}
body.game-view .goal-text{color:var(--muted);font:11px var(--sans);letter-spacing:0}
body.game-view .goal-track{height:4px;background:#57442014;margin-top:7px}
body.game-view .goal-track>span{background:var(--green)}
body.game-view .resources{order:4;display:flex;width:100%;max-width:600px;flex-shrink:0;padding:10px 0 0;margin:4px 0 0;gap:18px;border:0}
body.game-view .resource{display:flex;flex:1;min-width:0;min-height:52px;padding:4px 8px;gap:9px;border:0!important;border-radius:0;background:none;box-shadow:none;justify-content:center;flex-wrap:nowrap;align-items:center}
body.game-view .resource:hover{background:#62523409;border-radius:10px}
body.game-view .resource>img{width:38px;height:40px;object-fit:contain;flex-shrink:0}
body.game-view .resource small{font:10px var(--sans);color:var(--muted);letter-spacing:.2px}
body.game-view .resource strong{font:600 20px/1.2 var(--sans);letter-spacing:-.5px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
body.game-view .resource-detail{display:none}
body.game-view .workbench-tools{order:3;flex-shrink:0;width:min(500px,100%);height:54px;margin:4px 0 0;gap:10px}
body.game-view .workbench-tools button{min-height:48px;border:0;border-radius:10px;background:#f8f0df;box-shadow:0 3px 0 #bcaf9130,0 6px 16px #58482c09;transition:transform .15s,background .15s}
body.game-view .order-tool{padding:8px 14px;gap:9px}
body.game-view .order-tool>img{width:38px;height:34px}
body.game-view .order-tool strong{font:600 13px var(--sans);color:var(--ink)}
body.game-view .order-tool small{font:10px var(--sans);color:var(--muted);margin-top:4px}
body.game-view .order-tool.ready{background:#dce5c5}
body.game-view .rush-tool{width:90px;min-width:80px;background:linear-gradient(90deg,#e5cd91 var(--charge),#f8f0df var(--charge))!important;font:600 12px var(--sans);color:#74571f}
body.game-view .rush-tool.running{background:#42563c!important;color:#f7f2de}
body.game-view .style-tool{width:48px;min-width:48px;padding:9px}
body.game-view .style-tool.unpicked{background:#f4e8c8;border:0;box-shadow:0 3px 0 #bcaf9130}
/* Scene is assembled from independent cutouts, scaled together rather than distorted. */
body.game-view .workshop-scene{position:absolute;width:53%;max-width:400px;left:0;bottom:7px;pointer-events:none;z-index:1;filter:drop-shadow(0 10px 7px #4c39191c)}
body.game-view .workshop-rig{position:relative;width:100%;aspect-ratio:430/228}
body.game-view .workshop-rig>img{position:absolute;object-fit:contain}
body.game-view .rig-belt{left:18%;bottom:0;width:55%}
body.game-view .rig-outline{display:none}
body.game-view .rig-motor{left:43%;bottom:3%;width:29%}
body.game-view .rig-wheel{left:53%;bottom:31%;width:24%;animation:wheel-spin calc(var(--machine-speed,1.5s)*3) linear infinite}
body.game-view .rig-arm{left:30%;bottom:20%;width:34%;transform-origin:23% 82%;animation:arm-pump var(--machine-speed,1.5s) ease-in-out infinite}
body.game-view .rig-lever{left:43%;bottom:20%;width:14%;transform-origin:26% 92%;animation:lever-thump var(--machine-speed,1.5s) ease-in-out infinite}
body.game-view .rig-spool{left:0;bottom:8%;width:28%}
body.game-view .rig-box{right:-3%;bottom:-2%;width:29%;z-index:4}
body.game-view .rig-pile{display:none}
body.game-view .belt-clips{position:absolute;left:51%;width:30%;bottom:26%;height:20%;overflow:hidden}
body.game-view .belt-clips img{position:absolute;left:0;bottom:0;width:10%;height:65%;object-fit:contain;animation:scene-clip calc(var(--machine-speed,1.5s)*2) linear infinite}
body.game-view .belt-clips img:nth-child(2){animation-delay:-.5s}
body.game-view .belt-clips img:nth-child(3){animation-delay:-1s}
body.game-view .smoke-a{left:60%;top:8%;width:12%;animation:scene-smoke 4s ease-out infinite}
body.game-view .smoke-b{left:64%;top:5%;width:7%;animation:scene-smoke 4s 1.1s ease-out infinite}
body.game-view .workshop-label{font:9px var(--sans);justify-content:center;padding:4px 0 0;color:var(--muted)}
body.game-view .asleep .workshop-rig *{animation-play-state:paused!important}
body.game-view .asleep .smoke-puff{opacity:0!important}
body.game-view .companion{bottom:12px;right:5%;width:110px;z-index:4}
body.game-view .companion button{border:0;background:none;box-shadow:none;padding:0}
body.game-view .companion #pipSprite{width:100px;height:129px;max-height:none;max-width:none;object-fit:contain;animation:pip-bob 4.5s ease-in-out infinite}
body.game-view .pip-name{font:9px var(--sans);letter-spacing:1.3px;margin:0;color:var(--muted)}
body.game-view .pip-name i{font:9px var(--sans);width:16px;height:16px;background:#d5cfb9}
body.game-view .pip-speech{font:italic 12px/1.4 var(--serif);color:var(--ink);background:#faf4e4;border:0;box-shadow:0 6px 14px #342a1615;padding:10px 13px;max-width:170px;bottom:100%}
body.game-view .pip-speech:after{background:#faf4e4;border:0}
body.game-view .golden-clip{top:10px;right:3%;width:58px;background:none;border:0;box-shadow:none;padding:0;z-index:10}
body.game-view .golden-clip img{height:74px}
body.game-view .golden-clip>span:not(.gold-timer){font:10px var(--sans)}
body.game-view .wire-warning{position:absolute;top:auto;bottom:222px;left:50%;transform:translateX(-50%);min-width:230px;min-height:44px;background:#aa6345;color:#fff4e3;border:0;border-radius:9px;font-size:11px;box-shadow:0 6px 14px #5b291626}
/* A single notebook panel, not a stack of dashboard cards. */
body.game-view .drawer{--ink:#f2ead8;--muted:#bac0ab;--line:transparent;--green:#8caa74;--green-dark:#66844e;--paper-light:#384738;color:var(--ink);margin:16px 0 10px;padding:26px 22px 18px;background:linear-gradient(145deg,#314333,#233426);border:0;border-radius:14px 20px 12px 15px;box-shadow:0 22px 44px #17221d26;min-height:0}
body.game-view .drawer:before,body.game-view .drawer:after{display:none}
body.game-view .drawer-heading h2{font:400 31px/1.1 var(--serif);color:var(--ink);margin-top:7px;letter-spacing:-.6px}
body.game-view .eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.5px}
body.game-view .panel-tabs{gap:6px;padding:0;border:0;margin:22px 0 12px;background:none}
body.game-view .panel-tabs button{font:500 12px var(--sans);padding:11px 13px;color:#bdc4b3;border:0;border-radius:7px;min-height:42px}
body.game-view .panel-tabs button.selected{color:#f2efd7;background:#ffffff16}
body.game-view .panel-tabs button.selected:after{display:none}
body.game-view .panel-content{max-height:none;padding-right:3px;scrollbar-color:#b0b29a55 transparent}
body.game-view .upgrade{padding:16px 0;gap:12px;grid-template-columns:48px minmax(0,1fr) 80px;border:0;box-shadow:none;margin:0;background:none;border-radius:0}
body.game-view .upgrade img{width:46px;height:52px;object-fit:contain}
body.game-view .upgrade h3{font:500 13px/1.35 var(--sans);color:#f3ecd9}
body.game-view .upgrade h3 span{font:10px var(--sans);color:#99ae8b;display:inline-block;margin-left:5px}
body.game-view .upgrade p{color:#afbba3;font:11px/1.5 var(--sans);margin-top:5px}
body.game-view .upgrade.next-upgrade{display:flex;padding-top:18px;color:#aebba3}
body.game-view .buy-button{min-width:80px;min-height:44px;padding:10px 9px;border:0;border-radius:8px;background:#bfd2a0;color:#243526;font:700 12px var(--sans);box-shadow:0 3px 0 #101b2040;transition:transform .14s,background .14s}
body.game-view .buy-button:disabled{background:#ffffff0b;color:#939d85;opacity:1;box-shadow:none}
body.game-view .buy-button:not(:disabled):hover{background:#d2e1b4}
body.game-view .drawer-note{font:italic 12px var(--serif);color:#93a586;padding-top:10px}
body.game-view .drawer .data-line{border:0;font:12px var(--sans);color:#bdc6b1}
body.game-view .drawer .data-line strong,body.game-view .drawer .price-number strong,body.game-view .drawer .ai-name,body.game-view .drawer .ai-next h3{color:#f4ead2}
body.game-view .drawer .ai-tagline,body.game-view .drawer .ai-next p,body.game-view .drawer .advice,body.game-view .drawer .market-caption{color:#aebe9f;font-size:12px}
body.game-view .drawer .settings-row,body.game-view .drawer .ai-next{border:0}
body.game-view .drawer .settings-row small{color:#acbaa0}
body.game-view .stepper{border:0;background:#c1d4a7;color:#293c29;min-width:44px;min-height:44px;box-shadow:0 3px 0 #0002}
body.game-view .footnote{height:26px;min-height:26px;font:9px var(--sans);color:var(--muted);gap:14px}
body.game-view .desktop-key{font:9px var(--sans)}
body.game-view .demo-banner{margin:0;padding:7px 10px;font-size:11px;color:#f7edcf;background:#737d58;border:0;border-radius:8px;min-height:30px}
body.game-view .modal{border:0;background:var(--paper-light);border-radius:14px;box-shadow:0 24px 70px #1b211c55;padding:22px 28px 30px}
body.game-view .modal::backdrop,body.game-view .scrim{background:#1d2a2299;backdrop-filter:blur(6px)}
body.game-view .modal .icon-button{width:44px;height:44px}
body.game-view .modal h2{font:400 30px/1.2 var(--serif);color:var(--ink)}
body.game-view .modal p,body.game-view .v2-explanation{font-size:12px!important;color:var(--muted)}
body.game-view .settings-row,body.game-view .journey-item{border:0}
body.game-view .settings-row strong{font-weight:500;font-size:13px}
body.game-view .toggle{width:48px;height:30px;border:0;padding:5px}
body.game-view .toggle:after{width:20px;height:20px}
body.game-view .toggle[aria-checked=true]:after{transform:translateX(18px)}
body.game-view .primary-button{min-height:48px;background:#526c4a;border:0;border-radius:8px;color:#f8f2df;font:600 13px var(--sans);box-shadow:0 3px 0 #314830;padding:12px 20px}
body.game-view .primary-button:hover{background:#607c54}
body.game-view .text-action{min-height:44px;font-size:12px}
body.game-view .offer,body.game-view .style-choice,body.game-view .demo-item{border:0;border-radius:10px;background:#9c956b12}
body.game-view .style-choice.chosen{background:#dfe7cd}
body.game-view .style-choice strong,body.game-view .offer h3{font-family:var(--serif)}
body.game-view .toast{top:86px;border:0;border-radius:12px;background:#faf3e0;box-shadow:0 12px 30px #3932162a;pointer-events:none}
body.game-view .toast strong{font-size:19px}
body.game-view .toast p{font-size:11px;color:var(--muted)}
body.game-view .bottom-dock{display:none}
body.game-view button{transition:background .15s,opacity .15s,transform .15s}
body.game-view button:focus-visible{outline:3px solid #ae8543;outline-offset:3px}
body.game-view #menuDialog{text-align:center;width:min(440px,calc(100% - 28px));padding:32px;overflow:auto}
body.game-view #menuDialog .menu-logo{font:400 48px var(--serif);letter-spacing:-2px;margin:8px 0}
body.game-view #menuDialog .menu-actions{display:grid;gap:12px;margin:28px 0 14px}
body.game-view #menuDialog .menu-caption{font-size:11px;color:var(--muted)}
body.game-view .panel-content>*,body.game-view .modal[open]{animation:polish-enter .24s ease both}
body.game-view.is-paused #app{filter:blur(3px);transition:filter .25s}
body.game-view.is-paused #app *,body.game-view.reduced-motion *{animation-play-state:paused!important}
@keyframes polish-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes arm-pump{50%{transform:rotate(9deg)}}
@keyframes lever-thump{50%{transform:rotate(-13deg)}}
@keyframes scene-smoke{0%{opacity:0;transform:translate(0,8px) scale(.8)}25%{opacity:.4}100%{opacity:0;transform:translate(12px,-35px) scale(1.2)}}
@keyframes scene-clip{0%{transform:translateX(0) rotate(40deg);opacity:0}15%{opacity:1}90%{opacity:1}100%{transform:translateX(75px) rotate(50deg);opacity:0}}
@media(max-width:899px),(max-height:480px) and (orientation:landscape){
 body.game-view #app{padding:max(4px,env(safe-area-inset-top)) 16px max(4px,env(safe-area-inset-bottom));height:100dvh;max-width:none}
 body.game-view .topbar{height:54px;gap:12px}
 body.game-view .brand>span{font-size:18px;letter-spacing:1.1px}
 body.game-view .brand small{display:none}
 body.game-view .brand>img{width:14px;height:26px}
 body.game-view .header-actions{gap:0}
 body.game-view .header-actions .icon-button{width:40px;min-width:40px;height:44px}
 body.game-view #journalButton{display:none}
 body.game-view .layout,body.game-view .shell.has-shop .layout{display:flex;gap:0;min-height:0}
 body.game-view .playfield{display:flex;padding:0;min-height:0}
 body.game-view .scoreboard{margin-top:8px}
 body.game-view h1{font-size:64px;padding-top:4px}
 body.game-view .score-label{font-size:9px;letter-spacing:1.5px}
 body.game-view .production-label{font-size:11px;margin-top:4px;height:16px}
 body.game-view .stage{min-height:0;margin:0;flex:1}
 body.game-view .clip-button{width:145px;height:min(210px,90%)}
 body.game-view .clip-button>#heroClip{height:146px;max-height:74%;max-width:130px}
 body.game-view .tap-label{font-size:16px;margin:4px 0 0}
 body.game-view .workshop-scene{width:51%;max-width:220px;left:-2%;bottom:5px}
 body.game-view .workshop-label{display:none}
 body.game-view .companion{right:1%;bottom:4px;width:76px}
 body.game-view .companion #pipSprite{width:72px;height:92px}
 body.game-view .pip-name{font-size:8px}
 body.game-view .pip-speech{max-width:112px;min-width:84px;font-size:10px;padding:8px}
 body.game-view .golden-clip{width:46px;top:2px;right:1%}
 body.game-view .golden-clip img{height:56px}
 body.game-view .golden-clip>span:not(.gold-timer){font-size:8px}
 body.game-view .combo{font-size:9px;bottom:0}
 body.game-view .tap-footer{padding:5px 0 6px;min-height:24px}
 body.game-view .workbench-tools{width:100%;height:50px;gap:7px;margin:4px 0 0}
 body.game-view .order-tool{padding:8px 9px;gap:7px}
 body.game-view .order-tool>img{width:29px;height:30px}
 body.game-view .order-tool strong{font-size:11px}
 body.game-view .order-tool small{font-size:9px}
 body.game-view .order-tool>svg{display:none}
 body.game-view .rush-tool{width:77px;min-width:72px;font-size:11px;gap:4px}
 body.game-view .style-tool{width:44px;min-width:44px;padding:8px}
 body.game-view .resources{gap:4px;padding:6px 0 0;margin:3px 0 0;min-height:54px}
 body.game-view .resource{padding:3px;gap:5px;min-height:44px}
 body.game-view .resource>img{width:27px;height:32px}
 body.game-view .resource small{font-size:9px}
 body.game-view .resource strong{font-size:17px;letter-spacing:-.5px}
 body.game-view .goal{width:100%;max-width:350px;margin:3px 0 4px;padding:8px 10px}
 body.game-view .goal-text{font-size:10px}
 body.game-view .goal-track{margin-top:5px;height:3px}
 body.game-view .bottom-dock{display:flex;flex-shrink:0;height:58px;min-height:58px;gap:8px;padding:5px 0 6px}
 body.game-view .dock-main{min-height:44px;border:0;border-radius:8px;background:#425d42;color:#f7f0db;box-shadow:0 3px 0 #243d28;font:600 12px var(--sans);gap:8px}
 body.game-view .dock-secondary{min-height:44px;width:55px;border:0;border-radius:8px;background:#e3dcc8;color:#626751;font:9px var(--sans)}
 body.game-view .footnote{min-height:18px;height:18px;font-size:8px;gap:10px;justify-content:space-between}
 body.game-view .desktop-key{display:none}
 body.game-view .drawer{display:none;position:fixed;z-index:40;bottom:0;left:0;right:0;top:auto;height:auto;min-height:320px;max-height:86dvh;margin:0;padding:16px 20px max(22px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #26342c44}
 body.game-view .drawer.open{display:flex}
 body.game-view .drawer-handle{display:block;margin:0 auto 14px;background:#ffffff30;height:3px}
 body.game-view .drawer-heading h2{font-size:28px}
 body.game-view .panel-tabs{margin:18px 0 8px}
 body.game-view .panel-tabs button{font-size:12px;min-height:42px}
 body.game-view .panel-content{max-height:58dvh}
 body.game-view .upgrade{grid-template-columns:44px minmax(0,1fr) 78px;gap:10px;padding:14px 0}
 body.game-view .buy-button{min-width:78px;min-height:44px;font-size:12px}
 body.game-view .upgrade h3{font-size:13px}
 body.game-view .upgrade p{font-size:11px}
 body.game-view .wire-warning{bottom:214px;min-width:240px;max-width:94%;font-size:10px}
 body.game-view .toast{top:60px;padding:12px 16px;max-width:calc(100% - 24px)}
 body.game-view .toast strong{font-size:17px}
 body.game-view .modal{padding:18px 20px 24px;max-height:calc(100dvh - 24px)}
 body.game-view .modal h2{font-size:27px}
 body.game-view .style-choice{padding:12px 10px;min-height:94px}
 body.game-view .style-choice strong{font-size:19px}
 body.game-view .offer .primary-button{padding:9px 8px;font-size:10px}
}
@media(max-width:899px) and (max-height:680px){
 body.game-view .topbar{height:48px}
 body.game-view .scoreboard{margin:3px 0 0}
 body.game-view h1{font-size:46px;letter-spacing:-2px}
 body.game-view .score-label{font-size:8px}
 body.game-view .production-label{font-size:10px;height:15px;margin:1px 0 0}
 body.game-view .clip-button{height:min(170px,96%);width:135px}
 body.game-view .clip-button>#heroClip{height:110px}
 body.game-view .tap-label{font-size:14px}
 body.game-view .workshop-scene{width:44%}
 body.game-view .companion{width:62px}
 body.game-view .companion #pipSprite{width:60px;height:78px}
 body.game-view .pip-speech{display:none}
 body.game-view .workbench-tools{height:48px;margin-top:2px;gap:5px}
 body.game-view .order-tool>img{width:25px}
 body.game-view .order-tool strong{font-size:10px;white-space:nowrap}
 body.game-view .order-tool small{font-size:8px}
 body.game-view .rush-tool{min-width:68px;width:68px;font-size:10px}
 body.game-view .resources{min-height:50px;padding-top:3px}
 body.game-view .resource>img{width:25px}
 body.game-view .resource strong{font-size:15px}
 body.game-view .goal{margin:0 0 2px;padding:7px 10px}
 body.game-view .tap-footer{padding:3px 0;min-height:21px}
 body.game-view .combo{display:none}
 body.game-view .bottom-dock{min-height:54px;height:54px;padding-top:3px}
 body.game-view .wire-warning{bottom:196px}
}
@media(max-height:480px) and (orientation:landscape){
 body.game-view #app{padding:0 20px 4px}
 body.game-view .topbar{height:44px}
 body.game-view .playfield{display:grid;grid-template-columns:46% 54%;grid-template-rows:84px 50px 50px 30px;align-content:center;column-gap:0;justify-items:center}
 body.game-view .scoreboard{grid-column:1;grid-row:1;margin:0}
 body.game-view h1{font-size:44px}
 body.game-view .stage{grid-column:2;grid-row:1 / 5;height:100%;min-height:0}
 body.game-view .clip-button{height:170px;width:140px}
 body.game-view .clip-button>#heroClip{height:119px}
 body.game-view .workbench-tools{grid-column:1;grid-row:2;align-self:center;width:100%;margin:0;max-width:330px;height:46px}
 body.game-view .resources{grid-column:1;grid-row:3;align-self:center;max-width:330px;margin:0;padding:3px 0;min-height:46px}
 body.game-view .goal{grid-column:1;grid-row:4;margin:0;padding:0 8px;max-width:330px}
 body.game-view .tap-footer{display:none}
 body.game-view .workshop-scene{width:51%}
 body.game-view .companion{right:0;width:68px}
 body.game-view .companion #pipSprite{width:66px;height:84px}
 body.game-view .pip-speech{display:none}
 body.game-view .bottom-dock{height:50px;min-height:50px;max-width:340px;padding:2px 0 4px}
 body.game-view .drawer{left:auto;right:0;top:0;bottom:0;width:min(410px,85vw);min-height:0;max-height:none;border-radius:14px 0 0 14px}
 body.game-view .panel-content{max-height:none}
 body.game-view .drawer-handle{display:none}
 body.game-view .drawer-note{display:none}
 body.game-view .wire-warning{bottom:4px;font-size:10px}
}
@media(min-width:900px) and (max-height:700px){
 body.game-view #app{padding-top:5px}
 body.game-view .topbar{height:50px}
 body.game-view .scoreboard{margin-top:0}
 body.game-view h1{font-size:57px}
 body.game-view .production-label{font-size:11px;margin-top:3px}
 body.game-view .workshop-scene{max-width:235px}
 body.game-view .clip-button{height:min(192px,96%)}
 body.game-view .clip-button>#heroClip{height:145px}
 body.game-view .companion{width:82px}
 body.game-view .companion #pipSprite{width:76px;height:98px}
 body.game-view .pip-speech{display:none}
 body.game-view .goal{margin:5px 0 0;padding:6px 12px}
 body.game-view .resources{min-height:48px;padding-top:4px}
 body.game-view .workbench-tools{height:48px}
 body.game-view .drawer{margin-top:6px;padding:18px}
 body.game-view .drawer-heading h2{font-size:27px}
 body.game-view .panel-tabs{margin:14px 0 8px}
 body.game-view .upgrade{padding:11px 0}
}
@media(prefers-reduced-motion:reduce){body.game-view *,body.game-view *:before,body.game-view *:after{animation:none!important;transition:none!important}}
/* The clip itself remains tappable; the label makes the action unambiguous. */
body.game-view .tap-label{display:flex;align-items:center;justify-content:center;min-height:34px;padding:8px 24px;background:#526b49;color:#fcf4e0;box-shadow:0 3px 0 #354b30;border-radius:7px;font:600 12px var(--sans);letter-spacing:.2px}
body.game-view .clip-button:active .tap-label{box-shadow:0 1px 0 #354b30;transform:translateY(2px)}
@media(max-width:899px){body.game-view .tap-label{min-height:32px;padding:7px 20px;font-size:11px}body.game-view .resource .mini-plus{display:none}}
body.game-view .clip-button:hover .tap-label,body.game-view .clip-button:active .tap-label{color:#fcf4e0}
body.game-view .offer{display:flex;flex-direction:column;align-items:center}
body.game-view .offer .v2-eyebrow{min-height:22px}
body.game-view .offer h3{min-height:2.35em;display:flex;align-items:center;justify-content:center}
body.game-view .offer .primary-button{margin-top:auto}

/* 0.4 workshop staging: the machine becomes the scene, not a corner icon.
   The original one-action screen is preserved until the first machine. */
body.game-view .scene-caption{display:none;position:absolute;top:24px;left:50%;transform:translateX(-50%);font:10px var(--sans);letter-spacing:2.5px;color:#7e8066;white-space:nowrap}
body.game-view .has-machine .scene-caption{display:block}
body.game-view .atelier-floor{display:none;position:absolute;bottom:56px;left:4%;right:4%;height:28%;background:linear-gradient(175deg,#8d785219,#96805309);clip-path:polygon(9% 0,92% 0,100% 80%,92% 100%,4% 94%,0 75%);pointer-events:none}
body.game-view .has-machine .atelier-floor{display:block}
body.game-view .has-machine .stage{isolation:isolate}
body.game-view .has-machine .workshop-scene{width:69%;max-width:580px;left:5%;bottom:88px}
body.game-view .has-machine .companion{width:110px;right:3%;bottom:99px}
body.game-view .has-machine .companion #pipSprite{width:100px;height:129px}
body.game-view .has-machine .clip-button{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);width:228px;height:54px;max-height:none;display:flex;flex-direction:row;gap:10px;background:#506946;border-radius:9px;box-shadow:0 4px 0 #34482e,0 12px 28px #4a43281f;transition:background .18s,box-shadow .18s}
body.game-view .has-machine .clip-button:hover{background:#5b754d}
body.game-view .has-machine .clip-button:active{box-shadow:0 1px 0 #34482e}
body.game-view .has-machine .clip-button>#heroClip{width:27px;height:35px;max-height:none;max-width:none;animation:none;filter:none}
body.game-view .has-machine .tap-label{padding:0;min-height:0;margin:0;background:none;border:0;box-shadow:none;font:600 14px var(--sans);color:#fcf4e0}
body.game-view .has-machine .combo{bottom:73px}
body.game-view #productionCanvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
body.game-view .belt-clips{display:none!important}
body.game-view .has-machine .stage:after{bottom:75px}
body.game-view .has-machine #village{height:95px;bottom:100px;opacity:.48}
body.game-view .has-machine .goal{width:min(560px,100%);max-width:100%;min-height:54px}
body.game-view .goal-text{align-items:center;gap:16px;line-height:1.35}
body.game-view #goalLabel{font-weight:600;color:#4e5e42;flex-shrink:0}
body.game-view #goalValue{font-size:10px;max-width:65%;text-align:right}
body.game-view .goal.urgent{background:#fff4d454;border-radius:8px}
body.game-view .goal.urgent #goalLabel{color:#915230}
body.game-view .goal.urgent .goal-track>span{background:#b08950}
body.game-view .scene-status{position:absolute;top:0;left:50%;transform:translateX(-50%);height:44px;min-width:215px;padding:7px 12px;background:transparent;color:#566b4c;font:500 11px var(--sans);z-index:8;white-space:nowrap}
body.game-view .scene-status:hover{background:#ffffff30;border-radius:9px}
body.game-view .scene-status:active{transform:translateX(-50%)!important}
body.game-view #pipNotebook{position:absolute;width:34px;height:34px;max-width:34px;max-height:34px;bottom:21px;right:2px;animation:none;filter:saturate(.55)}
body.game-view.is-researching #pipNotebook{filter:drop-shadow(0 0 10px #719a6280);animation:research-glow 2.4s ease-in-out infinite}
body.game-view .workshop-rig .rig-box{transition:filter .15s}
body.game-view .workshop-scene.shipping .rig-box{animation:box-ship .65s ease both!important}
body.game-view .workshop-scene.stock-bump:not(.shipping) .rig-box{filter:brightness(1.055)}
body.game-view .atelier-arrival{position:absolute;width:27%;height:auto;left:34%;bottom:22%;z-index:10;opacity:calc(1 - var(--arrival));transform:translateY(calc(var(--arrival) * -65px)) scale(calc(1 + var(--arrival) * .25));pointer-events:none}
body.game-view .constructing .workshop-rig{opacity:var(--arrival)}
body.game-view .is-paused .workshop-rig *{animation-play-state:paused!important}
body.game-view .app-hidden *,body.game-view.app-hidden #app *{animation-play-state:paused!important}
@keyframes box-ship{0%{transform:translate(0,0)}42%{transform:translate(28px,-30px) rotate(8deg);opacity:.35}100%{transform:translate(0,0);opacity:1}}
@keyframes research-glow{50%{filter:drop-shadow(0 0 16px #729952bb);transform:translateY(-2px)}}

/* The notebook grows a laboratory without adding a second dashboard. */
body.game-view .lab-intro{font:italic 16px/1.5 var(--serif);color:#cbd1b8;margin:4px 0 20px}
body.game-view .lab-capacity{display:flex;align-items:center;gap:14px;padding:0 0 18px}
body.game-view .lab-capacity>img{width:40px;height:40px;object-fit:contain}
body.game-view .lab-capacity p{font:11px/1.6 var(--sans);color:#adbea2}
body.game-view .lab-capacity strong{color:#e2e7c8;font-weight:600}
body.game-view .research-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}
body.game-view .research-heading img{width:48px;height:48px;object-fit:contain}
body.game-view .research-heading small,body.game-view .research-card small{font:9px var(--sans);letter-spacing:1.2px;color:#a4be90}
body.game-view .research-heading h3{font:22px var(--serif);color:#f2edd7;margin-top:4px}
body.game-view .research-current{background:#ffffff08;border-radius:9px;padding:17px 14px;margin-bottom:14px}
body.game-view .research-current>p{font:12px/1.5 var(--sans);color:#d2dec0;margin:14px 0}
body.game-view .research-meter{height:5px;background:#ffffff14;overflow:hidden;border-radius:6px}
body.game-view .research-meter>i{display:block;width:0;height:100%;background:#c3d99f;transition:width .15s linear}
body.game-view .research-time{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font:10px/1.4 var(--sans);color:#b3c1a5}
body.game-view .research-time strong{color:#edf1d9;font-weight:600}
body.game-view .research-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.game-view .research-actions .buy-button{font-size:11px;min-width:130px}
body.game-view .research-actions .text-action{color:#b5c3a6}
body.game-view .research-help{display:block;font:10px/1.6 var(--sans);color:#9dad8c;margin-top:10px}
body.game-view .research-card{display:grid;grid-template-columns:46px 1fr auto;gap:14px;padding:19px 0;border:0}
body.game-view .research-card>img{width:44px;height:54px;object-fit:contain}
body.game-view .research-card h3{font:19px/1.25 var(--serif);color:#f1ead4;margin:4px 0 7px}
body.game-view .research-card p{font:11px/1.6 var(--sans);color:#b5c7a6;margin-bottom:10px}
body.game-view .research-card .buy-button{font-size:11px;min-width:136px;min-height:44px}
body.game-view .research-reason{display:block;font:10px/1.5 var(--sans);color:#a2b193;margin-top:5px}
body.game-view .research-check{font-size:18px;color:#b9d892;padding-top:12px}
body.game-view .discovered{opacity:.7}
body.game-view .research-card.discovered p{margin-bottom:0}
body.game-view .panel-tabs{gap:2px}
body.game-view .panel-tabs button{flex:1;padding:11px 7px;min-height:44px;text-align:center}
body.game-view .drawer .panel-content:has(.research-current){scrollbar-gutter:stable}
@media(max-width:899px),(max-height:480px) and (orientation:landscape){
 body.game-view .has-machine .scene-caption{top:16px;font-size:9px;letter-spacing:2px}
 body.game-view .has-machine .workshop-scene{width:76%;left:0;bottom:77px;max-width:350px}
 body.game-view .has-machine .companion{width:62px;right:0;bottom:87px}
 body.game-view .has-machine .companion #pipSprite{width:63px;height:83px}
 body.game-view .has-machine .clip-button{bottom:10px;height:48px;width:204px;max-height:none}
 body.game-view .has-machine .clip-button>#heroClip{height:31px;width:23px;max-height:none}
 body.game-view .has-machine .tap-label{font-size:13px;min-height:0}
 body.game-view .atelier-floor{bottom:58px;height:28%;left:-3%;right:-3%}
 body.game-view .has-machine .combo{bottom:62px;font-size:8px}
 body.game-view .has-machine .stage:after{bottom:70px}
 body.game-view .has-machine #village{bottom:80px;height:74px}
 body.game-view .has-machine .goal,body.game-view .goal{min-height:48px;padding:6px 8px;margin:1px 0}
 body.game-view .goal-text{gap:9px;font-size:10px}
 body.game-view #goalValue{font-size:9px;max-width:56%}
 body.game-view #goalLabel{white-space:normal;flex-shrink:1}
 body.game-view .scene-status{top:32px;font-size:10px;height:44px}
 body.game-view #pipNotebook{width:25px;height:25px;max-width:25px;max-height:25px;right:-4px;bottom:16px}
 body.game-view .lab-intro{font-size:16px;margin-bottom:14px}
 body.game-view .research-card{gap:11px;padding:15px 0}
 body.game-view .research-card h3{font-size:19px}
}
@media(max-width:899px) and (max-height:680px){
 body.game-view .has-machine .scene-caption{display:none}
 body.game-view .has-machine .workshop-scene{width:70%;bottom:64px}
 body.game-view .has-machine .companion{bottom:65px}
 body.game-view .has-machine .companion #pipSprite{width:56px;height:73px}
 body.game-view .has-machine .clip-button{bottom:4px;height:44px;width:194px}
 body.game-view .scene-status{top:0;font-size:9px;min-width:184px}
 body.game-view .atelier-floor{bottom:48px}
 body.game-view .has-machine .goal{min-height:46px}
 body.game-view .lab-capacity{padding-bottom:10px}
}
@media(max-height:480px) and (orientation:landscape){
 body.game-view .has-machine .scene-caption{display:none}
 body.game-view .has-machine .workshop-scene{width:68%;left:3%;bottom:64px}
 body.game-view .has-machine .companion{bottom:64px;right:0}
 body.game-view .has-machine .clip-button{bottom:2px;height:44px}
 body.game-view .has-machine .companion #pipSprite{width:56px;height:73px}
 body.game-view .has-machine .goal{min-height:30px;height:auto;padding:0 8px}
 body.game-view .scene-status{top:-16px}
 body.game-view .goal-track{display:none}
 body.game-view .has-machine .combo{display:none}
}
@media(min-width:900px) and (max-height:700px){
 body.game-view .has-machine .scene-caption{display:none}
 body.game-view .has-machine .workshop-scene{width:60%;max-width:350px;bottom:70px;left:8%}
 body.game-view .has-machine .companion{bottom:75px;width:82px}
 body.game-view .has-machine .companion #pipSprite{width:80px;height:103px}
 body.game-view .has-machine .clip-button{height:44px;bottom:4px}
 body.game-view .scene-status{top:0}
 body.game-view .has-machine .combo{bottom:51px}
}
@media(prefers-reduced-motion:reduce){body.game-view .research-meter>i{transition:none}body.game-view .atelier-arrival{display:none}}

/* A quiet window gives the cutouts a place to live. It carries no controls. */
body.game-view .atelier-window{display:none;position:absolute;right:4%;top:8%;width:134px;height:148px;pointer-events:none;z-index:-1;opacity:.38}
body.game-view .has-machine .atelier-window{display:block}
body.game-view .window-sky{position:absolute;inset:0 6px 8px;background:linear-gradient(#aec1b5,#e4dfc0);border:6px solid #8f8467;border-radius:3px 4px 2px 3px;overflow:hidden;transform:skewY(-1deg)}
body.game-view .window-sky:before,body.game-view .window-sky:after{content:'';position:absolute;background:#948365;z-index:2}
body.game-view .window-sky:before{top:0;bottom:0;left:46%;width:5px}
body.game-view .window-sky:after{left:0;right:0;top:46%;height:5px}
body.game-view .window-hills{position:absolute;width:160%;height:auto;bottom:-3px;left:-30%;opacity:.8}
body.game-view .window-cloud{position:absolute;width:55%;top:12%;left:3%;opacity:.8;animation:window-drift 24s ease-in-out infinite alternate}
body.game-view .window-sill{position:absolute;bottom:3px;left:0;right:0;height:9px;background:#83765a;transform:skewX(-8deg)}
body.game-view .window-light{position:absolute;top:49%;right:10%;width:330%;height:190%;background:linear-gradient(145deg,#f9e7a329,transparent 80%);clip-path:polygon(81% 0,100% 0,58% 100%,0 100%)}
body.game-view[data-phase="3"] .window-sky,body.game-view[data-phase="4"] .window-sky{background:linear-gradient(#719086,#d1c998)}
body.game-view.is-researching .has-machine .scene-caption{display:none}
body.game-view.is-researching .atelier-window{opacity:.26}
@keyframes window-drift{to{transform:translateX(33px)}}
@media(max-width:899px) and (min-height:681px){
 body.game-view .has-machine .workshop-scene{width:85%;bottom:77px}
 body.game-view .has-machine .companion{bottom:calc(77px + 17vw);right:0}
 body.game-view .atelier-window{left:8%;right:auto;top:16%;width:102px;height:125px}
 body.game-view .scene-status{top:0}
}
@media(max-width:899px) and (max-height:680px){body.game-view .atelier-window{display:none!important}}
@media(max-height:480px) and (orientation:landscape){body.game-view .atelier-window{display:none!important}}
@media(min-width:900px) and (max-height:700px){body.game-view .atelier-window{width:100px;height:110px;top:0}}

/* 0.7 Quality gate: current chapters, fixed reference frames. No new game systems. */
body.game-view #heroClip{display:block;pointer-events:none}
body.game-view .companion #pipSprite{display:block;aspect-ratio:200/220;height:auto!important;object-fit:contain;animation:none!important;pointer-events:none}
body.game-view #stockIcon{width:44px;height:auto;aspect-ratio:300/260;flex-shrink:0;pointer-events:none}
body.game-view .workshop-rig{height:auto!important;aspect-ratio:1000/460;filter:none}
body.game-view #productionCanvas{display:block;width:100%;height:100%;aspect-ratio:1000/460;inset:0;position:absolute}
body.game-view .has-machine .workshop-scene{left:0;width:80%;max-width:670px}
body.game-view .has-machine .companion{right:0}
body.game-view .raw-start .stage:after{display:none}
body.game-view.raw-start .brand,body.game-view.raw-start .production-label,body.game-view.raw-start .score-label,body.game-view.raw-start .goal,body.game-view.raw-start .footnote,body.game-view.raw-start .click-strength,body.game-view.raw-start #village,body.game-view.raw-start .atelier-window{display:none!important}
body.game-view.raw-start:not(.has-first-clip) .scoreboard{visibility:hidden}
body.game-view.raw-start .topbar{justify-content:flex-end;display:flex}
body.game-view.raw-start .playfield{padding-top:0}
body.game-view.raw-start .scoreboard{margin-top:clamp(10px,4vh,40px)}
body.game-view.raw-start .tap-label{background:none;box-shadow:none;color:#8c8168;font:italic 16px var(--serif);padding:10px 14px}
body.game-view.raw-start .tap-footer{padding:0;min-height:25px}
body.game-view.raw-start .clip-button{height:min(320px,90%)}
body.game-view.raw-start .clip-button>#heroClip{height:230px;max-width:none}
body.game-view .resources:not([hidden]),body.game-view .workbench-tools:not([hidden]){animation:earned-reveal .5s ease both}
body.game-view .upgrade.next-upgrade{display:none}
body.game-view .toast.illustrated{min-height:90px}
body.game-view .toast.illustrated .toast-symbol{width:66px;flex-shrink:0;background:none}
body.game-view .toast.illustrated .toast-symbol svg{display:none}
body.game-view #toastArt{width:64px;height:68px;object-fit:contain}
body.game-view .achievement-grid{margin:16px 0 22px;gap:12px}
body.game-view .achievement-card{background:#eae6d36b;border:0;padding:12px;gap:16px;border-radius:9px}
body.game-view .achievement-card img{width:96px;height:100px;object-fit:contain;flex-shrink:0}
body.game-view .achievement-card.locked{opacity:.6;filter:grayscale(.8)}
body.game-view .achievement-card h3{font:20px/1.2 var(--serif)}
body.game-view .badge-illustration{height:175px;object-fit:contain;border:0}
body.game-view .journey-number{min-width:56px;font-size:17px}
body.game-view .journey-item{padding:10px 0}
body.game-view.debug-hitboxes #app button:not([hidden]),body.game-view.debug-hitboxes .net-panel button:not([hidden]){outline:1px dashed #d35386!important;outline-offset:1px}
body.game-view.debug-hitboxes #app #clipButton{outline:2px dashed #bd3276!important}
.net-site>.net-site-art{height:auto!important;aspect-ratio:300/260;pointer-events:none;transition:filter .2s;display:block}
.net-site.owned>.net-site-art{filter:drop-shadow(0 5px 4px #53482a21)}
.net-site:hover>.net-site-art{transform:translateY(-2px)}
.net-site.selected>.net-site-art{transform:none}
.net-site-name{font-family:var(--serif);font-size:15px;font-weight:600;border-radius:2px 7px 5px 3px;padding:5px 10px;box-shadow:0 4px 5px #594e2310}
.net-site.selected .net-site-name{background:#47633d}
.net-drones canvas{height:auto;aspect-ratio:240/260;position:absolute;width:29px;transform:translate(-50%,-72%);filter:drop-shadow(0 6px 2px #484a3330);pointer-events:none}
.net-site:focus-visible{z-index:7}
.net-wallet{border:0;box-shadow:0 10px 35px #7c713212}
@keyframes earned-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.net-site-name{font-size:12px}}
@media(max-width:899px){
 body.game-view .has-machine .workshop-scene{left:-1%;width:83%;max-width:470px}
 body.game-view .has-machine .companion{right:-1%}
 body.game-view #stockIcon{width:34px}
 .net-site-name{font-size:10px;padding:3px 6px}
 .net-drones canvas{width:24px}
 body.game-view .achievement-grid{grid-template-columns:1fr}
 body.game-view .achievement-card img{width:76px;height:80px}
}
@media(max-width:360px){.net-site-name{font-size:9px;padding:3px 5px}body.game-view #stockIcon{width:29px}.net-site{width:88px}}
@media(max-width:899px) and (max-height:680px){body.game-view .has-machine .workshop-scene{width:76%;left:0}.net-site-name{font-size:9px}body.game-view.raw-start .clip-button>#heroClip{height:180px}}
@media(max-height:480px) and (orientation:landscape){body.game-view .has-machine .workshop-scene{width:80%}.net-site-name{font-size:9px}.net-site>.net-site-art{max-height:49px}}
body.game-view.raw-start .stage:after{display:none!important}
body.game-view #heroClip{touch-action:none}
body.game-view .achievement-card img{animation:none!important}
/* Real interactive controls, not the decorative animation bounds. */
body.game-view.debug-hitboxes #app .net-site{outline-offset:3px!important}
/* Motion is inside the atlas, not on the layout box. This keeps picking and
   the baseline stable even during a press or blink. */
body.game-view #heroClip{animation:none!important;transform:none!important}


/* 0.9.3: approved minimal cutout direction. One place, one next action.
   Keep these styles here, not a second theme layered onto the legacy files. */
body.game-view[data-chapter="2"]{--paper:#f7f2e3;--paper-light:#fcf8ee;--green:#34573f;--ink:#28362c;--muted:#777a66;background:#f7f2e3}
body.game-view[data-chapter="2"]:before,body.game-view[data-chapter="2"]:after{display:none!important}
body.game-view[data-chapter="2"] #app>.layout,body.game-view[data-chapter="2"] #bottomDock{display:none!important}
body.game-view[data-chapter="2"] #app{max-width:1920px;padding:8px clamp(14px,2.1vw,40px) 4px;background:transparent;position:relative}
body.game-view[data-chapter="2"] .topbar{height:74px;min-height:74px;border:0}
body.game-view[data-chapter="2"] .brand{gap:10px}
body.game-view[data-chapter="2"] .brand span{font-size:25px;letter-spacing:2px}
body.game-view[data-chapter="2"] .brand small{font-size:10px;letter-spacing:1px;margin-top:4px}
body.game-view[data-chapter="2"] .header-actions{gap:3px}
body.game-view[data-chapter="2"] .header-actions .icon-button{height:44px;width:38px;min-width:38px;background:none;border:0;box-shadow:none;color:#334a38}
body.game-view[data-chapter="2"] .footnote{height:20px;font-size:9px;opacity:.7}
#networkScreen{display:flex;flex:1;min-height:0;flex-direction:column;gap:6px;padding:0;color:#28362c}
#networkScreen .net-titlebar{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;flex-shrink:0;position:absolute;left:29%;right:245px;top:14px;min-height:57px}
#networkScreen .net-title{display:none}
.net-kicker,.net-eyebrow{font:600 10px/1.4 var(--sans);letter-spacing:1.5px;color:#787861;text-transform:uppercase}
.net-lifetime,.net-global-rate{text-align:left;min-width:0}
.net-lifetime>span,.net-global-rate>span{display:block;font:10px/1.2 var(--sans);letter-spacing:1px;color:#777861;text-transform:uppercase;margin-bottom:4px}
#netMade{display:block;font:500 clamp(28px,2.8vw,40px)/1.02 var(--serif);color:#273b2c;font-variant-numeric:tabular-nums}
#netMade sup,#total sup{font-size:.55em;vertical-align:super}
#netFull,#lifetimeFull{font:10px/1.3 var(--sans);letter-spacing:.4px;overflow-wrap:anywhere;margin-top:4px;max-width:100%;color:#7b7e6c;font-variant-numeric:tabular-nums}
.net-global-rate strong{font:500 clamp(23px,2.4vw,34px)/1.1 var(--serif);color:#426c4a;white-space:nowrap}
#networkScreen .net-wallet{display:grid;grid-template-columns:1fr 1fr 1fr 1.12fr 1fr;gap:12px;flex-shrink:0;padding:9px 15px;margin-bottom:3px;background:#eee8d56b;border:0;border-radius:12px;box-shadow:none}
#networkScreen .net-resource{display:flex;align-items:center;text-align:left;gap:10px;padding:3px 7px;min-height:48px;min-width:0;border:0;border-radius:7px;background:none;box-shadow:none;color:inherit}
#networkScreen .net-resource:hover{background:#e5dfcd7a}
#networkScreen .net-resource>img{height:35px;width:36px;object-fit:contain;flex-shrink:0;filter:none;margin:0}
#networkScreen .net-resource>span{min-width:0}
#networkScreen .net-resource small{display:block;color:#77735f;font:11px/1.3 var(--sans)}
#networkScreen .net-resource strong{display:block;font:600 21px/1.12 var(--serif);font-variant-numeric:tabular-nums;color:#303e30;white-space:nowrap}
#networkScreen .net-resource em{display:block;font:10px/1.2 var(--sans);color:#6b775c;margin-top:4px;white-space:nowrap}
#networkScreen .net-resource em:after{display:none}
#networkScreen .net-power.short strong{color:#ae643d}
#networkScreen .net-body{display:grid;grid-template-columns:minmax(0,1fr) clamp(305px,26vw,370px);gap:24px;flex:1;min-height:0}
#networkScreen .net-world{min-width:0;min-height:0;display:flex;flex-direction:column;gap:0;position:relative}
#networkScreen .net-map-heading{display:flex;flex-direction:row;align-items:center;gap:10px;position:static;min-height:44px;padding:0;flex-shrink:0}
.net-map-heading button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:5px 10px;font:600 12px var(--sans);color:#52634d;box-shadow:none;background:none;border:0;border-radius:5px}
.net-map-heading button img{width:27px;height:27px;object-fit:contain}
.net-map-heading button.active{color:#254d37;background:#e2e7d762}
.net-map-heading button:hover{color:#254d37;background:#e2e7d799}
#netReturnWorkshop{margin-left:auto}
#netBreadcrumb{font:italic 13px/1.2 var(--serif);color:#7c7c68;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#netTerritories{font:10px var(--sans);color:#8c8978;white-space:nowrap}
.net-map-intro{flex-shrink:0;text-align:center;padding:12px 4px 4px}
.net-map-intro h3{font:400 clamp(20px,1.8vw,29px)/1.25 var(--serif);margin:0 0 6px;color:#293c2e}
.net-map-intro p{font:11px/1.4 var(--sans);color:#7b806a;margin:0}
.net-scene{flex:1;min-height:0;position:relative;overflow:hidden;isolation:isolate;border:0;border-radius:0;background:#f7f2e3}
#networkScreen .net-map{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none;margin:0;background:url('assets/minimal/map.jpg') center/cover no-repeat;border:0;border-radius:0;box-shadow:none;overflow:hidden;isolation:isolate}
#netTerrain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.85}
#networkScreen .net-site{position:absolute;display:flex;flex-direction:column;align-items:center;gap:0;padding:0;min-height:44px;transform:translate(-50%,-50%);z-index:3;background:none;border:0;border-radius:0;color:#35492f;box-shadow:none;outline:none;opacity:.62;transition:opacity .22s}
#networkScreen .net-site.owned,#networkScreen .net-site.reachable{opacity:1}
#networkScreen .net-site:hover,#networkScreen .net-site:active{transform:translate(-50%,-50%)!important;background:none;box-shadow:none}
#networkScreen .net-site:focus-visible{outline:none;z-index:5}
#networkScreen .net-site:focus-visible .net-site-name{outline:2px solid #799568;outline-offset:3px}
#networkScreen .net-site:before,#networkScreen .net-site:after{display:none!important}
#networkScreen .net-site>.net-site-art{display:block;pointer-events:none;margin:-6px 0 -6px;aspect-ratio:1!important;height:auto!important;max-height:none;filter:none!important;transform:none!important}
#networkScreen .net-site:not(.owned)>.net-site-art{opacity:.44;filter:grayscale(.65)!important}
#networkScreen .net-site.reachable>.net-site-art{opacity:.68}
#networkScreen .net-site-name{font:600 clamp(13px,1.25vw,18px)/1.15 var(--serif);text-align:center;white-space:nowrap;padding:7px 11px;min-height:31px;color:#2d4331;background:#fcf8ecf2;border:0;border-radius:4px;box-shadow:none}
#networkScreen .net-site.selected.owned .net-site-name{color:#fff4dc;background:#3d6245}
#networkScreen .net-site small{font:10px/1.3 var(--sans);color:#86816d;white-space:nowrap;padding:3px 4px;background:none;box-shadow:none;border:0}
#networkScreen .net-site-rate{font:600 12px/1.3 var(--sans);color:#466f43;background:#fcf9eee8;border-radius:6px;padding:4px 8px;white-space:nowrap;box-shadow:none;z-index:2}
#networkScreen .net-site.recommended:not(.owned) .net-site-rate{background:#3a6142;color:#fff6df}
#networkScreen .idle-site .net-site-rate{color:#7a806a}
#networkScreen .net-drones{position:absolute;inset:0;pointer-events:none;z-index:4}
#networkScreen .net-drones canvas{position:absolute;width:34px;height:auto;aspect-ratio:256/208;transform:translate(-50%,-70%);filter:none;pointer-events:none}
.net-place{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;overflow:hidden;background-position:center;background-size:cover;animation:place-arrive .3s ease both}
.net-place-heading{position:absolute;top:20px;left:5%;right:5%;text-align:center;z-index:2;pointer-events:none}
.net-place-heading>span{font:10px var(--sans);letter-spacing:1.2px;text-transform:uppercase;color:#89866d}
.net-place-heading h3{font:400 31px/1.15 var(--serif);margin:6px 0;color:#33442f}
.net-place-heading strong{display:block;font:500 34px/1.15 var(--serif);margin:6px 0;color:#416c44}
.net-place-heading small{display:block;font:11px/1.4 var(--sans);color:#7e826c;max-width:480px;margin:5px auto}
#placeCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#placeCanvas.craftable{pointer-events:auto;touch-action:none;cursor:pointer}
.net-place-actions{position:absolute;bottom:19px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;z-index:3;max-width:96%;width:100%;pointer-events:none}
.net-place-actions button{pointer-events:auto}
.net-craft,.net-panel .primary-button,.net-buy{border:0;border-radius:5px;background:transparent url('assets/minimal/button-green.png') center/100% 100% no-repeat;color:#fff4dc;box-shadow:none;min-height:48px;font:600 15px/1.2 var(--serif);padding:12px 20px}
.net-craft{min-width:260px;min-height:65px;display:flex;align-items:center;justify-content:center;gap:15px;touch-action:none;transition:transform .09s,filter .12s}
.net-craft>img{width:26px;height:35px;object-fit:contain;filter:brightness(1.45)}
.net-craft small{display:block;font:10px/1.2 var(--sans);letter-spacing:.4px;opacity:.8;margin-top:4px}
.net-craft:active,.net-craft.pressing{transform:translateY(2px)!important;filter:brightness(1.07)}
.net-craft:disabled{opacity:.55;filter:saturate(.25)}
.net-place-manage{background:none;border:0;box-shadow:none;min-height:44px;font:12px var(--sans);color:#63785a;padding:7px 16px}
.net-place-manage:hover{color:#284d31;text-decoration:underline}
.net-combo{position:absolute;bottom:126px;padding:4px 10px;color:#4c7542;font:600 13px var(--sans);opacity:0;transition:opacity .15s;pointer-events:none;text-align:center;z-index:4}
.net-combo.visible{opacity:1}
#networkScreen .net-advisor{display:none}
#networkScreen .net-objective{display:flex;align-items:center;position:relative;gap:12px;min-height:67px;flex-shrink:0;padding:10px 16px 15px;margin-top:6px;text-align:left;border:0;border-radius:10px;width:100%;background:#fdf9ef;box-shadow:none}
.net-objective>img{width:41px;height:44px;object-fit:contain}
.net-objective strong{display:block;font:600 17px/1.3 var(--serif);color:#3b5439}
.net-objective small{display:block;font:11px/1.3 var(--sans);color:#83816d;margin-top:4px}
.net-objective>i{position:absolute;height:3px;background:#d1cfba50;left:69px;right:20px;bottom:7px;border-radius:2px}
.net-objective em{display:block;height:100%;background:#7a965e;transition:width .3s}
.net-panel{display:flex;flex-direction:column;min-height:0;gap:10px;border:0;border-image:none;border-radius:16px;background:#fcf8ee;padding:14px 20px 12px;color:#364430;box-shadow:none}
.net-panel:before,.net-panel:after{display:none}
.net-tabs{display:flex;gap:3px;flex-shrink:0}
.net-tabs button{flex:1;min-height:56px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:5px 2px;font:600 11px/1.2 var(--sans);color:#7d7f69;background:none;border:0;box-shadow:none;border-radius:7px}
.net-tabs button img{width:24px;height:24px;object-fit:contain}
.net-tabs button.active{background:#e6ebdc;color:#3d5e40}
.net-tabs button:hover:not(.active){background:#f2eedf}
.net-panel-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:8px 1px 8px;scrollbar-width:thin;scrollbar-color:#b4b99f transparent}
.net-panel h3{font:400 29px/1.13 var(--serif);color:#33442f;margin:8px 0 12px}
.net-panel h4{font:600 17px/1.2 var(--serif);color:#364630;margin:0}
.net-region-head{display:flex;align-items:center;gap:13px}
.net-region-head>img{width:65px;height:71px;object-fit:contain}
.net-region-head h3{font-size:24px;margin-bottom:3px}
.net-region-note{font:12px/1.65 var(--sans);color:#7f7f6a;margin:12px 0 16px}
.net-region-count{display:flex;align-items:center;justify-content:space-between;gap:9px;font:10px var(--sans);color:#8a826b;padding:8px 2px;background:none}
.net-building{padding:14px 0 11px;margin:0;background:none;border:0}
.net-building-top{display:grid;grid-template-columns:38px 1fr 76px;gap:8px;align-items:center}
.net-building-top>img{width:36px;height:44px;object-fit:contain}
.net-building-top h4>b{font:10px var(--sans);color:#97907c;white-space:nowrap}
.net-building-top p{font:11px/1.4 var(--sans);color:#788067;margin-top:4px}
.net-buy{min-width:76px;min-height:46px;padding:8px 10px;font:600 12px var(--sans);white-space:nowrap}
.net-buy:disabled{background-image:url('assets/minimal/button-paper.png');color:#968f7a;opacity:.72}
.net-building-bottom{display:flex;gap:4px;align-items:center;margin:5px 0 0 46px}
.net-machine-help{font:10px/1.5 var(--sans);color:#8b8775;flex:1}
.net-live-type{display:block;font:600 10px/1.5 var(--sans);color:#648155;margin-top:3px}
.net-tiny,.net-remove{min-width:44px;min-height:44px;padding:3px;font:10px var(--sans);color:#a57849;background:none;border:0;box-shadow:none}
.net-tiny.on{color:#658353}.net-remove{font-size:21px;color:#8b8873}
.net-panel .primary-button{width:100%;display:flex;align-items:center;justify-content:center}
.net-panel .primary-button:disabled{opacity:.5;filter:saturate(.2)}
.net-panel .text-action,.net-neighbors button{min-height:44px;padding:8px 0;background:none;border:0;box-shadow:none;font:12px var(--sans);color:#5e7c4e;text-align:left}
.net-fine,.net-reason{font:10px/1.6 var(--sans);color:#8c8772;margin:10px 0}.net-reason{display:block}
.net-priority{flex-shrink:0;padding:8px 0 0}
.net-priority label{font:10px var(--sans);color:#85806c;display:block;margin-bottom:6px}
.net-priority select{background:#e9edde;color:#3c5938;border:0;border-radius:6px;width:100%;min-height:44px;font:12px var(--sans);padding:9px}
#networkScreen[data-panel="overview"] .net-panel .net-priority{display:none}
.net-connect-portrait{height:135px;display:flex;justify-content:center;margin:12px 0}
.net-connect-portrait img{width:160px;height:100%;object-fit:contain}
.net-neighbors{display:flex;flex-direction:column;gap:2px;margin-top:15px}.net-neighbors small{font:9px var(--sans);letter-spacing:1px;color:#969079}
.net-plan{padding:13px 0}.net-plan-head{display:flex;gap:12px;align-items:center}.net-plan-head>img{width:42px;height:42px;object-fit:contain}.net-plan>p{font:12px/1.6 var(--sans);color:#817e68;margin:10px 0}.net-plan.discovered{opacity:.67}.net-discovered{font:11px var(--sans);color:#63814f}
.net-rocket{height:165px;display:flex;justify-content:center;margin:14px 0}.net-rocket img{width:170px;height:170px;object-fit:contain}
.net-quote{font:italic 16px var(--serif);color:#758162;text-align:center}.net-launch-checks{font:12px/1.8 var(--sans);color:#7a8168;margin:15px 0}
.net-project-bar{height:5px;background:#aaa6804a}.net-project-bar>i{display:block;height:100%;background:#758f5d}.net-ending-seal{padding:16px 0;font:11px var(--sans);letter-spacing:1.2px;color:#5c7c45}
.net-next-step{padding:10px 0 24px}.net-next-step h3{font-size:29px;margin:10px 0 16px}.net-next-step p{font:13px/1.75 var(--sans);color:#777b65;margin:0 0 23px}.net-next-step>.primary-button{min-height:50px}
.net-next-step>small{display:block;font:10px var(--sans);color:#8b866f;margin-top:10px;text-align:center}
.net-network-flow{margin:10px 0 20px}.net-network-flow>div{display:grid;grid-template-columns:30px 1fr 10px 30px 1fr 10px 30px 1fr;align-items:center;gap:3px;margin-top:14px}.net-network-flow img{width:27px;height:32px;object-fit:contain}.net-network-flow span{font:10px var(--sans);color:#68765e}.net-network-flow b{color:#a19b86}.net-network-flow p{font:11px/1.65 var(--sans);color:#8b8671;margin-top:12px}
.net-enter-workshop{display:flex;align-items:center;gap:12px;min-height:90px;width:100%;text-align:left;border:0;background:#f0eddf;border-radius:9px;padding:12px;margin:12px 0 2px;box-shadow:none}
.net-enter-workshop img{width:54px;height:60px;object-fit:contain}.net-enter-workshop strong{font:600 17px/1.2 var(--serif);display:block;color:#3c5337}.net-enter-workshop small{font:10px/1.5 var(--sans);display:block;color:#8a8573;margin-top:5px}.net-enter-workshop>b{font-size:24px;color:#738268;margin-left:auto}
.net-overview-settings{min-height:44px;padding:8px 0;width:100%;font:11px var(--sans);color:#6f8163;background:none;border:0;text-align:left}
.net-mobile-dock,.net-sheet-close{display:none}
.net-sheet{padding:0;border:0;background:none;max-width:none;max-height:none;overflow:visible}.net-sheet::backdrop{background:#283b315c;backdrop-filter:blur(2px)}
.net-event-list p{font:12px/1.6 var(--sans);margin-top:12px;color:#7d8068}
@keyframes place-arrive{from{opacity:0}to{opacity:1}}
@media(min-width:900px) and (max-width:1150px){
 #networkScreen .net-titlebar{left:29%;right:202px;gap:15px}
 body.game-view[data-chapter="2"] .brand span{font-size:21px}
 body.game-view[data-chapter="2"] .header-actions .icon-button{width:33px;min-width:33px}
 #networkScreen .net-body{grid-template-columns:minmax(0,1fr) 310px;gap:15px}
 .net-panel{padding:12px 16px}.net-tabs button{font-size:10px}
 #networkScreen .net-site-name{font-size:14px}.net-map-intro h3{font-size:22px}
}
@media(max-width:899px),(max-height:480px) and (orientation:landscape){
 body.game-view[data-chapter="2"] #app{padding:0 12px 4px;height:100dvh}
 body.game-view[data-chapter="2"] .topbar{height:46px;min-height:46px}
 body.game-view[data-chapter="2"] .brand span{font-size:18px;letter-spacing:1px}
 body.game-view[data-chapter="2"] .brand small{display:none}
 body.game-view[data-chapter="2"] .brand img{width:14px;height:24px}
 body.game-view[data-chapter="2"] .header-actions .icon-button{width:31px;min-width:31px;min-height:44px}
 body.game-view[data-chapter="2"] .header-actions{gap:0}
 body.game-view[data-chapter="2"] .footnote{display:none}
 #networkScreen{gap:5px}
 #networkScreen .net-titlebar{position:static;grid-template-columns:1.15fr 1fr;gap:10px;min-height:58px}
 #netMade{font-size:31px}#netFull{font-size:8px;max-width:210px}
 .net-lifetime>span,.net-global-rate>span{font-size:8px;letter-spacing:.3px;margin-bottom:4px}
 .net-global-rate{text-align:right}.net-global-rate strong{font-size:24px}
 #networkScreen .net-wallet{gap:2px;margin:0;padding:5px 4px;border-radius:8px}
 #networkScreen .net-resource{min-height:65px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:1px 4px}
 #networkScreen .net-resource>img{width:22px;height:23px}
 #networkScreen .net-resource small{font-size:8px}
 #networkScreen .net-resource strong{font-size:16px;letter-spacing:-.3px}
 #networkScreen .net-resource em{font-size:8px;letter-spacing:-.2px;white-space:normal;line-height:1.3;margin-top:2px}
 #networkScreen .net-power strong{font-size:13px;padding-top:2px;padding-bottom:2px}
 #networkScreen .net-power em{font-size:7px}
 #networkScreen .net-body{display:flex;flex-direction:column;gap:0;min-height:0}
 #networkScreen .net-world{flex:1;min-height:0}
 #networkScreen .net-map-heading{min-height:38px;gap:5px}
 .net-map-heading button{font-size:10px;padding:3px 5px;min-height:38px;gap:4px}
 .net-map-heading button img{width:24px;height:25px}#netBreadcrumb{font-size:11px}#netTerritories{font-size:9px}
 .net-map-intro{padding:3px 2px 6px}.net-map-intro h3{font-size:18px;margin:0}.net-map-intro p{display:none}
 #networkScreen .net-map{background-image:url('assets/minimal/map-portrait.jpg')}
 #networkScreen .net-site-name{font-size:14px;padding:5px 8px;min-height:27px}
 #networkScreen .net-site small{font-size:8px;padding:3px}
 #networkScreen .net-site-rate{font-size:10px;padding:3px 5px;letter-spacing:-.1px}
 #networkScreen .net-drones canvas{width:25px}
 .net-place-heading{top:12px;left:4%;right:4%}
 .net-place-heading>span{font-size:8px}
 .net-place-heading h3{font-size:25px;margin:5px 0}
 .net-place-heading strong{font-size:27px;margin:5px 0}
 .net-place-heading small{font-size:10px;max-width:270px;line-height:1.4}
 .net-place-actions{bottom:4px;gap:0}
 .net-craft{min-width:220px;min-height:56px;padding:9px 18px;font-size:17px}
 .net-craft>img{width:24px;height:31px}
 .net-place-manage{min-height:44px;font-size:11px;padding:6px 12px}
 .net-combo{bottom:111px;font-size:11px}
 #networkScreen .net-objective{min-height:57px;padding:8px 10px 12px;gap:10px;margin-top:4px;border-radius:7px}
 .net-objective>img{width:34px;height:36px}
 .net-objective strong{font-size:14px}
 .net-objective small{font-size:10px;margin-top:3px}
 .net-objective>i{left:53px;right:10px;bottom:5px}
 .net-mobile-dock{display:flex;flex-shrink:0;gap:5px;padding:4px 0 calc(4px + env(safe-area-inset-bottom));min-height:60px}
 .net-mobile-dock button{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:50px;background:#fdf9ef;border:0;border-radius:7px;box-shadow:none;color:#63795a;font:600 10px var(--sans)}
 #networkScreen[data-view="map"] .net-mobile-dock button[data-map],#networkScreen[data-view="place"] .net-mobile-dock button[data-visit]{background:#375c41;color:#fff5e0}
 .net-mobile-dock img{height:24px;width:24px;object-fit:contain}
 .net-sheet[open]{position:fixed;inset:auto 0 0;width:100%;height:min(88dvh,750px);margin:0}
 .net-sheet .net-panel{width:100%;height:100%;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;position:relative;gap:8px;background:#fcf8ee}
 .net-sheet-close{display:block;position:absolute;right:13px;top:10px;width:44px;height:44px;z-index:4;color:#66755a;font-size:26px;border:0;background:none;box-shadow:none}
 .net-sheet .net-tabs{padding-right:46px;gap:2px}
 .net-panel-body{padding-top:7px;min-height:0}
 .net-region-head h3{font-size:24px}
 .net-tabs button{min-height:56px;font-size:11px}
 .net-next-step{padding-top:12px}
 .net-region-note{margin:8px 0 12px}
}
@media(max-width:899px) and (max-height:710px){
 #networkScreen .net-titlebar{min-height:52px}
 #netMade{font-size:27px}.net-global-rate strong{font-size:21px}
 #networkScreen .net-wallet{padding:4px}
 #networkScreen .net-resource{min-height:52px}
 #networkScreen .net-resource em{display:none}
 #networkScreen .net-resource>img{height:19px;width:21px}
 .net-map-intro{display:none}
 #networkScreen .net-site-name{font-size:11px;min-height:22px;padding:4px}
 #networkScreen .net-site small{font-size:8px}
 #networkScreen .net-site-rate{font-size:9px}
 #networkScreen .net-objective{min-height:52px;margin-top:2px}
 .net-objective strong{font-size:13px}.net-objective small{font-size:9px}
 .net-mobile-dock{padding-top:2px;min-height:54px}
 .net-mobile-dock button{min-height:48px}
 .net-place-heading{top:7px}.net-place-heading h3{font-size:21px}.net-place-heading strong{font-size:23px}.net-place-heading small{display:none}
 .net-place-actions{bottom:2px}
 .net-craft{min-height:49px;min-width:190px;font-size:15px}
 .net-craft small{font-size:9px}
 .net-place-manage{min-height:44px}
 .net-combo{bottom:98px;font-size:10px}
}
@media(max-height:480px) and (orientation:landscape){
 body.game-view[data-chapter="2"] .topbar{min-height:44px;height:44px}
 #networkScreen .net-titlebar{position:absolute;top:6px;left:29%;right:210px;min-height:35px;gap:16px}
 #netMade{font-size:24px}.net-global-rate strong{font-size:20px}.net-lifetime>span,.net-global-rate>span{font-size:7px;margin-bottom:1px}#netFull{font-size:7px;line-height:1}
 #networkScreen .net-wallet{padding:2px 7px;gap:10px}
 #networkScreen .net-resource{flex-direction:row;align-items:center;min-height:37px;gap:5px}
 #networkScreen .net-resource strong{font-size:15px}#networkScreen .net-resource>img{height:28px;width:26px}#networkScreen .net-resource em{display:none}
 #networkScreen .net-body{flex:1}
 #networkScreen .net-map-heading{min-height:32px}
 .net-map-heading button{min-height:32px}#netBreadcrumb{font-size:11px}
 .net-map-intro{display:none}
 #networkScreen .net-world{padding-right:150px}
 #networkScreen .net-objective{position:absolute;right:0;top:41px;bottom:0;width:140px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:10px;gap:10px;margin:0}
 .net-objective>i{left:10px;right:10px;bottom:10px}
 .net-objective strong{font-size:13px}.net-objective small{font-size:10px}
 .net-mobile-dock{min-height:48px;padding:2px 0}
 .net-mobile-dock button{min-height:44px;flex-direction:row;gap:9px;font-size:11px}
 #networkScreen .net-site-rate{font-size:9px}
 #networkScreen .net-site-name{font-size:11px;padding:3px 6px}
 #networkScreen .net-site small{font-size:8px;padding:2px}
 .net-place-heading{left:3%;right:auto;width:38%;top:15px;text-align:left}
 .net-place-heading h3{font-size:21px}.net-place-heading strong{font-size:22px}
 .net-place-actions{left:3%;bottom:1px;right:auto;width:38%;max-width:38%}
 .net-craft{min-width:0;width:100%;min-height:46px;padding:7px 12px;font-size:14px}
 .net-craft>img{height:24px;width:19px}.net-craft small{font-size:8px}
 .net-place-manage{min-height:44px;padding:4px}
 .net-combo{left:42%;bottom:3px}
 .net-sheet[open]{left:auto;right:0;top:0;bottom:0;width:400px;height:100dvh}
 .net-sheet .net-panel{border-radius:14px 0 0 14px}
}
@media(prefers-reduced-motion:reduce){.net-place,.net-site,.net-craft{animation:none!important;transition:none!important}}

/* Compact maps prioritise the place name and actual output, not slot metadata. */
#networkScreen.compact-map .net-site small{display:none}
#networkScreen.compact-map .net-site-name{font-size:13px;min-height:26px;padding:5px 6px}
#networkScreen.compact-map .net-site-rate{font-size:9px;padding:3px 4px}
#networkScreen.compact-map .net-site-name{max-width:100%}
