@import url('/assets/css/fonts.css');
:root{--ink:#30493c;--muted:#7a8271;--green:#3e614c;--forest:#294c3a;--cream:#f5f2e8;--paper:#fcf9f0;--line:#e1e2d5;--gold:#c49657;--rust:#a96d50;--soft:#e7ebdc;--shadow:0 12px 35px #344b3510;font-family:'Town Sans',Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--cream)}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.045em}h2{font-size:29px;line-height:1.2;font-weight:600}h3{font-size:16px;font-weight:600;line-height:1.4}p{line-height:1.7;color:#74806e}small{font-size:11px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #bf914d;outline-offset:4px}svg{display:block}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;display:block;color:#7b8772}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 17px;border:1px solid #d5ddca;border-radius:7px;font-weight:600;font-size:12px;min-height:44px;transition:background .2s,transform .2s}.button:hover:not(:disabled){background:#e8ecdd;transform:translateY(-1px)}.button.primary{background:var(--green);color:#fff9e8;border-color:var(--green)}.button.primary:hover:not(:disabled){background:#2f513e}.button.primary .icon{width:17px}.button.large{padding:18px 25px;font-size:14px}.button.light{background:#edf1df;border-color:transparent;color:#37523e}.button.full{width:100%;justify-content:space-between}.text-button{font-size:11px;font-weight:600;display:inline-flex;gap:8px;align-items:center;padding:10px 0}.text-button .icon{width:15px}.icon-button{padding:11px;border-radius:8px;min-width:42px;min-height:42px;display:flex;align-items:center;justify-content:center}.icon-button:hover{background:#e5eadc}.progress{height:5px;border-radius:5px;background:#e3e7d8;overflow:hidden}.progress i{display:block;height:100%;background:#7e9973;border-radius:5px;transition:width 1s linear}.progress.amber i{background:#bc955b}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#82956b;margin-right:8px;box-shadow:0 0 0 3px #82956b13}.brand{display:flex;align-items:center;gap:14px;font-size:15px;font-weight:700;letter-spacing:3px}.brand small{display:block;font-size:7px;letter-spacing:1.6px;color:#8a8e7a;margin-top:7px}.brand-mark{font-family:Georgia,serif;font-size:44px;line-height:1;font-weight:bold;letter-spacing:-7px;padding-right:7px;color:#385840}.brand-mark span{color:#bd955d}.landing-header{height:112px;max-width:1400px;margin:auto;padding:0 64px;display:flex;align-items:center;justify-content:space-between}.landing-header nav{display:flex;gap:36px;font-size:12px}.landing-header nav a:last-child{border:1px solid #c6cfbc;padding:12px 20px;border-radius:6px;margin-top:-12px}.landing-header nav span{margin-left:22px}.hero{position:relative;text-align:center;padding-top:47px;overflow:hidden;max-width:1600px;margin:auto}.hero-copy{position:relative;z-index:2}.hero-copy .eyebrow{font-size:10px}.hero-copy .eyebrow i{display:inline-block;width:6px;height:6px;background:#b69c66;border-radius:50%;margin-right:7px}.hero h1{font-size:clamp(42px,4.6vw,70px);font-weight:500;line-height:1.08;margin:22px 0}.hero h1 em,.auth-art h1 em{font-family:Georgia,serif;font-weight:400;color:#738464}.hero p{font-size:15px;line-height:1.9;margin-bottom:24px}.hero .button{min-width:202px;gap:30px}.hero-note{display:block;margin-top:16px;font-size:10px;color:#8b907f}.hero-map{position:relative;margin-top:-8px;mask-image:linear-gradient(to bottom,transparent,black 12%,black 88%,transparent);height:570px}.hero-map svg{width:100%;height:100%;pointer-events:none}.hero-map .map-label{display:none}.hero-map .selection-ring{display:none}.map-caption{position:absolute;bottom:77px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#f8f3dfed;border:1px solid #fff8e8;border-radius:4px;font-size:9px;letter-spacing:1px;white-space:nowrap}.map-caption>span:last-child{margin-left:24px;font-size:8px;color:#8b8f7a}.hero-stamp{position:absolute;left:9%;top:376px;z-index:2;font-family:Georgia,serif;font-size:42px;text-align:left;transform:rotate(-7deg);color:#647655;border:1px solid #a7ad8d;border-radius:50%;width:150px;height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f0df80}.hero-stamp small{font-family:Arial;font-size:7px;letter-spacing:1.2px;line-height:1.7;text-align:center}.story{max-width:1100px;margin:40px auto 90px;text-align:center;padding:0 30px}.story h2{font-size:39px;margin:15px 0 42px;font-family:Georgia;font-weight:400;letter-spacing:-1px}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;text-align:left}.story-grid article>span{font-size:9px;color:#b08c55;letter-spacing:1.8px}.story-grid h3{margin:15px 0 10px}.story-grid p{font-size:12px}.text-link{display:inline-block;margin-top:35px;border-bottom:1px solid #b9c3a7;padding:12px;font-weight:600}.landing footer{border-top:1px solid var(--line);padding:28px 6%;font-size:10px;color:#88917d}.landing footer span{float:right}.auth-page{padding:35px 5%;min-height:100vh}.auth-layout{max-width:1150px;display:grid;grid-template-columns:1.2fr 1fr;margin:45px auto;background:var(--paper);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.auth-art{background:#cbd0ac;position:relative;min-height:610px;overflow:hidden}.auth-art>svg{height:100%;width:100%;opacity:.65;position:absolute;top:155px;transform:scale(1.4)}.auth-art .selection-ring,.auth-art .map-label{display:none}.auth-art>div{position:relative;padding:50px 40px;z-index:1;background:linear-gradient(#d2d8b7 45%,transparent)}.auth-art h1{font-size:43px;line-height:1.15;margin-top:20px}.auth-card{padding:52px 45px;max-width:600px}.auth-card h2{font-size:30px;margin:15px 0}.auth-card>p{font-size:12px;margin-bottom:24px}.auth-card label{display:block;font-size:11px;font-weight:600;margin:20px 0 8px}.auth-card input:not([type=hidden]){width:100%;background:#fffdf6;border:1px solid #d4dccb;border-radius:6px;padding:13px;color:var(--ink)}.auth-card form small{display:block;color:#909780;margin-top:8px}.auth-card .button{width:100%;margin-top:27px}.auth-switch{margin-top:25px;text-align:center}.auth-switch a{text-decoration:underline;color:var(--green)}.privacy-note{font-size:10px!important;color:#959b88;text-align:center;line-height:1.6}.form-error{background:#f4e2d5;color:#914d33;padding:12px;border-radius:5px;font-size:12px}.game-page{height:100vh;height:100dvh;overflow:hidden;font-size:12px}.rail-nav{position:fixed;left:0;top:0;bottom:0;width:83px;background:#f8f7ee;border-right:1px solid #e0e3d5;display:flex;align-items:center;flex-direction:column;z-index:15}.rail-nav>.brand-mark{margin:23px 0 26px;font-size:43px}.rail-nav nav{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;width:61px;height:54px;border-radius:7px;gap:5px;color:#8a9481;position:relative}.nav-item span{font-size:8px;font-weight:500}.nav-item .icon{width:21px;height:21px}.nav-item:hover{background:#edf0e2}.nav-item.active{background:#e3e9d9;color:#3f604a}.nav-item.active:before{content:'';height:23px;width:3px;border-radius:2px;background:#6e8a5e;position:absolute;left:-11px}.rail-bottom{margin-top:auto;padding:17px 0;display:flex;flex-direction:column;align-items:center;gap:12px}.rail-bottom button{padding:8px;color:#8a9481}.avatar{border-radius:50%;width:30px;height:30px;background:#dddfc7;display:grid;place-items:center;font-family:Georgia;font-size:14px;color:#697954}.game-shell{margin-left:83px;display:flex;flex-direction:column;height:100%}.game-header{height:105px;min-height:105px;display:flex;align-items:center;padding:0 30px;gap:20px;border-bottom:1px solid var(--line);background:#f9f7ee}.town-title{min-width:244px}.town-title .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:9px}.town-title h1{font-size:28px;line-height:1}.town-tag{font:7px Arial;letter-spacing:1px;margin-left:10px;color:#8c927c;border:1px solid #dadfcd;border-radius:3px;padding:4px;vertical-align:middle}.hud{display:flex;align-items:center;justify-content:flex-end;gap:28px;flex:1}.hud-stat{display:flex;align-items:center;gap:10px}.hud-stat>.icon{width:21px;color:#899473}.hud-stat>div{display:flex;flex-direction:column;gap:4px}.hud-stat small,.level-hud small{font-size:7px;letter-spacing:1px;color:#8a927d;font-weight:500}.hud-stat strong{font-size:20px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}.hud-stat strong small{font-size:11px;letter-spacing:0;color:#939a83;padding-left:3px}.hud-stat div>span{font-size:8px;color:#8c997e}.level-hud{display:flex;gap:10px;border-left:1px solid var(--line);padding-left:25px;min-width:165px}.level-hud>.icon{color:#b6925a;width:21px;margin-top:14px}.level-hud>div{flex:1;display:flex;flex-direction:column;gap:5px}.level-hud strong{font-size:11px;font-weight:500}.level-hud .progress{height:4px}.level-hud span{font-size:7px;color:#939b84}#notifications-button{margin-left:7px;position:relative;color:#7c8a72}#notifications-button.has-alert:after{content:'';position:absolute;width:5px;height:5px;background:#c59c65;border:2px solid #f9f7ee;box-sizing:content-box;right:8px;top:7px;border-radius:50%}.game-main{display:flex;flex:1;min-height:0}.map-column{display:flex;flex-direction:column;flex:1;min-width:0}.map-toolbar{height:51px;min-height:51px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:#f1f2e6;border-bottom:1px solid #dce2cf;font-size:10px}.map-toolbar strong{font-weight:500}.separator{color:#b6bea5;padding:0 11px}#day-label{color:#8b9580;font-size:9px}.weather{display:flex;align-items:center;gap:7px;color:#8b9580;font-size:9px}.weather .icon{color:#adac7d;width:16px}.temperature{color:#617856;padding-left:4px}.map-wrap{position:relative;flex:1;background:#c4ca9c;min-height:230px;overflow:hidden;transition:filter 1s}.map-wrap.evening{filter:brightness(.68) sepia(.18) hue-rotate(335deg)}#town-map{width:100%;height:100%;touch-action:none;user-select:none;cursor:grab}#town-map:active{cursor:grabbing}.map-hint{position:absolute;left:26px;top:23px;font-family:Georgia;font-style:italic;color:#6b7f57;font-size:15px;pointer-events:none}.map-compass{position:absolute;right:25px;top:21px;width:30px;text-align:center;pointer-events:none;color:#687e54;font-size:8px}.map-compass svg{width:30px}.map-controls{position:absolute;right:20px;bottom:44px;display:flex;flex-direction:column;background:#f7f5e8eF;border:1px solid #e8ead6;border-radius:7px;box-shadow:0 4px 12px #455b3915;padding:3px}.map-controls button{width:34px;height:34px;display:grid;place-items:center;font-size:12px;color:#708363}.map-controls button+button{border-top:1px solid #e2e5d3}.map-controls .icon{width:16px}.map-controls button:hover{background:#e4e9d4}.map-footnote{position:absolute;left:25px;right:25px;bottom:15px;display:flex;justify-content:space-between;color:#728463;font-size:8px;pointer-events:none}.map-building{cursor:pointer;outline:none}.map-building .selection-ring{opacity:0;transition:opacity .2s;pointer-events:none}.map-building:hover .selection-ring,.map-building:focus-visible .selection-ring,.map-building.selected .selection-ring{opacity:1}.map-building:hover{filter:brightness(1.06)}.map-label{pointer-events:none;transition:opacity .2s}.hide-labels .map-label,.zoomed-out .map-label{opacity:0}.hide-labels .map-building:hover .map-label{opacity:1}.land-target{cursor:pointer}.land-target .selection-ring{opacity:0;transition:opacity .2s;pointer-events:none}.land-target:hover .selection-ring,.land-target:focus-visible .selection-ring{opacity:1}.land-target:hover{filter:brightness(1.1)}.bottom-dock{min-height:184px;padding:20px 25px;background:#f8f6ed;border-top:1px solid #e0e3d0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:12px}.section-heading .eyebrow{font-size:7px;margin-bottom:7px;letter-spacing:1.5px}.section-heading h2{font-size:21px}.section-heading .text-button{font-size:9px;color:#7c8f71}.project-dock{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.opportunity-card,.work-card{background:#fdfbf3;border:1px solid #e0e5d4;border-radius:7px;padding:15px 12px;display:flex;gap:10px;align-items:center;text-align:left;min-width:0}.opportunity-card:hover{border-color:#aab998;background:#f1f3e7}.opportunity-icon,.work-icon{display:grid;place-items:center;background:#eee9d6;border-radius:6px;width:36px;height:41px;flex-shrink:0;color:#a68e5c}.opportunity-card:nth-child(2) .opportunity-icon{background:#e7e8d4;color:#929264}.opportunity-card:nth-child(3) .opportunity-icon{background:#e9e5d8;color:#9e8e6b}.opportunity-card>span:nth-child(2){display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.opportunity-card small,.work-card small{font-size:6px;letter-spacing:1px;color:#929980}.opportunity-card strong{font-size:10px;line-height:1.35;font-weight:600}.opportunity-card em{font-size:8px;color:#8b947d;font-style:normal}.opportunity-card em b{padding:0 4px;color:#b2b7a3}.opportunity-card>.icon{width:12px;color:#a0ab8e}.work-card{position:relative;cursor:pointer;align-items:start}.work-card>div{flex:1;min-width:0}.work-card h3{font-size:11px;margin:5px 0 10px}.work-card .work-time{font-size:8px;display:inline-block;margin-top:7px;color:#819573}.xp-reward{float:right;font-size:8px;color:#a68e5c;margin-top:7px}.side-panel{width:337px;min-width:337px;overflow:auto;background:#fbf9f0;border-left:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#d9dfcc transparent}.panel-heading{position:relative;padding:29px 25px 24px;border-bottom:1px solid var(--line)}.panel-heading .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:11px}.panel-heading h2{font-size:26px;font-weight:500;padding-right:8px}.panel-heading p{font-size:10px;margin-top:9px}.panel-close{position:absolute;right:7px;top:13px;color:#8c9780;width:30px;height:30px;min-width:30px;min-height:30px;padding:7px}.panel-close .icon{width:14px}.panel-body{padding:22px 24px}.panel-body>p{font-size:11px;margin-bottom:20px}.chapter-card{border-radius:8px;background:#e6ecd9;padding:18px 17px 15px;border:1px solid #d9e2ca}.chapter-top{display:flex;align-items:center;gap:7px;color:#849473}.chapter-top .icon{width:15px;height:15px}.chapter-top span{font-size:7px;letter-spacing:1px;font-weight:600}.chapter-top b{margin-left:auto;font-size:8px;font-weight:500;color:#9aa689}.chapter-card h3{font-size:16px;line-height:1.5;margin:13px 0 8px;color:#496442}.chapter-card p{font-size:10px;line-height:1.7;color:#829173}.chapter-card .progress{margin:17px 0 14px;background:#d5dfc5;height:4px}.chapter-card .button{font-size:10px;min-height:37px;padding:9px 12px}.chapter-card .button .icon{width:15px}.compact{margin:26px 0 8px}.compact h3{font-size:13px;font-weight:500}.small-caps{font-size:7px;letter-spacing:1.1px;color:#9ba28b}.attention{display:flex;width:100%;gap:10px;align-items:center;text-align:left;padding:14px 0;border-bottom:1px solid #e6e8db}.attention-icon{background:#edecd8;width:31px;height:34px;border-radius:6px;display:grid;place-items:center;color:#b2a063;flex-shrink:0}.attention-icon .icon{width:16px}.attention-icon.rust{background:#f0e7d8;color:#ae8b68}.attention-icon.gold{background:#eee5d2;color:#aa925d}.attention>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:6px}.attention strong{font-size:10px;font-weight:500}.attention small{font-size:8px;color:#939b85}.attention>.icon{width:12px;color:#98a48a}.attention .progress{height:3px;margin-top:2px}.attention .progress i{background:#b7ac72}.attention.warning strong{color:#ad7247}.gazette-preview{margin-top:24px;border:1px solid #e0dfcc;background:#f5f0e1;padding:19px 16px 12px;border-radius:3px}.gazette-masthead{font-family:Georgia,serif;font-size:19px;letter-spacing:-.65px;display:block;text-align:center;color:#546248}.gazette-rule{border-top:2px solid #b3b89e;border-bottom:1px solid #b3b89e;height:5px;margin:9px 0 13px}.gazette-preview h3{font-family:Georgia,serif;font-size:17px;font-weight:400;line-height:1.35;margin:9px 0}.gazette-preview p{font-size:9px;line-height:1.75;color:#92947c}.gazette-preview .text-button{font-size:9px;margin-top:7px}.game-footer{min-height:32px;height:32px;padding:0 27px;border-top:1px solid #e0e4d3;display:flex;align-items:center;justify-content:space-between;font-size:7px;color:#9aa28c;background:#f5f5e9}.game-footer .live-dot{width:4px;height:4px;margin-right:5px}.footer-dot{margin:0 9px}.game-footer>span:last-child{letter-spacing:1.5px}.game-footer b{background:#e7ebdb;padding:3px 5px;font-size:6px;margin-left:6px;color:#95a183}.building-portrait{position:relative;border-bottom:1px solid #e1e3d2}.building-portrait>svg{width:100%;height:210px;object-fit:cover}.status-pill{position:absolute;left:20px;bottom:14px;font-size:8px;color:#69815a;background:#f6f5e5e8;border:1px solid #e5e8d3;padding:6px 9px;border-radius:4px}.building-meta{display:flex;gap:25px;margin-bottom:16px;font-size:8px;letter-spacing:1px;color:#909980}.building-meta b{color:#61744f;margin-left:8px}.building-history{font-size:11px!important;line-height:1.85!important}.project-detail{border-top:1px solid var(--line);padding-top:22px;margin-top:23px}.project-detail h3{font-size:19px;margin:10px 0}.project-detail>p{font-size:11px}.project-facts{display:flex;flex-wrap:wrap;gap:14px;margin:17px 0;font-size:10px;color:#7b8a6b}.project-facts span{display:flex;align-items:center;gap:5px}.project-facts .icon{width:14px;height:14px}.effects{display:flex;flex-wrap:wrap;gap:7px}.effects span{display:flex;gap:5px;align-items:center;font-size:9px;background:#ecf0e2;border-radius:4px;padding:6px 8px;color:#728a60}.effects .icon{width:12px;height:12px}.requirements{margin:18px 0;font-size:10px}.requirements summary{cursor:pointer;padding:9px 0;color:#748566}.requirement{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #ececdf}.requirement>.icon{width:13px;color:#7b986a}.requirement.unmet>.icon{color:#b28c55}.requirement span{display:flex;flex-direction:column;gap:4px;font-size:10px}.requirement small{font-size:8px;color:#939b84}.room-heading{display:flex;justify-content:space-between;font-size:10px;margin:20px 0 12px}.room-heading small{font-size:8px;color:#a2a48e}.room-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.room{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 0;background:#e9e6d8;border:1px solid #dedccd;border-radius:4px;color:#a6a58f;min-height:45px}.room.available{background:#e4edd7;color:#718e5d;border-color:#cddabc}.room.renovating{background:#f0e4c8;color:#b2965c}.room .icon{width:15px;height:15px}.room span{font-size:8px}.muted{font-size:10px;color:#929b83;margin:12px 0;line-height:1.65}.complete-note{display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.7;background:#e6eddb;padding:17px;border-radius:6px;margin-top:18px;color:#6d875b}.list-heading{margin:23px 0 10px}.list-card{display:flex;gap:12px;width:100%;align-items:center;border-bottom:1px solid var(--line);padding:17px 0;text-align:left}.list-card>span{flex:1;display:flex;flex-direction:column;gap:7px}.list-card strong{font-size:11px;font-weight:500}.list-card small{font-size:9px;color:#919a82}.list-card>.icon{width:16px;color:#9eab8c}.business-card,.utility-card{padding:20px;border:1px solid #e0e4d4;border-radius:7px;margin-bottom:17px;background:#f7f6e9}.business-card h3{margin:11px 0 5px;font-size:19px}.business-card>small{font-size:9px;color:#9ba188}.business-card>p{font-size:11px;margin-top:13px}.business-card .eyebrow{font-size:7px}.utility-card{text-align:left}.utility-card h3{margin:12px 0;font-size:17px}.utility-card>strong{font-size:29px;font-weight:500}.utility-card>strong small{font-size:13px;color:#939e81}.utility-card>.progress{margin:17px 0 9px}.utility-card>p{font-size:10px;margin-bottom:18px}.utility-icon{color:#93a379}.population-card{text-align:center;background:#e8eddd;border-radius:7px;padding:25px 15px;margin-bottom:20px}.population-card>strong{display:block;font-size:51px;font-weight:500;letter-spacing:-2px}.population-card>span{font-size:10px;color:#8a9879}.population-card>div{display:flex;justify-content:center;gap:15px;margin-top:18px;font-size:9px;color:#8c9b78}.population-card>div span{display:flex;gap:5px;align-items:center}.population-card .icon{width:14px}.need-row{display:flex;flex-wrap:wrap;justify-content:space-between;font-size:10px;margin:17px 0;color:#77896a}.need-row strong{font-size:9px;font-weight:500}.need-row .progress{width:100%;margin-top:8px;height:4px}.treasury-card{padding:24px;background:#e8eedc;border-radius:8px;display:flex;flex-direction:column;gap:12px;margin-bottom:23px}.treasury-card>span{font-size:8px;letter-spacing:1.5px;color:#8b9c78}.treasury-card>strong{font-size:36px;font-weight:500;letter-spacing:-1px}.treasury-card>small{font-size:9px;color:#8d9c7c}.finance-row{display:flex;justify-content:space-between;gap:12px;font-size:10px;padding:13px 0;border-bottom:1px solid var(--line)}.finance-row strong{font-weight:500}.finance-row.total{font-weight:600;color:#60834d}.transaction{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e9db;padding:14px 0;gap:10px}.transaction>div{display:flex;flex-direction:column;gap:5px}.transaction strong{font-size:10px;font-weight:500}.transaction small{font-size:8px;color:#9aa18b}.transaction>span{font-size:10px;white-space:nowrap}.negative{color:#ab835e}.positive{color:#759763}.newspaper article{border-bottom:1px solid #daddca;padding:20px 0}.newspaper article:first-child{padding-top:0}.newspaper h3{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.25;margin:12px 0}.newspaper p{font-size:11px;line-height:1.85}.choice{margin-top:12px;text-align:left}.choice>span{display:flex;flex-direction:column;gap:8px;line-height:1.4}.choice small{font-weight:400;font-size:8px;color:#929d81}.achievement{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid var(--line);opacity:.65}.achievement>span{padding:12px;background:#e9e9dd;height:46px;border-radius:50%;color:#a5ac95}.achievement.earned{opacity:1}.achievement.earned>span{background:#eee5c8;color:#b59b5b}.achievement h3{font-size:14px}.achievement p{font-size:10px;margin:5px 0}.achievement small{font-size:8px;letter-spacing:1px;color:#a2a88e}.notification{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:17px 0}.notification>.icon{width:17px;color:#9faa83}.notification small{font-size:8px;letter-spacing:1px;color:#a0aa8b}.notification p{font-size:11px;margin-top:5px}.notification.read{opacity:.6}.toast-container{position:fixed;bottom:55px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:90vw}.toast{background:#34553fee;color:#fcf7e7;display:flex;align-items:center;gap:13px;padding:16px 23px;border-radius:8px;box-shadow:0 8px 25px #24423230;font-size:12px;animation:toast-in .25s ease;min-width:260px}.toast.error{background:#a16649}.toast .icon{width:17px}dialog{border:1px solid #d6dfc6;border-radius:12px;padding:42px;max-width:440px;width:calc(100% - 40px);background:#faf8ec;color:var(--ink);box-shadow:0 30px 120px #1d342b50}dialog::backdrop{background:#243c3266;backdrop-filter:blur(4px)}dialog>h2{margin:15px 0}dialog>p{font-size:12px;margin-bottom:25px}dialog>.icon-button{position:absolute;right:12px;top:12px}.level-star{font-size:65px;color:#b7a16b;text-align:center;margin-bottom:25px}#level-dialog{text-align:center}#settings-dialog .button{margin-top:20px}.check-label{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:12px}.check-label input{accent-color:var(--green)}@keyframes toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.side-panel{width:370px;min-width:370px}.panel-body{padding:26px 28px}.game-header{padding:0 38px}.hud{gap:44px}.map-toolbar{padding:0 35px}.bottom-dock{padding:23px 33px;min-height:200px}.opportunity-card{padding:20px 17px}.opportunity-card strong{font-size:12px}.opportunity-card small{font-size:7px}.map-wrap{min-height:350px}}
@media(max-width:1200px){.town-title{min-width:190px}.town-tag{display:none}.hud{gap:18px}.game-header{padding:0 20px}.hud-stat{gap:7px}.hud-stat>.icon{display:none}.hud-stat strong{font-size:19px}.level-hud{padding-left:17px;min-width:141px}.side-panel{width:302px;min-width:302px}.panel-body{padding:20px}.panel-heading{padding:25px 20px}.project-dock{grid-template-columns:repeat(2,1fr)}.project-dock>:nth-child(3){display:none}.weather{font-size:8px}.map-toolbar{padding:0 20px}.game-footer>span:nth-child(2){font-size:6px}.town-title h1{font-size:25px}}
@media(max-width:980px){.town-title{min-width:170px}.hud{gap:17px}.hud-stat:nth-child(3){display:none}.level-hud{min-width:135px}.side-panel{width:280px;min-width:280px}.rail-nav{width:67px}.game-shell{margin-left:67px}.nav-item{width:53px}.rail-nav>.brand-mark{font-size:39px}.weather{display:none}.opportunity-card{padding:12px 9px;gap:8px}.opportunity-icon{width:29px;height:34px}.opportunity-icon .icon{width:18px}.opportunity-card>.icon{display:none}.opportunity-card strong{font-size:9px}.opportunity-card small{font-size:5px}.bottom-dock{padding:19px;min-height:176px}.section-heading h2{font-size:18px}.game-footer>span:nth-child(2){display:none}.panel-heading h2{font-size:24px}.auth-layout{grid-template-columns:1fr 1fr}.auth-card{padding:38px 28px}.auth-art h1{font-size:35px}}
@media(max-width:760px){.landing-header{height:90px;padding:0 25px}.brand{font-size:12px;gap:9px;letter-spacing:2px}.brand small{font-size:6px;letter-spacing:1px}.landing-header nav a:first-child{display:none}.landing-header nav a:last-child{margin:0;padding:10px 13px;font-size:10px}.landing-header nav span{margin-left:10px}.hero{padding-top:36px}.hero-copy{padding:0 20px}.hero h1{font-size:44px}.hero p{font-size:12px}.desktop-only{display:none}.hero-note{font-size:8px}.hero-map{height:400px;margin-top:15px}.hero-map svg{width:150%;max-width:none;margin-left:-25%}.hero-stamp{width:100px;height:100px;font-size:30px;left:5%;top:408px}.hero-stamp small{font-size:5px}.map-caption{font-size:7px;bottom:40px;padding:10px}.map-caption>span:last-child{font-size:6px;margin-left:13px}.story{margin:20px auto 50px}.story h2{font-size:32px}.story-grid{grid-template-columns:1fr;gap:30px;max-width:420px;margin:auto}.story-grid h3{margin-top:9px}.landing footer{font-size:8px}.auth-page{padding:25px 20px}.auth-layout{display:block;margin:28px auto;max-width:430px}.auth-art{display:none}.auth-card{padding:32px 25px}.auth-card h2{font-size:28px}.rail-nav{top:auto;width:100%;height:65px;bottom:0;border-right:0;border-top:1px solid var(--line);flex-direction:row;background:#f8f7eef8}.rail-nav>.brand-mark,.rail-bottom{display:none}.rail-nav nav{flex-direction:row;justify-content:flex-start;overflow-x:auto;gap:4px;padding:5px 8px;scrollbar-width:none}.nav-item{min-width:57px;height:51px;gap:5px}.nav-item span{font-size:7px}.nav-item.active:before{left:15px;right:15px;top:-6px;width:auto;height:3px}.nav-item .icon{width:20px;height:20px}.game-shell{margin:0;padding-bottom:65px}.game-header{height:112px;min-height:112px;display:block;padding:16px 18px 12px;position:relative}.town-title{min-width:0;margin-bottom:14px}.town-title .eyebrow{display:none}.town-title h1{font-size:23px}.town-tag{display:inline-block;font-size:6px}.hud{justify-content:space-between;gap:12px;padding-right:0}.hud-stat{gap:7px}.hud-stat>.icon{display:block;width:15px;height:15px}.hud-stat>div{gap:3px}.hud-stat small{font-size:6px;letter-spacing:.8px}.hud-stat strong{font-size:16px}.hud-stat div>span{display:none}.hud-stat:nth-child(3){display:none}.level-hud{min-width:121px;max-width:142px;padding-left:12px;gap:6px}.level-hud>.icon{width:15px;margin-top:10px}.level-hud>div{gap:3px}.level-hud small{font-size:6px}.level-hud strong{font-size:8px}.level-hud span{font-size:6px}.level-hud .progress{height:3px}#notifications-button{position:absolute;right:13px;top:8px}.map-toolbar{height:40px;min-height:40px;padding:0 18px;font-size:9px}.map-toolbar #day-label{font-size:8px}.weather{display:flex;font-size:8px}.weather .temperature{display:none}.game-main{position:relative}.map-wrap{min-height:190px}.map-hint{font-size:13px;top:17px;left:19px}.map-compass{right:15px;top:15px}.map-controls{right:13px;bottom:39px}.map-controls button{width:32px;height:32px}.map-footnote{left:18px;right:18px;bottom:15px;font-size:7px}.map-footnote>span:last-child{display:none}.bottom-dock{padding:16px 17px 17px;min-height:152px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:18px}.section-heading .eyebrow{font-size:6px;margin-bottom:6px}.section-heading .text-button{font-size:8px}.project-dock{gap:8px}.opportunity-card{padding:11px 9px;min-height:64px}.opportunity-card small{font-size:5px;letter-spacing:.7px}.opportunity-card strong{font-size:9px}.opportunity-card em{font-size:7px}.opportunity-icon{width:27px;height:33px}.opportunity-icon .icon{width:16px}.game-footer{display:none}.side-panel{display:none;position:fixed;z-index:20;bottom:65px;left:0;right:0;top:auto;width:100%;height:70dvh;min-width:0;border-radius:17px 17px 0 0;border:1px solid #d4dcc6;box-shadow:0 -15px 70px #314a3835;padding-bottom:20px}.side-panel.show-mobile{display:block;animation:toast-in .2s}.panel-heading{padding:25px}.panel-heading h2{font-size:27px}.panel-close{top:17px;right:18px;width:38px;height:38px}.panel-close .icon{width:19px}.panel-body{padding:23px 25px}.panel-body p{font-size:12px}.building-portrait>svg{height:205px}.chapter-card h3{font-size:18px}.attention strong{font-size:12px}.attention small{font-size:10px}.list-card{padding:18px 0}.list-card strong{font-size:12px}.room-grid{gap:8px}.room{padding:13px 0}.room span{font-size:10px}.project-facts{font-size:11px}.project-detail>p{font-size:12px}.toast-container{bottom:80px;width:90vw}.toast{font-size:11px;min-width:0;padding:14px 18px}.map-label text{font-size:10px}.nav-item[data-section=overview]{position:relative}.nav-item[data-section=overview]:after{content:''}}
@media(max-height:750px) and (min-width:761px){.rail-nav>.brand-mark{margin:18px 0}.nav-item{height:44px;gap:3px}.nav-item .icon{width:18px;height:18px}.rail-nav nav{gap:2px}.rail-bottom{padding:10px 0;gap:5px}.game-header{height:89px;min-height:89px}.bottom-dock{min-height:155px;padding-top:16px;padding-bottom:16px}.section-heading{margin-bottom:13px}.opportunity-card{padding-top:12px;padding-bottom:12px}.map-toolbar{height:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Live town calendar, kept compact enough for phone screens. */
.town-calendar{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}#game-time{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;color:#526b48;border-left:1px solid #cbd4bc;padding-left:8px}.town-season{font-size:9px;color:#8b9580}.map-toolbar>div:first-child{white-space:nowrap;min-width:0}
@media(max-width:480px){.map-toolbar .weather{display:none}.town-season{font-size:8px}#game-time{font-size:10px}.map-toolbar{gap:4px}.separator{padding:0 7px}}
.production-sales{display:flex;flex-direction:column;gap:8px;margin-top:12px}.production-sales .button{justify-content:center}.recipe-card.locked{opacity:.78}.recipe-hint{font-size:10px;line-height:1.65;color:#7d8a70;margin:8px 0 0}.chain-list{display:flex;flex-direction:column;gap:6px;margin:0}.chain-list .button small{display:block;font-size:9px;font-weight:500;color:#7a8a6e;margin-top:3px}.chapter-card .button small{display:block;font-size:9px;font-weight:500;color:#7a8a6e;margin-top:3px}
.panel-heading.tight{padding:16px 20px 12px}.panel-heading.tight .eyebrow{margin-bottom:6px}.panel-heading.tight h2{font-size:22px;line-height:1.15}
.panel-body.inspect-actions{padding-top:12px}.panel-body.inspect-actions .building-meta{margin-bottom:10px;gap:12px;flex-wrap:wrap}
.action-block{margin:0 0 6px}.action-block>.eyebrow{margin:10px 0 6px;font-size:7px}.action-block>.eyebrow:first-child{margin-top:0}
.action-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e0e4d4;border-radius:6px;margin-bottom:5px;background:#f7f6e9}
.action-row>div:first-child{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.action-row strong{font-size:12px;font-weight:600;line-height:1.25}.action-row small{font-size:9px;color:#8a947d;line-height:1.35}
.action-row .text-button{padding:3px 0 0;font-size:10px}
.action-row.live .progress{margin:5px 0 2px;height:4px}
.button.compact-btn{min-height:30px;padding:0 10px;font-size:11px;width:auto;min-width:3.6rem;flex-shrink:0;justify-content:center}
.row-actions{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end;flex-shrink:1;max-width:62%}
.row-actions .button.compact-btn{min-width:0;min-height:28px;padding:0 8px;font-size:10px}
.inspect-actions .project-detail{margin-top:10px;padding-top:10px}
.inspect-actions .complete-note{margin-top:10px;padding:12px}
.project-detail.folded{padding-top:8px}.project-detail.folded>summary{cursor:pointer;display:flex;flex-direction:column;gap:3px;padding:6px 0}
.project-detail.folded>summary .eyebrow{margin:0}
.project-detail.folded>summary strong{font-size:13px}.project-detail.folded>summary small{font-size:9px;color:#8a947d}
.project-detail.folded[open]>summary{margin-bottom:8px}
.project-detail.folded>p{font-size:11px;margin-bottom:8px}
.prod-board{margin-bottom:4px}
.ute-line{font-size:10px;color:#6d7c62;margin-bottom:10px;line-height:1.4}
.inv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.inv-chips button{font-size:10px;font-weight:600;padding:6px 9px;background:#eef1e2;border-radius:5px;color:#496442}
.inv-chips button b{font-weight:700;margin-left:4px}
.operators-banner{background:#e8eddd;border:1px solid #d9e2ca;border-radius:7px;padding:12px 14px;margin-bottom:12px}.operators-banner strong{display:block;font-size:12px;margin-bottom:4px}.operators-banner p{font-size:10px;line-height:1.6;margin:0;color:#74806e}.quiet-note{display:flex;gap:10px;align-items:flex-start;padding:12px 0 16px;border-bottom:1px solid #e6e8db;color:#6d7c62}.quiet-note .icon{width:16px;margin-top:2px;color:#8aa373}.quiet-note span{display:flex;flex-direction:column;gap:4px}.quiet-note strong{font-size:11px;font-weight:600}.quiet-note small{font-size:9px;color:#8a947d;line-height:1.5}.household{padding:12px 0;border-bottom:1px solid #e7e9db}.household strong{display:block;font-size:12px}.household small{font-size:9px;color:#8a947d}.household p{font-size:11px;margin:6px 0 0;font-style:italic}.shire-card{padding:16px;border:1px solid #e0e4d4;border-radius:7px;margin:12px 0;background:#f7f6e9}.shire-card h3{margin:8px 0 6px;font-size:17px}.shire-card p{font-size:11px}.shire-card>small{font-size:9px;color:#8a947d}.room.occupied{background:#dfe8c9;color:#4f6b40;border-color:#b7c89a}.permit-board{margin:4px 0 16px;padding-bottom:8px;border-bottom:1px solid #e7e9db}.permit-board>.eyebrow{display:block;margin-bottom:6px}.permit-board>.muted{margin:0 0 10px;font-size:11px}.permit{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #e7e9db}.permit .good{margin-top:2px}.permit strong{display:block;font-size:12px}.permit small{font-size:9px;color:#8a947d}.permit p{font-size:11px;margin:4px 0 0}.permit.on strong{color:#4f6b40}
.good{width:18px;height:18px;flex-shrink:0}.good-inline{width:13px;height:13px;display:inline-block;vertical-align:-2px}.opportunity-icon .good,.attention-icon .good,.work-icon .good{width:22px;height:22px}.inv-chips button{display:inline-flex;align-items:center;gap:5px}.inv-chips .good{width:15px;height:15px}.action-row strong{display:flex;align-items:center;gap:6px}.recipe-cost{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.ute-line{display:flex;align-items:center;gap:6px}.chain-list .button>.good{width:22px;height:22px}.chain-list .button>span{flex:1;text-align:left}.lot-badge{pointer-events:none}.lot-badge .lot-chip{fill:#f7f1dc;stroke:#c9c3a8;stroke-width:1}.lot-badge text{fill:#5d6a54}.lot-badge .lot-track{fill:#d8d3bd}.lot-badge .lot-bar{fill:#6f8f5e}.lot-badge[data-mode=busy] .lot-chip,.lot-badge[data-mode=work] .lot-chip{fill:#f6e7b0;stroke:#c4a24d}.lot-badge[data-mode=busy] text,.lot-badge[data-mode=work] text{fill:#5d4a28}.lot-badge[data-mode=ute] .lot-chip{fill:#f3dfc4;stroke:#c4a07a}.lot-badge[data-mode=ute] text{fill:#5c4634}.lot-badge[data-mode=ready] .lot-chip{fill:#e3edc4;stroke:#6f8f5e}.lot-badge[data-mode=ready] text{fill:#35563a}.lot-badge[data-mode=idle] .lot-chip{stroke-dasharray:3.5 2.5}.lot-badge[data-mode=ready] .lot-chip{animation:lot-ready 1.8s ease-in-out infinite}@keyframes lot-ready{50%{fill:#d5e8b0}}.hero-map .lot-badge,.auth-art .lot-badge{display:none}
