.tile-map-svg{display:block;width:100%;height:auto;touch-action:pan-y;background:#03121e;border:1px solid #40556b;border-radius:8px}.tile-map-cell{fill:transparent;stroke:#537a8a;stroke-width:.45;stroke-opacity:.45}.tile-map-boundary{fill:none;stroke:#d8eaf0;stroke-width:1.3;pointer-events:none}.tile-map-title{font:700 18px system-ui;fill:#fff}.tile-map-subtitle{font:12px system-ui;fill:#bdd4e0}.tile-map-piece{cursor:default}.tile-map-piece[role=button]{cursor:pointer}.tile-map-piece-base{fill:none;stroke:none;pointer-events:all}.tile-map-player .tile-map-placeholder{fill:#167baf;stroke:#8ce2ff}.tile-map-enemy .tile-map-placeholder{fill:#982f40;stroke:#ffa5ae}.tile-map-defence .tile-map-placeholder{fill:#82631c;stroke:#ffdc79}.tile-map-label{font:700 10px system-ui;fill:#fff;text-anchor:middle;paint-order:stroke;stroke:#061421;stroke-width:2px;pointer-events:none}.tile-map-count{font:700 9px system-ui;fill:#fff;text-anchor:middle;paint-order:stroke;stroke:#061421;stroke-width:2px;pointer-events:none}.tile-map-piece image{pointer-events:none}.tile-map-piece:focus,.tile-map-selected{outline:none}.tile-map-piece:focus .tile-map-piece-base,.tile-map-selected .tile-map-piece-base{stroke:#fff;stroke-width:3}.cms-tile-map{margin:18px 0;padding:16px;background:#fff;border:1px solid #a9bdcc;border-radius:8px}.cms-tile-map .tile-map-cell:hover{fill:#63c9ec;fill-opacity:.3}.cms-tile-map .tile-map-svg{touch-action:none;user-select:none}.cms-tile-map .tile-map-piece{cursor:grab}.cms-tile-map .map-controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.cms-tile-map .map-properties{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}.cms-tile-map .map-message{min-height:24px;font-weight:600}.cms-tile-map .map-reference{margin-top:12px}.cms-tile-map .map-reference img{max-width:100%;height:auto}.cms-tile-map .map-piece-list{max-height:250px;overflow:auto}.cms-tile-map .map-piece-list button{margin:3px}.cms-tile-map input[type=checkbox]{width:auto}.cms-tile-map .map-toggle{display:flex;align-items:center;gap:8px}.cms-tile-map .map-artwork img{width:64px;height:64px;object-fit:contain}.cms-tile-map .map-defence-art{display:flex;gap:15px;flex-wrap:wrap}.cms-tile-map .map-defence-art figure{margin:0;max-width:130px;font-size:12px}.cms-tile-map .map-defence-art span{display:grid;place-items:center;width:48px;height:48px;border:2px solid #9a7419;background:#fff5d1;border-radius:50%;font-size:22px;color:#775a19}

.cms-tile-map .tile-map-cell.tile-map-drop-target{fill:#42d9bd;fill-opacity:.65;stroke:#a3fff0;stroke-width:2}.cms-tile-map .tile-map-cell.tile-map-drop-blocked{fill:#f34e68;fill-opacity:.65;stroke:#ffc1cb;stroke-width:2}.cms-tile-map .tile-map-dragging{opacity:.7;pointer-events:none;cursor:grabbing}.cms-tile-map button[data-map-palette]{cursor:grab;border-style:dashed}.cms-tile-map button[data-map-palette]:active{cursor:grabbing}

.cms-tile-map .map-drag-palette{position:sticky;top:68px;z-index:3;background:#fff;padding:8px;border:1px solid #c7d0da;border-radius:8px}.cms-tile-map button[data-map-palette]{touch-action:none;user-select:none}

.mission-tile-stage{position:relative;container-type:inline-size;background:#03121e;border-radius:8px}.mission-tile-stage>details.mission-map-rewards-combined,.mission-tile-stage>details.mission-map-rewards-combined[open]{position:absolute;inset:12px 12px auto auto;max-height:85%;max-width:45%;box-sizing:border-box;transform:none;font-size:clamp(11px,1.3cqw,17px)}.mission-tile-stage>details.mission-map-rewards-combined[open]{width:37%;background:#030c16;z-index:10}.mission-tile-stage .tile-map-svg{border:0}.map-share-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.map-share-controls button{font:inherit;cursor:pointer;padding:10px 15px;min-height:44px;border:1px solid #58758b;border-radius:6px;background:#102c41;color:#fff}.map-share-controls button:focus-visible{outline:3px solid #76d5ff;outline-offset:3px}.map-share-controls button:disabled{opacity:.6;cursor:wait}.map-share-status{flex-basis:100%;font-size:14px;min-height:1.5em;margin:0}.map-share-fallback{overflow-wrap:anywhere}@media(max-width:600px){.mission-tile-stage>details.mission-map-rewards-combined,.mission-tile-stage>details.mission-map-rewards-combined[open]{position:relative;inset:auto;width:100%;max-width:none;max-height:none;border-radius:0 0 8px 8px}.map-share-controls button{flex:1}}

.tile-map-enemy.tile-map-has-image .tile-map-piece-base{fill:#982f40;stroke:#ffa5ae;stroke-width:1}.tile-map-enemy.tile-map-selected .tile-map-piece-base,.tile-map-enemy:focus .tile-map-piece-base{stroke:#fff;stroke-width:3}.enemy-fleet-hotspot>span{color:transparent!important;text-shadow:none}
