/* Shared look for the YOWIE website maps (embedded in yowiepatrol.org).
   Plain, centered and big, like the "Does your phone work here?" presentation page. */
:root{--navy:#275876;--sky:#BDE3F6;--pale:#D5E8E7;--ink:#1d3d52;--bad:#c4122f;--ok:#1f8a5a;--line:#d4dde3}
*{box-sizing:border-box}
html,body{margin:0;font:17px/1.5 Poppins,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#fff}
.wrap{max-width:1100px;margin:0 auto;padding:20px 16px 28px}
.pick{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 18px}
.pick button{font:700 17px Poppins,sans-serif;min-height:48px;padding:8px 22px;border-radius:999px;border:2px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer}
.pick button[aria-pressed=true]{background:var(--navy);color:#fff}
.pick button:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
.pick.small button{font-size:15px;min-height:44px;padding:6px 16px}
.big{text-align:center;font-size:clamp(22px,3.4vw,34px);line-height:1.25;font-weight:700;max-width:28ch;margin:0 auto 6px;text-wrap:balance}
.big b{font-family:Bayon,Impact,sans-serif;font-weight:400;font-size:1.35em;color:var(--bad);letter-spacing:.01em;white-space:nowrap}
[hidden]{display:none!important}
.sub{text-align:center;color:#5b6770;font-size:15px;margin:0 auto 16px;max-width:60ch}
.key{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;font-size:15px;margin:0 0 12px}
.key span{display:flex;align-items:center;gap:8px}
.key img{width:28px;height:28px}
.key .sw{width:22px;height:16px;border-radius:4px;background:rgba(47,134,214,.35);border:1px solid var(--line)}
.key .gd{width:16px;height:16px;border-radius:50%;background:#8a96a0}
.map{height:560px;border-radius:18px;overflow:hidden;border:1px solid var(--line)}
.tip{margin:10px 0 0;text-align:center;font-size:14px;color:#5b6770}
.means{margin:22px auto 0;max-width:760px;display:grid;gap:12px}
.means h2{margin:0 0 2px;font-size:clamp(22px,3vw,28px);text-align:center;color:var(--navy)}
.means div{border:1px solid var(--line);border-radius:14px;padding:12px 16px;font-size:16px}
.means div b{color:var(--navy)}
.foot{margin:18px auto 0;max-width:760px;font-size:13px;color:#5b6770;text-align:center}
.foot a{color:var(--navy)}
/* YOWIE heads */
.yk-head{background:none;border:0}
.yk-head img{display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.yk-n{position:absolute;right:-6px;bottom:-4px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:var(--navy);color:#fff;font:700 12px/22px Poppins,sans-serif;text-align:center;box-shadow:0 0 0 2px #fff}
.yk-dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;box-shadow:0 0 0 2px #fff}
.yk-dot.grey{background:#8a96a0}.yk-dot.none{background:#fff;border:3px solid #8a96a0}
/* callout boxes */
.leaflet-tooltip.yk-callout{background:#fff;border:2px solid var(--ink);border-radius:12px;padding:8px 12px;font:15px/1.35 Poppins,sans-serif;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.15);white-space:nowrap}
.leaflet-tooltip.yk-callout b{font-size:16px}
.leaflet-tooltip.yk-callout .bad{color:var(--bad);font-weight:700}
.leaflet-popup-content,.leaflet-tooltip{font:14px/1.45 Poppins,sans-serif;color:var(--ink)}
@media(max-width:700px){.map{height:440px}html,body{font-size:16px}.leaflet-tooltip.yk-callout{font-size:13px;padding:6px 9px}}
/* corner label boxes + lines */
.yk-lines{position:absolute;inset:0;width:100%;height:100%;z-index:690;pointer-events:none}
.yk-lines line{stroke:var(--ink);stroke-width:2}
.yk-cbox{position:absolute;bottom:14px;z-index:700;max-width:calc(50% - 22px);background:#fff;border:2px solid var(--ink);border-radius:14px;padding:10px 16px;box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:16px;line-height:1.35;pointer-events:none}
.yk-cbox.left{left:14px}.yk-cbox.right{right:14px}
.yk-cbox b{display:block;font-size:18px;color:var(--ink)}
.yk-cbox .bad{color:var(--bad);font-weight:700}
/* town names */
.yk-town span{position:absolute;transform:translate(10px,-50%);white-space:nowrap;font:700 15px Poppins,sans-serif;color:var(--ink);text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff}
.yk-town.mid span{transform:translate(-50%,-50%)}
.map.plain{background:#eef2f5}
.msg{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);z-index:700;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 16px;font-weight:600;text-align:center}
@media(max-width:700px){.yk-cbox{font-size:13px;padding:7px 10px}.yk-cbox b{font-size:15px}.yk-town span{font-size:13px}}
.key small{color:#5b6770}
