/* „Misijų žemėlapis“ – full-screen SVG campaign map (views/gamemap.js). Light land/water, black ink, green #19A35A. */
.gm{--gm-sea:#cfe6f4;--gm-land:#f3f5f0;--gm-nb:#e7e9e4;--gm-bd:#9aa39a;--gm-river:#8fc3e6;--gm-ink:#0b0c0b;--gm-acc:#19a35a;--gm-acc-ink:#0e7a41;--gm-real:#0b0c0b;--gm-lock:#b9bfb8;--gm-paid:#8a5a00;--gm-card:rgba(255,255,255,.9);
  position:relative;overflow:hidden;height:calc(100svh - var(--hh,68px));min-height:420px;background:var(--gm-sea);font-family:var(--sans);color:var(--gm-ink);user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;isolation:isolate}
html[data-theme=dark] .gm{--gm-sea:#1b2a33;--gm-land:#20231f;--gm-nb:#181a18;--gm-bd:#4c544c;--gm-river:#3b6f8f;--gm-ink:#f3f4f1;--gm-real:#f3f4f1;--gm-lock:#4a504a;--gm-card:rgba(21,22,21,.88)}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) .gm{--gm-sea:#1b2a33;--gm-land:#20231f;--gm-nb:#181a18;--gm-bd:#4c544c;--gm-river:#3b6f8f;--gm-ink:#f3f4f1;--gm-real:#f3f4f1;--gm-lock:#4a504a;--gm-card:rgba(21,22,21,.88)}}
body.tpl-gamemap .ftr{display:none}
body.tpl-gamemap{padding-bottom:0}
@media (max-width:1119px){.gm{height:calc(100svh - var(--hh,68px) - 66px - env(safe-area-inset-bottom))}body.tpl-gamemap{padding-bottom:calc(66px + env(safe-area-inset-bottom))}}
@media (min-width:768px) and (max-width:1119px){.gm{height:calc(100svh - var(--hh,68px))}body.tpl-gamemap{padding-bottom:0}}
.gm--embed{height:min(74svh,720px);min-height:460px;border-radius:20px;border:1px solid var(--line,rgba(0,0,0,.08))}
@media (max-width:860px){.gm--embed{height:calc(100svh - 285px - env(safe-area-inset-bottom));margin:0 -16px;border-radius:0;border-left:0;border-right:0}}
.gm__boot{position:absolute;inset:0;display:grid;place-items:center}
.gm__nojs{padding:32px 16px}
.gm__stage{position:absolute;inset:0;touch-action:none;cursor:grab;outline:none}
.gm.is-drag .gm__stage{cursor:grabbing}
.gm__svg{display:block;width:100%;height:100%;--ps:1}
.gm__sea{fill:var(--gm-sea)}
.gm__nb{fill:var(--gm-nb);stroke:var(--gm-bd);stroke-width:calc(.8px * var(--ps));stroke-opacity:.5}
.gm__nbl{fill:var(--gm-ink);opacity:.32;font:600 17px var(--sans);letter-spacing:.18em;text-transform:uppercase;text-anchor:middle}
.gm__land{fill:var(--gm-land)}
.gm__terrain{fill:url(#gm-dots)}
.gm__dot{fill:var(--gm-ink);opacity:.07}
.gm__border{fill:none;stroke:var(--gm-ink);stroke-opacity:.55;stroke-width:calc(1.4px * var(--ps));stroke-linejoin:round}
.gm__spit{stroke:var(--gm-ink);stroke-opacity:.45;stroke-width:calc(1px * var(--ps))}
.gm__lake{fill:var(--gm-sea);stroke:var(--gm-river);stroke-width:calc(.6px * var(--ps))}
.gm__river{fill:none;stroke:var(--gm-river);stroke-width:calc(1.2px * var(--ps));stroke-linecap:round;stroke-linejoin:round}
.gm__river.is-major{stroke-width:calc(2.4px * var(--ps))}
.gm__zone{fill:var(--gm-acc);fill-opacity:.06;stroke:var(--gm-acc);stroke-width:22;stroke-linejoin:round;paint-order:stroke;opacity:.9}
.gm__zone{stroke-opacity:.08}
.gm__zone.is-cur{fill-opacity:.1;stroke-opacity:.16}
.gm__zone.is-lock{fill:var(--gm-ink);stroke:var(--gm-ink);fill-opacity:.03;stroke-opacity:.04}
.gm__city circle{fill:var(--gm-ink);opacity:.55}
.gm__city text{fill:var(--gm-ink);opacity:.62;font:600 11px var(--sans);paint-order:stroke;stroke:var(--gm-land);stroke-width:3px;stroke-linejoin:round}
.gm__city.is-cap text{font-weight:800;opacity:.8;font-size:12.5px}
.gm__city.is-water text{fill:#3d7ea6;stroke:none;font:italic 600 12px var(--sans);letter-spacing:.12em;opacity:.8}
.gm__route{fill:none;stroke:var(--gm-ink);stroke-opacity:.25;stroke-width:calc(2px * var(--ps));stroke-dasharray:calc(6px * var(--ps)) calc(6px * var(--ps));stroke-linecap:round}
.gm__route.is-on{stroke:var(--gm-acc);stroke-opacity:.9}
.gm__trail{fill:none;stroke:var(--gm-ink);stroke-opacity:.28;stroke-width:calc(1.6px * var(--ps));stroke-dasharray:calc(2px * var(--ps)) calc(5px * var(--ps));stroke-linecap:round}
.gm__trail.is-on{stroke:var(--gm-acc);stroke-opacity:.9;stroke-dasharray:none}
/* pins (scaled by --ps = svg units per screen px → constant on-screen size) */
.gm__pin,.gm__reg,.gm__city{transform-box:view-box}
.gm__pin{cursor:pointer;outline:none;transition:opacity .25s}
.gm__pc{fill:#fff;stroke:var(--gm-acc);stroke-width:2.5;filter:drop-shadow(0 2px 3px rgba(11,12,11,.22))}
.gm__pi{fill:var(--gm-acc-ink)}
.gm__pin.s-done .gm__pc{fill:var(--gm-acc);stroke:#fff}
.gm__pin.s-done .gm__pi{fill:#0b0c0b}
.gm__pin.s-lock .gm__pc{fill:var(--gm-land);stroke:var(--gm-lock);filter:none}
.gm__pin.s-lock .gm__pi{fill:var(--gm-lock)}
.gm__pin.s-paid .gm__pc{stroke:var(--gm-ink);stroke-opacity:.5}
.gm__pin.s-paid .gm__pi{fill:var(--gm-ink)}
.gm__pb circle{fill:var(--gm-ink)}.gm__pb path{fill:#fff}
.gm__pin.t-real .gm__pc{fill:var(--gm-real);stroke:#fff;stroke-width:2.5}
.gm__pin.t-real .gm__pi{fill:#fff}
.gm__pin.t-real.s-done .gm__pc{stroke:var(--gm-acc)}
.gm__ps g{fill:#fff;stroke:var(--gm-ink);stroke-width:2.4;stroke-opacity:.35}.gm__ps g.on{fill:#f5b400;stroke:#8a5a00;stroke-opacity:.8}
.gm__pin:focus-visible .gm__pc,.gm__reg:focus-visible .gm__rb{stroke:#0b0c0b;stroke-width:4}
.gm__pin:hover .gm__pc{stroke-width:3.5}
.gm__pulse{fill:none;stroke:var(--gm-acc);stroke-width:3;transform-box:fill-box;transform-origin:center;animation:gmPulse 1.8s ease-out infinite}
@keyframes gmPulse{0%{transform:scale(.9);opacity:.9}100%{transform:scale(2);opacity:0}}
.gm__pin.is-ping .gm__pc{animation:gmPing .6s var(--spring,ease) 2}
@keyframes gmPing{50%{stroke-width:7}}
/* region badges */
.gm__reg{cursor:pointer;outline:none}
.gm__rb{fill:#fff;stroke:var(--gm-ink);stroke-width:2;filter:drop-shadow(0 4px 8px rgba(11,12,11,.22))}
.gm__rt{fill:none;stroke:var(--gm-ink);stroke-opacity:.1;stroke-width:5}
.gm__rp{fill:none;stroke:var(--gm-acc);stroke-width:5;stroke-linecap:round;transition:stroke-dashoffset 1s var(--ease,ease)}
.gm__rn{font:800 18px var(--sans);text-anchor:middle;fill:#0b0c0b}
.gm__rl{fill:var(--gm-lock)}
.gm__reg.is-lock .gm__rb{fill:var(--gm-land);stroke:var(--gm-lock)}
.gm__reg.is-done .gm__rb{fill:var(--gm-acc);stroke:#0b0c0b}
.gm__reg.is-cur .gm__rb{stroke:var(--gm-acc);stroke-width:3}
.gm__rlab rect{fill:#0b0c0b}.gm__rlab text{fill:#fff;font:700 11.5px var(--sans);text-anchor:middle}
.gm__reg.is-lock .gm__rlab rect{fill:#656b65}
.gm__glow{animation:gmGlow 2.4s ease-in-out infinite}
@keyframes gmGlow{50%{opacity:.4}}
/* level of detail */
.gm.is-far .gm__pin,.gm.is-far .gm__trail{opacity:0;pointer-events:none}
.gm.is-far .gm__city:not(.is-cap):not(.is-water){opacity:0}
.gm:not(.is-far) .gm__reg{opacity:.92}
.gm:not(.is-far) .gm__reg .gm__rlab{display:none}
.gm.is-near .gm__reg{opacity:.35}
/* drone */
.gm__drone{pointer-events:none}
.gm__dsh{fill:#0b0c0b;opacity:.16}
.gm__darm{stroke:#0b0c0b;stroke-width:2.6;stroke-linecap:round}
.gm__dr{fill:rgba(255,255,255,.75);stroke:#0b0c0b;stroke-width:1.6}
.gm__dbody{fill:#0b0c0b}
.gm__dled{fill:var(--gm-acc);animation:gmLed 1s steps(2) infinite}
@keyframes gmLed{50%{opacity:.2}}
/* HUD */
.gm__hud{position:absolute;left:12px;right:12px;top:calc(12px + env(safe-area-inset-top,0px) * 0);display:flex;justify-content:space-between;align-items:flex-start;gap:10px;pointer-events:none;z-index:3}
.gm__hud>*{pointer-events:auto}
.gm__card{background:var(--gm-card);backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);border:1px solid var(--line,rgba(0,0,0,.08));border-radius:16px;padding:10px 14px;box-shadow:0 10px 30px -16px rgba(11,12,11,.4);min-width:210px}
.gm__k{display:block;font:650 13px var(--sans);letter-spacing:0;text-transform:none;color:var(--gm-acc-ink)}
html[data-theme=dark] .gm__k{color:#4fd88e}
.gm__row{display:flex;gap:16px;align-items:baseline;margin-top:4px}
.gm__tot,.gm__xp{display:flex;align-items:baseline;gap:4px;font:800 22px/1 var(--sans);font-variant-numeric:tabular-nums}
.gm__tot small,.gm__xp small{font-size:12px;font-weight:600;opacity:.6}
.gm__stars--one svg{width:18px;height:18px;transform:translateY(2px)}
.gm__rank{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;margin-top:8px;font:700 12px var(--sans)}
.gm__rank i{display:block;height:6px;border-radius:6px;background:rgba(11,12,11,.1);overflow:hidden}
.gm__rank i em{display:block;height:100%;background:var(--gm-acc);border-radius:6px}
.gm__rank small{grid-column:1/-1;font-weight:500;opacity:.65;font-size:11px}
.gm__btns{display:flex;gap:8px}
.gm__btn{display:inline-flex;align-items:center;gap:8px;height:44px;min-width:44px;justify-content:center;padding:0 12px;border-radius:14px;border:1px solid var(--line,rgba(0,0,0,.08));background:var(--gm-card);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--gm-ink);font:700 13px var(--sans);cursor:pointer;text-decoration:none;box-shadow:0 10px 30px -16px rgba(11,12,11,.4)}
.gm__btn svg{width:20px;height:20px;fill:currentColor}
.gm__chips{position:absolute;left:0;right:0;bottom:calc(12px + env(safe-area-inset-bottom,0px) * 0);display:flex;gap:8px;overflow-x:auto;padding:0 12px 2px 12px;scrollbar-width:none;z-index:3;-webkit-overflow-scrolling:touch}
.gm__chips::-webkit-scrollbar{display:none}
.gm__chip{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 6px;border-radius:999px;border:1px solid var(--line,rgba(0,0,0,.08));background:var(--gm-card);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font:700 13px var(--sans);color:var(--gm-ink);cursor:pointer;box-shadow:0 6px 20px -12px rgba(11,12,11,.45)}
.gm__chip span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0b0c0b;color:#fff;font-weight:800;font-size:12px}
.gm__chip.is-done span{background:var(--gm-acc);color:#0b0c0b}
.gm__chip.is-cur{border-color:var(--gm-acc);box-shadow:0 0 0 2px var(--gm-acc) inset,0 6px 20px -12px rgba(11,12,11,.45)}
.gm__chip.is-lock{opacity:.6}.gm__chip.is-lock span{background:var(--gm-lock)}
.gm__zoom{position:absolute;right:12px;bottom:66px;display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:var(--gm-card);border:1px solid var(--line,rgba(0,0,0,.08));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);z-index:3;box-shadow:0 10px 30px -16px rgba(11,12,11,.4)}
.gm__zoom button{width:44px;height:44px;border:0;background:none;font:600 22px/1 var(--sans);color:var(--gm-ink);cursor:pointer;display:grid;place-items:center}
.gm__zoom button+button{border-top:1px solid var(--line,rgba(0,0,0,.08))}
.gm__zoom svg{width:20px;height:20px;fill:currentColor}
.gm__attr{position:absolute;left:12px;bottom:58px;font:500 10px var(--sans);opacity:.55;z-index:2;pointer-events:none}
/* bottom sheet (side panel on desktop) */
.gm__sheet{position:absolute;left:0;right:0;bottom:0;z-index:5;max-height:min(46%,560px);display:flex;flex-direction:column;background:var(--paper,#fff);color:var(--ink,#0b0c0b);border-radius:22px 22px 0 0;box-shadow:0 -20px 50px -20px rgba(11,12,11,.45);transform:translateY(105%);transition:transform .34s var(--ease,ease);outline:none;padding-bottom:env(safe-area-inset-bottom,0px)}
.gm__sheet.is-on{transform:none}
.gm__grab{height:24px;flex:none;cursor:grab;touch-action:none;position:relative}
.gm__grab::before{content:"";position:absolute;left:50%;top:9px;width:42px;height:5px;margin-left:-21px;border-radius:5px;background:var(--line2,rgba(0,0,0,.18))}
.gm__x{position:absolute;right:10px;top:8px;width:40px;height:40px;border-radius:50%;border:0;background:var(--alt,#f6f7f4);font:400 24px/1 var(--sans);color:inherit;cursor:pointer;z-index:1}
.gm__body{overflow:auto;padding:0 18px 20px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
@media (min-width:900px){.gm__sheet{left:auto;right:16px;top:16px;bottom:16px;width:400px;max-height:none;border-radius:22px;transform:translateX(calc(100% + 24px));box-shadow:0 30px 60px -30px rgba(11,12,11,.55)}.gm__sheet.is-on{transform:none}.gm__grab{display:none}.gm__body{padding-top:18px}}
.gm__type{display:inline-flex;align-items:center;gap:6px;font:600 13px var(--sans);letter-spacing:0;text-transform:none;color:var(--mute,#555b55);padding-right:44px}
.gm__type svg{width:16px;height:16px;fill:currentColor}
.gm__type.t-drill,.gm__type.t-micro{color:var(--acc-ink,#0e7a41)}
.gm__h{font:800 22px/1.2 var(--sans);margin:6px 0 10px;letter-spacing:-.01em;padding-right:36px}
.gm__h3{font:700 15px var(--sans);letter-spacing:0;text-transform:none;margin:18px 0 8px;color:var(--mute,#555b55)}
.gm__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.gm__meta>span:not(.gm__stars){font:700 12.5px var(--sans);padding:5px 10px;border-radius:999px;background:var(--alt,#f6f7f4);font-variant-numeric:tabular-nums}
.gm__meta .is-free{background:var(--acc-soft,#e8f6ee);color:var(--acc-ink,#0e7a41)}
.gm__stars{display:inline-flex;gap:2px}
.gm__stars svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;opacity:.35}
.gm__stars svg.on{fill:#f5b400;stroke:#8a5a00;opacity:1}
.gm__big .gm__stars svg{width:44px;height:44px}
.gm__big{margin:6px 0 4px}
.gm__story{font:500 15px/1.55 var(--sans);margin:0 0 14px;color:var(--ink2,#2a2d2a)}
.gm__src{font:500 12px/1.5 var(--sans);color:var(--mute,#555b55);margin:-6px 0 14px}
.gm__cta{display:flex;width:100%;justify-content:center}
.gm__fine{display:block;margin-top:8px;font:500 12px var(--sans);color:var(--mute,#555b55);text-align:center}
.gm__back{margin-top:12px;border:0;background:none;font:700 13px var(--sans);color:var(--mute,#555b55);cursor:pointer;padding:8px 0}
.gm__lockmsg{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--alt,#f6f7f4);font:500 14px/1.45 var(--sans);margin-bottom:6px}
.gm__lockmsg svg{flex:none;width:20px;height:20px;fill:currentColor;opacity:.6;margin-top:1px}
.gm__prog{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.gm__prog i{flex:1;height:8px;border-radius:8px;background:var(--alt,#f6f7f4);overflow:hidden}
.gm__prog em{display:block;height:100%;background:var(--acc,#19a35a);border-radius:8px}
.gm__prog b{font:800 14px var(--sans);font-variant-numeric:tabular-nums}
.gm__list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.gm__li{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px;border-radius:14px;border:1px solid var(--line,rgba(0,0,0,.08));background:var(--fill,#fff);color:inherit;cursor:pointer;font-family:var(--sans)}
.gm__li:hover{border-color:var(--acc,#19a35a)}
.gm__lic{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--acc-soft,#e8f6ee);color:var(--acc-ink,#0e7a41)}
.gm__lic svg{width:18px;height:18px;fill:currentColor}
.gm__lic.t-real{background:#0b0c0b;color:#fff}
.gm__li.s-done .gm__lic{background:var(--acc,#19a35a);color:#0b0c0b}
.gm__li.s-lock{opacity:.6}.gm__li.s-lock .gm__lic{background:var(--alt,#f6f7f4);color:var(--mute,#555b55)}
.gm__lit{flex:1;min-width:0}
.gm__lit b{display:block;font:700 14px/1.3 var(--sans)}
.gm__lit small{display:block;font:500 12px/1.4 var(--sans);color:var(--mute,#555b55);margin-top:2px}
.gm__li .gm__stars svg{width:14px;height:14px}
@media (max-width:520px){.gm__card{min-width:0;padding:8px 12px}.gm__tot,.gm__xp{font-size:19px}.gm__btn span{display:none}.gm__rank small{display:none}}
@media (prefers-reduced-motion:reduce){.gm__pulse,.gm__glow,.gm__dled{animation:none}.gm__sheet,.gm__rp{transition:none}}
html[data-motion=reduce] .gm__pulse,html[data-motion=reduce] .gm__glow,html[data-motion=reduce] .gm__dled{animation:none}
/* /app/ shell: room for the 6th tab „Žemėlapis“ on the floating mobile tab bar */
@media (max-width:860px){.appx__nav{grid-template-columns:repeat(6,1fr)}.appx__nav a{font-size:10.5px;letter-spacing:-.02em}}
@media (min-width:768px) and (max-width:1119px){.gm:not(.gm--embed) .gm__chips{bottom:92px}.gm:not(.gm--embed) .gm__zoom{bottom:146px}.gm:not(.gm--embed) .gm__attr{bottom:138px}.gm:not(.gm--embed) .gm__sheet{bottom:0;padding-bottom:90px}}
@media (min-width:900px) and (max-width:1119px){.gm:not(.gm--embed) .gm__sheet{bottom:92px;padding-bottom:0}}
.gm__svg{--rs:1}
.gm.is-far .gm__zone{opacity:0}
.gm__zone{transition:opacity .25s}
.gm.is-sm .gm__reg:not(.is-cur) .gm__rlab{display:none}
@media (max-width:767px){.gm__chips{padding-right:76px}}
