:root{font-family:'DM Sans',Inter,'Segoe UI',sans-serif;background:#071016;color:#ecf1e8;font-synthesis:none;--glass:rgba(9,21,26,.87);--accent:#b8d7b6;--mint:#89d6bb;--gold:#ddc08e;--stroke:rgba(196,221,208,.15)}
*{box-sizing:border-box}body{margin:0;width:100vw;height:100vh;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}button:focus-visible{outline:2px solid #b9e7cc;outline-offset:2px}canvas{display:block}#viewport{position:fixed;inset:0}#viewport canvas{width:100%;height:100%}.vignette{pointer-events:none;position:fixed;inset:0;background:linear-gradient(90deg,rgba(5,13,18,.3),transparent 34%,transparent 67%,rgba(2,9,13,.23)),linear-gradient(0deg,rgba(1,8,13,.49),transparent 22%,transparent 68%,rgba(2,8,11,.55));z-index:1}#crosshair{position:fixed;left:50%;top:51%;width:3px;height:3px;border:1px solid #e9fff8;border-radius:50%;opacity:.55;z-index:1;pointer-events:none}.hud{position:fixed;inset:0;pointer-events:none;z-index:2}.hud button,.hud canvas,.hud .panel,.hud .topbar{pointer-events:auto}.topbar{position:absolute;top:0;left:0;right:0;height:96px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 34px 18px;background:linear-gradient(180deg,rgba(4,12,16,.86),rgba(4,12,16,.12));border-bottom:1px solid rgba(224,242,220,.1)}.identity{display:flex;align-items:center;gap:16px;min-width:0}.sigil{width:56px;height:58px;border:1px solid rgba(215,225,207,.55);display:flex;align-items:center;justify-content:center;flex-direction:column;color:#d2d8bf;flex:none;position:relative}.sigil span{font-size:29px;line-height:28px}.sigil small{font-size:7px;letter-spacing:2px;opacity:.6}.eyebrow,.section-index,.label-small,.foot-label,.panel-heading,.metric>span,.subject-vitals span,.subject-traits>div,.small-credit,.play-state,.help-hint{font-family:'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:2px;font-size:11px;font-weight:600}.eyebrow{color:#adc0b2;opacity:.9;letter-spacing:2.35px}.separator{margin:0 7px;color:#cda878}.identity h1{font-family:'Barlow Condensed',Impact,sans-serif;letter-spacing:2px;font-weight:500;font-size:30px;line-height:1.08;margin:5px 0 0}.identity h1 strong{font-weight:800;color:#e9ead4}.subtitle{font-family:Georgia,serif;font-style:italic;font-size:11px;letter-spacing:.3px;color:#b8c4ba;margin-top:4px}.top-actions{display:flex;align-items:center;gap:10px}.calendar{display:flex;flex-direction:column;min-width:194px;padding:0 15px 0 0;border-right:1px solid var(--stroke);margin-right:5px;gap:3px}.calendar strong{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;font-size:19px;letter-spacing:.7px}.calendar span:last-child{font-size:11px;color:#b9c6c5}.label-small{color:#a0b8ad}.icon-btn{width:37px;height:37px;background:rgba(18,33,36,.67);border:1px solid rgba(218,239,227,.24);border-radius:3px;font-size:19px}.icon-btn:hover,.preset:hover,.speed:hover{background:rgba(120,156,145,.22)}.statbar{position:absolute;top:103px;left:50%;transform:translateX(-50%);display:flex;background:rgba(7,18,22,.85);border:1px solid rgba(204,230,214,.15);border-top:2px solid rgba(204,228,197,.5);backdrop-filter:blur(18px);box-shadow:0 14px 48px rgba(0,0,0,.22)}.metric{min-width:155px;max-width:190px;padding:13px 18px 14px;border-right:1px solid var(--stroke);display:flex;flex-direction:column;gap:4px}.metric:last-child{border:0}.metric>span{color:#aec0b7;white-space:nowrap}.metric strong{font-family:'Barlow Condensed',sans-serif;font-size:31px;letter-spacing:.4px;line-height:1.1}.metric .unit{font-size:15px;color:#bbcdb9}.metric small{font-size:10px;color:#9ab1aa;white-space:nowrap}.metric .meter{margin-top:5px}.metric.weather-metric strong{font-size:22px;margin:5px 0}.meter{background:rgba(185,208,180,.13);height:4px;width:100%;overflow:hidden}.meter b,.meter i{display:block;height:100%;background:linear-gradient(90deg,#7b9f81,#c6d7ad);transition:width .3s}.leftstack,.rightstack{position:absolute;top:179px;bottom:77px;display:flex;flex-direction:column;gap:11px;max-height:calc(100vh - 255px)}.leftstack{left:24px;width:291px}.rightstack{right:24px;width:324px}.panel{background:var(--glass);border:1px solid rgba(189,217,201,.2);backdrop-filter:blur(18px);box-shadow:0 12px 30px rgba(0,0,0,.18);overflow:hidden}.chapter-panel{padding:17px 17px 12px}.section-index{color:#8fb9ad}.chapter-panel h2{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:8px 0 8px;color:#ecf2e6}.chapter-panel>p{font-size:11px;line-height:1.55;color:#aebeb5;margin:0 0 15px}.action-grid{display:flex;flex-direction:column;gap:5px}.action{width:100%;display:flex;align-items:center;text-align:left;gap:9px;padding:10px 8px;background:rgba(165,193,173,.06);border:1px solid rgba(164,186,167,.12);border-radius:3px;transition:background .16s,border .16s}.action:hover,.action.selected{background:rgba(144,190,158,.20);border-color:rgba(162,218,169,.62)}.action-glyph{font-size:24px;line-height:1;width:27px;text-align:center;color:#c4d9b4;flex-shrink:0}.action-body{display:flex;flex:1;flex-direction:column;gap:3px}.action-body strong{font-size:11.5px;font-weight:700;letter-spacing:.05px}.action-body small{font-size:9.4px;line-height:1.4;color:#a9bcb2}.action em{font-family:'Barlow Condensed',sans-serif;font-size:20px;font-style:normal;color:#dcc4a0;position:relative;padding:0 0 0 7px}.action em:after{content:'PC';font-size:7px;position:absolute;top:3px;right:-2px;transform:translateX(100%);color:#aeae98}.directive-foot{display:flex;align-items:center;justify-content:space-between;padding-top:12px;margin-top:11px;border-top:1px solid var(--stroke);color:#98b5a7;font-family:'Barlow Condensed';letter-spacing:1px;font-size:10px}.tiny-link{background:transparent;border:none;color:#bfcdb9;font-family:'Barlow Condensed';letter-spacing:1px;font-size:10px;text-decoration:underline}.compact-panel{padding:13px 15px 10px}.panel-heading{display:flex;justify-content:space-between;color:#a0baaf;align-items:center;padding:0 0 12px;font-size:10.4px}.panel-heading>span+span{font-size:9px;color:#97a9a6;letter-spacing:1px}#minimap{width:100%;height:140px;cursor:crosshair;border:1px solid rgba(161,191,175,.17);background:#233c43}.legend{display:flex;justify-content:space-between;margin:10px 0 0;font-family:'Barlow Condensed';font-size:9px;letter-spacing:.6px;color:#a9bbb1}.legend i,.plot-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:3px}.observe-panel{padding:15px 17px 12px;flex:none}.live-dot{color:#bbd6c1!important}.live-dot:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#a8daba;box-shadow:0 0 9px #a8daba;margin:0 6px 1px 0}.subject-empty{text-align:center}.subject-symbol{font-size:34px;color:#95b5aa;margin:17px auto 0;width:67px;height:67px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(174,216,190,.23);border-radius:50%}.subject-empty h3{font-family:Georgia,serif;font-size:19px;font-weight:400;margin:13px 0 8px}.subject-empty>p{font-size:11px;color:#a8bcb2;line-height:1.55;max-width:250px;margin:0 auto 16px}.species-census{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding-top:13px;border-top:1px solid var(--stroke)}.census-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 2px;background:rgba(158,190,166,.055)}.census-item span{font-size:18px}.census-item strong{font-family:'Barlow Condensed';font-size:16px}.census-item small{font-family:'Barlow Condensed';font-size:9px;letter-spacing:.6px;color:#adb9a9}.subject-top{display:flex;align-items:center;gap:12px;margin:4px 0 16px}.subject-icon{font-size:29px;width:55px;height:55px;display:flex;align-items:center;justify-content:center;background:rgba(198,220,179,.1);border:1px solid var(--stroke)}.subject-top h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:4px 0}.subject-top em{font-size:10px;color:#a5bbb2}.subject-traits{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);padding:13px 0;margin-bottom:14px}.subject-traits>div{color:#8daaa0;font-size:10px}.subject-traits strong{display:block;color:#e6eee7;font-family:'DM Sans';font-size:12px;font-weight:600;letter-spacing:0;margin-top:5px}.subject-vitals>div{margin:0 0 11px;display:grid;grid-template-columns:1fr auto;gap:5px}.subject-vitals span{font-size:10px;color:#acbfb2}.subject-vitals b{font-family:'Barlow Condensed';font-size:13px}.subject-vitals .meter{grid-column:1 / -1}.subject-vitals .meter i{background:linear-gradient(90deg,#739898,#c6dab2)}.subject-footer{display:flex;gap:7px}.minor-action{font-size:10px;flex:1;padding:9px 5px;background:rgba(197,225,199,.11);border:1px solid var(--stroke)}.minor-action:hover{background:rgba(197,225,199,.24)}.hidden{display:none!important}.field-log{padding:14px 15px 8px;min-height:120px;flex:1;display:flex;flex-direction:column}.log-entries{overflow-y:auto;flex:1;scrollbar-color:#55716b transparent;scrollbar-width:thin}.log-entry{position:relative;padding:9px 7px 10px 14px;border-top:1px solid var(--stroke)}.log-entry:before{content:'';position:absolute;left:0;top:15px;width:5px;height:5px;border-radius:50%;background:#9fc7b3}.log-entry.warning:before{background:#de927d}.log-entry.good:before{background:#b5d796}.log-entry .entry-head{display:flex;justify-content:space-between;gap:4px;align-items:center}.log-entry strong{font-family:'Barlow Condensed';font-size:12px;letter-spacing:1.3px}.log-entry small{font-family:'Barlow Condensed';font-size:10px;color:#819c95;white-space:nowrap}.log-entry p{font-size:10px;line-height:1.5;color:#a8bbb2;margin:4px 0 0}.plot-panel{padding:11px 15px 9px;flex:none}.plot-panel .panel-heading{padding-bottom:3px}#pulseChart{width:100%;height:84px}.plot-legend{font-family:'Barlow Condensed';letter-spacing:.7px;font-size:10px;display:flex;justify-content:flex-end;gap:13px;color:#a9beb4;margin-top:2px}.forage-color{background:#b2d6a6}.balance-color{background:#78c6bc}.population-color{background:#c7aa80}.bottom-bar{position:absolute;bottom:18px;left:24px;right:24px;height:51px;border:1px solid rgba(205,227,207,.2);background:rgba(5,15,20,.9);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 15px}.bottom-left,.bottom-right{display:flex;align-items:center;gap:6px}.bottom-right>span:first-child,.foot-label{color:#a6bba7;margin-right:8px}.speed,.preset{background:rgba(173,207,190,.08);border:1px solid rgba(195,223,200,.18);padding:6px 11px;line-height:1;font-family:'Barlow Condensed';font-size:13px}.speed.active{background:#accbb1;color:#172e2c;font-weight:800}.play-state{color:#afcabb;margin-left:8px;font-size:10px}.play-state:before{content:'●';color:#9acfb1;margin-right:6px}.bottom-center{font-family:Georgia,serif;font-size:12px;color:#a5b6aa;font-style:italic}.bottom-right>span:first-child,.help-hint{font-family:'Barlow Condensed';font-size:10px;letter-spacing:1.2px}.preset{font-size:11px}.help-hint{margin-left:6px;color:#91aca1;white-space:nowrap}.small-credit{position:absolute;bottom:4px;left:24px;font-size:8px;letter-spacing:1.5px;color:#adc1b1;opacity:.63}.small-credit span{padding:0 5px;color:#d9c59d}.event-toast{position:absolute;left:50%;top:186px;transform:translateX(-50%);width:min(430px,95vw);padding:14px 15px;display:flex;gap:12px;align-items:center;border:1px solid rgba(174,222,199,.54);border-left:3px solid #cad3a2;box-shadow:0 9px 35px rgba(0,0,0,.32);background:rgba(7,24,29,.95);pointer-events:auto}.event-toast>span{font-size:27px}.event-toast div{flex:1}.event-toast strong{font-family:'Barlow Condensed';font-size:15px;letter-spacing:1.2px}.event-toast p{font-size:10px;color:#b9c7bc;line-height:1.4;margin:4px 0 0}.event-toast button{align-self:flex-start;background:transparent;border:none;font-size:12px}.notification{position:absolute;bottom:93px;left:50%;transform:translateX(-50%);padding:10px 20px;background:#172e31;border:1px solid #a3d6b6;color:#e9f5e7;font-size:11px;box-shadow:0 8px 30px #0008;white-space:nowrap}dialog{border:1px solid #aacabc;border-radius:0;color:#eff5ed;background:linear-gradient(140deg,#112a30,#0b171d);padding:28px 34px;max-width:700px;width:calc(100% - 30px);box-shadow:0 30px 120px #000e}dialog::backdrop{background:#031014c7;backdrop-filter:blur(5px)}.guide-title{display:flex;justify-content:space-between;align-items:center;font-family:'Barlow Condensed';font-size:12px;letter-spacing:2px;color:#a8c8b6}.guide-title button{font-size:14px}dialog h2{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:18px 0}dialog>p{font-size:13px;color:#b2c7bd;line-height:1.8}.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid var(--stroke);margin:20px 0;padding-top:10px}.guide-columns h3{font-family:'Barlow Condensed';font-size:17px;letter-spacing:.7px}.guide-columns p{font-size:12px;line-height:2;color:#baccc1}kbd{color:#dce8d5;font-weight:bold}.primary-btn{background:#bfd7bf;color:#102327;border:none;font-family:'Barlow Condensed';font-weight:700;font-size:15px;letter-spacing:1.5px;padding:13px 22px}.primary-btn span{margin-left:25px}#loading{position:fixed;z-index:9;inset:0;background:#0b1a20;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:15px;transition:opacity .75s}#loading .loader-mark{font-size:87px;color:#b1c6ac;line-height:1}#loading span{font-family:'Barlow Condensed';font-size:20px;letter-spacing:5px;font-weight:800}#loading strong{font-family:'Barlow Condensed';letter-spacing:2px;font-size:11px;color:#b6c9b9}#loading small{font-size:11px;color:#8fb5ac}.loader-line{height:3px;width:210px;background:#243e3c;overflow:hidden}.loader-line i{height:3px;background:#b0d8ba;width:45%;display:block;animation:loading 2s infinite ease-in-out}@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(310%)}}.fatal{position:fixed;z-index:10;inset:0;background:#081217;color:#e8f3e9;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}.fatal p{max-width:560px;color:#abc2b8;line-height:1.8}
@media(max-width:1480px){.statbar{left:50%;top:102px}.metric{min-width:131px;padding:11px 12px}.leftstack{left:15px;width:267px}.rightstack{right:15px;width:286px}.chapter-panel{padding:13px 12px 10px}.action{padding:9px 6px}.bottom-center{display:none}.bottom-bar{left:15px;right:15px}.small-credit{left:16px}}
@media(max-height:830px){.topbar{height:77px;padding-top:9px;padding-bottom:8px}.identity h1{font-size:25px}.sigil{height:49px;width:49px}.statbar{top:82px}.metric{padding:8px 13px}.metric strong{font-size:25px}.leftstack,.rightstack{top:153px;bottom:75px;max-height:calc(100vh - 231px)}.chapter-panel{padding:11px 12px 7px}.chapter-panel>p{margin-bottom:8px}.action-grid{gap:3px}.action{padding:6px 7px}.action-body small{font-size:9px}.directive-foot{margin-top:6px;padding-top:6px}.compact-panel{padding:9px 12px 8px}#minimap{height:112px}.observe-panel{padding:10px 12px}.subject-empty>p{margin-bottom:7px}.subject-symbol{height:45px;width:45px;font-size:23px;margin-top:5px}.subject-empty h3{margin:7px 0}.subject-traits{gap:8px;padding:8px 0;margin-bottom:8px}.subject-vitals>div{margin-bottom:6px}}
@media(max-width:1100px){.weather-metric{display:none}.statbar{top:84px;left:20px;transform:none}.leftstack{top:160px}.rightstack{top:160px}.identity h1{font-size:24px}.subtitle{display:none}.help-hint{display:none}.bottom-right>.preset:nth-last-child(-n+2){display:none}.bottom-bar{padding:0 9px}.bottom-right>span:first-child{display:none}.calendar{min-width:145px}.metric{min-width:118px}.metric small{font-size:9px}}
@media(max-width:750px){.topbar{height:76px;padding:10px 14px}.sigil{width:35px;height:40px}.sigil span{font-size:20px}.sigil small{font-size:5px}.identity{gap:8px}.eyebrow{font-size:8px;letter-spacing:.6px}.identity h1{font-size:18px;letter-spacing:.4px}.calendar,.top-actions #soundBtn,.top-actions #screenshotBtn{display:none}.top-actions{gap:0}.statbar{top:79px;left:6px;right:6px;transform:none;display:grid;grid-template-columns:repeat(4,1fr)}.metric{min-width:0;width:auto;padding:7px 5px;overflow:hidden}.metric>span{font-size:8px;letter-spacing:.5px}.metric strong{font-size:21px}.metric small{font-size:7px}.metric .unit{font-size:10px}.leftstack{left:6px;top:auto;bottom:71px;width:46vw;max-height:40vh}.rightstack{right:6px;top:auto;bottom:71px;width:46vw;max-height:40vh}.chapter-panel{overflow-y:auto;max-height:40vh}.chapter-panel h2{font-size:16px}.chapter-panel>p{display:none}.action-body small{display:none}.action-body strong{font-size:9px}.action{padding:5px}.action-glyph{width:19px;font-size:18px}.action em{font-size:17px}.compact-panel,.field-log,.plot-panel,.small-credit,.bottom-right{display:none}.observe-panel{overflow-y:auto;max-height:40vh}.species-census{grid-template-columns:repeat(4,1fr)}.subject-empty h3{font-size:16px}.subject-empty>p{font-size:10px}.subject-top{margin-bottom:6px}.subject-top h3{font-size:16px}.subject-traits strong{font-size:10px}.subject-footer{flex-wrap:wrap}.bottom-bar{bottom:6px;left:6px;right:6px;height:54px;justify-content:center}.bottom-left{gap:4px}.foot-label{display:none}.play-state{font-size:9px}.event-toast{top:148px}}
