/* Frame atlas uses the owner's supplied reference, retaining native ornaments. */

/* Compact continuous top rail and tighter reference queue. */
html body.rustic-desktop>header{height:48px!important}
html body.rustic-desktop>header .header-inner{height:48px!important;grid-template-columns:154px minmax(0,1fr) 116px!important;gap:8px!important;padding:0 28px 0 12px!important}
html body.rustic-desktop .header-logo-group{height:48px!important}
html body.rustic-desktop .game-logo-top-left{height:44px!important;width:140px!important}
html body.rustic-desktop .top-res{justify-content:flex-start!important;gap:14px!important;align-items:center!important}
html body.rustic-desktop .top-res>.resource{flex:0 0 auto!important;padding:0!important;margin:0!important;font-size:12px!important;gap:3px!important}
html body.rustic-desktop .top-res .resource-img{width:17px!important;height:17px!important}
html body.rustic-desktop .reference-roof-corner{top:0!important;right:0!important;width:84px!important;height:59px!important;clip-path:polygon(0 0,100% 0,97% 16%,84% 25%,83% 67%,72% 75%,26% 75%,26% 63%,0 63%)!important}
html body.rustic-desktop>.nav{gap:4px!important;padding-left:16px!important;padding-right:88px!important;margin-bottom:4px!important;height:42px!important}
html body.rustic-desktop>.nav>button{height:38px!important}
html body.rustic-desktop #cityLower #innerInfoDetails .reference-queue-row,
html body.rustic-desktop #cityLower #outerInfoUpgrades .reference-queue-row,
html body.rustic-desktop #cityLower #mapLowerDetail .reference-queue-row{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;min-height:72px!important;height:72px!important;padding:7px!important;gap:10px!important;margin:0 0 6px!important}
html body.rustic-desktop #cityLower #innerInfoDetails .reference-queue-instant{top:29px!important}
html body.rustic-desktop .reference-frame{position:absolute!important;inset:0!important;display:block!important;pointer-events:none!important;z-index:80!important;box-sizing:border-box!important;padding:12px!important;background-image:url('/assets/reference-frame-atlas.jpg')!important;background-repeat:no-repeat!important;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor}
.ref-frame-scene{background-size:172.97297297297297% 200.21413276231263%!important;background-position:8.88888888888889% 42.73504273504273%!important}
/* Building-detail frame atlas rule removed. */
.ref-frame-lower{background-size:172.97297297297297% 401.2875536480687%!important;background-position:8.88888888888889% 95.86894586894587%!important}
.ref-frame-chat{background-size:520.3252032520325% 313.7583892617449%!important;background-position:76.78916827852998% 95.44740973312402%!important}
.ref-frame-account{background-size:659.7938144329896% 667.8571428571429%!important;background-position:96.31675874769797% 14.842767295597485%!important}
.ref-frame-cities{background-size:659.7938144329896% 145.6386292834891%!important;background-position:96.31675874769797% 90.10238907849829%!important}
.ref-frame-header{background-size:107.38255033557047% 1460.9375%!important;background-position:54.54545454545454% 0%!important}
html body.rustic-desktop #cityLayout>:is(.city,.outer-city)::after{content:none!important;display:none!important}
html body.rustic-desktop>header::before,html body.rustic-desktop>header::after{content:none!important;display:none!important}
html body.rustic-desktop>header .ref-frame-header{padding:9px!important}
html body.rustic-desktop #cityLower>.panel,html body.rustic-desktop #accountCityRail>.rail-cities{background:#eadcbe url('/assets/rustic-v1045/panel-cities.webp') center/120% 112% no-repeat!important}
html body.rustic-desktop #cityLower>.panel:first-child{position:relative!important;padding:15px 18px 16px!important}
html body.rustic-desktop #cityLower>.panel:first-child .ref-frame-lower{padding:16px 12px 15px!important}
html body.rustic-desktop>main{isolation:isolate!important}
html body.rustic-desktop .reference-divider{position:absolute!important;pointer-events:none!important;z-index:85!important;background-image:url('/assets/reference-frame-atlas.jpg')!important;background-repeat:no-repeat!important}
html body.rustic-desktop .reference-divider-left{left:740px!important;top:77px!important;width:8px!important;height:706px!important;background-size:16000% 132.436%!important;background-position:61.792% 87.336%!important}
html body.rustic-desktop .reference-divider-right{left:994px!important;top:0!important;width:8px!important;height:788px!important;background-size:16000% 118.655%!important;background-position:81.525% 80.272%!important}
html body.rustic-desktop>.nav{position:relative!important;padding-right:94px!important;overflow:visible!important}
html body.rustic-desktop .reference-roof-corner{position:absolute!important;right:-4px!important;top:-3px!important;width:88px!important;height:62px!important;z-index:90!important;background:url('/assets/reference-roof-corner.png') center/100% 100% no-repeat!important;clip-path:inset(0 0 22% 0);pointer-events:none!important}
html body.rustic-desktop #cityLower #innerInfoTabs,html body.rustic-desktop #cityLower .catalog-tabs,html body.rustic-desktop #cityLower .map-intel-tabs{display:flex!important;gap:6px!important;margin:0!important;padding:0!important;height:32px!important;min-height:32px!important;align-items:center!important;flex-wrap:nowrap!important}
html body.rustic-desktop #cityLower :is(#innerInfoTabs,.catalog-tabs,.map-intel-tabs)>button{font-size:16px!important;height:30px!important;min-height:30px!important;padding:3px 15px!important;white-space:nowrap!important;background-image:url('/assets/rustic-v1045/nav-normal.webp')!important}
html body.rustic-desktop #cityLower :is(#innerInfoTabs,.catalog-tabs,.map-intel-tabs)>button.active{background-image:url('/assets/rustic-v1045/nav-selected.webp')!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#outerInfoUpgrades,#mapLowerDetail){padding:13px 6px 0!important;max-height:174px!important;overflow-y:auto!important;overflow-x:hidden!important}
html body.rustic-desktop #cityLower .reference-queue-row{position:relative!important;display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:72px!important;height:auto!important;padding:7px!important;margin:0 0 7px!important;border:1px solid #b6a17c80!important;border-radius:3px!important;box-sizing:border-box!important}
html body.rustic-desktop #cityLower .reference-queue-label{font-size:15px!important;line-height:1.2!important;padding:5px 3px!important;background:#dfc99a!important;border:1px solid #aa8b5844!important;height:auto!important;min-height:28px!important;white-space:nowrap!important}
html body.rustic-desktop #cityLower .reference-queue-content{min-width:0!important}
html body.rustic-desktop #cityLower .reference-queue-instant{position:absolute!important;right:76px!important;top:34px!important;width:80px!important;padding:0!important;align-self:auto!important}
html body.rustic-desktop #cityLower .reference-queue-instant>button{height:24px!important;min-height:24px!important;width:80px!important;padding:2px 3px!important;font-size:12px!important;line-height:20px!important}
html body.rustic-desktop #cityLower .reference-queue-instant .tk-voucher-choice{position:absolute!important;top:25px!important;right:0!important;font-size:10px!important;line-height:12px!important;margin:0!important;gap:2px!important}
html body.rustic-desktop #cityLower .reference-queue-instant .tk-voucher-choice input{width:11px!important;height:11px!important;min-width:11px!important;margin:0!important}
html body.rustic-desktop #cityLower .tk-shared-job.reference-job{display:grid!important;grid-template-columns:58px minmax(0,1fr) 144px!important;gap:8px!important;align-items:center!important;min-height:55px!important;padding:0!important;margin:0!important;border:0!important}
html body.rustic-desktop #cityLower .reference-job-art img{width:58px!important;height:52px!important;object-fit:contain!important}
html body.rustic-desktop #cityLower .reference-job-main{min-width:0!important}
html body.rustic-desktop #cityLower .tk-shared-job-head strong{font-size:14px!important;line-height:1.2!important}
html body.rustic-desktop #cityLower .tk-shared-track{height:18px!important;min-height:18px!important;background-image:url('/assets/rustic-v1045/progress-track.webp')!important}
html body.rustic-desktop #cityLower .tk-shared-track time{font-size:12px!important}
html body.rustic-desktop #cityLower .reference-job-actions{display:flex!important;justify-content:flex-end!important;align-self:end!important;padding-bottom:5px!important}
html body.rustic-desktop #cityLower .reference-job-actions .tk-shared-cancel{height:24px!important;min-height:24px!important;width:56px!important;min-width:56px!important;padding:2px!important;font-size:12px!important}
html body.rustic-desktop #cityLower .reference-queue-empty{font-size:13px!important;line-height:1.4!important;padding-right:165px!important;margin:0!important}
html body.rustic-desktop #cityLower .reference-research-row .reference-queue-empty{padding-right:0!important}