@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#e9eef5;background:#101923;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;cursor:pointer}
#app{height:100vh;min-height:600px;display:grid;grid-template-columns:260px minmax(400px,1fr) 260px;grid-template-rows:72px 1fr 48px;background:#17232d}
.topbar{grid-column:1/4;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#101a23;border-bottom:1px solid #30404c;z-index:3}
.brand{display:flex;align-items:center;gap:11px;min-width:240px}.brand-mark{width:37px;height:37px;border-radius:10px;background:linear-gradient(145deg,#d6ad65,#916b37);display:grid;place-items:center;color:#17202a;font-weight:900;font-size:22px}.brand strong{display:block;letter-spacing:1.8px;font-size:13px}.brand small{display:block;color:#8295a3;font-size:9px;letter-spacing:1.5px;margin-top:3px}
.top-stats{display:flex;gap:34px}.top-stats div{display:flex;flex-direction:column;gap:2px}.top-stats small{font-size:9px;letter-spacing:1.3px;color:#8295a3}.top-stats b{font-size:14px;color:#e6c98f}
.profile{border:1px solid #3b4c57;background:#1c2a35;color:#dce4e9;border-radius:7px;padding:9px 12px;font-size:10px;letter-spacing:1px}
.left-panel,.right-panel{background:#192630;padding:20px 16px;z-index:2;overflow:auto}.left-panel{border-right:1px solid #30404c}.right-panel{border-left:1px solid #30404c}
.panel-heading{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#c8d1d8;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.panel-note{font-size:11px;line-height:1.5;color:#8799a6;margin:0 0 14px}
.live-dot{width:7px;height:7px;border-radius:50%;background:#83bd91;display:inline-block;box-shadow:0 0 9px #83bd9180}
.build-option{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid transparent;border-radius:8px;background:transparent;color:#e2e8ed;padding:11px 9px;margin-bottom:5px}.build-option.selected{background:#293a43;border-color:#9a8055}.option-icon{width:31px;height:31px;border-radius:7px;background:#344650;display:grid;place-items:center;color:#e2c38b;font-size:18px}.build-option span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.build-option b{font-size:11px}.build-option small{font-size:9px;color:#8fa0aa}.build-option i{font-style:normal;color:#d8bb84;font-size:18px}
.panel-divider{height:1px;background:#30404c;margin:17px 0}.menu-option{width:100%;border:0;background:transparent;color:#c6d1d8;text-align:left;padding:9px 5px;font-size:12px}.menu-option span{margin-left:8px}.menu-option:hover,.build-option:hover{background:#293a43}
.panel-foot{font-size:10px;line-height:1.6;color:#778a97;margin-top:24px}
#viewport{position:relative;min-width:0;min-height:0;background:#83918b}.scene-label{position:absolute;top:17px;left:18px;z-index:1;background:#14212bdc;padding:9px 12px;border-radius:6px;font-size:10px;letter-spacing:1px}.scene-label .live-dot{margin-right:7px}.scene-label small{color:#94a6af}.hint{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);z-index:1;background:#14212bdc;padding:8px 12px;border-radius:6px;font-size:10px;color:#c5d0d4;white-space:nowrap}canvas{display:block;width:100%;height:100%}
.toast{position:absolute;top:65px;left:50%;transform:translate(-50%,-10px);opacity:0;pointer-events:none;background:#14212b;color:#f1dfb7;border:1px solid #8e7956;border-radius:7px;padding:10px 15px;font-size:11px;transition:.2s;z-index:4}.toast.show{opacity:1;transform:translate(-50%,0)}
.mall-preview{height:110px;border-radius:8px;background:linear-gradient(145deg,#354953,#263842);display:grid;place-items:center;position:relative;overflow:hidden;margin-bottom:18px}.mini-building{width:100px;height:42px;background:linear-gradient(90deg,#9caeb0 0 8%,#45616b 8% 92%,#9caeb0 92%);border-bottom:8px solid #b9a27c;transform:perspective(120px) rotateX(8deg);box-shadow:0 10px 20px #1118}.mall-preview span{position:absolute;bottom:8px;font-size:8px;letter-spacing:1.2px;color:#c5d0d4}
.metric{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #2b3b45;font-size:10px;color:#91a1aa}.metric b{color:#e4e9ec;font-size:10px}.objective{background:#22333d;border:1px solid #354b56;border-radius:8px;padding:12px}.objective b{font-size:11px}.objective p{font-size:10px;line-height:1.5;color:#9aabb4}.progress{height:5px;background:#14212b;border-radius:4px;overflow:hidden}.progress span{display:block;height:100%;width:0;background:#d3b276;transition:.2s}.objective small{display:block;margin-top:7px;color:#9aabb4;font-size:9px}
.bottombar{grid-column:1/4;background:#101a23;border-top:1px solid #30404c;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:10px;color:#d2dbe0;z-index:3}.bottombar small{color:#8295a3}.weather{color:#e4c98f;font-size:16px;margin-right:7px}.time-controls{display:flex;gap:5px}.time-controls button{width:30px;height:27px;background:#263842;border:1px solid #40545f;color:#e6d0a5;border-radius:5px}.footer-status{font-size:9px;letter-spacing:1px;color:#b9c5ca}.footer-status .live-dot{margin-right:7px}
@media(max-width:900px){#app{grid-template-columns:210px minmax(300px,1fr);grid-template-rows:65px 1fr 44px}.topbar{grid-column:1/3}.right-panel{display:none}.left-panel{padding:15px 11px}.top-stats{gap:13px}.brand{min-width:auto}.profile{display:none}}
@media(max-width:600px){#app{grid-template-columns:1fr;grid-template-rows:58px 1fr 42px}.topbar{grid-column:1; padding:0 12px}.left-panel{display:none}.top-stats{gap:9px}.top-stats small{font-size:7px}.top-stats b{font-size:11px}.brand-mark{width:30px;height:30px}.brand strong{font-size:10px}.brand small{font-size:7px}.hint{font-size:8px}.footer-status{display:none}}

.account-backdrop{position:fixed;inset:0;z-index:20;background:#08131ddd;display:grid;place-items:center;padding:20px;backdrop-filter:blur(9px)}
.account-backdrop[hidden]{display:none}
.account-card{width:min(430px,100%);background:#1a2933;border:1px solid #60717a;border-radius:18px;padding:28px;box-shadow:0 25px 90px #000a}
.account-brand{width:48px;height:48px;border-radius:13px;background:linear-gradient(145deg,#e0c184,#98713b);display:grid;place-items:center;color:#18242b;font-size:29px;font-weight:900}
.account-kicker{font-size:9px;letter-spacing:1.8px;color:#d7b77d;margin:18px 0 7px}
.account-card h2{font-size:23px;margin:0 0 8px}.account-copy{font-size:12px;line-height:1.6;color:#a9b7bd;margin-bottom:20px}
.account-card label{display:block;font-size:10px;color:#c6d0d4;margin:12px 0 5px}
.account-card input{width:100%;border:1px solid #435760;border-radius:8px;background:#101c24;color:#fff;padding:12px;font:inherit;font-size:13px;outline:none}
.account-card input:focus{border-color:#d1b27b}
.account-actions{display:flex;gap:9px;margin-top:18px}.account-actions button{flex:1;border:0;border-radius:8px;padding:12px;background:#d4b77e;color:#1b2529;font-weight:800;font-size:11px}
.account-actions .secondary{background:#344852;color:#e4ecef}
.text-button,.close-account{border:0;background:none;color:#d5bd91;font-size:10px;padding:12px 0 0}
.account-message{font-size:10px;line-height:1.5;color:#9aabb2;background:#22343d;padding:10px;border-radius:7px;margin:14px 0 0}
.close-account{color:#9aabb2;display:block;margin-left:auto}
