/* Fährte – © ff144
   Gestaltung: GPS-Feldgerät. Farben tragen Bedeutung:
   Signal = Jäger und Pings, Team = Spieler, Kobalt = Spielleitung, Hazard = Zone. */

:root, [data-theme="tag"] {
  --bg: #E4E9EC;
  --surface: #F8FAFB;
  --surface2: #EDF1F3;
  --ink: #13202A;
  --ink2: #2B3A46;
  --muted: #5F6F7B;
  --line: #C5CED4;
  --signal: #E0401B;
  --signal-soft: rgba(224, 64, 27, .14);
  --team: #0A7C76;
  --team-soft: rgba(10, 124, 118, .13);
  --cobalt: #3446C9;
  --cobalt-soft: rgba(52, 70, 201, .12);
  --hazard: #E3AE00;
  --hazard-soft: rgba(227, 174, 0, .16);
  --violet: #8B3FD9;
  --on-ink: #F8FAFB;
  --shadow: 0 1px 0 rgba(19, 32, 42, .06), 0 10px 30px rgba(19, 32, 42, .12);
  --tiles: grayscale(.6) contrast(1.04) brightness(1.04);
  --hatch-bg: rgba(19, 32, 42, .22);
  color-scheme: light;
}
[data-theme="nacht"] {
  --bg: #0E161D;
  --surface: #15202A;
  --surface2: #1B2833;
  --ink: #DDE5EB;
  --ink2: #B5C2CC;
  --muted: #8496A5;
  --line: #2A3946;
  --signal: #FF5B34;
  --signal-soft: rgba(255, 91, 52, .16);
  --team: #2CB8AB;
  --team-soft: rgba(44, 184, 171, .15);
  --cobalt: #7484FF;
  --cobalt-soft: rgba(116, 132, 255, .16);
  --hazard: #F4C417;
  --hazard-soft: rgba(244, 196, 23, .14);
  --violet: #B57BFF;
  --on-ink: #0E161D;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 34px rgba(0, 0, 0, .45);
  --tiles: invert(1) hue-rotate(180deg) grayscale(.65) brightness(.82) contrast(.92);
  --hatch-bg: rgba(0, 0, 0, .42);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.45; font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
a { color: var(--cobalt); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.num { font-stretch: 72%; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

input, select, textarea {
  width: 100%; padding: 12px 13px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--cobalt-soft); }
input[type=range] { padding: 0; border: none; background: transparent; accent-color: var(--hazard); box-shadow: none; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin: 14px 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-weight: 700; user-select: none; text-decoration: none; color: var(--ink);
  transition: transform .1s ease, background-color .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.red { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn.green { background: var(--team); border-color: var(--team); color: #fff; }
.btn.blue { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.small { padding: 7px 11px; font-size: 14px; border-radius: 6px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; pointer-events: none; }
.row { display: flex; gap: 10px; align-items: center; }
.row > * { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.hidden { display: none !important; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 7px; border-radius: 4px; font-size: 12px; font-weight: 700; background: var(--surface2); color: var(--ink2); white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.tag.spieler { color: var(--team); background: var(--team-soft); }
.tag.jaeger { color: var(--signal); background: var(--signal-soft); }
.tag.leitung { color: var(--cobalt); background: var(--cobalt-soft); }
.tag.gray { color: var(--muted); }
.tag.gray::before { display: none; }

/* ---------- Segment-Umschalter ---------- */
.seg { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--surface2); position: relative; }
.seg button { flex: 1; border: none; background: transparent; padding: 10px 6px; border-radius: 6px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ---------- Startseite ---------- */
.start { min-height: 100%; position: relative; overflow-x: hidden; }
.topo { position: absolute; top: 0; right: 0; width: 100%; height: 430px; pointer-events: none; }
.topo path { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.topo .pingdot { fill: var(--signal); opacity: 0; animation: fadein .3s 1.1s forwards; }
.topo .ring { fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 2.4s 1.3s ease-out infinite; }
.topo .ring.r2 { animation-delay: 2.1s; }
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes fadein { to { opacity: 1; } }
.topo .sweep { transform-box: view-box; animation: sweep 4s linear infinite; opacity: .5; }
@keyframes sweep { to { transform: rotate(360deg); } }

.start .inner { position: relative; max-width: 460px; margin: 0 auto; padding: 22px 20px 40px; }
.start .bar { display: flex; justify-content: space-between; align-items: center; }
.start .coord { font-size: 13px; color: var(--muted); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.wordmark { font-size: clamp(58px, 19vw, 88px); line-height: .88; font-weight: 900; font-stretch: 125%; letter-spacing: -.045em; margin: 150px 0 14px;
  opacity: 0; transform: translateY(12px); animation: rise .7s .5s cubic-bezier(.2,.7,.2,1) forwards; }
.wordmark .uml { color: var(--signal); }
.lede { font-size: 18px; color: var(--ink2); max-width: 32ch; margin: 0 0 28px; opacity: 0; animation: rise .7s .7s cubic-bezier(.2,.7,.2,1) forwards; }
.formarea { opacity: 0; animation: rise .7s .85s cubic-bezier(.2,.7,.2,1) forwards; display: flex; flex-direction: column; gap: 16px; }
@keyframes rise { to { opacity: 1; transform: none; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px 18px; }
.panel h3 { margin: 14px 0 0; font-size: 18px; }
.codeinput { text-transform: uppercase; letter-spacing: .32em; font-weight: 800; font-stretch: 80%; font-size: 26px; text-align: center; }
.err { color: var(--signal); font-size: 14px; font-weight: 600; min-height: 18px; margin-top: 10px; }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.footer { color: var(--muted); font-size: 12px; margin-top: 32px; }
.recent { border-top: 1px solid var(--line); }
.recent .g { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent .g b { font-stretch: 80%; letter-spacing: .14em; font-size: 18px; }
.iconbtn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); }

/* ---------- Spiel ---------- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.hud { background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1000; padding-top: env(safe-area-inset-top, 0px); }
.hud .strip { display: flex; align-items: stretch; }
.readouts { flex: 1; display: flex; overflow-x: auto; scrollbar-width: none; }
.readouts::-webkit-scrollbar { display: none; }
.ro { flex: 0 0 auto; padding: 7px 10px 6px; border-right: 1px solid var(--line); min-width: 72px; position: relative; }
.ro .l { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ro .v { font-size: 24px; line-height: 1.05; white-space: nowrap; }
.ro.hot .v { color: var(--signal); }
.ro.hide { background: var(--hazard-soft); }
.ro.hide .v { color: var(--ink); }
.ro .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--hazard); transition: width 1s linear; }
.ro.pingro .bar { background: var(--signal); }
.idbox { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 3px; padding: 6px 12px; }
.idbox .code { font-weight: 800; font-stretch: 80%; letter-spacing: .14em; font-size: 15px; }
.gpsline { display: flex; align-items: center; gap: 10px; padding: 4px 12px 5px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-stretch: 82%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.gpsline .led { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 7px; }
.gpsline .led.ok { background: var(--team); box-shadow: 0 0 0 0 var(--team); animation: led 2s infinite; }
.gpsline .led.bad { background: var(--signal); }
@keyframes led { 0% { box-shadow: 0 0 0 0 var(--team-soft); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.gpsline .warn { color: var(--signal); font-weight: 700; }

.mapwrap { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; background: var(--bg); }
#map .leaflet-tile-pane { filter: var(--tiles); transition: filter .4s; }
.mapbtns { position: absolute; top: 12px; right: 12px; z-index: 800; display: flex; flex-direction: column; gap: 8px; }
.mapbtns .iconbtn { width: 44px; height: 44px; box-shadow: var(--shadow); }
.mapbtns .iconbtn.on { color: var(--hazard); border-color: var(--hazard); }

.sheet { background: var(--surface); border-top: 1px solid var(--line); border-radius: 14px 14px 0 0;
  max-height: 56vh; display: flex; flex-direction: column; z-index: 950; position: relative; box-shadow: var(--shadow);
  padding-bottom: env(safe-area-inset-bottom, 0px); transition: max-height .3s cubic-bezier(.3,.7,.2,1); margin-top: -14px; }
.sheet.min { max-height: 112px; }
.sheet .grab { flex: 0 0 auto; padding: 8px 0 2px; display: flex; justify-content: center; cursor: pointer; }
.sheet .grab span { width: 38px; height: 4px; border-radius: 9px; background: var(--line); }
.stabs { flex: 0 0 auto; display: flex; padding: 0 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; border-bottom: 1px solid var(--line); position: relative; }
.stabs::-webkit-scrollbar { display: none; }
.stabs button { border: none; background: transparent; color: var(--muted); padding: 10px 12px 11px; font-weight: 700; white-space: nowrap; cursor: pointer; position: relative; transition: color .2s; }
.stabs button.on { color: var(--ink); }
.stabs .ind { position: absolute; bottom: 0; height: 2px; background: var(--ink); transition: left .25s cubic-bezier(.3,.7,.2,1), width .25s cubic-bezier(.3,.7,.2,1); }
.stabs button .dot { position: absolute; top: 8px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.sheet .body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 16px 18px; -webkit-overflow-scrolling: touch; }
.body.swap { animation: swap .22s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.section-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 0 4px; }
.list .it { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list .it:last-child { border-bottom: none; }
.list .it .grow { flex: 1; min-width: 0; }
.list .it .name { font-weight: 700; }
.list .it.empty { color: var(--muted); }
.ev { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 12px; }
.ev .t { color: var(--muted); font-stretch: 75%; font-variant-numeric: tabular-nums; font-weight: 700; flex: 0 0 38px; padding-top: 1px; }
.ev .x { border-left: 2px solid var(--line); padding-left: 10px; }
.ev.catch .x { border-color: var(--signal); }
.ev.ping .x { border-color: var(--signal); }
.ev.joker .x { border-color: var(--team); }
.ev.zone .x { border-color: var(--hazard); }
.ev.warn .x { border-color: var(--signal); color: var(--signal); font-weight: 600; }
.ev.end .x { border-color: var(--ink); font-weight: 800; }

.gauges { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; overflow: hidden; }
.gauge { padding: 10px 14px; }
.gauge + .gauge { border-left: 1px solid var(--line); }
.gauge .n { font-size: 40px; line-height: 1; }
.gauge .l { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.gauge .n.bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); color: var(--team); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.joker { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.joker:last-child { border-bottom: none; }
.joker .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--team-soft); color: var(--team); flex: 0 0 40px; }
.joker .grow { flex: 1; }
.joker .t1 { font-weight: 800; }
.joker .t2 { font-size: 13px; color: var(--muted); }
.joker.active .ic { background: var(--team); color: #fff; animation: armed 1.6s ease-in-out infinite; }
.joker.active .t2 { color: var(--team); font-weight: 700; }
@keyframes armed { 50% { box-shadow: 0 0 0 6px var(--team-soft); } }

.zonebar { margin: 10px 0 4px; }
.zonebar .track { height: 8px; border-radius: 4px; background: var(--surface2); border: 1px solid var(--line); overflow: hidden; }
.zonebar .fill { height: 100%; background: var(--hazard); transition: width .6s ease; }
.zonebar .cap { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 600; }

.banner { margin: 10px 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; border-left: 3px solid; background: var(--surface2); }
.banner.warn { border-color: var(--hazard); }
.banner.red { border-color: var(--signal); color: var(--signal); font-weight: 700; background: var(--signal-soft); }
.banner.info { border-color: var(--cobalt); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.switch input { width: auto; transform: scale(1.3); accent-color: var(--ink); }

.invite { display: flex; gap: 16px; align-items: center; padding: 14px 0 4px; }
.invite .qrsmall { background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 auto; }
.invite .qrsmall img, .invite .qrsmall canvas { display: block; }
.invcode { font-size: 44px; line-height: 1; letter-spacing: .12em; margin: 2px 0 10px; }
.nextzone { animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -16; } }

/* ---------- Overlay & Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 2000; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; animation: fadein .25s ease; opacity: 1; }
.overlay .big { font-size: clamp(88px, 30vw, 150px); line-height: 1; }
.overlay h2 { margin: 14px 0 6px; font-size: 26px; font-stretch: 110%; font-weight: 900; letter-spacing: -.02em; }
.overlay p { max-width: 34ch; color: var(--ink2); }
.overlay .scope { width: 180px; height: 180px; position: relative; margin-bottom: 18px; }
.overlay .scope::before, .overlay .scope::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--signal); animation: ring2 2.2s ease-out infinite; }
.overlay .scope::after { animation-delay: 1.1s; }
@keyframes ring2 { from { transform: scale(.15); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.overlay.caught { background: var(--signal); color: #fff; }
.overlay.caught p { color: rgba(255,255,255,.85); }
.overlay.caught h2 { font-size: 54px; animation: slam .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes slam { from { transform: scale(2.2); opacity: 0; } to { transform: none; opacity: 1; } }
.overlay.win h2 { font-size: 40px; }
.overlay .sweepbox { width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--line); position: relative; overflow: hidden; margin-bottom: 18px;
  background: repeating-radial-gradient(circle, transparent 0 24px, var(--line) 24px 25px); }
.overlay .sweepbox::after { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, var(--signal-soft), transparent 30%); animation: sweep 2.4s linear infinite; border-radius: 50%; }
.overlay .sweepbox::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--signal); z-index: 1; }

.modal { position: fixed; inset: 0; z-index: 3000; background: rgba(10, 16, 22, .55); display: flex; align-items: flex-end; justify-content: center; animation: fadein .2s ease; opacity: 1; }
.modal .box { background: var(--surface); width: 100%; max-width: 520px; border-radius: 14px 14px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow-y: auto; animation: up .3s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { margin: 0 0 6px; font-size: 22px; font-stretch: 110%; font-weight: 900; }
.scanner { position: relative; border-radius: 10px; overflow: hidden; background: #000; margin-top: 10px; }
.scanner video { width: 100%; display: block; max-height: 46vh; object-fit: cover; }
.scanner .frame { position: absolute; inset: 14%; border: 2px solid rgba(255,255,255,.75); border-radius: 12px; }
.scanner .line { position: absolute; left: 14%; right: 14%; height: 2px; background: var(--signal); box-shadow: 0 0 12px var(--signal); top: 14%; animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { to { top: 86%; } }
.qrwrap { display: inline-block; padding: 14px; background: #fff; border-radius: 12px; margin: 12px auto 4px; position: relative; }
.qrwrap::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--team); border-radius: 16px; animation: armed 2s ease-in-out infinite; }
.catchcode { font-size: 64px; letter-spacing: .2em; margin: 4px 0 0; padding-left: .2em; }

/* ---------- Hinweise ---------- */
.toast-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 2500; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; padding: 0 12px; }
.toast { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--cobalt); padding: 10px 14px; border-radius: 8px; max-width: 480px; width: 100%; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: tin .35s cubic-bezier(.2,.9,.3,1.2); }
.toast.out { animation: tout .25s ease forwards; }
.toast.catch, .toast.ping { border-left-color: var(--signal); }
.toast.zone { border-left-color: var(--hazard); }
.toast.warn { border-left-color: var(--signal); }
.toast.joker { border-left-color: var(--team); }
@keyframes tin { from { transform: translateY(-14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tout { to { transform: translateY(-8px); opacity: 0; } }
.flash { position: fixed; inset: 0; z-index: 1900; pointer-events: none; border: 6px solid var(--signal); animation: flash 1.2s ease-out forwards; }
.flash.zone { border-color: var(--hazard); }
.flash.joker { border-color: var(--team); }
@keyframes flash { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Kartenmarker ---------- */
.mk { border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 1px 6px rgba(0,0,0,.45); position: relative; }
.mk.me { background: var(--cobalt); }
.mk.me::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--cobalt); animation: ring2 2s ease-out infinite; }
.mk.jaeger { background: var(--signal); }
.mk.spieler { background: var(--team); }
.mk.leitung { background: var(--cobalt); }
.mk.off { opacity: .45; }
.png { width: 100%; height: 100%; position: relative; }
.png .core { position: absolute; inset: 10px; border-radius: 50%; background: var(--signal); border: 2px solid var(--surface); }
.png .w { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; }
.png.new .w { animation: ring2 1.8s ease-out 3; }
.png.new .w2 { animation-delay: .6s; }
.png.new .w3 { animation-delay: 1.2s; }
.png.old { opacity: .5; }
.png.old .core { background: transparent; border: 2px dashed var(--signal); }
.png.zone .core { background: var(--hazard); }
.png.zone .w { border-color: var(--hazard); }
.png.fake .core { box-shadow: 0 0 0 3px var(--violet); }
.revealmk { width: 100%; height: 100%; display: grid; place-items: center; }
.revealmk span { width: 16px; height: 16px; background: var(--signal); transform: rotate(45deg); border: 2px solid var(--surface); box-shadow: 0 0 0 0 var(--signal-soft); animation: armed 1.4s infinite; }
.cpmk { width: 100%; height: 100%; display: grid; place-items: center; color: var(--hazard); }
.cpmk.done { color: var(--muted); }
.mlabel { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-radius: 4px !important; font-size: 12px !important; font-weight: 700; padding: 1px 6px !important; box-shadow: 0 1px 4px rgba(0,0,0,.2) !important; font-family: "Archivo", system-ui, sans-serif; }
.mlabel::before { display: none !important; }
.leaflet-container { font-family: inherit; background: var(--bg) !important; }
.leaflet-control-attribution { font-size: 10px !important; background: var(--surface) !important; color: var(--muted) !important; opacity: .8; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.zone-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wordmark, .lede, .formarea { opacity: 1; transform: none; }
  .topo path { stroke-dashoffset: 0; }
}
