:root{--white:#edf1e9;--muted:#b7c6c5;--dim:#90a6aa;--gold:#eed5a8;--blue:#b9dfdf;--stroke:rgba(211,232,227,.16);--back:rgba(11,27,34,.73);--dark:#0a1b24}*{box-sizing:border-box}html,body,#app{height:100%;width:100%;margin:0;overflow:hidden;background:#0d1e27;color:var(--white);font-family:Inter,'Segoe UI',Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid #e7d3a1;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.52}#viewport{position:absolute;inset:0;width:100%;height:100%;display:block;outline:0}#vignette,.top-shade{pointer-events:none;position:absolute;inset:0;z-index:1}#vignette{background:radial-gradient(ellipse at 53% 42%,transparent 26%,rgba(5,17,25,.38) 79%,rgba(3,10,16,.58) 100%)}.top-shade{background:linear-gradient(to bottom,rgba(6,17,24,.64),transparent 25%,transparent 71%,rgba(4,15,21,.68))}#hud{position:absolute;inset:0;pointer-events:none;z-index:3}.brand,.top-right,.stats-row,.side-left,.side-right,.bottom-left,.bottom-center,.bottom-right{position:absolute;pointer-events:auto}.brand{left:33px;top:24px;display:flex;align-items:center;gap:17px;user-select:none}.glyph{width:49px;height:49px;border:1px solid rgba(239,220,179,.65);display:grid;place-items:center;font-size:30px;font-family:serif;transform:rotate(45deg);color:var(--gold);border-radius:3px}.glyph::first-letter{transform:rotate(-45deg)}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:700;color:#d6e2de}.accent{color:#efc58f}.brand h1{margin:6px 0 2px;font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:.08em;font-size:25px;line-height:1.05}.brand h1 .quiet{color:rgba(232,239,231,.67);font-family:inherit;font-size:13px;letter-spacing:.04em}.brand p{margin:5px 0 0;font-size:10px;letter-spacing:.19em;color:var(--gold);font-weight:700}.top-right{right:32px;top:31px;display:flex;gap:12px;align-items:center;font-size:10px;font-weight:700;letter-spacing:.15em;color:#d5e5de}.live-dot{width:7px;height:7px;border-radius:50%;background:#93d9bd;box-shadow:0 0 13px #73e8c5;animation:live 1.7s infinite}@keyframes live{50%{opacity:.35;transform:scale(.75)}}.icon-btn{border:1px solid var(--stroke);background:rgba(11,26,33,.43);width:31px;height:31px;border-radius:50%;font-size:16px}.icon-btn:hover{background:rgba(216,232,230,.13)}.stats-row{left:50%;transform:translateX(-50%);top:92px;display:flex;align-items:stretch;justify-content:center;gap:0;border-top:1px solid rgba(239,250,241,.18);border-bottom:1px solid rgba(239,250,241,.14);background:rgba(10,26,33,.24);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);max-width:850px;width:calc(100% - 740px);min-width:645px}.metric{flex:1;padding:12px 15px 11px;min-width:0;border-right:1px solid var(--stroke);text-align:left}.metric:last-child{border-right:0}.metric small,.panel-kicker{color:#b4c5c4;font-size:9px;letter-spacing:.15em;font-weight:800;white-space:nowrap}.metric>div:first-of-type{font-family:Georgia,serif;font-size:24px;margin:4px 0 3px;color:#f9faf5;white-space:nowrap}.metric>div em{font-size:11px;font-style:normal;font-family:Arial;color:#c7d0cb}.metric>span{font-size:10px;color:#b8c7c4;white-space:nowrap}.metric.weather>div:first-of-type{color:#d0ebf1}.meter{height:4px;background:rgba(228,237,228,.15);overflow:hidden;margin-top:8px;border-radius:4px}.meter>div{height:100%;width:0;background:linear-gradient(to right,#91b9b6,#e9d2a5);transition:width .45s}.glass{background:linear-gradient(135deg,rgba(10,27,35,.86),rgba(9,27,35,.67));border:1px solid rgba(218,243,236,.17);box-shadow:0 12px 36px rgba(2,9,15,.22);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:4px}.side-left{left:26px;top:194px;width:317px;display:flex;flex-direction:column;gap:13px;max-height:calc(100vh - 400px)}.side-right{right:26px;top:194px;width:287px;display:flex;flex-direction:column;gap:13px;max-height:calc(100vh - 390px)}.panel{padding:17px 19px}.panel-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#e7dbb8;font-size:9px;letter-spacing:.17em}.panel-kicker span:nth-child(2){color:#aac0c1;font-size:9px}.mission h2{font-family:Georgia,serif;font-weight:normal;letter-spacing:.055em;font-size:19px;line-height:1.15;margin:16px 0 9px}.mission p{font-size:11px;line-height:1.65;color:#bccbc7;margin:0}.objective{border-top:1px solid var(--stroke);padding-top:13px;margin-top:15px}.objective-head{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:.1em;color:#c4d5cf}.objective-head strong{font-family:Georgia,serif;font-size:16px;color:#eedbb7;font-weight:400}.objective .meter{height:6px;margin:9px 0}.objective #objective-detail{font-size:9px;color:#97adaa;line-height:1.4}.actions{padding-bottom:10px}.actions .panel-kicker{margin-bottom:12px}.directive{border:0;background:transparent;width:100%;text-align:left;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;gap:0 9px;padding:9px 2px 9px 1px;border-bottom:1px solid rgba(220,243,239,.085);transition:background .2s}.directive:last-child{border-bottom:0}.directive:hover:not(:disabled){background:rgba(188,233,214,.08)}.directive-icon{grid-row:span 2;color:#d4c29c;font-size:25px;line-height:25px;font-family:Georgia,serif;font-weight:normal}.directive-copy b{font-size:10px;font-weight:650;letter-spacing:.01em;display:block;margin:1px 0 3px}.directive-copy small{display:block;color:#93a9a8;font-size:9px;line-height:1.42}.directive-price{font-size:9px;font-weight:800;letter-spacing:.09em;color:#d9c296;margin-top:6px;grid-column:2}.directive.is-active .directive-price{color:#83cfb4}.species{padding-bottom:12px}.species .panel-kicker{margin-bottom:11px}.species-line{width:100%;display:flex;align-items:center;gap:9px;background:none;border:0;border-bottom:1px solid rgba(219,246,242,.09);text-align:left;padding:8px 0}.species-line:last-child{border:0}.species-line:hover{background:rgba(200,230,226,.07)}.animal-mark{display:flex;width:21px;height:20px;justify-content:center;align-items:center}.species-dot{display:block;width:9px;height:9px;background:var(--gold);border-radius:50%;box-shadow:0 0 9px rgba(225,204,153,.2)}.s-mammoth{background:#ca9c76}.s-reindeer{background:#d0d6b9}.s-bison{background:#987162}.s-horse{background:#b69d91}.s-wolf{background:#97b2c2}.s-human{background:#e4d3ae}.species-name{flex:1;font-size:10px;font-weight:800;letter-spacing:.07em}.species-name small{display:block;color:#9eafb0;font-size:9px;font-weight:400;letter-spacing:0;margin-top:3px}.species-counter{text-align:right;font-family:Georgia,serif;font-size:19px;color:#f3efdd}.species-counter small{display:block;color:#94afb0;font-family:Arial,sans-serif;font-size:9px}.events{min-height:155px;max-height:245px;overflow:hidden}.events .panel-kicker{padding-bottom:10px;border-bottom:1px solid var(--stroke)}.pulse{color:#b8dabc!important}.event-row{border-bottom:1px solid rgba(233,247,239,.10);padding:11px 0}.event-row:last-child{border-bottom:0}.event-time{font-size:8px;letter-spacing:.14em;color:#8dbabd}.event-row strong{font-weight:700;font-size:10px;letter-spacing:.055em;display:block;margin:4px 0}.event-row p{margin:0;color:#acc1bf;font-size:10px;line-height:1.5}.event-row.good strong{color:#badcb7}.event-row.warning strong{color:#e5c28f}.event-row.danger strong{color:#f1b1a6}.selection{overflow:auto;max-height:310px;scrollbar-color:#73959c transparent}.selection .panel-kicker{padding-bottom:7px}.text-btn{background:none;border:0;font-size:9px;color:#b4c9ca;letter-spacing:.09em}.selected-species{font-size:9px;letter-spacing:.16em;color:#c9d6bd;margin:9px 0 4px}.selected-animal h3{font-family:Georgia,serif;letter-spacing:.05em;font-size:18px;font-weight:400;margin:5px 0 10px}.selected-animal p{font-size:10px;line-height:1.6;color:#b8c7c3;margin:0 0 10px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--stroke);padding-top:11px}.detail-grid small{display:block;color:#8fa9ab;letter-spacing:.11em;font-size:8px}.detail-grid b{display:block;color:#f6ebd4;margin-top:4px;font-size:11px;letter-spacing:.02em}.selection-note{font-size:9px;color:#9bb5b7;margin:11px 0}.wide-secondary{background:rgba(210,237,233,.08);border:1px solid rgba(205,232,223,.24);padding:9px;width:100%;font-size:10px;letter-spacing:.12em;margin-top:11px}.wide-secondary:hover{background:rgba(200,231,223,.17)}.hidden{display:none!important}.bottom-left{left:28px;bottom:24px;max-width:440px}.minimap{display:block;width:220px;height:109px;max-width:100%;margin-bottom:9px;background:#1b2a2f;border:1px solid rgba(217,241,230,.30);border-radius:3px;cursor:crosshair;opacity:.9;box-shadow:0 5px 15px rgba(0,0,0,.25)}.minimap:hover{opacity:1}#coord-readout{color:#eee0bd;font-size:9px;font-weight:700;letter-spacing:.13em;margin-bottom:7px}.tiny{font-size:8px;font-weight:700;letter-spacing:.11em;color:#b5c6c5;line-height:1.8}.bottom-center{bottom:21px;left:50%;transform:translateX(-50%);padding:11px 15px;min-width:440px}.control-label{font-size:9px;color:#9aafb0;display:flex;align-items:center;gap:13px;letter-spacing:.15em;font-weight:700;margin-bottom:8px}.control-label strong{color:#edddb9;font-family:Georgia,serif;letter-spacing:.08em;font-size:12px;font-weight:400}.time-controls{display:flex;gap:9px;align-items:center}.play-btn{border:1px solid rgba(233,235,223,.45);background:rgba(239,241,221,.12);width:34px;height:30px;font-size:17px}.speed-buttons{display:flex;gap:3px}.speed{padding:7px 9px;border:1px solid transparent;background:transparent;font-size:11px;color:#a5b8b6}.speed.active{color:#efddb7;background:rgba(236,233,202,.12);border-color:rgba(237,224,183,.26)}.control-divider{height:27px;width:1px;background:var(--stroke)}.toolbar-btn{display:flex;align-items:center;gap:4px;padding:7px 4px;background:none;border:0;color:#b7c9c5;font-size:16px}.toolbar-btn span{font-size:9px;letter-spacing:.1em}.toolbar-btn:hover,.toolbar-btn.active{color:#ffdaa7}.bottom-right{right:27px;bottom:27px;display:flex;gap:14px;font-size:9px;letter-spacing:.08em;color:#b9d1d2;white-space:nowrap}.opening{z-index:9;position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(ellipse at center,rgba(10,29,38,.28),rgba(5,15,23,.78) 83%),linear-gradient(to top,rgba(7,19,28,.92),transparent 60%);transition:opacity 1.2s,visibility 1.2s}.opening.dismissed{opacity:0;visibility:hidden;pointer-events:none}.opening-overline{color:#e7dfc7;letter-spacing:.48em;font-size:11px;font-weight:700;margin-bottom:28px}.opening-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(65px,10vw,160px);line-height:.79;letter-spacing:.065em;text-shadow:0 12px 45px rgba(2,7,13,.6)}.opening-title i{font-weight:normal;color:#ead2a6}.opening>p{font-size:12px;letter-spacing:.28em;font-weight:750;color:#e1ebdf;margin:33px 0 0}.opening-sep{height:1px;width:175px;background:linear-gradient(to right,transparent,#d7c7a2,transparent);margin:27px 0}.opening-description{font-family:Georgia,serif;font-style:italic;line-height:1.8;color:#d2d8d0;font-size:14px}.enter-button{margin-top:37px;min-width:240px;padding:15px 20px;background:rgba(216,227,216,.1);border:1px solid rgba(240,220,175,.7);font-size:11px;font-weight:750;letter-spacing:.2em}.enter-button span{margin-left:18px;font-size:17px;color:#efd7a8}.enter-button:hover{background:rgba(239,217,177,.24)}.opening-foot{position:absolute;bottom:34px;letter-spacing:.16em;font-size:9px;color:#c2c9c1}.modal{z-index:13;position:absolute;inset:0;background:rgba(2,8,14,.76);display:grid;place-items:center;backdrop-filter:blur(6px)}.modal-card{position:relative;max-width:650px;width:calc(100% - 30px);max-height:90vh;overflow:auto;padding:34px;background:#122a34;border:1px solid rgba(234,224,191,.32);box-shadow:0 30px 80px rgba(0,0,0,.4)}.modal-close{position:absolute;top:19px;right:21px;border:0;background:none;color:#c4d2d0}.modal-card h2{font-family:Georgia,serif;letter-spacing:.11em;font-weight:400;font-size:31px;margin:15px 0}.modal-card p{font-size:13px;color:#c3d0ce;line-height:1.8}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:25px 0}.help-grid>div{border-top:1px solid var(--stroke);padding-top:8px}.help-grid b{display:block;color:#f1d9b5;font-size:11px;letter-spacing:.07em}.help-grid span{display:block;color:#afc4c3;font-size:12px;margin-top:6px}.hint{font-size:11px!important;color:#91b0b0!important}#toast-holder{z-index:20;position:absolute;left:50%;top:182px;transform:translateX(-50%);pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:9px}.toast{background:rgba(13,34,42,.91);color:#f3e0b9;border:1px solid rgba(222,201,152,.48);box-shadow:0 6px 20px rgba(0,0,0,.24);padding:12px 19px;font-size:11px;letter-spacing:.05em;animation:toast-in .25s forwards;white-space:nowrap}.toast.hide{opacity:0;transition:opacity .35s}@keyframes toast-in{from{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}.error{z-index:30;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#172a33;border:1px solid #e1c292;padding:30px;max-width:450px}.error h2{font-family:Georgia,serif}.error p{line-height:1.6;color:#d5d5ca}
@media(max-width:1480px){.stats-row{top:90px;min-width:580px;width:calc(100% - 700px)}.metric{padding:11px 9px}.metric small{font-size:8px}.metric>div:first-of-type{font-size:20px}.side-left{width:275px;left:16px}.side-right{width:257px;right:16px}.bottom-left{left:17px;max-width:275px}.bottom-right{right:17px}.brand{left:19px}.brand h1{font-size:22px}.top-right{right:18px}.bottom-center{min-width:405px}.toolbar-btn span{font-size:8px}.tiny{font-size:7px}.minimap{width:190px;height:94px}}
@media(max-width:1150px){.stats-row{top:95px;left:auto;right:17px;transform:none;min-width:0;width:calc(100% - 320px)}.metric:nth-child(1),.metric:nth-child(5){display:none}.side-left,.side-right{top:175px}.side-left{width:248px}.side-right{width:235px}.panel{padding:13px}.bottom-center{left:50%;min-width:0}.toolbar-btn span{display:none}.bottom-left .tiny{display:none}.bottom-right{bottom:12px}.bottom-center{bottom:43px}}
@media(max-width:800px){.brand{left:13px;top:13px;gap:10px}.glyph{height:34px;width:34px;font-size:22px}.brand h1{font-size:18px}.brand p{font-size:8px}.brand .eyebrow{font-size:7px}.top-right{right:10px;top:65px}.top-right>span{display:none}.stats-row{left:9px;right:9px;top:102px;width:calc(100% - 18px);height:67px;min-width:0}.metric{padding:9px 6px}.metric small{font-size:7px}.metric>div:first-of-type{font-size:18px}.metric>span{font-size:8px}.side-left{left:9px;top:184px;width:220px;max-height:calc(100vh - 370px);overflow:auto}.side-right{right:9px;top:184px;width:198px;max-height:calc(100vh - 370px);overflow:auto}.actions .directive{grid-template-columns:20px 1fr}.directive-icon{font-size:19px}.directive-copy b{font-size:9px}.directive-copy small{display:none}.events{display:none}.species-name{font-size:9px}.species-name small{display:none}.species-counter{font-size:15px}.bottom-left{left:9px;bottom:85px}.minimap{width:150px;height:75px}.bottom-center{left:50%;bottom:10px;transform:translateX(-50%);width:calc(100% - 18px);padding:8px}.time-controls{justify-content:center}.bottom-right{display:none}.opening-description{padding:0 15px}.opening>p{font-size:9px}.opening-title{font-size:69px}}
@media(max-width:540px){.stats-row .metric:nth-child(4){display:none}.stats-row{height:63px}.side-left{width:calc(50% - 13px);max-height:calc(100vh - 355px)}.side-right{width:calc(50% - 13px)}.mission h2{font-size:15px}.mission p{font-size:9px}.panel-kicker{font-size:7px}.directive-copy b{font-size:8px}.directive-price{font-size:7px}.objective-head{font-size:7px}.species-name{font-size:8px}.species-counter{font-size:13px}.bottom-left{bottom:95px}.minimap{width:115px;height:57px}.bottom-center{bottom:8px}.control-label{font-size:8px}.time-controls{gap:7px}.toolbar-btn{font-size:15px}.opening-title{font-size:56px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
