/* Correct rail title widths without stretching the original inset art. */
/* Flag and unchanged three-sheep logo move together in front of the roof. */
html body.rustic-desktop .header-logo-group{--logo-flag-offset:-8px}
html body.rustic-desktop .header-logo-group>.logo-cloth-backdrop{top:var(--logo-flag-offset)!important;z-index:2!important}
html body.rustic-desktop .header-logo-group>.game-logo-top-left{transform:translateY(var(--logo-flag-offset))!important;z-index:3!important}
html body.rustic-desktop .header-logo-group>.logo-eave{z-index:0!important}
/* Scene artwork, interactive plots and overlays share one full-frame rectangle. */
html body.rustic-desktop #cityLayout>.city{background-size:100% 100%!important;background-position:center!important;padding:0!important}
html body.rustic-desktop #cityLayout>.city>.plots,
html body.rustic-desktop #cityLayout>.city>#gateRoofOverlay,
html body.rustic-desktop #cityLayout>.outer-city>.outer-scene{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background-size:100% 100%!important;transform:none!important}
html body.rustic-desktop #cityLayout>.city>#newtk-level-overlay{inset:0!important;width:100%!important;height:100%!important;transform:none!important}
html body.rustic-desktop .reference-roof-corner{background:transparent url('/assets/reference-roof-corner.png') center/100% 100% no-repeat!important;width:94px!important;height:66px!important;top:-4px!important;right:-1px!important;clip-path:polygon(0 0,100% 0,97% 13%,86% 22%,82% 24%,78% 37%,77% 65%,73% 71%,20% 71%,20% 29%,0 24%)!important}
html body.rustic-desktop .new-decor-vine-roof{display:none!important}
html body.rustic-desktop>main>.toolbar .game-ticker{position:relative!important;padding-left:104px!important;isolation:isolate!important}
html body.rustic-desktop .rail-paper-interior{position:absolute!important;left:18px!important;right:18px!important;top:6px!important;bottom:6px!important;background-image:url('/assets/rustic-v1045/announcement.webp')!important;background-size:117.98839458413926% 164.91228070175438%!important;background-position:86.02150537634408% 54.054054054054056%!important;background-repeat:no-repeat!important;z-index:-1!important;pointer-events:none!important}
html body.rustic-desktop .rail-announcement-badge{position:absolute!important;left:10px!important;top:4px!important;width:86px!important;height:26px!important;background-image:url('/assets/rustic-v1045/announcement.webp')!important;background-size:938.4615384615385% 151.61290322580646%!important;background-position:2.293577981651376% 53.125%!important;background-repeat:no-repeat!important;z-index:1!important;pointer-events:none!important}
html body.rustic-desktop>main>.toolbar .ticker-label{left:10px!important;width:86px!important;top:0!important;font-size:12px!important;z-index:4!important}
html body.rustic-desktop>main>.toolbar .ticker-viewport{position:relative!important;z-index:3!important;margin-left:0!important}
html body.rustic-desktop>main>#territoryBar.territory-bar{isolation:isolate!important}
html body.rustic-desktop .rail-wood-interior{position:absolute!important;inset:6px 18px!important;background-image:url('/assets/rustic-v1045/production.webp')!important;background-size:128.125% 183.33333333333331%!important;background-position:81.48148148148148% 51.42857142857142%!important;background-repeat:no-repeat!important;z-index:-1!important;pointer-events:none!important}
html body.rustic-desktop .rail-production-badge{position:absolute!important;left:10px!important;top:5px!important;width:86px!important;height:26px!important;background-image:url('/assets/rustic-v1045/production.webp')!important;background-size:691.0112359550561% 163.82978723404256%!important;background-position:3.041825095057034% 50%!important;background-repeat:no-repeat!important;z-index:1!important;pointer-events:none!important}
html body.rustic-desktop>main>#territoryBar.territory-bar::before{left:10px!important;width:86px!important;top:0!important;bottom:0!important;font-size:12px!important;z-index:5!important}
html body.rustic-desktop>main>#territoryBar.territory-bar #productionPlainText{left:120px!important;right:auto!important;top:0!important;width:660px!important;height:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;align-items:center!important;justify-content:start!important;z-index:3!important}
html body.rustic-desktop>main>#territoryBar.territory-bar #productionPlainText .production-resource{justify-content:flex-start!important;gap:5px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important}
html body.rustic-desktop #productionPlainText .production-resource img{width:18px!important;height:18px!important}
html body.rustic-desktop .new-decor-vine-production{left:84px!important;top:-4px!important;width:38px!important;height:42px!important;z-index:6!important}
/* Give the status text natural room; the city list keeps the shared bottom. */
html body.rustic-desktop>main>#accountCityRail{grid-template-rows:165px minmax(0,1fr)!important;gap:8px!important;position:relative!important}
html body.rustic-desktop #accountCityRail .rail-account{overflow:visible!important}
html body.rustic-desktop #accountCityRail #railAccountStatus{height:auto!important;max-height:none!important;overflow:visible!important;font-size:12px!important;line-height:1.25!important}
html body.rustic-desktop #accountCityRail #railAccountStatus>div{margin:0!important;line-height:1.25!important}
html body.rustic-desktop .account-city-connector{position:absolute!important;left:0!important;right:0!important;top:165px!important;height:8px!important;background:url('/assets/rustic-v1045/roof.webp') center/100% 100% no-repeat!important;border-bottom:2px solid #5d452b!important;box-sizing:border-box!important;z-index:83!important;pointer-events:none!important}
/* Short two-sided roof belongs to the logo; the long roof stays inside the canvas. */
html body.rustic-desktop{padding-top:20px!important}
html body.rustic-desktop>header .header-inner{grid-template-columns:180px minmax(0,1fr) 116px!important}
html body.rustic-desktop .header-logo-group{width:180px!important}
html body.rustic-desktop .logo-cloth-backdrop{left:8px!important}
html body.rustic-desktop .logo-eave{left:-12px!important;top:-16px!important;width:204px!important;height:55px!important;background-image:url('/assets/decor-v1068/logo-roof.png')!important;background-size:101.9736842105263% 123.93162393162393%!important;background-position:52.38095238095239% 5%!important;background-repeat:no-repeat!important;z-index:0!important;clip-path:none!important}
html body.rustic-desktop .new-decor-roof{left:0!important;right:0!important;top:-16px!important;height:26px!important;clip-path:none!important}