/* World terrain and units share one camera. No tiled cards or expensive animated filters. */
.game-hud598[data-hud-view598="world"] .content{inset:var(--hud-top) 0 var(--hud-bottom);width:100%;padding:0;border:0;border-radius:0;overflow:hidden;background:#5d833e}
.game-hud598[data-hud-view598="world"][data-chat-strip604=true] .content{bottom:var(--hud-bottom)}
.game-hud598[data-hud-view598="world"] #hudPanelHead598{display:none}
.game-hud598[data-hud-view598="world"] #panel{position:absolute;inset:0;overflow:hidden;margin:0}
.game-hud598[data-hud-view598="world"] #panel>.world-grid{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none;max-height:none;margin:0!important;padding:0;border:0;border-radius:0;aspect-ratio:auto;gap:0;background:#7b9a49 url("/assets/images/world-grass-v631.webp") repeat;box-shadow:inset 0 0 100px #183c2830;isolation:isolate;touch-action:none}
.world-land629>.map-drag-layer602{grid-template-columns:repeat(var(--world-columns585),minmax(0,1fr));grid-template-rows:repeat(var(--world-columns585),minmax(0,1fr));gap:0!important}
.world-land629 .world-cell{position:relative;min-width:0;min-height:0!important;aspect-ratio:auto!important;background:transparent!important;border:0!important;border-radius:0;padding:0!important;box-shadow:none!important;overflow:visible;isolation:isolate}
.world-land629 .world-cell:hover,.world-land629 .world-cell:focus-visible{background:#fff5b32c!important;outline:1px solid #f8e3a475;outline-offset:-1px}
.world-land629 .sky-dot{display:none}
.world-land629 .world-cell>img{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:89%!important;height:85%!important;max-width:170px;max-height:170px;object-fit:contain;filter:drop-shadow(0 7px 3px #253e3266);pointer-events:none;z-index:1}
.world-land629 .world-cell.player-cell>img{width:97%!important;height:95%!important;max-width:230px;max-height:230px}
.world-land629 .world-cell.own-cell:before,.world-land629 .world-cell.ally-cell:before{content:"";position:absolute;inset:15% 12% 11%;border:2px solid #79e9ad;border-radius:50%;background:#4dffab10;transform:scaleY(.65);z-index:0}
.world-land629 .world-cell.own-cell:before{border-color:#ffe7a1;background:#ffe7a124}
.world-land629 .world-cell .tile-name,.world-land629 .world-cell .tile-resource{position:absolute!important;bottom:1%!important;left:50%!important;top:auto!important;transform:translateX(-50%);width:max-content;max-width:130%;height:auto;padding:2px 7px!important;border:1px solid #aacd984d;border-radius:5px;background:#153c39e8!important;color:#fff8df!important;font:600 clamp(8px,1vw,12px)/1.3 system-ui!important;text-shadow:none;z-index:3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.world-land629 .tile-tag612{display:inline!important;color:#ffdb8d;margin-inline-end:3px;font-size:.85em}
.world-land629 .tile-identity613{display:inline-flex;align-items:center;gap:3px}
.world-land629 .world-cell .castle-badge602{top:2%;right:7%;transform:none;font-size:10px;z-index:4;padding:1px 3px;border-radius:5px}
.world-land629 .world-cell .castle-badge602 img{width:15px!important;height:10px!important;position:static!important;transform:none!important;filter:none!important}
.world-land629 .world-cell .castle-badge602 b{font-size:10px!important}
.world-land629 .npc-level,.world-land629 .resource-node-level617{position:absolute;right:7%;bottom:9%;top:auto;left:auto;background:#263d3fe8;color:#fff1c1;border:1px solid #e8cc7a80;border-radius:5px;padding:1px 4px;font-size:10px;z-index:3}
.world-land629 .resource-node-owner617{bottom:-13%;color:white;background:#163c3be8;z-index:4;font-size:9px;max-width:130%;border-radius:4px}
.world-land629 .world-shield580{inset:7% 12% 8%;width:auto;height:auto;border:2px solid #81edff;border-radius:50%;background:radial-gradient(ellipse,#99edff08 45%,#baf9ff65);box-shadow:inset 0 0 13px #b7f9ff80;z-index:2;font-size:0;pointer-events:none;transform:scaleY(.9)}
.world-land629 .region-markers625 button{background:transparent;border:0;box-shadow:none}
.world-land629 .region-markers625 small{background:#214751ef;color:#ffefb8;padding:2px 5px;border-radius:4px}
.world-land629 .march-overlay600{z-index:6}.world-land629 .route600>path{stroke:#fff0a8;stroke-width:.15;stroke-opacity:.8}
.world-land629 .world-density585{background:transparent!important}.world-land629 .world-density585 rect{fill:#4b8f6350;stroke:#dff2ae30;stroke-width:.06}
.game-hud598[data-hud-view598="world"] .world-toolbar{position:absolute;z-index:12;top:12px;left:90px;right:150px;margin:0;padding:0;justify-content:flex-start;gap:6px;pointer-events:none}
.game-hud598[data-hud-view598="world"] .world-toolbar>*{pointer-events:auto}
.game-hud598[data-hud-view598="world"] .world-toolbar>span,.game-hud598[data-hud-view598="world"] .world-toolbar button{background:#173e39ed;color:#fff3cf;border:1px solid #e1c9897d;border-radius:8px;padding:6px 9px;font-size:11px;min-height:29px;box-shadow:0 3px 7px #163c3330}
.game-hud598[data-hud-view598="world"] .world-toolbar>span:not(.energy-pill){display:none}
.game-hud598[data-hud-view598="world"] .world-zoom585{display:none!important}
.world-minimap629{position:absolute;z-index:13;right:14px;top:12px;width:112px;height:112px;padding:0;overflow:hidden;background:#4d7855 url("/assets/images/world-grass-v631.webp") center/cover;border:2px solid #e1c684;border-radius:12px;box-shadow:0 4px 16px #18372c70;touch-action:manipulation}
.world-minimap629 svg{display:block;width:100%;height:100%;pointer-events:none}.world-minimap629 span{position:absolute;bottom:0;left:0;right:0;background:#123d39d9;color:#fff1bf;font-size:9px;line-height:17px}
.world-location629{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);z-index:10;border:1px solid #d9c78d66;border-radius:16px;background:#173f39e8;color:#fff6d8;padding:5px 13px;font:11px system-ui;pointer-events:none;white-space:nowrap}
@media(max-width:600px){.game-hud598[data-hud-view598="world"] .world-toolbar{left:8px;right:105px;top:40px;gap:4px}.game-hud598[data-hud-view598="world"] .world-toolbar button,.game-hud598[data-hud-view598="world"] .world-toolbar>span{font-size:9px;padding:4px 5px;min-height:25px}.world-minimap629{width:80px;height:80px;right:8px;top:40px;border-radius:9px}.world-land629 .world-cell .tile-name,.world-land629 .world-cell .tile-resource{font-size:8px!important;padding:1px 3px!important}.world-land629 .castle-badge602 b,.world-land629 .npc-level,.world-land629 .resource-node-level617{font-size:8px!important}.world-land629 .world-cell .castle-badge602 img{width:11px!important;height:8px!important}.world-location629{bottom:90px}.world-land629 .world-cell>img{filter:none}}
@media(max-height:470px) and (orientation:landscape){.world-minimap629{width:64px;height:64px}.world-location629{bottom:8px}.game-hud598[data-hud-view598="world"] .world-toolbar{top:6px}}
.game-hud598[data-hud-view598="world"] .content{transform:none!important;left:0!important;right:0!important}

.game-hud598[data-hud-view598="world"] .content{bottom:0!important}.game-hud598[data-hud-view598="world"] .world-toolbar{left:320px;right:220px}.world-minimap629{right:84px}.world-land629 .world-cell:not(:focus-visible){outline:none!important}.game-hud598[data-hud-view598="world"] .world-toolbar button{font-size:0!important;width:33px;min-width:33px;padding:3px}.world-toolbar [data-world-home]:before{content:"\2302";font-size:22px}.world-toolbar #refreshSociety:before{content:"\21bb";font-size:21px}.world-toolbar [data-march-focus600]:before{content:"\2691";font-size:20px}@media(max-width:600px){.world-minimap629{right:60px;top:8px}.game-hud598[data-hud-view598="world"] .world-toolbar{left:8px;right:150px;top:8px}.game-hud598[data-hud-view598="world"] .world-toolbar .energy-pill{max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-hud598[data-hud-view598="world"] .world-toolbar button{width:27px;min-width:27px;min-height:25px}}
