@font-face{font-family:Fallback;src:local('Avenir Next');font-display:swap}
:root{--ink:#253c36;--muted:#7b8b81;--green:#2d7258;--line:#e2e8df;--paper:#fafbf7;--cream:#f4f3eb;--shadow:0 8px 28px #3047380b;font-family:Fallback,'Avenir',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;color:inherit}button:disabled{cursor:default}button:focus-visible{outline:3px solid #e7b96f;outline-offset:3px}button{touch-action:manipulation}svg{width:22px;height:22px;display:block}h1,h2,h3,p{margin:0}.app-shell{max-width:1512px;margin:auto;padding:30px 42px 18px}.masthead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:27px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:51px;height:51px;background:#edf2e6;border:1px solid #e0e6d8;border-radius:15px;display:grid;place-items:center}.brand-mark svg{width:40px;height:40px}.eyebrow{font-size:9px;letter-spacing:1.55px;font-weight:750;line-height:1.5;color:var(--muted)}.brand .eyebrow{margin-bottom:3px;color:#70907b}h1{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:500;letter-spacing:-.8px}.beta{font-family:inherit;font-size:10px;font-weight:500;letter-spacing:.3px;vertical-align:middle;color:#8e9a86;border:1px solid #dce3d3;padding:3px 5px;border-radius:5px;margin-left:9px}.header-actions{display:flex;align-items:center;gap:10px}.save-status{font-size:11px;color:#8a988a;margin-right:12px}.save-status:before{content:'';display:inline-block;width:5px;height:5px;background:#8bac8a;border-radius:50%;vertical-align:middle;margin-right:6px}.icon-button{width:37px;height:37px;border:1px solid var(--line);border-radius:10px;background:transparent;display:grid;place-items:center;font-size:24px;transition:background .15s}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:#edf3e9}.stats{display:grid;grid-template-columns:1.25fr 1fr 1fr 1.15fr;gap:0;border:1px solid var(--line);border-radius:15px;background:white;box-shadow:var(--shadow);padding:17px 5px;margin-bottom:23px}.stat{border:0;border-right:1px solid var(--line);background:transparent;text-align:left;display:flex;align-items:center;gap:13px;padding:0 24px;position:relative;min-width:0}.stat:last-child{border:0}.stat-icon{width:40px;height:40px;display:grid;place-items:center;color:#69967c;background:#f0f5ec;border-radius:12px;flex-shrink:0}.stat-icon.coin{font-family:Georgia,serif;font-size:22px;color:#b8964c;background:#fbf5e7}.stat-icon.happy{color:#b29442;background:#f9f5e6}.stat-icon svg{width:22px;height:22px}.stat-text{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:8px;letter-spacing:1.3px;font-weight:750;color:var(--muted);white-space:nowrap}.stat strong{font-size:25px;font-weight:650;letter-spacing:-.7px;line-height:1.1;font-variant-numeric:tabular-nums}.stat-unit{font-size:11px;letter-spacing:0;font-weight:400;color:#8a978d;margin-left:5px}.stat-sub{font-size:9px;color:#8b988d;margin-left:auto;max-width:85px;line-height:1.4}.money-stat .stat-sub{color:#789775}.economy-stat strong{color:var(--green)}.happiness-track{position:absolute;bottom:3px;right:24px;width:45px;height:4px;background:#edf0e6;border-radius:5px;overflow:hidden}.happiness-track span{height:100%;background:#cfba73;display:block;transition:width .6s}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:23px}.city-view{position:relative;min-height:530px;height:clamp(430px,54vh,640px);overflow:hidden;border:1px solid #dbe6d7;border-radius:20px;background:#e1efdc;isolation:isolate}.city-view canvas{width:100%;height:100%;display:block;touch-action:none}.city-heading{position:absolute;top:22px;left:23px;display:flex;align-items:center;gap:10px;pointer-events:none}.city-heading h2{font-family:Georgia,serif;font-weight:500;font-size:21px;letter-spacing:-.5px;line-height:1.2}.city-heading span:not(.live-dot){color:#68856b;font-size:9px}.live-dot{width:8px;height:8px;background:#669775;border:2px solid #d6e8ca;border-radius:50%;box-shadow:0 0 0 4px #c5dbb673}.time-controls{position:absolute;right:18px;top:16px;display:flex;gap:7px;align-items:stretch}.day-display{position:relative;display:flex;gap:9px;align-items:center;background:#ffffffe0;box-shadow:0 3px 12px #355b3210;border:1px solid #ffffffad;padding:10px 13px;border-radius:12px;overflow:hidden}.day-display .eyebrow{font-size:7px;letter-spacing:1px;color:#8b9b7c}.day-display strong{display:block;font-size:13px;margin-top:2px;font-weight:650}.sun-icon{color:#c6a65d}.sun-icon svg{width:21px;height:21px}.day-progress{position:absolute;height:2px;left:0;right:0;bottom:0;background:#eef2e4}.day-progress i{display:block;height:100%;background:#bbcc9c}.time-buttons{background:#ffffffe0;border-radius:12px;display:flex;align-items:center;padding:5px}.time-buttons .icon-button{border:0;width:30px;height:35px}.speed-button{background:transparent;border:0;border-left:1px solid #e0e7d9;padding:6px 8px;font-size:11px;font-weight:650;min-width:33px;color:#678163}.zoom-controls{position:absolute;right:18px;bottom:50px;border:1px solid #ffffffdd;background:#ffffffe0;border-radius:12px;box-shadow:0 4px 16px #29452210;display:flex;flex-direction:column;overflow:hidden}.zoom-controls button{border:0;border-bottom:1px solid #e4eade;background:transparent;width:36px;height:35px;font-size:23px;display:grid;place-items:center;color:#60765b}.zoom-controls button:last-child{border:0}.zoom-controls svg{width:16px;height:16px}.zoom-controls button:hover{background:#edf2e8}.map-caption{position:absolute;bottom:20px;left:22px;font-family:Georgia,serif;font-size:12px;font-style:italic;color:#718b71;pointer-events:none}.caption-dot{width:5px;height:5px;display:inline-block;background:#82a382;border-radius:50%;vertical-align:middle;margin-right:7px}.map-hint{position:absolute;right:18px;bottom:21px;font-size:8px;color:#7c9176;pointer-events:none}.city-journal{padding:11px 7px 0}.journal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.journal-header .eyebrow{font-size:8px}.journal-header svg{width:20px;height:20px;color:#8aa580}.city-journal>h2{font-family:Georgia,serif;font-weight:400;font-size:30px;line-height:1.18;letter-spacing:-1px}.journal-intro{font-size:11px;color:var(--muted);line-height:1.8;margin:13px 0 23px}.goal-card{background:#f0f3e7;border:1px solid #e3e8d6;border-radius:12px;padding:15px}.goal-top{display:flex;align-items:center;gap:7px;color:#98a077;margin-bottom:10px}.goal-top svg{width:16px;height:16px}.goal-top .eyebrow{font-size:6.5px;letter-spacing:1.2px;color:#8c9479}.goal-card h3{font-size:12px;line-height:1.5;font-weight:650}.goal-card p{font-size:9px;color:#8b9380;margin-top:4px;line-height:1.6}.goal-track{height:4px;background:#e0e5d3;border-radius:4px;overflow:hidden;margin:14px 0 9px}.goal-track i{display:block;background:#879e6f;height:100%;transition:width .6s}.goal-bottom{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#8b967f}.goal-bottom strong{font-weight:650;color:#70936d}.ledger{margin:22px 0 18px}.ledger h3{font-size:11px;font-weight:600;margin-bottom:13px}.ledger>div{display:flex;justify-content:space-between;gap:5px;font-size:10px;line-height:1.6;margin-bottom:9px;color:#899385}.ledger strong{font-weight:600;color:#526b54}.mayor-tip{display:flex;gap:9px;border-top:1px solid var(--line);padding-top:16px}.mayor-tip svg{width:16px;height:16px;color:#9aaa89;flex-shrink:0}.mayor-tip p{font-size:9px;line-height:1.8;color:#909884}.journal-footer{margin-top:25px;display:flex;gap:6px;align-items:center;font-size:9px;font-family:Georgia,serif;font-style:italic;color:#93a18a}.tiny-dot{width:4px;height:4px;border-radius:50%;background:#97b18c;display:inline-block}.build-panel{margin-top:25px}.build-panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.build-panel-heading h2{font-family:Georgia,serif;font-size:19px;font-weight:400;letter-spacing:-.35px}.build-panel-heading div>span{display:block;font-size:10px;color:#929c90;margin-top:4px}.build-badge{font-size:7px;font-weight:600;letter-spacing:1.5px;color:#8c9b87}.build-menu{display:flex;gap:11px;padding:2px 2px 4px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d6dfd0 transparent}.build-card{position:relative;flex:1;min-width:94px;height:103px;border:1px solid #e2e7db;background:white;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-shadow:0 2px 3px #2e482004;transition:background .18s,border-color .18s,transform .18s}.build-card:hover{transform:translateY(-2px);border-color:#b2c5a4}.build-card[aria-pressed=true]{border-color:#739669;background:#edf4e8;box-shadow:0 0 0 1px #739669}.build-card svg.build-art{width:49px;height:45px;margin-bottom:1px;filter:drop-shadow(0 3px 2px #31462918)}.build-card span{font-size:10px;font-weight:650}.build-card small{font-size:9px;color:#a0a78f;font-variant-numeric:tabular-nums}.build-card[aria-pressed=true] small{color:#759267}.build-card .selected-mark{position:absolute;right:8px;top:7px;width:4px;height:4px;border-radius:50%;background:#6b9262;opacity:0}.build-card[aria-pressed=true] .selected-mark{opacity:1}.build-card.demolish{background:#faf8f4}.build-card.demolish[aria-pressed=true]{background:#fff0e8;border-color:#c99273;box-shadow:0 0 0 1px #c99273}.build-card .unaffordable{color:#bb715b}.selection-description{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8a9685;padding:11px 2px 0;line-height:1.5}.autosave-note{white-space:nowrap;color:#9ba593;font-size:8px}.autosave-note .tiny-dot{margin-right:5px}.app-footer{margin-top:27px;padding-top:15px;border-top:1px solid #e6eadf;display:flex;justify-content:space-between;font-size:8px;color:#a0a796}.footer-version{color:#b3b9a8;margin-left:4px}.tutorial-card{position:absolute;left:18px;top:85px;width:238px;background:#fffffff2;border:1px solid #ffffff;border-radius:14px;padding:14px 16px;box-shadow:0 7px 22px #234b2914;z-index:4;transition:opacity .2s}.tutorial-card[hidden]{display:none}.tutorial-card .eyebrow{font-size:7px;color:#9aab88;margin-bottom:5px}.tutorial-card h3{font-family:Georgia,serif;font-weight:500;font-size:18px;line-height:1.3;margin-bottom:7px}.tutorial-card p{font-size:10px;line-height:1.65;color:#82917c}.tutorial-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:11px}.primary-button{background:var(--green);color:white;border:0;padding:10px 14px;border-radius:8px;font-size:11px;font-weight:600}.primary-button:hover{background:#235d47}.text-button{background:none;border:0;font-size:9px;color:#8a9783;padding:10px 4px}.tutorial-dots{display:flex;gap:4px}.tutorial-dots i{width:4px;height:4px;border-radius:50%;background:#dce4d3}.tutorial-dots i.active{background:#799c6b}.toast{position:absolute;left:50%;bottom:49px;transform:translate(-50%,10px);background:#284838ed;color:white;border:1px solid #ffffff26;border-radius:10px;box-shadow:0 6px 18px #23422921;font-size:11px;padding:11px 17px;max-width:calc(100% - 80px);width:max-content;text-align:center;line-height:1.5;z-index:6;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#855a42ed}.tile-info{position:absolute;left:18px;bottom:49px;width:245px;border:1px solid #fff;background:#fffffff0;border-radius:12px;padding:14px;box-shadow:0 4px 18px #31533614;z-index:3}.tile-info h3{font-size:13px;font-weight:650;margin-bottom:6px}.tile-info p{font-size:10px;line-height:1.65;color:#84927c}.tile-info .tile-status{color:#60865b;font-weight:600;margin-top:5px}.tile-info .tile-status.offline{color:#af795a}.tile-info button{position:absolute;right:7px;top:7px;border:0;background:transparent;color:#94a38a;font-size:20px;padding:0 6px}dialog{width:min(460px,calc(100vw - 30px));border:1px solid #e0e7d8;border-radius:20px;background:var(--paper);padding:24px;color:var(--ink);box-shadow:0 16px 90px #1d3e3830;max-height:85dvh;overflow-y:auto}dialog::backdrop{background:#1e3d3273;backdrop-filter:blur(5px)}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.modal-top .icon-button{border:0;width:30px;height:30px}.modal-top .eyebrow{font-size:8px;color:#8f9f80}.modal-content h2,#modal-content h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin-bottom:10px;letter-spacing:-.8px}#modal-content>p{font-size:12px;line-height:1.8;color:#7e8f7b;margin-bottom:17px}.modal-list{padding:0;list-style:none;margin:20px 0}.modal-list li{display:flex;gap:11px;margin:14px 0;font-size:12px;line-height:1.65;color:#7e8f7b}.modal-list li strong{color:var(--ink)}.step-number{width:25px;height:25px;background:#e9f0e1;border-radius:8px;display:grid;place-items:center;color:#7f9f6e;font-weight:650;flex-shrink:0;font-size:11px}.budget-row{display:flex;justify-content:space-between;font-size:12px;color:#7e8f7b;border-bottom:1px solid #e5eadd;padding:12px 0}.budget-row strong{font-weight:600;color:var(--ink)}.budget-row.total{font-weight:700;color:var(--green);border:0;margin-bottom:15px}.budget-row.total strong{color:inherit}.modal-note{font-size:10px;color:#91a084;line-height:1.7;background:#edf2e7;padding:12px;border-radius:9px;margin:13px 0}.setting-actions{display:flex;gap:9px;margin:15px 0;flex-wrap:wrap}.secondary-button{background:white;border:1px solid #dce5d5;padding:11px 14px;border-radius:9px;font-size:11px;color:#658258}.danger-button{color:#af765e;border-color:#e6d2c2;background:#fcf7f0}.setting-label{font-size:11px;color:#809376;display:block;margin:17px 0 5px}.name-input{width:100%;padding:11px 12px;background:white;border:1px solid #dae3d3;border-radius:9px;color:var(--ink);font-size:13px}#import-file{display:none}.negative{color:#b7775d!important}.paused-tag{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 3px #c2c5a05c;border-radius:19px}
@media(min-width:1550px){.app-shell{padding-top:40px}.city-view{min-height:580px}.build-card{height:111px}.city-journal{padding-top:18px}}
@media(max-width:1150px){.app-shell{padding:24px}.stat{padding:0 17px;gap:10px}.stat-sub{display:none}.workspace{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.city-journal>h2{font-size:27px}.city-view{min-height:490px}.happiness-track{right:16px;width:25px}.build-card{min-width:85px}.journal-intro{font-size:10px}}
@media(max-width:850px){.app-shell{padding:22px 20px 16px}.workspace{grid-template-columns:1fr}.city-journal{display:none}.city-view{height:55vh;min-height:420px;max-height:640px}.stat strong{font-size:23px}.stat-icon{width:33px;height:33px;border-radius:10px}.stat-label{font-size:7px;letter-spacing:.7px}.stat{padding:0 13px}.stats{padding:15px 0}.stat-unit{font-size:9px}.happiness-track{display:none}.build-card{min-width:85px}.build-menu{gap:9px}.save-status{font-size:9px}.build-panel{margin-top:20px}.brand-mark{width:45px;height:45px}h1{font-size:24px}.app-footer{margin-top:21px}}
@media(max-width:550px){.app-shell{padding:calc(14px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))}.masthead{margin-bottom:18px;gap:8px}.brand{gap:9px}.brand-mark{width:38px;height:38px;border-radius:12px}.brand-mark svg{width:31px;height:31px}.brand .eyebrow{font-size:6px;letter-spacing:1.35px;margin-bottom:3px}h1{font-size:21px;letter-spacing:-.75px}.beta{display:none}.header-actions{gap:4px}.header-actions .icon-button{width:30px;height:33px;border:0}.header-actions .icon-button svg{width:17px;height:17px}.save-status{display:none}.stats{grid-template-columns:1fr 1fr;border-radius:13px;margin-bottom:14px;padding:0;overflow:hidden}.stat{padding:12px 14px;gap:10px;border-right:1px solid #edf0e5}.stat:nth-child(-n+2){border-bottom:1px solid #edf0e5}.stat:nth-child(2n){border-right:0}.stat-icon{width:32px;height:32px}.stat-icon svg{width:19px;height:19px}.stat-icon.coin{font-size:18px}.stat-text{gap:4px}.stat-label{font-size:6px;letter-spacing:1px}.stat strong{font-size:21px}.stat-unit{font-size:8px;margin-left:4px}.stat-sub{display:none}.city-view{min-height:360px;height:52dvh;max-height:580px;border-radius:16px}.city-heading{top:16px;left:15px;gap:7px}.city-heading h2{font-size:19px}.city-heading span:not(.live-dot){font-size:7px}.live-dot{width:7px;height:7px;box-shadow:0 0 0 3px #c5dbb673}.time-controls{top:11px;right:10px;gap:4px}.day-display{padding:8px 9px;gap:6px;border-radius:10px}.day-display .eyebrow{display:none}.day-display strong{font-size:11px;margin:0}.sun-icon svg{width:15px;height:15px}.time-buttons{padding:3px;border-radius:10px}.time-buttons .icon-button{height:27px;width:25px}.time-buttons .icon-button svg{width:14px;height:14px}.speed-button{padding:5px;font-size:10px;min-width:25px}.tutorial-card{top:63px;left:12px;width:206px;padding:11px 13px;border-radius:12px}.tutorial-card h3{font-size:17px;margin-bottom:4px}.tutorial-card .eyebrow{font-size:6px;margin-bottom:3px}.tutorial-card p{font-size:9px;line-height:1.6}.tutorial-bottom{margin-top:7px}.tutorial-bottom .primary-button{font-size:9px;padding:8px 11px}.tutorial-bottom .text-button{font-size:8px;padding:6px 2px}.map-caption{left:13px;bottom:14px;font-size:10px}.map-hint{right:12px;bottom:15px;font-size:6px}.zoom-controls{right:10px;bottom:38px;border-radius:10px}.zoom-controls button{width:30px;height:31px;font-size:20px}.zoom-controls svg{width:14px;height:14px}.build-panel{margin-top:18px}.build-panel-heading{margin-bottom:12px}.build-panel-heading h2{font-size:18px}.build-panel-heading div>span{font-size:8px;line-height:1.5;margin-top:4px}.build-badge{font-size:6px;letter-spacing:1px;max-width:52px;text-align:right;line-height:1.7}.build-menu{gap:8px;padding:2px 2px 6px;scrollbar-width:none;margin-right:-14px;padding-right:14px}.build-menu::-webkit-scrollbar{display:none}.build-card{min-width:76px;max-width:76px;height:96px;border-radius:11px}.build-card svg.build-art{width:44px;height:42px}.build-card span{font-size:9px}.build-card small{font-size:8px}.selection-description{font-size:8px;padding-top:7px}.autosave-note{display:none}.app-footer{font-size:6px;margin-top:18px;padding-top:12px;gap:10px}.toast{font-size:9px;bottom:39px;max-width:calc(100% - 55px);padding:9px 12px}.tile-info{width:210px;left:12px;bottom:39px;padding:12px}.tile-info h3{font-size:11px}.tile-info p{font-size:9px}dialog{padding:19px}#modal-content h2{font-size:26px}.primary-button,.secondary-button{min-height:40px}}
@media(max-width:360px){h1{font-size:18px}.brand-mark{width:32px;height:32px}.stat{padding:11px 10px;gap:7px}.stat strong{font-size:19px}.city-heading h2{font-size:16px}.day-display{padding:8px 6px}.time-controls{gap:2px}.city-view{height:51dvh;min-height:335px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
[hidden]{display:none!important}
#modal-feedback{padding:11px 13px;border:1px solid #cddfbe;border-radius:9px;background:#eef5e6;color:#527746;font-size:11px;line-height:1.6;margin:0 0 13px}#modal-feedback.error{background:#faf0e7;border-color:#e3c8b5;color:#986349}
.city-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-5px 0 19px;max-width:760px}
.city-actions>button{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 15px;text-align:left;min-height:61px;box-shadow:0 3px 13px #30473806;transition:border-color .2s,background .2s;min-width:0}
.city-actions>button:hover{background:#f3f7ee;border-color:#b9cbb0}.city-actions>button.reward-ready{background:#f2f7e9;border-color:#afc499}.action-symbol{font-size:24px;color:#86a36e;font-family:Georgia,serif;line-height:1;flex-shrink:0}.hall-symbol{font-size:29px;color:#94a185}.city-actions strong{font-size:12px;display:block;font-weight:650}.city-actions small{font-size:9px;display:block;color:#8b9b80;margin-top:4px;line-height:1.4}.action-badge{margin-left:auto;font-size:8px;padding:4px 7px;color:#7a916b;background:#eef4e5;border-radius:7px;white-space:nowrap;flex-shrink:0}.reward-ready .action-badge{background:#dfeace;color:#62824e}
.build-categories{display:flex;align-items:center;gap:7px;margin:-3px 0 11px;overflow-x:auto;scrollbar-width:none}.build-categories::-webkit-scrollbar{display:none}.build-categories button{border:1px solid #e2e8db;border-radius:20px;padding:7px 13px;font-size:10px;color:#85957a;background:transparent;white-space:nowrap}.build-categories button[aria-pressed=true]{background:#e9f1e0;border-color:#b4c8a5;color:#5b7b4b;font-weight:650}.build-card{flex:0 0 105px}.build-card.locked{background:#f4f5ef;border-style:dashed}.build-card.locked .build-art{opacity:.4;filter:grayscale(.6)}.build-card.locked span{color:#97a08b}.build-card.locked small{color:#8fa079;font-size:8px}.build-card.upgrade{background:#f4f7ed}.build-card.upgrade[aria-pressed=true]{background:#e7f0dc}
.event-banner{position:absolute;left:18px;bottom:49px;max-width:calc(100% - 82px);display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid #ffffffc9;border-radius:12px;background:#f9f5deef;text-align:left;box-shadow:0 6px 20px #4b4f2421;z-index:3}.event-banner strong{font-size:11px;display:block;color:#85702f}.event-banner small{display:block;font-size:9px;color:#a29560;margin-top:4px}.event-symbol{font-size:22px;color:#c7a750}.event-banner:hover{background:#fffae7}.growth-notice{position:absolute;top:86px;right:19px;pointer-events:none;background:#ffffffe0;border:1px solid #ffffffc4;border-radius:8px;padding:8px 11px;font-size:10px;color:#65885c;opacity:0;transform:translateY(7px);transition:opacity .2s,transform .2s}.growth-notice.visible{opacity:1;transform:translateY(0)}
.level-label{font-size:8px;color:#8b9e78;background:#edf3e5;padding:3px 5px;border-radius:4px;margin-left:5px;font-weight:600}.upgrade-details{margin-top:9px;padding-top:8px;border-top:1px solid #e4ebda}.tile-info .upgrade-details p{font-size:9px;color:#84967a;line-height:1.7}.tile-info .primary-button{position:static;color:white;font-size:10px;background:var(--green);width:100%;margin-top:8px;padding:10px 8px;min-height:37px;border-radius:8px}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:default}.tile-info .max-level{font-size:9px;color:#91a073;margin-top:10px}.tile-info{width:264px}
.mission-list{display:flex;flex-direction:column;gap:10px}.mission-item{display:flex;gap:10px;align-items:center;padding:13px 11px;background:white;border:1px solid #e3e9db;border-radius:12px}.mission-item.ready{background:#f0f6e7;border-color:#bbcfab}.mission-item.claimed{opacity:.6;background:#f5f6ef}.mission-icon{flex-shrink:0;font-size:19px;color:#9aae86;width:20px;text-align:center}.mission-item.ready .mission-icon{color:#88a35c}.mission-copy{flex:1;min-width:0}.mission-copy h3{font-size:11px;line-height:1.5;font-weight:650}.mission-copy p{font-size:10px;line-height:1.5;color:#8a9980;margin-top:3px}.mission-copy small{font-size:8px;color:#94a384}.mission-track{height:3px;background:#e6ecdc;border-radius:4px;overflow:hidden;margin:8px 0 4px}.mission-track i{height:100%;display:block;background:#9eb780}.mission-item button{min-width:70px;font-size:9px;padding:9px;flex-shrink:0}.modal-section-title{font-size:13px;font-weight:650;margin:22px 0 12px}.project-list{display:flex;flex-direction:column;gap:9px}.project-item{display:flex;align-items:center;gap:10px;background:white;border:1px solid #e2e9d9;border-radius:12px;padding:14px}.project-item>div{flex:1}.project-item h3{font-size:12px;font-weight:650;margin-bottom:5px}.project-item p{font-size:10px;line-height:1.6;color:#8a9a7f}.project-item small{font-size:8px;color:#9baa88;display:block;margin-top:7px}.project-item button{font-size:9px;padding:10px;min-width:75px;flex-shrink:0}.policy-intro{font-size:11px;color:#869a7a;line-height:1.7;margin-bottom:12px}.tax-policies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tax-policies button{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid #dce5d2;border-radius:10px;padding:13px 7px;background:white}.tax-policies strong{font-size:11px;font-weight:600}.tax-policies small{font-size:9px;color:#91a280}.tax-policies button[aria-pressed=true]{background:#e8f1de;border-color:#9eb78a;color:#678551}.unlock-list>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edde;padding:10px 0;font-size:11px;color:#849779}.unlock-list strong{font-size:10px;font-weight:600;color:#78906c}.hall-event{width:100%;padding:13px;border:1px solid #e3d6aa;border-radius:10px;background:#faf6e1;font-size:10px;color:#978046;text-align:left;line-height:1.5}.event-art{width:53px;height:53px;border-radius:17px;background:#f2ead0;display:grid;place-items:center;font-size:33px;color:#bba158;margin-bottom:17px}.event-choices{display:flex;flex-direction:column;gap:10px}.event-choices button{position:relative;border:1px solid #e0e8d6;border-radius:12px;background:white;padding:17px 35px 17px 16px;text-align:left}.event-choices strong{display:block;font-size:12px;font-weight:650;margin-bottom:6px}.event-choices span{display:block;font-size:11px;line-height:1.6;color:#8b9d7f}.event-choices i{position:absolute;right:16px;top:20px;color:#8aa16f;font-style:normal}.event-choices button:hover{background:#f1f6e9;border-color:#aec599}.quality-option{display:flex;align-items:center;gap:11px;background:#eef3e6;border:1px solid #e0e8d5;border-radius:10px;padding:13px;margin:20px 0;color:#719063}.quality-option input{accent-color:#668552;width:18px;height:18px;flex-shrink:0}.quality-option strong{font-size:11px;display:block;font-weight:650}.quality-option small{font-size:9px;line-height:1.6;color:#90a17f;display:block;margin-top:4px}
@media(max-width:850px){.city-actions{max-width:none}.city-actions>button{min-height:55px}.build-card{flex:0 0 94px}.city-actions small{font-size:8px}}
@media(max-width:550px){.city-actions{gap:7px;margin:0 0 13px}.city-actions>button{padding:9px 8px;gap:7px;min-height:51px;border-radius:10px}.city-actions strong{font-size:10px}.city-actions small{font-size:7px;line-height:1.5;margin-top:2px;max-width:80px}.action-symbol{font-size:21px}.hall-symbol{font-size:24px}.action-badge{display:none}.city-view{height:clamp(320px,41dvh,460px);min-height:320px}.build-categories{gap:5px;margin-bottom:10px}.build-categories button{font-size:9px;padding:7px 10px}.build-card{flex:0 0 79px;min-width:79px;max-width:79px}.build-card.locked small{font-size:7px}.build-panel-heading div>span{font-size:9px}.stat-label{font-size:7px}.selection-description{font-size:9px}.event-banner{left:12px;bottom:39px;gap:8px;padding:10px 12px;max-width:calc(100% - 62px);border-radius:10px}.event-banner strong{font-size:10px}.event-banner small{font-size:8px}.event-symbol{font-size:19px}.growth-notice{top:58px;right:11px;font-size:9px;padding:6px 9px}.tile-info{width:231px}.tile-info .primary-button{font-size:10px;min-height:38px}.mission-item{gap:8px;padding:12px 10px}.mission-copy h3{font-size:10px}.mission-copy p{font-size:9px}.mission-item button{font-size:8px;min-width:67px;padding:9px 7px}.mission-icon{width:17px;font-size:17px}.project-item{padding:12px}.project-item h3{font-size:11px}.project-item p{font-size:10px}.project-item button{min-width:69px;padding:9px 7px}.tax-policies{gap:6px}.tax-policies strong{font-size:10px}.tax-policies small{font-size:8px}.event-choices button{padding:15px 29px 15px 13px}.event-choices strong{font-size:12px}.event-choices span{font-size:10px}}

@media(max-width:550px){.brand{min-width:0}.brand h1{font-size:clamp(17px,5.3vw,21px)}.header-actions{flex-shrink:0}.header-actions .icon-button,.modal-top .icon-button{width:44px;height:44px}.time-buttons{padding:0}.time-buttons .icon-button{width:44px;height:44px}.speed-button{min-width:44px;min-height:44px}.day-display{min-height:44px;padding:8px}.city-heading{max-width:calc(100% - 188px)}.city-heading>div{min-width:0}.city-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zoom-controls button{width:44px;height:44px}.build-categories button{min-height:44px;min-width:44px}.tutorial-card.guiding{width:calc(100% - 24px);padding:8px 10px}.tutorial-card.guiding .eyebrow{display:none}.tutorial-card.guiding h3{font-size:15px;line-height:1.2;margin-bottom:4px}.tutorial-card.guiding p{line-height:1.4}.tutorial-card.guiding .tutorial-bottom{margin-top:2px}.tutorial-bottom .text-button{min-height:44px;min-width:68px}.tile-info button[aria-label="Close tile details"]{width:44px;height:44px;top:0;right:0}.tile-info h3{padding-right:29px}.tile-info .primary-button,.mission-item button,.project-item button,.primary-button,.secondary-button{min-height:44px}}

.simulation-status{position:absolute;left:23px;top:72px;padding:6px 9px;border:1px solid #ffffffa3;border-radius:7px;background:#ffffffe0;color:#6a8566;font-size:9px;pointer-events:none}.city-actions>button:disabled{opacity:.55;cursor:default}.advance-ledger{margin:15px 0 19px;padding:14px;border:1px solid #dfe7d4;border-radius:12px;background:#f1f5e9}.advance-ledger h3{font-size:12px;font-weight:650}.advance-ledger p{font-size:10px;line-height:1.7;color:#87977e;margin-top:9px}.advance-ledger .budget-row{font-size:10px;padding:10px 0}.advance-ledger .budget-row strong{white-space:nowrap}.tile-info .service-range{margin-top:7px;font-size:9px;color:#78996a}
@media(max-width:550px){.simulation-status{left:13px;top:63px;font-size:8px;padding:5px 8px}.tile-info .service-range{font-size:8px}.city-actions #next-day-cost{max-width:82px;font-size:7px}.advance-ledger{padding:11px}.advance-ledger .budget-row{gap:10px}}

.city-actions{max-width:none;grid-template-columns:repeat(6,minmax(0,1fr))}.planning-legend{position:absolute;left:13px;bottom:12px;max-width:calc(100% - 25px);padding:7px 10px;background:#fffffff0;border:1px solid #e2ead9;border-radius:8px;font-size:9px;color:#637b5c;pointer-events:none;z-index:2}.build-card.locked small{max-width:90px;text-align:center}.build-card.fountain,.build-card.flowerbed,.build-card.statue{background:#faf9ef}
@media(max-width:1100px){.city-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.action-badge{display:none}}
@media(max-width:550px){.city-actions{gap:6px}.city-actions>button:nth-child(n+4){min-height:44px;padding:7px 8px}.city-view{height:clamp(320px,38dvh,440px)}.planning-legend{font-size:8px;padding:6px 8px;max-width:calc(100% - 68px);bottom:11px}.build-card.locked small{font-size:7px;max-width:75px}}

.hall-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:17px 0}.hall-shortcuts button{min-height:44px;padding:10px 6px;border:1px solid #dce5d3;border-radius:9px;background:#fff;font-size:10px;color:#6e8c5d;line-height:1.4}.route-builder{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-5px 0 17px;padding:13px 16px;border:1px solid #bdd1ae;border-radius:12px;background:#f0f6e8}.route-builder strong{font-size:12px;color:#608552}.route-builder p{font-size:10px;color:#839578;line-height:1.6;margin-top:4px}.route-pick-actions{display:flex;gap:8px;flex-shrink:0}.route-pick-actions button{min-height:44px}.incident-banner{background:#fff0e2ef;border-color:#f2d4b6}.incident-banner strong{color:#a3744d}.incident-banner small{color:#b49370}.incident-banner .event-symbol{width:23px;height:23px;border-radius:50%;background:#e9c49e;color:#fff;display:grid;place-items:center;font:700 16px system-ui}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.photo-controls{position:fixed;inset:0;z-index:20;pointer-events:none}.photo-topbar{position:absolute;top:calc(14px + env(safe-area-inset-top));left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.photo-topbar>div{background:#ffffffe0;border:1px solid #ffffffb3;border-radius:10px;padding:9px 16px;text-align:center;color:#517357}.photo-topbar strong{font-family:Georgia,serif;font-size:18px;font-weight:400;display:block}.photo-topbar small{font-size:9px;color:#859980;display:block;margin-top:3px;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.photo-controls button,.photo-controls select{pointer-events:auto;min-height:44px}.photo-controls .icon-button{width:44px;height:44px;background:#ffffffe0;border-color:#ffffffb3}.photo-controls button svg{width:19px;height:19px}.photo-bottom{position:absolute;left:14px;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));max-width:460px;margin:auto}.photo-bottom>p{font-size:11px;line-height:1.6;color:#5e795c;text-align:center;background:#ffffffe0;border:1px solid #ffffffb3;border-radius:9px;padding:9px 12px;margin-bottom:10px}.photo-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px}.photo-actions select{min-width:0;width:100%;padding:8px 10px;border:1px solid #d5e1cd;border-radius:9px;font-size:16px;background:#fffffff0;color:#6d8b60}.photo-actions .primary-button{padding:11px 19px;font-size:12px}.photo-mode{overflow:hidden}.photo-mode .app-shell{max-width:none;padding:0}.photo-mode .workspace{display:block}.photo-mode .city-view{position:fixed;inset:0;width:100vw;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0}.photo-mode .masthead,.photo-mode .stats,.photo-mode .city-actions,.photo-mode .city-journal,.photo-mode .build-panel,.photo-mode .app-footer,.photo-mode .city-heading,.photo-mode .time-controls,.photo-mode .simulation-status,.photo-mode .tutorial-card,.photo-mode .event-banner,.photo-mode .growth-notice,.photo-mode .planning-legend,.photo-mode .zoom-controls,.photo-mode .map-caption,.photo-mode .map-hint,.photo-mode .toast,.photo-mode .tile-info,.photo-mode .route-builder{display:none!important}
@media(max-width:550px){.route-builder{margin:0 0 13px;padding:10px 11px;gap:9px;align-items:flex-start}.route-builder strong{font-size:10px}.route-builder p{font-size:9px}.route-pick-actions{gap:5px}.route-pick-actions button{padding:9px 8px;font-size:9px}.hall-shortcuts button{font-size:9px}.photo-topbar{gap:7px;left:10px;right:10px}.photo-topbar>div{padding:8px 11px;min-width:0}.photo-topbar strong{font-size:16px}.photo-topbar small{max-width:115px;font-size:8px}.photo-topbar>button:first-child{padding:9px 10px;font-size:10px}.photo-bottom{left:12px;right:12px}.photo-bottom>p{font-size:10px}.photo-actions{gap:6px}.photo-actions .primary-button{padding:9px 14px;font-size:11px}}

/* Navigation belongs only to this Arcade copy. */
.arcade-return-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:10px;color:#6c8171}.arcade-return-bar a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 10px 0 0;color:#356f60;font-size:12px;font-weight:700;text-decoration:none}.arcade-return-bar a:focus-visible{outline:2px solid #356f60;outline-offset:3px;border-radius:6px}.arcade-return-bar a span{font-size:20px}.arcade-return-bar>span{text-align:right}.photo-mode .arcade-return-bar{display:none!important}@media(max-width:360px){.arcade-return-bar>span{max-width:130px;font-size:9px}}
