.dev-node{position:absolute;width:188px;min-height:74px;padding:10px;text-align:left;border:1px solid #667b8e;border-radius:9px;background:#223448;color:#e2eaf0;font:inherit;cursor:pointer}.dev-node b,.dev-node small{display:block}.dev-node small{margin-top:7px;color:#a5b8c5}.dev-node.complete,.upgrade-step.complete{background:#274c42;border-color:#76b99a}.dev-node.available{border-color:#dfbe79}.dev-node.selected{outline:2px solid #a6d7ef;outline-offset:2px}.workflow-scroll{max-width:100%;max-height:480px;overflow:auto;touch-action:pan-x pan-y;overscroll-behavior:contain;border:1px solid #425969;border-radius:10px;background:#13212d}.workflow{position:relative}.workflow svg{position:absolute;inset:0;pointer-events:none}.research-card{padding:10px;background:#213343;border-radius:9px;margin:10px 0}.dev-requirements .row{gap:8px;align-items:flex-start}.dev-requirements .row b{white-space:nowrap}.dev-requirements .row span{overflow-wrap:anywhere}.upgrade-chain{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:12px 0}.upgrade-step{padding:8px;border:1px solid #5a7386;border-radius:6px}#panel details,#infobox details{border:1px solid #53657566;border-radius:8px;margin:9px 0;padding:8px}#panel summary,#infobox summary{min-height:32px;cursor:pointer;color:#dbd0af;font-weight:600;line-height:1.6}#panel details p,#infobox details p{line-height:1.65}#development-building{width:100%;max-width:100%;margin:8px 0;background:#142333;color:#e3eaf0;padding:8px;border:1px solid #547085;border-radius:6px}#panel button:disabled{opacity:.5;cursor:not-allowed}body.mobile-layout .dev-node{min-height:80px}body.mobile-layout #panel summary{min-height:44px}#infobox .workflow-scroll{max-height:220px}
#toast{display:none!important}#notice-toggle{white-space:nowrap;position:relative}#notice-count{display:inline-block;min-width:16px;border-radius:10px;padding:1px 4px;background:#ac6b39;color:white;font-size:10px}#notice-list{position:fixed;top:64px;right:12px;width:min(360px,calc(100vw - 24px));max-height:min(65dvh,560px);overflow:auto;z-index:120;padding:12px;border-radius:12px}#notice-list[hidden]{display:none}#notice-list header{display:flex;align-items:center;gap:12px;justify-content:space-between}#notice-list header .act{width:auto;margin:0;padding:7px 12px}#notice-list ol{list-style:none;margin:8px 0 0;padding:0}#notice-list li{padding:10px 0;border-top:1px solid #52687c66;font-size:12px;overflow-wrap:anywhere}#notice-list li small{color:#91a4b5}#notice-list li p{margin:5px 0;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.mobile-layout #speed{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}body.mobile-layout #speed .sbtn{min-width:0;padding:5px 2px;font-size:11px}body.mobile-layout #notice-list{top:calc(110px + env(safe-area-inset-top));right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 200px)}@media(max-height:500px) and (orientation:landscape){body.mobile-layout #speed{width:340px;flex:0 0 340px}body.mobile-layout #notice-list{top:64px;max-height:calc(100dvh - 140px)}}
#budget-strip{display:flex;flex-direction:column;gap:3px;font-size:10px;white-space:nowrap}#budget-strip span{color:#a8b8c6}#budget-strip b{font-size:11px}body.mobile-layout #topbar{height:calc(124px + env(safe-area-inset-top));gap:5px}body.mobile-layout #budget-strip{order:10;flex:1 0 100%;display:flex;flex-direction:row;justify-content:space-between;font-size:10px;line-height:16px}body.mobile-layout #toolbar{max-height:min(65dvh,calc(100dvh - 222px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}body.mobile-layout #notice-list{top:calc(132px + env(safe-area-inset-top));max-height:calc(100dvh - 222px)}@media(min-width:901px) and (max-width:1550px){#topbar .brand{display:none}}@media(max-height:500px) and (orientation:landscape){body.mobile-layout #topbar{height:calc(58px + env(safe-area-inset-top))}body.mobile-layout #budget-strip{flex:0 0 auto;order:0;flex-direction:column;font-size:9px;line-height:12px}body.mobile-layout #budget-strip b{font-size:10px}body.mobile-layout #toolbar{max-height:calc(100dvh - 144px)}body.mobile-layout #notice-list{top:64px;max-height:calc(100dvh - 140px)}}
#building-hover{position:fixed;z-index:85;pointer-events:none;padding:8px 12px;border:1px solid #91b3c5;border-radius:8px;font-size:12px;white-space:nowrap;color:#e9e4d0;box-shadow:0 4px 14px #07121a88}#building-hover[hidden]{display:none}body.mobile-layout #building-hover{display:none}
body.mobile-layout #notice-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;line-height:13px;font-size:10px}
body.development-wide #side{width:min(1120px,calc(100vw - 32px));max-width:none}body.development-wide #panel>.workflow-scroll{max-height:65dvh}body.mobile-layout.development-wide #side{left:8px;right:8px;width:auto;height:calc(100dvh - 214px);max-height:calc(100dvh - 214px)}
.act.danger{background:#5b2930;border:1px solid #bb626a;color:#ffe4e6}#reset-game-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #9a6164;border-radius:14px;background:#172532;color:#e8edf0;box-shadow:0 20px 80px #0009}#reset-game-dialog::backdrop{background:#08101bc9}#reset-game-dialog p{font-size:14px;line-height:1.7}#reset-game-dialog button{min-height:44px}#reset-game-dialog h2{font-size:21px;color:#ebc482}
