#viewport.rk-apk-city{background:#285566;direction:ltr!important}#viewport.rk-apk-city:before{box-shadow:inset 0 0 16px #081c3533}#scene{transition:none!important;direction:ltr!important}#rk-terrain-tiles{position:absolute;z-index:0;pointer-events:none;overflow:hidden;direction:ltr;background:#286279}#rk-terrain-tiles>img,#rk-terrain-tiles>.rk-native-water{position:absolute;display:block;max-width:none;pointer-events:none;user-select:none}.rk-native-water{background-repeat:no-repeat;background-size:100% 100%;animation:rk-water-light 3.1s ease-in-out infinite alternate;opacity:.65}.rk-native-water:after{content:"";position:absolute;inset:0;background:inherit;background-repeat:no-repeat;background-size:100% 100%;animation:rk-water-drift 2.7s ease-in-out infinite alternate;opacity:.35}#viewport.rk-apk-city .hotspot{padding:0;min-width:0;gap:0;transform:translate(-50%,-100%);direction:rtl;z-index:2;border-radius:0;filter:none}#viewport.rk-apk-city .hotspot .marker,#viewport.rk-apk-city .hotspot .marker.art,#viewport.rk-apk-city .hotspot .marker.added.art{height:var(--native-h)!important;width:var(--native-w)!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;display:block;overflow:visible}#viewport.rk-apk-city .hotspot .strategy-sprite{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain;filter:drop-shadow(0 3px 2px #071d3b66)}#viewport.rk-apk-city .hotspot .tag{position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);background:#14202ed9;font-size:11px;line-height:1.4;padding:1px 6px;border-radius:3px;border:1px solid #b8a475;white-space:nowrap}#viewport.rk-apk-city .hotspot .lv{position:absolute;bottom:-29px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;background:#473826dc}.rk-native-glow{position:absolute;inset:0;pointer-events:none;animation:rk-building-glow 1.4s ease-in-out infinite alternate;object-fit:contain;width:100%;height:100%}.hotspot.rk-building-busy .strategy-sprite{filter:drop-shadow(0 0 6px #ffe49b)}.rk-construction-sparks{position:absolute;width:14%;height:14%;left:50%;top:25%;border-radius:50%;background:#fff2af;filter:blur(3px);opacity:.5;animation:rk-building-glow 1.2s ease-in-out infinite alternate;pointer-events:none}body .auth{background:linear-gradient(#07172d44,#07172d99),url('/assets/apk-city-20261014/complete-city.webp') 65% 40%/cover}body .auth-panel{background:linear-gradient(145deg,#10273eea,#101b2eea);border-radius:8px;border-color:#b4a36d;backdrop-filter:blur(4px)}body .primary{background:linear-gradient(#d3bc81,#997a39);border-radius:4px;border:1px solid #f2e2b3;box-shadow:inset 0 0 0 2px #6b501944}body .secondary{border-radius:4px;background:linear-gradient(#334957,#182e43)}body .top{background:linear-gradient(#1a324eeb,#102a43eb);border-bottom:1px solid #b59f68}body .bottom{background:linear-gradient(#203852,#10233b);border-top:1px solid #beac72;padding-top:4px;gap:1px}body .nav{font-size:10px;gap:0}body .nav strong{width:38px;height:35px;display:grid;place-items:center}body .nav strong img{width:34px;height:34px;object-fit:contain}.res{display:flex;align-items:center;gap:4px;border-radius:4px;padding:2px 7px;background:#112744d9!important}.res img{width:22px;height:22px;object-fit:contain}.res .rk-res-title{font-size:10px;color:#ddd1b6}.rk-modal-art{float:right;width:92px;height:112px;object-fit:contain;margin:0 0 12px 12px}.modal-body:after{content:"";display:block;clear:both}.modal{border-radius:5px!important;border:2px solid #b3a273!important;background:linear-gradient(#29415a,#101f32)!important}.modal-head{background:#122944!important}.close{width:34px;height:34px;background:url('/assets/apk-city-20261014/common/TZ_Close.png') center/contain no-repeat!important;color:transparent!important}.rk-card-icon{display:block;width:60px;height:65px;object-fit:contain;margin:0 auto 4px}.brand .seal{background:url('/assets/apk-city-20261014/icon/MainUi_Castle.png') center/contain no-repeat!important;color:transparent;border:none!important;border-radius:0!important}.rk-native-error{position:absolute;z-index:9;left:10px;right:10px;top:10px;background:#15293e;color:#f0e0b7;padding:9px;font:12px Tahoma;direction:rtl;border:1px solid #b39460}@keyframes rk-water-light{from{filter:brightness(.95)}to{filter:brightness(1.1)}}@keyframes rk-water-drift{from{transform:translateY(-1px)}to{transform:translateY(1px)}}@keyframes rk-building-glow{from{opacity:.25}to{opacity:.85}}@media(prefers-reduced-motion:reduce){.rk-native-water,.rk-native-water:after,.rk-native-glow,.rk-construction-sparks{animation:none!important}}
#rok-audio-holder{top:auto!important;bottom:90px!important;right:12px!important;z-index:8!important}#rok-audio-settings{position:absolute!important;top:auto!important;bottom:48px!important;right:0!important;max-height:60vh;overflow:auto}body .modal-head .close{color:#f4e4bb!important;font-size:27px!important;line-height:32px!important;min-width:34px!important;min-height:34px!important;border:1px solid #b59d63!important;background:#142c43!important;border-radius:4px!important}body .modal-head{min-height:54px}#dialog{z-index:100!important}

body .primary{background:url('/assets/apk-city-20261014/common/btn_orange_button.png') center/100% 100% no-repeat!important;color:#fff0cb;border:0;text-shadow:0 1px 2px #281309;min-height:42px}

/* Keep base artwork fixed to the building anchor at every zoom level. */
#scene .hotspot .marker img.strategy-sprite,.world-pin.has-art img.strategy-sprite{animation:none!important;transform:none!important;transition:none!important}

#rk-building-actions{position:absolute;z-index:300;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:6px;max-width:calc(100% - 18px);padding:7px 10px;border:1px solid #cfb87f;border-radius:8px;background:#132b43ef;direction:rtl;box-shadow:0 4px 16px #0008}#rk-building-actions[hidden]{display:none}#rk-building-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:54px;min-height:56px;background:#294256;color:#ffe4a7;border:1px solid #9c8858;border-radius:6px;font:12px Tahoma;cursor:pointer}#rk-building-actions img{width:28px;height:28px;object-fit:contain}.hotspot.rk-selected-building .strategy-sprite{filter:drop-shadow(0 0 5px #ffe49b)!important}#scene .hotspot[data-source-plot]:not([data-source-plot=""]) .strategy-sprite{object-fit:fill!important}

/* Approved independent city castle: never stretch the sprite; visual and touch placement stay aligned. */
#scene .hotspot[data-code="castle"] img.strategy-sprite{object-fit:contain!important}
