
:root{--ink:#f4ebdd;--dim:#adafa9;--sub:#777f82;--gold:#d8b87f;--line:#ffffff22;--panel:#0c171bbd;--glass:#142024d9;--green:#b4d6b6;--red:#e3a68a}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#141b20;color:var(--ink);font-family:'DM Sans',Arial,sans-serif}button{font:inherit;cursor:pointer}button:focus-visible{outline:2px solid #f3d1a4;outline-offset:3px}#scene{display:block;width:100%;height:100%;touch-action:none}#vignette{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at 51% 43%,transparent 47%,#0910165d 100%);z-index:1}.hud{position:fixed;inset:0;pointer-events:none;z-index:2}.hud>*{pointer-events:auto}.glass{background:var(--panel);border:1px solid #ffffff20;box-shadow:0 8px 40px #0006;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.masthead{position:absolute;left:22px;top:20px;width:480px;height:87px;padding:15px 19px;display:flex;justify-content:space-between;align-items:center;border-radius:3px}.mark{display:flex;gap:14px;align-items:center}.mark-glyph{font-size:42px;font-weight:300;color:var(--gold);line-height:1}.eyebrow{font-size:9px;letter-spacing:2.1px;font-weight:700;color:#d9c7a6}.mark h1{font-family:Cinzel,Georgia,serif;font-size:19px;letter-spacing:2.5px;font-weight:600;margin:3px 0 0;color:#fff3d9}.subtitle{letter-spacing:1.05px;font-size:9px;color:#adb9b9}.bull{font-size:7px;margin:0 4px;color:var(--gold)}.mast-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.live,.seed{font-size:9px;letter-spacing:1px;color:#c2ccc3;white-space:nowrap}.live{color:#a8d5ab}.live i{width:6px;height:6px;display:inline-block;background:#9fd0a7;border-radius:50%;margin-right:6px;box-shadow:0 0 11px #a7d7b6}.seed{font-size:8px;color:#a5abb0}.seed b{color:#eee3d0}.clock{position:absolute;right:22px;top:20px;height:87px;display:flex;align-items:center;gap:17px;padding:14px 18px;border-radius:3px}.clock>div:first-child{border-right:1px solid var(--line);padding-right:15px}.clock strong{font-family:Cinzel,serif;font-size:26px;font-weight:500;display:block;line-height:1.28}.clock .smallvalue{font:600 12px 'DM Sans';letter-spacing:.6px;margin:6px 0}.weatherline{font-size:10px;color:#b4bfc0}.weathericon{font-size:29px;color:#efd2a2}.left-stack,.right-stack{position:absolute;top:119px;bottom:97px;overflow:auto;scrollbar-width:thin;scrollbar-color:#64716d44 transparent}.left-stack{left:22px;width:290px}.right-stack{right:22px;width:310px}.panel{border-radius:3px;padding:15px 16px;margin-bottom:11px}.panelhead{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#e6d5b7;padding-bottom:14px}.panelhead .dull{color:#818e8e;font-size:9px;letter-spacing:.8px}.population{display:flex;justify-content:space-between;align-items:end;margin:2px 0 16px}.population strong{font:500 35px Cinzel,Georgia,serif;display:block;margin-top:3px;line-height:1}.population-side{text-align:right;font-size:9px;display:flex;flex-direction:column;gap:8px;color:#a3a9a4}.up{color:#a5d4b0}.barlabel{display:flex;justify-content:space-between;font-size:9px;color:#aeb5b1;letter-spacing:1px;margin-bottom:8px}.track{height:4px;background:#c7c7c72a;border-radius:3px;overflow:hidden}.fill{height:100%;transition:width .5s}.fill-morale{background:linear-gradient(90deg,#adba91,#d4b77d)}.sepline{height:1px;background:#ffffff1e;margin:17px 0 4px}.resrow{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #ffffff0d}.resrow:last-child{border:0}.resicon{display:flex;width:24px;height:24px;justify-content:center;align-items:center;border-radius:50%;font-size:16px;flex-shrink:0;background:#ffffff0d}.resicon.blue{color:#9cd5e6}.resicon.gold{color:#f0d9a0}.resicon.green{color:#aad3a3}.resicon.sand{color:#d4b4a5}.resicon.plum{color:#e0b5d8}.resicon.coin{color:#e3c895}.resrow>div{flex:1}.resrow b{font-weight:500;font-size:11px;display:block}.resrow small{font-size:9px;color:#9da7a6}.resrow strong{font:600 14px Cinzel,serif;color:#e7ddcf}.policy-grid,.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.policy{background:#ffffff0a;border:1px solid #ffffff16;color:#ede2d4;text-align:left;min-height:86px;padding:9px;transition:.2s}.policy:hover,.build-grid button:hover{border-color:#bd9e6f;background:#ebc8951c}.policy.on{background:#c4a37525;border-color:#d8b87fa0}.polsymbol{color:var(--gold);font-size:18px;display:block;margin-bottom:4px}.policy>span:nth-child(2){display:block;font-size:11px;font-weight:600}.policy small{font-size:9px;color:#a6ada5;display:block;margin-top:3px;line-height:1.3}.routes p{font-size:11px;line-height:1.65;color:#aab5b0;margin:0 0 12px}.route-list{display:grid;gap:5px}.route{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid #ffffff18;background:#ffffff08;text-align:left;color:#e9dcc9;padding:10px;min-height:56px}.route.active{border-color:#d8b87f9c;background:#d8b87f1b}.route:hover{background:#d8b87f21}.route b{display:block;font-size:10px;letter-spacing:.9px}.route small{color:#a1aaa8;font-size:9px;display:block;margin-top:3px}.route .arrow{font-size:18px;color:var(--gold)}.primary,.enter{color:#1b2522;background:linear-gradient(100deg,#ddbd87,#e9d5ae);border:0;font-weight:700;letter-spacing:1.4px}.primary{width:100%;font-size:10px;margin-top:10px;padding:13px 12px;display:flex;justify-content:space-between}.primary:hover,.enter:hover{filter:brightness(1.12)}.primary:disabled{opacity:.5;cursor:not-allowed}.hint{color:#86958f;font-size:9px;line-height:1.4;margin-top:9px}.build-grid button{color:#e5dacb;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #ffffff16;background:#ffffff0a;min-height:81px;padding:10px;transition:.2s}.build-grid b{font-size:19px;color:var(--gold);font-weight:400}.build-grid span{font-size:10px;font-weight:600;margin-top:5px}.build-grid small{font-size:9px;color:#a5a9a3;margin-top:3px}.xbtn{background:none;border:none;color:#b5b2a7;font-size:12px}.insbody{padding:2px 0 4px}.insglyph{font:36px Cinzel,serif;color:#d7b57b}.ins-eyebrow{font-size:9px;letter-spacing:1.5px;color:#b8ab91;margin-top:5px}.insbody h2{font:500 19px Cinzel,serif;line-height:1.3;margin:8px 0;color:#efe3d1}.insbody p{font-size:11px;line-height:1.65;color:#aeb7b1}.insdata{font-size:10px;color:#cac7b8}.insdata div{display:flex;justify-content:space-between;padding:7px 0;border-top:1px solid #ffffff19}.insdata strong{color:#e8ca8f}.outline{width:100%;margin-top:9px;border:1px solid #e6c18a8e;background:transparent;color:#ebd1a4;padding:11px;font-size:9px;letter-spacing:1.5px}.eventfeed{position:absolute;left:330px;bottom:98px;width:310px;padding:12px 14px;border-radius:3px;max-height:162px;overflow:hidden}.eventtitle{font-size:9px;letter-spacing:1.9px;color:#ddc69e;font-weight:700;display:flex;justify-content:space-between;margin-bottom:7px}#events{display:flex;flex-direction:column;gap:7px}.eventline{font-size:10px;line-height:1.4;color:#adbdb9;border-left:2px solid #cbaf77;padding-left:8px}.eventline .evtime{color:#d9bb8a;margin-right:6px}.footer{position:absolute;left:22px;right:22px;bottom:20px;min-height:65px;border-radius:3px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:20px}.controls,.status,.speeds{display:flex;align-items:center;gap:8px}.controls button{background:transparent;color:#d8ddd5;border:1px solid #ffffff29;padding:7px 10px;min-width:29px;height:33px}.controls button:hover{background:#ffffff1c}.controls button.active{background:#e8c6902c;color:#f5dba9;border-color:#e8c6908c}.controls .pause{font-size:15px;color:#d9bd93}.controlcap{font-size:9px;letter-spacing:1.2px;color:#9ea6a3;margin-left:7px}.speeds{gap:0}.speeds button{min-width:34px;padding:6px;border-right:0;font-size:11px}.speeds button:last-child{border-right:1px solid #ffffff29}.divbar{height:24px;border-left:1px solid #ffffff27;margin:0 4px}.status{font-size:9px;color:#9daaad;letter-spacing:.6px;white-space:nowrap}.status>span:nth-child(2){color:#d8c49f;font-size:8px}.status-key{color:#849394;font-size:8px;margin-left:7px}#toast-area{position:absolute;top:118px;left:50%;transform:translateX(-50%);min-width:240px;display:flex;flex-direction:column;gap:6px}.toast{color:#f6e7c9;background:#1a292de8;border:1px solid #e0c18a77;box-shadow:0 8px 25px #0006;padding:11px 17px;font-size:11px;text-align:center;letter-spacing:.2px;animation:toastin .25s ease}@keyframes toastin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.intro{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at center,#15212895,#080f18c9 85%);z-index:10}.intro.hidden{opacity:0;pointer-events:none;transition:opacity .95s}.intro-frame{width:min(590px,90vw);text-align:center;padding:47px 46px 40px;border:1px solid #f0d8a044;background:#10171cc7;box-shadow:0 25px 90px #0009;backdrop-filter:blur(14px)}.intro-kicker{font-size:10px;letter-spacing:3px;color:#d3ba8b}.intro-rule{width:70px;height:1px;background:#b69c76;margin:22px auto}.intro h2{font:500 clamp(46px,7vw,76px) Cinzel,Georgia,serif;line-height:1.08;letter-spacing:7px;margin:0;color:#f2e6cf;text-shadow:0 4px 28px #000}.intro h2 em{font-style:normal;color:#e2bd7f}.intro p{font:400 14px/1.9 Georgia,serif;color:#b9c1b6;max-width:420px;margin:25px auto}.intro-features{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;color:#c9b18a;font-size:8px;font-weight:700;letter-spacing:1.2px}.intro-features span{border-left:1px solid #bc9f75;padding-left:10px}.enter{padding:18px 22px;margin:30px 0 16px;min-width:290px;display:inline-flex;justify-content:space-between;gap:30px;font-size:11px}.intro-foot{font-size:8px;color:#8b9797;letter-spacing:1.5px}#fatal{position:absolute;inset:0;background:#1b2525ed;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}#fatal[hidden]{display:none}#fatal h2{font:26px Cinzel,serif}#fatal p{max-width:530px;line-height:1.6;color:#d4cdbd}.hide-hud .left-stack,.hide-hud .right-stack,.hide-hud .eventfeed,.hide-hud .clock,.hide-hud .masthead{opacity:0;pointer-events:none}.hide-hud .footer{opacity:.7}.hide-hud .status-key{display:none}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#adb9ad55}@media(max-width:1350px){.status-key{display:none}.eventfeed{left:329px}.masthead{width:465px}}@media(max-width:1020px){.left-stack{width:245px}.right-stack{width:260px}.masthead{width:400px}.eventfeed{left:280px;max-width:250px}.status{display:none}.clock{padding:9px;gap:10px}.clock .smallvalue{font-size:10px}.clock strong{font-size:19px}}@media(max-width:700px){.masthead{left:8px;top:8px;width:calc(100% - 16px);height:69px}.masthead .seed{display:none}.mark h1{font-size:14px}.clock{top:83px;right:8px;height:53px}.clock .eyebrow{font-size:7px}.clock strong{font-size:15px}.weathericon{font-size:17px}.weatherline{display:none}.left-stack{left:8px;top:142px;width:39%;bottom:78px}.right-stack{right:8px;top:142px;width:56%;bottom:78px}.panel{padding:9px}.resrow{gap:3px;padding:6px 0}.resrow small{display:none}.resrow strong{font-size:10px}.resrow b{font-size:9px}.resicon{width:17px}.policy-grid,.build-grid{grid-template-columns:1fr 1fr}.policy small{display:none}.policy{min-height:53px}.footer{bottom:7px;left:8px;right:8px;padding:8px}.controls{gap:3px}.controls button{min-width:21px;padding:5px}.controlcap{display:none}.eventfeed{display:none}.intro-frame{padding:27px 18px}.intro-features{gap:6px}}
