/* Wordlight world-situation page: the live map. Mobile first: phones (<= 560 px) get a full-width map ~62% of the screen height,
   collapsible legend and sources; desktop keeps the wide 2.17:1 map with the legend and sources open. */
.wlvilag{margin:0}
.wlv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wlvilag .wlv-lead{max-width:720px;font-size:16px;line-height:1.5;color:#cfd6cf;margin:0 0 12px}
.wlvilag .wlv-hint{display:none;max-width:720px;font-size:15px;color:var(--muted);margin:0 0 16px}
@media (min-width:561px){.wlvilag .wlv-hint{display:block}}
.wlv-kep{position:relative;border:1px solid #2c3d33;border-radius:16px;overflow:hidden;background:#0c1713;
  box-shadow:inset 0 0 40px rgba(124,179,66,.05)}
.wlv-svg{display:block;width:100%;height:auto;aspect-ratio:2000/920;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.wlv-zoomed .wlv-svg{touch-action:none}
.wlv-svg:active{cursor:grabbing}
.wlv-svg:focus-visible,.wlv-svg *:focus-visible{outline:2px solid var(--borostyan);outline-offset:1px}
.wlv-land path{fill:#243a2f;stroke:#0c1713;stroke-width:.6;vector-effect:non-scaling-stroke}
.wlv-war{fill:#e03131;stroke:#ff8787;stroke-width:.9;vector-effect:non-scaling-stroke;cursor:pointer}
.wlv-zone{fill:#e03131;stroke:#ffa8a8;stroke-width:.6;vector-effect:non-scaling-stroke;pointer-events:none}
.wlv-m{cursor:pointer}
.wlv-m:hover circle:nth-child(2),.wlv-m:focus circle:nth-child(2){stroke:var(--borostyan);stroke-width:2}
.wlv-btns{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:8px}
.wlv-btns button{width:44px;height:44px;border-radius:10px;border:1px solid #3a5044;background:rgba(18,27,22,.92);color:var(--ink);
  font:700 20px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
.wlv-btns button:hover{border-color:var(--zold)}
.wlv-btns button:focus-visible{outline:2px solid var(--borostyan);outline-offset:2px}
.wlv-btns button svg{width:22px;height:22px}
.wlv-status{font-size:15px;color:var(--muted);margin:10px 2px 0;min-height:1.4em}
/* collapsible legend + sources */
.wlv-det{margin:12px 0 0;border:1px solid #2c3d33;border-radius:12px;background:rgba(18,27,22,.6)}
.wlv-det[hidden]{display:none}
.wlv-det>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 16px;cursor:pointer;
  font-size:16px;font-weight:700;color:var(--ink);list-style:none}
.wlv-det>summary::-webkit-details-marker{display:none}
.wlv-det>summary::after{content:"";width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:-4px 4px 0 0;flex:none;transition:transform .15s}
.wlv-det[open]>summary::after{transform:rotate(-135deg);margin-top:4px}
.wlv-det>summary:focus-visible{outline:2px solid var(--borostyan);outline-offset:2px;border-radius:12px}
.wlv-jelm{list-style:none;display:flex;flex-wrap:wrap;gap:12px 20px;margin:0;padding:2px 16px 16px}
.wlv-jelm li{display:flex;align-items:center;gap:8px;font-size:15px;color:#cfd6cf}
.wlv-jelm li svg{flex:none}
.wlv-sw{display:inline-block;width:18px;height:18px;border-radius:4px;background:#e03131;opacity:.86;flex:none}
.wlv-src{margin:0;padding:2px 16px 16px;font-size:14px;line-height:1.65;color:var(--muted)}
.wlv-src a{color:#b9c4bb}
.wlv-src a:hover{color:var(--ink)}
/* the detail card */
.wlv-pop{position:relative;margin:12px 0 0;padding:14px 52px 6px 16px;border:1px solid #3a5044;border-radius:14px;background:rgba(18,27,22,.97)}
.wlv-pop[hidden]{display:none}
.wlv-pop-h{font-size:19px;font-weight:800;margin:0 0 8px}
.wlv-it{padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid #22302A}
.wlv-it:last-of-type{border-bottom:0;margin-bottom:0}
.wlv-it-h{display:flex;align-items:center;gap:8px;font-size:16px}
.wlv-dot{display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #EDEBE1;flex:none}
.wlv-it-t{font-size:16px;color:#EDEBE1;margin:2px 0 2px}
.wlv-orig{display:block;font-size:14px;font-style:italic;color:var(--muted)}
.wlv-it-m{font-size:14px;color:var(--muted);line-height:1.55}
.wlv-it-m a{color:var(--zold)}
.wlv-pop-x{position:absolute;top:4px;right:4px;width:44px;height:44px;border-radius:10px;border:1px solid #3a5044;background:transparent;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
.wlv-pop-x:hover{border-color:var(--zold)}
@media (prefers-reduced-motion:reduce){.wlv-svg *,.wlv-det>summary::after{transition:none!important}}

/* ---- phones: full-bleed map, ~62% of the screen height, always interactive; the card is a bottom sheet ---- */
@media (max-width:560px){
  .wlbelso .wlhatter{min-height:0}
  .wlbelso .pp{padding-top:18px;padding-bottom:28px}
  .wlbelso .pp .kicsi{margin-bottom:6px}
  .wlbelso .pp h1{margin-bottom:8px}
  .wlbelso .lead{font-size:16px;margin-bottom:10px}
  .wlvilag .wlv-lead{margin-bottom:12px}
  .wlv-kep{margin:0 -16px;border-radius:0;border-left:0;border-right:0}
  .wlv-svg{aspect-ratio:auto;height:62vh;height:62svh;min-height:380px;max-height:720px;touch-action:none}
  .wlv-btns{top:8px;right:8px}
  .wlv-status{margin-top:12px}
  .wlv-pop{position:fixed;left:8px;right:8px;bottom:8px;margin:0;max-height:46vh;max-height:46svh;overflow:auto;z-index:50;box-shadow:0 12px 40px rgba(0,0,0,.65)}
}
