/* Carte zoomable (voir mapview.js) */
.mv { position: relative; overflow: hidden; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  background: radial-gradient(circle at 30% 30%, #cfe8c9, #a9d3a0 60%, #8fc088); border: 2px solid #1b2a41; border-radius: 6px; cursor: grab; }
.mv:active { cursor: grabbing; }
.mv-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mv-world img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
/* marqueurs hors du calque zoomé : positionnés en JS, jamais agrandis → nets à tout zoom */
.mv-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mk { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.mk-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); pointer-events: auto; }
.mk-in.bottom { transform: translate(-50%, -100%); }
.mk-in.clk { cursor: pointer; }
.mk-circle { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; background: #1a73e820; border: 1.5px solid #1a73e888; pointer-events: none; }
.mv-ctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.mv-ctl button { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid #1b2a41; background: #fbf3dc; color: #1b2a41; font: 700 22px/1 system-ui, sans-serif; box-shadow: 0 2px 0 #1b2a41; padding: 0; cursor: pointer; touch-action: manipulation; }
.mv-ctl button:active { transform: translateY(2px); box-shadow: none; }

/* sceau de cire (balises) */
.seal { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fbf3dc; display: grid; place-items: center; color: #fff7e6; text-shadow: 0 1px 1px #0005;
  font: 700 .85rem/1 "Palatino Linotype", Palatino, Georgia, serif; box-shadow: 0 2px 5px #0006, inset 0 -2px 3px #0003;
  background: radial-gradient(circle at 35% 30%, #e8703a, #c4501d 55%, #9c3c12); }
.seal.unlocked { background: radial-gradient(circle at 35% 30%, #f5c552, #d69a2d 55%, #a8741a); color: #1b2a41; text-shadow: none; }
.seal.solved { background: radial-gradient(circle at 35% 30%, #6fb35f, #3f7d3a 55%, #2c5e2d); }
.seal.sel { outline: 3px solid #1b2a41; outline-offset: 2px; }
.seal.mini { width: 20px; height: 20px; font-size: .62rem; border-width: 1.5px; }

/* mon signet */
.me-pin { display: block; filter: drop-shadow(0 2px 2px #0005); }
.me-pulse { position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px; margin-left: -9px; margin-bottom: -6px; border-radius: 50%; background: var(--c, #1a73e8); opacity: .5; animation: mvp 1.8s ease-out infinite; z-index: -1; }
@keyframes mvp { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }

/* autres joueurs / équipes */
.ot { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ot b { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2.5px solid #fbf3dc; color: #fff; font: 800 .8rem/1 system-ui, sans-serif; display: grid; place-items: center; box-shadow: 0 1px 4px #0007; }
.ot span { max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 700 .62rem/1.2 system-ui, sans-serif; color: #1b2a41; background: #fbf3dccc; border: 1px solid var(--c); border-radius: 6px; padding: 0 5px; }
.ot.old { opacity: .5; }

/* animations */
.mv-fxc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.mv-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.mk-circle.danger { background: #9bd23d2e; border: 2px dashed #4c8a1c; animation: dng 1.2s ease-in-out infinite; }
.mk-circle.danger.own { border-color: #c4501d; background: #c4501d1f; }
@keyframes dng { 50% { background-color: #9bd23d55; } }
.roegg { display: flex; flex-direction: column; align-items: center; animation: roegg 1.1s ease-in-out infinite; }
.roegg img { width: 40px; height: auto; filter: drop-shadow(0 2px 2px #0005); }
.roegg b { font: 800 .72rem/1 system-ui, sans-serif; background: #fbf3dc; color: #1b2a41; border: 1.5px solid #1b2a41; border-radius: 8px; padding: 1px 6px; margin-top: 1px; }
@keyframes roegg { 50% { transform: rotate(5deg) scale(1.06); } }
.aimx { font-size: 30px; line-height: 1; filter: drop-shadow(0 1px 2px #0008); animation: aimx .9s ease-in-out infinite; }
@keyframes aimx { 50% { transform: scale(1.25); } }

.mv-heat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
