html body.rustic-desktop #cityLayout>aside:has(#mapSideInfo:not([hidden])) .ref-frame-detail{padding-top:8px!important}
/* Custom building-detail frame styles removed. */
/* All building-detail backgrounds: no image, paint, frame, or pseudo-element. */
html body.rustic-desktop #cityLayout>aside:has(> #citySideInfo)>.reference-frame,html body.rustic-desktop #cityLayout>aside:has(> #citySideInfo)>.ref-frame-detail{display:none!important}
html body.rustic-desktop #cityLayout #citySideInfo,html body.rustic-desktop #cityLayout #citySideInfo::before,html body.rustic-desktop #cityLayout #citySideInfo::after{background:none!important;background-image:none!important;background-color:transparent!important;box-shadow:none!important;border-image:none!important}
/* Building-detail: remove the panel background and decorative border completely, not just the image. */
html body.rustic-desktop #cityLayout>aside:has(> #citySideInfo){background:none!important;background-image:none!important;background-color:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important;outline:0!important}
html body.rustic-desktop #cityLayout>aside:has(> #citySideInfo)::before,html body.rustic-desktop #cityLayout>aside:has(> #citySideInfo)::after{content:none!important;display:none!important;background:none!important}
/* Chat and building-detail panel backgrounds removed; preserve content and controls. */
html body.rustic-desktop #cityLower>.panel:last-child{background:none!important;background-image:none!important;background-color:transparent!important;box-shadow:none!important}
/* Superseded by user-selected building-detail background in v1444. */
html body.rustic-desktop #cityLayout #citySideInfo{background:none!important;background-image:none!important;background-color:transparent!important}
/* Boost status: no horizontal scrolling, expiry on its own line. */
html body.rustic-desktop #accountCityRail>.rail-boosts{overflow-x:hidden!important;min-width:0!important}
html body.rustic-desktop #accountCityRail #constructionBoostIndicator{display:flex!important;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-x:hidden!important}
html body.rustic-desktop #accountCityRail #constructionBoostExpiry{display:block!important;flex:0 0 calc(100% - 21px)!important;width:calc(100% - 21px)!important;margin:0 0 0 21px!important;white-space:normal!important;overflow-wrap:anywhere!important}
/* Account rail background image removed at source. */
html body.rustic-desktop #accountCityRail>.rail-account{background:transparent!important;background-image:none!important;background-color:transparent!important;box-shadow:none!important;border:0!important}
/* Duplicate account frame element was deleted from index.html in V1417. */
/* Match the map-detail heading typography, without changing plaque artwork or placement. */
/* Align boost heading text with the account heading's 10px left inset. */
html body.rustic-desktop #accountCityRail>.rail-boosts>h3{padding-left:10px!important;padding-right:10px!important;width:132px!important;max-width:calc(100% - 30px)!important;justify-content:flex-start!important;text-align:left!important;}
html body.rustic-desktop #accountCityRail>.rail-account>h3,
html body.rustic-desktop #accountCityRail>.rail-boosts>h3{
 font-family:'DFKai-SB','標楷體','BiauKai','KaiTi','STKaiti',serif!important;
 font-size:17px!important;font-weight:400!important;font-synthesis:none!important;
 letter-spacing:normal!important;color:#fff1da!important;text-shadow:none!important;
}
html body.rustic-desktop #cityLayout #statusBuildingDetail #mapSideInfo>h2,
html body.rustic-desktop #cityLayout #statusBuildingDetail #citySideInfo>h2{
 font-family:'DFKai-SB','標楷體','BiauKai','KaiTi','STKaiti',serif!important;font-size:17px!important;font-weight:700!important;
}
html body.rustic-desktop #cityLayout #statusBuildingDetail #mapSideInfo>h2{
 display:flex!important;visibility:visible!important;align-items:center!important;justify-content:flex-start!important;
 width:132px!important;height:28px!important;min-height:28px!important;flex:0 0 28px!important;
 padding:0 12px!important;margin:0 0 3px!important;z-index:82!important;color:#fff1da!important;transform:translateY(-6px)!important;
 background:url('/assets/rustic-v1045/title.webp') center/100% 100% no-repeat!important;
}
html body.rustic-desktop #cityLayout #citySideInfo #buildingPreview .faction-fortification-preview{
 width:min(210px,100%);height:108px;background-repeat:no-repeat;background-size:430% auto;background-position:50% 90%;
}
html body.rustic-desktop #cityLayout #citySideInfo #buildingPreview .faction-fortification-preview[data-fortification=backwall]{background-position:50% 0%}
#cityLayout #outerScene .outer-point .outer-progress{
 box-sizing:border-box!important;padding:1px!important;width:75px!important;height:8px!important;
 border:1px solid #ad8e57!important;border-radius:5px!important;background:#211b15!important;box-shadow:0 1px 3px #0009!important;
}
#cityLayout #outerScene .outer-point .outer-progress>span{
 height:100%!important;background:#b9a06c!important;border-radius:3px!important;box-shadow:none!important;
}
#cityLayout #outerScene .outer-point .outer-progress[hidden]{display:none!important}
/* Remove only the lower upgrade/research panel background and its frame. */
html body.rustic-desktop #cityLower>.panel:first-child{background:none!important;background-image:none!important;background-color:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important;outline:none!important}
html body.rustic-desktop #cityLower>.panel:first-child::before,html body.rustic-desktop #cityLower>.panel:first-child::after{content:none!important;display:none!important}
html body.rustic-desktop #cityLower>.panel:first-child>.reference-frame,html body.rustic-desktop #cityLower>.panel:first-child>.ref-frame-lower{display:none!important}