/* Fixed title, transparent surround, one bounded content scroller. */
html body.rustic-desktop{--resource-text-size:12px}
html body.rustic-desktop>main>.toolbar .ticker-label,
html body.rustic-desktop>main>.toolbar .ticker-viewport,
html body.rustic-desktop>main>.toolbar #tickerTrack,
html body.rustic-desktop>main>.toolbar #tickerTrack *,
html body.rustic-desktop>main>#territoryBar.territory-bar::before,
html body.rustic-desktop>main>#territoryBar.territory-bar #productionPlainText,
html body.rustic-desktop>main>#territoryBar.territory-bar #productionPlainText *,
html body.rustic-desktop>main>#territoryBar.territory-bar #productionPlainText .production-resource{font-size:var(--resource-text-size)!important}
html body.rustic-desktop #cityLayout>aside:not(#outerStatusPanel){overflow:hidden!important;display:block!important;padding:10px 12px 14px!important;box-sizing:border-box!important}
html body.rustic-desktop #cityLayout #statusBuildingDetail{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;width:100%!important}
html body.rustic-desktop #cityLayout #statusBuildingDetail>:is(#citySideInfo,#mapSideInfo):not([hidden]){position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;width:100%!important;margin:0!important;padding:0!important}
html body.rustic-desktop #cityLayout :is(#citySideInfo,#mapSideInfo)>h2{position:relative!important;inset:auto!important;flex:0 0 30px!important;width:132px!important;max-width:100%!important;min-width:0!important;height:30px!important;min-height:30px!important;margin:0 0 6px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;font-size:20px!important;line-height:1!important;white-space:nowrap!important;background:transparent url('/assets/rustic-v1045/title.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;z-index:2!important;transform:none!important;overflow:hidden!important}
html body.rustic-desktop #cityLayout :is(#citySideInfo,#mapSideInfo)>h2::before,html body.rustic-desktop #cityLayout :is(#citySideInfo,#mapSideInfo)>h2::after{content:none!important;display:none!important;background:none!important;box-shadow:none!important;border:0!important}
html body.rustic-desktop #cityLayout .detail-content-scroll{flex:1 1 0!important;min-height:0!important;max-height:none!important;max-width:100%!important;width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;overscroll-behavior:contain;padding:0 5px 8px 0!important;margin:0!important;scrollbar-gutter:stable}
html body.rustic-desktop #cityLayout .detail-content-scroll :is(p,h3,div,table){box-sizing:border-box!important;max-width:100%!important;overflow-wrap:anywhere!important}
html body.rustic-desktop #cityLayout #summary{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:8px!important}
html body.rustic-desktop #cityLayout .reference-detail-table{font-size:13px!important;padding:3px!important;overflow:hidden!important}
html body.rustic-desktop #cityLayout .reference-detail-cost>div>div{grid-template-columns:17px 28px minmax(0,1fr)!important;gap:3px!important}
html body.rustic-desktop>header .header-inner{grid-template-columns:164px minmax(0,1fr) 116px!important}
html body.rustic-desktop .header-actions{width:116px!important;gap:5px!important;justify-content:flex-end!important}
html body.rustic-desktop .header-actions .round-action{width:24px!important;min-width:24px!important;height:28px!important;min-height:28px!important;max-width:24px!important;max-height:28px!important;flex:0 0 24px!important;padding:0!important;background-size:contain!important}
html body.rustic-desktop #dailyBtn::after{font:10px/12px serif!important;inset:10px 2px 3px!important}