:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #16171a;
  --ink-2: #43464e;
  --muted: #6b6f78;
  --line: #e3e1dc;
  --accent: #b3261e;
  --accent-soft: #fbeceb;
  --amber: #8a5a00;
  --amber-soft: #fdf2dc;
  --amber-line: #e9c77d;
  --green: #1f6b4a;
  --green-soft: #e3f3ea;
  --blue: #23508f;
  --blue-soft: #e6eef9;
  --grey-soft: #eeede9;
  --alert-bg: #a8221b;
  --alert-ink: #ffffff;
  --help-bg: #16171a;
  --help-ink: #f1f0ec;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 2px 10px rgba(0,0,0,.05);
  --radius: 10px;
  --map-land: #ecebe6; --map-line: #ffffff; --map-heat-1: #f6dcd8; --map-heat-2: #efc0b9; --map-heat-3: #e6a197;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --surface: #1a1b1e; --ink: #eceae6; --ink-2: #c3c1bc; --muted: #8e9099; --line: #2b2d31;
    --accent: #ef6a5f; --accent-soft: #3a1d1b; --amber: #f0b54a; --amber-soft: #2e2512; --amber-line: #5c4818;
    --green: #5cc994; --green-soft: #17311f; --blue: #86adeb; --blue-soft: #1a2638; --grey-soft: #25262a;
    --alert-bg: #8c1d17; --alert-ink: #ffffff; --help-bg: #000; --help-ink: #eceae6; --shadow: none;
    --map-land: #26282d; --map-line: #1a1b1e; --map-heat-1: #3d2523; --map-heat-2: #55302c; --map-heat-3: #6e3a34;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --surface: #1a1b1e; --ink: #eceae6; --ink-2: #c3c1bc; --muted: #8e9099; --line: #2b2d31;
  --accent: #ef6a5f; --accent-soft: #3a1d1b; --amber: #f0b54a; --amber-soft: #2e2512; --amber-line: #5c4818;
  --green: #5cc994; --green-soft: #17311f; --blue: #86adeb; --blue-soft: #1a2638; --grey-soft: #25262a;
  --alert-bg: #8c1d17; --alert-ink: #ffffff; --help-bg: #000; --help-ink: #eceae6; --shadow: none;
  --map-land: #26282d; --map-line: #1a1b1e; --map-heat-1: #3d2523; --map-heat-2: #55302c; --map-heat-3: #6e3a34;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 30; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }

/* ---------- Pasek telefonów ---------- */
.helpbar { background: var(--help-bg); color: var(--help-ink); font-size: 12.5px; }
.helpbar__inner { display: flex; gap: 4px 22px; padding-top: 6px; padding-bottom: 6px; justify-content: flex-end; }
.helpbar a { color: rgba(255,255,255,.7); text-decoration: none; white-space: nowrap; }
.helpbar a b { color: #fff; margin-left: 3px; }

/* ---------- Nagłówek ---------- */
.masthead { background: var(--surface); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__mark { width: 10px; height: 28px; background: var(--accent); border-radius: 2px; flex: none; }
.brand__name { font: 700 22px/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand__tld { color: var(--muted); font-weight: 600; }
.live { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.live__label { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179,38,30,.45); } 70% { box-shadow: 0 0 0 7px rgba(179,38,30,0); } 100% { box-shadow: 0 0 0 0 rgba(179,38,30,0); } }

/* ---------- Pasek „Na bieżąco” ---------- */
.ticker { background: var(--ink); color: var(--bg); position: sticky; top: 0; z-index: 15; }
.ticker__inner { display: flex; align-items: stretch; gap: 0; padding-left: 0; padding-right: 0; }
.ticker__label { flex: none; display: flex; align-items: center; padding: 0 14px 0 max(16px, env(safe-area-inset-left)); background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 10px 0; font-size: 14.5px; line-height: 20px; font-weight: 500; animation: ticker var(--ticker-dur, 60s) linear infinite; }
.ticker__track li { white-space: nowrap; padding: 0 22px; position: relative; }
.ticker__track li + li::before { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (min-width: 1181px) { .ticker__label { border-radius: 0; } }

@media (prefers-reduced-motion: reduce) {
  .live__dot, .alert__pulse, .skel { animation: none !important; }
  .ticker__viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .ticker__track { animation: none; }
  .dot__pulse { animation: none; opacity: .25; transform: scale(1.8); }
  .ticker__track li[aria-hidden] { display: none; }
}

/* ---------- ALERT ---------- */
.alert-wrap { margin: 18px 0 0; }
.alert-wrap:empty { display: none; }
.alert { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; border-radius: var(--radius); padding: 14px 18px; }
.alert--pilne { background: var(--alert-bg); color: var(--alert-ink); }
.alert--wazne { background: var(--amber-soft); color: var(--ink); border-left: 5px solid var(--amber); }
.alert__label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; flex: none; }
.alert__label > span:nth-child(2) { display: flex; align-items: center; }
.alert--wazne .alert__label { color: var(--amber); }
.alert__pulse { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.alert__meta { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .85; }
.alert__body { flex: 1; min-width: 240px; }
.alert__title { font: 700 19px/1.25 var(--serif); margin: 0; text-wrap: balance; }
.alert__text { margin: 3px 0 0; font-size: 14.5px; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alert__btn { flex: none; min-height: 38px; padding: 8px 16px; border-radius: 999px; border: 0; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--alert-ink); color: var(--alert-bg); }
.alert--wazne .alert__btn { background: var(--ink); color: var(--bg); }

/* ---------- Nagłówek sytuacji ---------- */
.intro { padding: 26px 0 18px; }
.intro__kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 6px; }
.intro__headline { font: 700 clamp(24px, 3.4vw, 36px)/1.15 var(--serif); letter-spacing: -.015em; margin: 0; max-width: 28ch; text-wrap: balance; }

/* ---------- Mapa zdarzeń + incydenty ---------- */
.mapsec { margin: 0 0 30px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mapsec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
.mapsec__head .label { margin: 0; color: var(--ink); }
.mapsec__note { font-size: 12.5px; color: var(--muted); }
.mapsec__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.map { position: relative; }
.map__svg { display: block; width: 100%; height: auto; max-height: 520px; overflow: visible; }
.map__woj path { fill: var(--map-land); stroke: var(--map-line); stroke-width: 2; stroke-linejoin: round; transition: fill .2s; }
.map__woj path.has-1 { fill: var(--map-heat-1); }
.map__woj path.has-2 { fill: var(--map-heat-2); }
.map__woj path.has-3 { fill: var(--map-heat-3); }

.dot { cursor: pointer; outline: none; --c: #7a7d85; }
.dot--atak { --c: #d93a2f; }
.dot--grozba { --c: #e39b1b; }
.dot--zatrzymanie { --c: #2f6fd0; }
.dot--ewakuacja { --c: #8a4fd0; }
.dot__c { fill: var(--c); stroke: var(--surface); stroke-width: 3; transition: transform .15s; }
.dot:hover .dot__c, .dot:focus-visible .dot__c { transform: scale(1.25); }
.dot.is-active .dot__c { stroke: var(--ink); stroke-width: 4; transform: scale(1.3); }
.dot__pulse { fill: var(--c); opacity: .5; transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .55; } to { transform: scale(3); opacity: 0; } }

.map__tip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 12px)); max-width: 240px; padding: 8px 11px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 13px; line-height: 1.35; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.map__tip strong { display: block; font-weight: 600; }
.map__tip span { display: block; opacity: .75; font-size: 12px; margin-top: 2px; }
.map__tip span:empty { display: none; }

.map__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.map__legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 50%; background: #7a7d85; }
.lg--atak { background: #d93a2f; }
.lg--grozba { background: #e39b1b; }
.lg--zatrzymanie { background: #2f6fd0; }
.lg--ewakuacja { background: #8a4fd0; }
.lg--fresh { background: transparent; box-shadow: 0 0 0 2px var(--muted); }

.incwrap { min-width: 0; }
.incidents { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 8px; max-height: 470px; overflow-y: auto; scrollbar-width: thin; }
.incidents > li { flex: none; }
.inc { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; text-align: left; padding: 10px 12px 10px 16px; background: var(--bg); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: border-color .15s; }
.inc:hover { border-color: var(--line); }
.inc.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.inc::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--sev, var(--line)); }
.inc--s5, .inc--s4 { --sev: var(--accent); }
.inc--s3 { --sev: var(--amber); }
.inc--false { --sev: var(--green); }
.inc__top { display: flex; gap: 6px; align-items: center; }
.inc__type { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 10.5px; color: var(--ink-2); }
.inc__title { font: 600 15px/1.3 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inc__where { font-size: 12px; color: var(--muted); margin-top: auto; }

/* ---------- Filtry ---------- */
.filters { position: sticky; top: 40px; z-index: 10; background: var(--bg); padding: 8px 0 12px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 34px; border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--muted); font-weight: 500; }
.tabs button:hover { color: var(--ink); background: var(--grey-soft); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.activefilter { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--blue-soft); color: var(--blue); border-radius: 8px; padding: 6px 6px 6px 12px; font-size: 14px; font-weight: 500; }
.activefilter span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activefilter button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- Wiadomości (siatka ze zdjęciami) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.card article { display: flex; flex-direction: column; height: 100%; }
.card__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ph, linear-gradient(135deg, #3b3f47, #1d1f24)); margin-bottom: 12px; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__ph { position: absolute; left: 14px; bottom: 12px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.card__ph::before { content: ""; display: block; width: 26px; height: 3px; background: currentColor; margin-bottom: 8px; border-radius: 2px; }
.card__img--incydent { --ph: linear-gradient(135deg, #8c2a24, #3d1412); }
.card__img--grozba { --ph: linear-gradient(135deg, #8a5a00, #3a2603); }
.card__img--dzialania_sluzb, .card__img--komunikat { --ph: linear-gradient(135deg, #2c5a9a, #142640); }
.card__img--dezinformacja { --ph: linear-gradient(135deg, #2a7556, #0f2e21); }
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.card__title { font: 600 18px/1.28 var(--serif); margin: 0 0 6px; letter-spacing: -.005em; text-wrap: pretty; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card__summary { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__others { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.card__others a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.card__others a:hover { text-decoration: underline; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted); }
.card__src { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__inc { flex: none; border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.card__inc:hover { text-decoration: underline; }

/* Główna wiadomość: duże zdjęcie obok tekstu */
.card--lead { grid-column: 1 / -1; }
.card--lead article { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.card--lead .card__img { margin: 0; }
.card--lead .card__title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.015em; }
.card--lead .card__summary { font-size: 16px; -webkit-line-clamp: 3; }
.card--lead .card__foot { margin-top: 14px; justify-content: flex-start; gap: 16px; }

.badge { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; white-space: nowrap; line-height: 1.3; }
.badge--potwierdzone { background: var(--ink); color: var(--bg); }
.badge--niepotwierdzone { background: var(--amber-soft); color: var(--amber); }
.badge--falszywy_alarm, .badge--zdementowane { background: var(--green-soft); color: var(--green); }

.cat { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; color: var(--ink-2); }
.cat--incydent { color: var(--accent); }
.cat--grozba { color: var(--amber); }
.cat--dzialania_sluzb, .cat--komunikat { color: var(--blue); }
.cat--dezinformacja { color: var(--green); }

.more { display: block; margin: 36px auto 0; min-height: 44px; padding: 10px 26px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; cursor: pointer; font-weight: 600; }
.more:hover { border-color: var(--ink-2); }
.more:disabled { opacity: .6; cursor: progress; }
.empty { color: var(--muted); padding: 24px 0; }
.feed { padding-bottom: 48px; }

/* ---------- Stopka ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-2); }
.footer__tips { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.footer__tips strong { color: var(--ink); }
.footer__tips ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer__tips li::before { content: "→ "; color: var(--accent); }
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " +"; color: var(--muted); }
.faq[open] summary::after { content: " –"; }
.faq dl { margin: 0 0 8px; max-width: 80ch; }
.faq dt { font-weight: 600; color: var(--ink); margin-top: 12px; }
.faq dd { margin: 3px 0 0; line-height: 1.6; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13px; }
.footer__links a { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px 40px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 60px; }
.contact h2 { font: 700 21px/1.2 var(--serif); color: var(--ink); margin: 0 0 8px; }
.contact__intro p { margin: 0 0 10px; max-width: 46ch; }
.contact__warn { font-size: 13.5px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); }
.contact__form { display: grid; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 400; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px var(--grey-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.contact__btn { min-height: 44px; padding: 10px 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; cursor: pointer; }
.contact__btn:hover { filter: brightness(1.15); }
.contact__btn:disabled { opacity: .6; cursor: progress; }
.contact__status { margin: 0; font-size: 14px; font-weight: 600; }
.contact__status[data-kind="ok"] { color: var(--green); }
.contact__status[data-kind="err"] { color: var(--accent); }
.contact__privacy { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .contact, .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Pływający przycisk nowych wiadomości ---------- */
.newpill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 20; border: 0; border-radius: 999px; padding: 11px 18px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; white-space: nowrap; }

/* ---------- Szkielet ładowania ---------- */
.skel { height: 14px; background: var(--grey-soft); border-radius: 4px; margin: 8px 0; animation: sk 1.4s ease-in-out infinite; }
.skel--img { height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); }
@keyframes sk { 50% { opacity: .5; } }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .mapsec__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .map__svg { max-height: 440px; }
  .incidents { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: visible; margin: 0 -18px; padding: 0 18px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .incidents::-webkit-scrollbar { display: none; }
  .incidents > li { flex: 0 0 240px; scroll-snap-align: start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--lead article { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  .helpbar__inner { justify-content: space-between; gap: 0 12px; }
  .masthead__inner { padding-top: 11px; padding-bottom: 11px; }
  .brand__name { font-size: 19px; }
  .brand__mark { height: 24px; width: 8px; }
  .ticker__label { padding: 0 10px 0 16px; font-size: 10.5px; }
  .ticker__track { font-size: 13.5px; padding: 9px 0; }
  .filters { top: 38px; }
  .intro { padding: 20px 0 14px; }
  .mapsec { margin: 0 -16px 24px; padding: 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .incidents { margin: 0 -16px; padding: 0 16px 4px; }
  .alert { padding: 12px 14px; }
  .alert__btn { width: 100%; }

  /* Lista: miniatura po prawej, główna wiadomość na całą szerokość */
  .cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .card { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .card:not(.card--lead) article { display: grid; grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "body img"; gap: 12px; }
  .card:not(.card--lead) .card__img { grid-area: img; margin: 0; aspect-ratio: 1; border-radius: 8px; }
  .card:not(.card--lead) .card__ph { display: none; }
  .card:not(.card--lead) .card__body { grid-area: body; }
  .card__title { font-size: 16.5px; }
  .card:not(.card--lead) .card__summary { display: none; }
  .card__foot { padding-top: 6px; }
  .card--lead { padding-top: 0; }
  .card--lead .card__img { margin: 0 -16px; border-radius: 0; }
}
