@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--ink:#243e32;--muted:#798173;--cream:#f8f5ec;--line:#dedfd0;--green:#355c44;--gold:#bb8644;--radius:16px}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#dbe1c9;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:13px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #c4914c;outline-offset:3px}a{color:inherit}#world{position:fixed;inset:0;touch-action:none}#world canvas{width:100%;height:100%;display:block}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#e7e8d6;z-index:3;pointer-events:none}#app{position:fixed;inset:0;pointer-events:none}#app button,#app input,#app select,#app a,.panel,.plot-card,.build-strip{pointer-events:auto}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;background:rgba(248,245,236,.97);padding:0 28px;border-bottom:1px solid #cdd1be;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:11px;flex-shrink:0}.sunmark{font-size:44px;color:#c48b45;line-height:1}.brand b{font-size:17px;letter-spacing:2.5px;font-weight:600;display:block}.brand small{font-size:8px;letter-spacing:2.4px;display:block;margin-top:5px}.stats{display:flex;gap:24px}.stat{display:flex;align-items:center;gap:9px}.stat .symbol{font-size:19px;color:#a88049}.stat strong{font-size:17px;font-weight:500}.stat small{display:block;font-size:8px;letter-spacing:1.3px;color:var(--muted);margin-top:3px}.header-actions{display:flex;align-items:center;gap:12px}.connection{font-size:10px;color:#6b7a65;white-space:nowrap}.connection:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#6f935c;margin-right:7px}.connection.off:before{background:#b4794a}.button{border:1px solid #cfd3c4;background:#f8f5ec;padding:12px 17px;border-radius:9px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;font-weight:500;text-decoration:none;transition:.15s}.button:hover{background:#ecebdc;transform:translateY(-1px)}.button.dark{background:var(--ink);color:#fff;border-color:var(--ink)}.button.dark:hover{background:#42634b}.button.small{padding:10px 13px;font-size:11px}.circle{width:32px;height:32px;border:1px solid #c7cdbd;border-radius:50%;background:transparent}.location{position:absolute;top:116px;left:105px;text-shadow:0 1px 12px #e7eadc}.eyebrow{font-size:9px;letter-spacing:2.1px;font-weight:600;color:#78836c}.location h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:40px;font-weight:400;margin:7px 0 6px;line-height:1}.location-dot{display:inline-block;width:7px;height:7px;background:#3a6545;border-radius:50%;margin-left:12px;vertical-align:middle}.climate{font-size:11px;color:#546b4b}.rail{position:absolute;top:122px;left:20px;background:rgba(248,245,236,.95);padding:7px;border-radius:14px;box-shadow:0 5px 20px #243e3210;display:flex;flex-direction:column;gap:4px}.rail-button{border:0;background:transparent;width:52px;height:57px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.rail-button span{font-size:23px;line-height:1.2}.rail-button small{font-size:8px}.rail-button.active{background:#e5e9d9;color:#315d43}.rail-button:hover{background:#ececdd}.panel{position:absolute;right:24px;top:108px;width:290px;max-height:calc(100vh - 262px);overflow:auto;background:rgba(249,247,238,.97);border:1px solid #ffffff9c;border-radius:17px;box-shadow:0 8px 30px #263b3012;padding:22px;scrollbar-width:thin;scrollbar-color:#c3cbb6 transparent}.panel h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:28px;font-weight:400;margin:5px 0 12px}.panel h3{font-size:12px;font-weight:600;margin:17px 0 8px}.panel p{font-size:11px;line-height:1.7;color:#74816c}.panel .divider{height:1px;background:#daddce;margin:17px 0}.panel .eyebrow{font-size:8px}.tag{border:1px solid #d6dcc9;border-radius:5px;font-size:8px;padding:4px 6px;letter-spacing:.6px;display:inline-block;color:#68805c}.goal{border-radius:10px;background:#e8ecdc;padding:13px;margin-top:16px}.goal strong{display:block;font-size:11px;line-height:1.5;margin-bottom:4px}.goal p{margin:4px 0;font-size:10px;color:#607359}.progress{height:4px;background:#d6ddc8;border-radius:8px;margin:10px 0 7px;overflow:hidden}.progress i{display:block;background:#789254;height:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0;font-size:11px}.row .muted{color:var(--muted)}.row strong{font-weight:500}.panel .button{width:100%;font-size:11px;padding:10px 12px;margin-top:6px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.metric{background:#efefe4;border-radius:8px;padding:10px}.metric b{display:block;font-size:19px;font-weight:500}.metric span{font-size:8px;color:var(--muted);letter-spacing:.7px}.forecast{padding:11px;border:1px solid #ddcb9c;border-radius:9px;background:#f4edd9;line-height:1.6;font-size:10px;color:#8a703a;margin:13px 0}.forecast.bad{border-color:#c28763;background:#f1dfcd}.bottom{position:absolute;bottom:49px;left:100px;right:24px;display:flex;align-items:stretch;gap:14px}.build-strip{display:flex;align-items:center;padding:7px;background:rgba(248,245,236,.97);border-radius:14px;box-shadow:0 5px 24px #243e3217;gap:3px;max-width:620px}.build-item{width:75px;min-width:58px;border:0;background:transparent;border-radius:9px;height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative}.build-item .build-icon{height:24px;display:flex;align-items:center;justify-content:center}.build-item svg{width:32px;height:28px}.build-item b{font-size:10px;font-weight:500}.build-item small{font-size:8px;color:#8b917f}.build-item:hover,.build-item.selected{background:#e4e8d5}.day-control{margin-left:auto;background:rgba(248,245,236,.97);border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;gap:16px;min-width:275px}.day-control small{font-size:8px;letter-spacing:1.3px;color:#8a917d;display:block;margin-bottom:6px}.day-control strong{font-size:11px;font-weight:500}.day-control button{font-size:10px;white-space:nowrap;padding:12px}.footnote{position:absolute;bottom:18px;left:25px;right:25px;display:flex;justify-content:space-between;color:#67765c;font-size:8px;letter-spacing:.7px}.camera-tools{position:absolute;bottom:154px;left:24px;background:rgba(248,245,236,.94);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.camera-tools button{border:0;border-bottom:1px solid #daddcf;background:none;width:40px;height:35px;font-size:18px}.camera-tools button#quality{font-size:9px;font-weight:bold}.camera-tools button:last-child{border:0}.toast{position:absolute;bottom:152px;left:50%;transform:translateX(-50%) translateY(15px);background:#253f32;color:#fff;padding:12px 20px;border-radius:9px;font-size:12px;max-width:450px;opacity:0;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateX(-50%)}.plot-card{position:absolute;bottom:148px;left:100px;background:var(--cream);border-radius:12px;padding:17px;width:260px;box-shadow:0 5px 25px #20372d20;max-height:50vh;overflow:auto}.plot-card h3{margin:0 0 8px;font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:24px}.plot-card p{font-size:11px;line-height:1.6;color:#75826a}.plot-card .button{width:100%;font-size:10px;margin-top:5px}.close-small{float:right;border:0;background:none;font-size:20px}.hidden{display:none!important}.welcome{position:fixed;inset:84px 0 0;z-index:4;background:linear-gradient(90deg,#eeeedfcf 0%,#eeeedf85 35%,transparent 70%);pointer-events:none;display:flex;align-items:center}.welcome-card{pointer-events:auto;margin-left:8%;width:460px;max-width:90%;padding-bottom:25px}.welcome h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:67px;line-height:1.02;letter-spacing:-1.5px;font-weight:400;margin:18px 0}.welcome em{font-weight:400;color:#5d794d}.welcome p{font-size:13px;line-height:1.9;max-width:370px;color:#6c7b61;margin-bottom:24px}.welcome label{font-size:8px;letter-spacing:1.5px;display:block;margin-bottom:7px;color:#68755e}.welcome input:not([type=checkbox]),.welcome select{width:100%;border:1px solid #c9cdbd;background:#f9f8f0cf;border-radius:8px;padding:13px;color:#3e5438;font-size:11px}.form-row{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-top:15px}.agreement{display:flex!important;align-items:flex-start;gap:8px;margin:16px 0!important;letter-spacing:0!important;font-size:10px!important;line-height:1.6}.agreement input{accent-color:#426548}.enter{width:100%;font-size:13px;padding:15px 19px}.welcome-footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:9px;color:#7a856f}.text-button{border:0;background:transparent;padding:4px;color:#6b785f;font-size:10px}.welcome-caption{position:absolute;bottom:30px;right:30px;font-size:9px;letter-spacing:2px;color:#3b5a42;display:flex;align-items:center;gap:15px}.small-line{width:30px;height:1px;background:#658260}body.joining .rail,body.joining .panel,body.joining .bottom,body.joining .location,body.joining .footnote,body.joining .camera-tools{display:none}body.joining #stats{opacity:0}.inventory{display:flex;flex-wrap:wrap;gap:6px}.inventory span{background:#efeee1;padding:7px 9px;border-radius:6px;font-size:10px}.panel select,.panel input{width:100%;padding:9px;border:1px solid #cdd4c0;border-radius:7px;background:#fffdf5;font-size:11px;margin-bottom:7px;color:#35523c}.field-label{display:block;font-size:8px;letter-spacing:1px;color:#7b866c;margin:12px 0 6px}.person{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e0e2d5}.avatar{width:32px;height:32px;border-radius:50%;background:#dce4c9;display:grid;place-items:center;font-family:Georgia,serif;font-size:17px}.person b{font-weight:500;font-size:11px}.person small{display:block;color:#88927c;font-size:9px;margin-top:3px}.online-dot{width:6px;height:6px;background:#7a9c56;border-radius:50%;margin-left:auto}.event{font-size:10px;line-height:1.7;border-left:1px solid #c8d2b9;padding:0 0 14px 12px}.event small{color:#8a947d;font-size:8px;display:block}.map-card{position:relative;height:210px;border-radius:9px;overflow:hidden;background:#dce4cf;border:1px solid #cdd6bf}.map-card svg{width:100%;height:100%}.region-option{border:1px solid #d7deca;background:#f4f4e9;padding:12px;border-radius:9px;display:block;text-align:left;width:100%;margin-top:8px}.region-option.active{border-color:#82996c;background:#e8eedb}.region-option b{display:block;font-size:12px}.region-option small{font-size:9px;color:#7f8b72;display:block;margin-top:4px}dialog{background:#faf8ef;border:1px solid #e2e4d6;border-radius:18px;color:var(--ink);padding:35px;max-width:620px;width:calc(100% - 30px);max-height:85vh;box-shadow:0 25px 80px #23392b50}dialog::backdrop{background:#253f3260;backdrop-filter:blur(4px)}dialog h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:38px;font-weight:400;margin:10px 0 20px}dialog h3{font-size:13px;margin-top:22px}dialog p,dialog li{font-size:12px;line-height:1.8;color:#68765d}.close{float:right;background:none;border:0;font-size:25px}.perf{position:absolute;left:100px;top:210px;white-space:pre;font:10px monospace;color:#234133;background:#f4f3e5d9;padding:10px;border-radius:8px}.empty{padding:15px 0;color:#829073;font-size:11px}.legend{font-size:9px;line-height:1.7;color:#8a917d}.pill{display:inline-block;font-size:9px;background:#e4e9d7;border-radius:20px;padding:5px 9px}.inline-buttons{display:flex;gap:6px}.inline-buttons .button{width:auto;flex:1}#guide-content a{color:#355f46}#map-overlay{pointer-events:none}
@media(min-width:1550px){.panel{width:320px;right:35px;top:125px}.location{top:135px}.bottom{bottom:60px;right:35px}.build-item{width:88px;height:77px}}
@media(max-width:1120px){.stats{gap:12px}.stat strong{font-size:14px}.header-actions .connection{display:none}.topbar{padding:0 18px}.brand b{font-size:14px}.brand small{font-size:7px}.panel{width:255px;padding:17px}.bottom{left:85px;gap:8px}.build-item{width:61px}.day-control{min-width:220px;padding:10px;gap:7px}.day-control strong{font-size:10px}.location{left:90px}.build-item small{font-size:7px}.footnote span:last-child{display:none}}
@media(max-width:800px){.topbar{height:67px;padding:0 12px;gap:10px}.brand{gap:5px}.sunmark{font-size:30px}.brand b{font-size:11px;letter-spacing:1.7px}.brand small{font-size:6px;letter-spacing:1.3px}.stats{gap:10px}.stat .symbol{display:none}.stat strong{font-size:12px}.stat small{font-size:6px;letter-spacing:.5px}.stat:nth-child(n+4){display:none}.header-actions{gap:5px}.header-actions .button{padding:8px;font-size:9px}.header-actions .button span{display:none}.header-actions .circle{display:none}.location{left:16px;top:89px}.location h1{font-size:30px}.location .eyebrow{font-size:7px}.climate{font-size:9px}.rail{left:12px;top:auto;bottom:144px;padding:3px;gap:0}.rail-button{width:40px;height:45px}.rail-button span{font-size:19px}.rail-button small{font-size:7px}.panel{right:10px;top:89px;width:220px;max-height:calc(100vh - 290px);padding:14px}.panel h2{font-size:24px}.panel .eyebrow{font-size:7px}.location{max-width:calc(100% - 250px)}.bottom{bottom:30px;left:10px;right:10px;display:grid;grid-template-columns:1fr;gap:6px}.build-strip{width:100%;max-width:none;justify-content:space-around;padding:4px}.build-item{height:56px;width:16%;min-width:0}.build-item b{font-size:8px}.build-item svg{height:22px}.build-item small{font-size:7px}.day-control{width:100%;padding:7px 11px;border-radius:10px}.day-control>div{display:flex;align-items:center;gap:12px}.day-control small{margin:0;font-size:7px}.day-control strong{font-size:9px}.day-control .button{padding:8px 12px}.footnote{bottom:9px;left:12px;right:12px;font-size:6px;letter-spacing:.2px}.camera-tools{left:auto;right:10px;bottom:155px;flex-direction:row}.camera-tools button{width:30px;height:30px;border-right:1px solid #daddcf;border-bottom:0}.plot-card{bottom:150px;left:63px;width:230px;z-index:2}.toast{bottom:150px;width:70%;font-size:11px;z-index:3}.welcome{inset:67px 0 0;background:linear-gradient(90deg,#eeeedfee,#eeeedfbb 65%,#eeeedf44)}.welcome-card{margin:auto;width:450px;padding:20px 10px;max-height:100%;overflow:auto}.welcome h2{font-size:51px}.welcome p{font-size:12px;margin-bottom:18px}.welcome-caption{display:none}.welcome-footer{font-size:8px}.perf{top:auto;bottom:190px;left:63px}.panel.map-mode{width:240px}.legend{font-size:8px}}
@media(max-width:480px){.panel{top:157px;width:210px;max-height:calc(100dvh - 330px)}.location{max-width:100%;top:84px}.location h1{font-size:26px}.location .climate{max-width:320px}.panel h2{font-size:22px}.panel p{font-size:10px}.panel .goal{padding:10px}.header-actions .button{font-size:0;width:30px;height:30px}.header-actions .button:after{content:'↗';font-size:15px}.brand small{display:none}.stats{gap:8px}.welcome h2{font-size:43px}.welcome-card{padding:10px 8px}.welcome p{font-size:11px}.welcome input:not([type=checkbox]),.welcome select{padding:10px}.welcome .form-row{gap:8px}.footnote span:first-child{max-width:30%;overflow:hidden;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
