/* Continuous 60×60-cell world area from the APK map terrain atlas; no MAP_World island. */
#rk-world-view{
 position:absolute;inset:0;overflow:hidden;touch-action:none;user-select:none;
 background-color:#65784c;
 background-image:url('/assets/rk-world-terrain-20261014/world-ground.webp');
 background-size:512px 512px;
}
#rk-world-land{
 position:absolute;
 width:2400px;height:2400px;
 left:50%;top:50%;margin-left:-1200px;margin-top:-1200px;
 transform-origin:50% 50%;
 background-color:#64774b;
 background-image:url('/assets/rk-world-terrain-20261014/world-ground.webp');
 background-position:center center;background-size:512px 512px;background-repeat:repeat;
 will-change:transform;isolation:isolate;
}
#rk-world-land .rk-world-terrain-details{
 position:absolute;inset:0;z-index:1;pointer-events:none;user-select:none;overflow:hidden;
}
#rk-world-land .rk-world-terrain-details img{
 position:absolute;display:block;height:auto;max-width:none;
 object-fit:contain;transform:translate(-50%,-50%);pointer-events:none;
 filter:drop-shadow(0 3px 3px #202d1d46);
 opacity:.86;
}
#rk-world-native .rk-world-pin{
 z-index:4;position:absolute;display:flex;flex-direction:column;
 align-items:center;justify-content:center;transform:translate(-50%,-64%);
 padding:0;min-width:0;max-width:none;width:67px;height:73px;border:0;
 background:none;box-shadow:none;outline-offset:3px;cursor:pointer;
 touch-action:manipulation;
}
#rk-world-native .rk-world-pin.rk-world-city{width:85px;height:92px;z-index:5}
#rk-world-native .rk-world-pin img{
 display:block;width:65px;height:61px;max-width:none;max-height:none;
 object-fit:contain;filter:drop-shadow(0 4px 3px #17211fa0);
}
#rk-world-native .rk-world-pin.rk-world-city img{width:83px;height:80px}
#rk-world-native .rk-world-pin.rk-world-resource img{width:64px;height:57px}
#rk-world-native .rk-world-pin.rk-world-mine img{filter:drop-shadow(0 0 7px #f7dd8a) drop-shadow(0 3px 3px #152316)}
#rk-world-native .rk-world-pin.rk-world-selected img{filter:drop-shadow(0 0 8px #f2bb60)}
#rk-world-native .rk-world-pin .rk-world-city-label{
 display:block;position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);
 max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 min-height:17px;line-height:16px;font-size:11px;text-align:center;
 border-radius:3px;border:1px solid #aa935f85;
 background:#14221ecb;color:#f4ddab;padding:0 4px;
}
#rk-world-native .rk-world-pin .rk-world-level-label{
 position:absolute;bottom:3px;left:55%;transform:translateX(-50%);
 width:18px;height:17px;line-height:16px;padding:0;border-radius:50%;
 background:#2d372abf;border:1px solid #d0bc7fba;
 color:#f6e4b2;text-align:center;font:11px/16px Tahoma;
}
#rk-world-native[data-zoom="far"] .rk-world-pin .rk-world-level-label{display:none}
#rk-world-native[data-zoom="far"] .rk-world-pin.rk-world-city:not(.rk-world-mine) .rk-world-city-label{display:none}
#rk-world-native .world-war-paths{z-index:3;pointer-events:none}
#rk-world-native .world-war-army{
 z-index:6;transform:translate(-50%,-50%);width:42px;height:42px;
 border:2px solid #d4ae6a;background:#283027e8;
 border-radius:50%;box-shadow:0 3px 8px #0b231a;
}
#rk-world-native #rk-world-wheel{z-index:8}
#rk-world-coords{
 top:9px;min-width:160px;z-index:14;
 background:linear-gradient(180deg,#17251bdc,#2b3426b8);
 border:1px solid #bb995f75;border-radius:4px;
}
#rk-world-left{z-index:14}
#rk-world-native #rk-world-return{display:none}
#rk-world-native #rk-world-overview{
 position:absolute;z-index:23;inset:85px 9px 105px;
 display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;
 background:#15221ff4;border:2px solid #bda06f;border-radius:11px;padding:12px;
 box-shadow:0 14px 34px #000b;
}
#rk-world-overview img{max-width:100%;max-height:78%;object-fit:contain}
#rk-world-overview>div:not(.rk-world-overview-actions){font:12px Tahoma;text-align:center;color:#f1d7a7}
#rk-world-overview .rk-world-overview-actions{display:flex;gap:12px}
#rk-world-overview button{
 color:#f4e0b5;background:#1c3438;border:1px solid #ad935c;
 border-radius:7px;min-height:37px;min-width:95px;
}
@media(max-width:365px){
 #rk-world-native .rk-world-pin.rk-world-city{width:79px}
 #rk-world-native .rk-world-pin.rk-world-city img{width:76px;height:76px}
}


/* BATCH33_MOTION_SAFE_RADIAL: APK-style interactive radial controls.
   The parent wheel cancels map zoom; each button animates from the selected target. */
#rk-world-native #rk-world-wheel{transform-origin:0 0}
#rk-world-native #rk-world-wheel .rk-world-wheel-button{
 animation:rk-map-action-reveal .23s cubic-bezier(.20,.75,.2,1.08) both;
}
#rk-world-native #rk-world-wheel .rk-world-wheel-button.pos-1{animation-delay:.025s}
#rk-world-native #rk-world-wheel .rk-world-wheel-button.pos-2{animation-delay:.05s}
#rk-world-native #rk-world-wheel .rk-world-wheel-button.pos-3{animation-delay:.075s}
#rk-world-native #rk-world-wheel .rk-world-wheel-button:active:not(:disabled){
 filter:brightness(1.18);
}
@keyframes rk-map-action-reveal{
 from{opacity:0;transform:translate(-50%,-50%) scale(.65)}
 to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
@media(prefers-reduced-motion:reduce){
 #rk-world-native #rk-world-wheel .rk-world-wheel-button{
  animation:none!important;
 }
}
