/* רדאר: חדר מצב טכנולוגי. כהה, זוהר זרחני, מספרים במונו. */
:root {
  --bg: #04080d;
  --bg-2: #08111b;
  --panel: rgba(12, 22, 34, .72);
  --edge: rgba(110, 200, 255, .13);
  --edge-2: rgba(110, 200, 255, .26);
  --text: #e8f0f7;
  --muted: #8ba2b8;
  --dim: #5f7891;
  --brand: #35f0b0;
  --brand-2: #4ea8ff;
  --l1: #2fbf71; --l2: #3fa7d6; --l3: #e8c547; --l4: #f08a24; --l5: #ff3b3b;
  --lv: var(--l1);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--text); font: 400 16px/1.55 Heebo, system-ui, sans-serif;
  background:
    radial-gradient(900px 600px at 75% -10%, color-mix(in srgb, var(--lv) 16%, transparent), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(78, 168, 255, .08), transparent 70%),
    linear-gradient(rgba(110, 200, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(110, 200, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  background-attachment: fixed;
  transition: --lv .6s;
}
a { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; top: -60px; right: 12px; background: var(--brand); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 3000; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--dim); margin: 10px 0 0; }

/* כותרת */
.top {
  position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 20px;
  padding: 12px max(20px, calc((100vw - 1280px) / 2)); padding-top: calc(12px + env(safe-area-inset-top));
  background: rgba(4, 8, 13, .8); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--edge);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 24px; font-weight: 900; letter-spacing: .02em; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-txt small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.logo { width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(53, 240, 176, .45)); }
.logo.big { width: 72px; height: 72px; }
.lg-ring { fill: none; stroke: rgba(53, 240, 176, .55); stroke-width: 1.2; }
.lg-sweep { fill: rgba(53, 240, 176, .35); transform-origin: 20px 20px; animation: spin 4s linear infinite; }
.lg-blip { fill: #ff4d4d; animation: blink 2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--muted); padding: 6px 12px; border: 1px solid var(--edge); border-radius: 99px; background: rgba(255, 255, 255, .02); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live.ok i { background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: blink 2s infinite; }
.live.bad i { background: var(--l4); }
.top-nav { margin-inline-start: auto; display: flex; gap: 4px; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }

.official {
  display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center;
  padding: 9px 20px; font-size: 14px; color: #c9d6e2; background: rgba(78, 168, 255, .07); border-bottom: 1px solid var(--edge);
}
.official a { font-weight: 700; color: var(--brand-2); text-decoration: none; white-space: nowrap; }

.alert-banner {
  position: sticky; top: var(--top-h, 67px); z-index: 900; padding: 16px max(20px, calc((100vw - 1280px) / 2));
  background: linear-gradient(90deg, #7a0d0d, #b31414, #7a0d0d); background-size: 200% 100%; animation: alarm 2.5s linear infinite;
  border-bottom: 1px solid #ff6b6b; box-shadow: 0 10px 40px rgba(255, 30, 30, .35);
}
@keyframes alarm { to { background-position: -200% 0; } }
.ab-title { font-size: 22px; font-weight: 900; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ab-title .when { font: 500 13px var(--mono); opacity: .8; }
.ab-zones { margin: 4px 0; font-size: 15px; }
.ab-do { font-weight: 700; font-size: 15px; background: rgba(0, 0, 0, .25); display: inline-block; padding: 4px 10px; border-radius: 8px; margin-top: 4px; }
.ab-do a { color: #fff; }

main { max-width: 1280px; margin: 0 auto; padding: 28px 20px 40px; display: flex; flex-direction: column; gap: 20px; }
main > * { animation: rise .7s var(--ease) both; }
main > *:nth-child(2) { animation-delay: .08s; } main > *:nth-child(3) { animation-delay: .14s; } main > *:nth-child(4) { animation-delay: .2s; }
main > *:nth-child(5) { animation-delay: .26s; } main > *:nth-child(6) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.card, .hero, .kpi {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--panel);
  border: 1px solid var(--edge); border-radius: var(--r); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.card { padding: 20px 22px; min-width: 0; }
.card h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; letter-spacing: .01em; }
.card h2 .ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: rgba(53, 240, 176, .08); border: 1px solid rgba(53, 240, 176, .2); font-size: 14px; }
.row.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 28px; padding: 30px 34px; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lv), transparent); opacity: .8; }
.overline { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.overline .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 10px var(--lv); }
.overline .sep { color: var(--dim); }
#updated { font-family: var(--mono); }
.hero h1 { margin: 10px 0 6px; display: flex; align-items: baseline; gap: 18px; line-height: 1; }
.lv-num { font: 700 96px/0.9 var(--mono); color: var(--lv); text-shadow: 0 0 40px color-mix(in srgb, var(--lv) 55%, transparent); }
.lv-label { font-size: 54px; font-weight: 900; letter-spacing: -.01em; color: var(--lv); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-width: 420px; margin: 12px 0 20px; }
.scale span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .07); position: relative; }
.scale span.on { box-shadow: 0 0 12px currentColor; }
.scale em { position: absolute; top: 11px; inset-inline-start: 0; font: 500 11px var(--mono); color: var(--dim); font-style: normal; white-space: nowrap; }
.headline { font-size: 25px; font-weight: 800; line-height: 1.35; margin: 26px 0 14px; text-wrap: balance; }
.bottom-line { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 12px; border-inline-start: 3px solid var(--lv); background: color-mix(in srgb, var(--lv) 8%, rgba(255, 255, 255, .02)); font-size: 17px; }
.bottom-line b { font-size: 13px; color: var(--lv); letter-spacing: .03em; }
.reasons { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reasons li { font-size: 13.5px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid var(--edge); color: #c4d3e1; }
.ai-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; padding: 10px 14px; border: 1px dashed var(--edge-2); border-radius: 10px; }

.radar-wrap { position: relative; }
.radar { width: 100%; height: auto; display: block; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(53, 240, 176, .16); stroke-width: 1; }
.radar .ring.outer { stroke: rgba(53, 240, 176, .35); stroke-width: 1.5; }
.radar .axis { stroke: rgba(53, 240, 176, .1); stroke-width: 1; }
.radar .tick { stroke: rgba(53, 240, 176, .35); stroke-width: 1; }
.radar .compass { font: 700 13px var(--mono); fill: rgba(53, 240, 176, .55); }
.radar .sweep { transform-origin: 250px 250px; animation: spin 6s linear infinite; }
.radar .blip-label { font: 700 13px Heebo, sans-serif; fill: #d9e6f2; paint-order: stroke; stroke: #04080d; stroke-width: 4px; }
.radar .blip-lv { font: 700 11px var(--mono); }
.radar .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.radar .center-n { font: 700 64px var(--mono); }
.radar .center-l { font: 800 15px Heebo, sans-serif; fill: #c4d3e1; }
.radar-legend { text-align: center; font-size: 12.5px; color: var(--dim); margin-top: 4px; }

/* מדדים */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kpi { padding: 18px 20px 14px; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; inset-inline-end: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--kc) 22%, transparent), transparent 70%); pointer-events: none; }
.kpi-label { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.kpi-val { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 2px; }
.kpi-val b { font: 700 44px/1 var(--mono); color: var(--kc); letter-spacing: -.02em; }
.kpi-val small { color: var(--muted); font-size: 14px; }
.kpi-note { font-size: 13px; color: #a9bbcc; min-height: 20px; }
.kpi svg { display: block; width: 100%; height: 40px; margin-top: 10px; }
.kpi .meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); margin-top: 14px; overflow: hidden; }
.kpi .meter i { display: block; height: 100%; border-radius: 3px; background: var(--kc); transition: width .8s var(--ease); }

/* איראן */
.iran-top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.gauge { width: 190px; flex: none; }
.gauge svg { width: 100%; display: block; }
.gauge .g-val { font: 800 19px Heebo, sans-serif; }
.gauge .g-sub { font: 500 11.5px Heebo, sans-serif; fill: var(--muted); }
.iran-bl { flex: 1; min-width: 220px; font-size: 16.5px; }
.iran-bl .trend { display: inline-block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--edge); }
.sig { display: flex; gap: 9px; align-items: center; font-size: 14px; color: #c4d3e1; }
.sig i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .12); }
.sig.present i { background: var(--l5); box-shadow: 0 0 10px var(--l5); }
.sig.partial i { background: var(--l3); box-shadow: 0 0 8px var(--l3); }
.sig.absent i { background: var(--l1); opacity: .6; }
.sig-legend { display: flex; gap: 14px; font-size: 12px; color: var(--dim); margin-top: 10px; flex-wrap: wrap; }
.sig-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 5px; }
.empty { color: var(--muted); padding: 10px 0; }

/* ישוב */
.town-form { display: flex; gap: 8px; }
.town-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: rgba(0, 0, 0, .3); border: 1px solid var(--edge-2); border-radius: 12px; padding: 12px 14px; }
.town-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53, 240, 176, .15); }
.town-form button, .modal button { font: inherit; font-weight: 800; color: #04120c; background: linear-gradient(135deg, var(--brand), #2bd4c8); border: 0; border-radius: 12px; padding: 0 20px; cursor: pointer; }
.town-body { margin-top: 16px; }
.town-res { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.shelter { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(53, 240, 176, .1), transparent 70%); border: 2px solid rgba(53, 240, 176, .4); box-shadow: 0 0 30px rgba(53, 240, 176, .15), inset 0 0 20px rgba(53, 240, 176, .08); }
.shelter b { display: block; font: 700 40px/1 var(--mono); color: var(--brand); }
.shelter small { font-size: 12px; color: var(--muted); }
.town-name { font-size: 22px; font-weight: 800; margin: 0; }
.town-zone { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.town-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.town-stats div { font-size: 13px; color: var(--muted); }
.town-stats b { display: block; font: 700 22px var(--mono); color: var(--text); }

/* זירות */
.arenas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.arena { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--edge); position: relative; overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.arena::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--ac); box-shadow: 0 0 12px var(--ac); }
.arena-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.arena-h b { font-size: 15px; }
.arena-lv { font: 700 12px var(--mono); color: var(--ac); padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--ac) 14%, transparent); white-space: nowrap; }
.arena-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 10px 0 8px; }
.arena-bar i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .07); }
.arena p { margin: 0; font-size: 13.5px; color: #b5c5d4; line-height: 1.5; }
.arena .tr { font-size: 12px; color: var(--dim); margin-top: 6px; }

/* מגמות */
.month-top { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 16px; }
.month-top div { font-size: 13px; color: var(--muted); }
.month-top b { display: block; font: 700 38px/1.05 var(--mono); color: var(--text); }
.bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; align-items: end; height: 120px; direction: ltr; margin-bottom: 22px; }
.bars div { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bars i { display: block; min-height: 4px; border-radius: 3px 3px 1px 1px; background: rgba(47, 191, 113, .3); }
.bars .hit i { background: linear-gradient(#ff6b6b, #b31414); box-shadow: 0 0 10px rgba(255, 59, 59, .35); }
.bars em { position: absolute; bottom: -19px; left: 50%; transform: translateX(-50%); font: 500 10px var(--mono); color: var(--dim); font-style: normal; white-space: nowrap; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: -4px 0 8px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-inline-end: 6px; vertical-align: middle; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ax { font: 500 11px var(--mono); fill: var(--dim); }
.chart .grid-l { stroke: rgba(255, 255, 255, .05); }
.chart .lbl { font: 500 12px Heebo, sans-serif; fill: var(--muted); }

/* ציר וחדשות */
.tl { list-style: none; margin: 0; padding: 0; max-height: 440px; overflow: auto; }
.tl li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 14.5px; }
.tl time { font: 500 12px var(--mono); color: var(--dim); padding-top: 2px; }
.tl .k { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; margin-inline-end: 6px; }
.tl .k.alert { background: rgba(255, 59, 59, .15); color: #ff8080; }
.tl .k.assessment { background: rgba(78, 168, 255, .14); color: #8cc6ff; }
.tl .c { color: var(--muted); font-size: 13px; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { border-bottom: 1px solid rgba(255, 255, 255, .05); }
.news a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 0; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.45; }
.news .s { font-size: 12px; color: var(--dim); grid-column: 1; }
.news time { font: 500 12px var(--mono); color: var(--dim); grid-row: 1; grid-column: 2; }

/* דופק המדינה */
.top.has-pulse { display: block; padding: 0; }
.has-pulse .top-in { display: flex; align-items: center; gap: 20px; padding: 12px max(20px, calc((100vw - 1280px) / 2)) 10px; padding-top: calc(12px + env(safe-area-inset-top)); }
.pulse-strip { position: relative; height: 34px; border-top: 1px solid var(--edge); background: linear-gradient(rgba(53, 240, 176, .04) 1px, transparent 1px) 0 0 / 100% 8.5px, rgba(2, 6, 10, .6); overflow: hidden; }
.pulse-strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pulse-lbl { position: absolute; inset-block: 0; inset-inline-start: 0; display: flex; align-items: center; gap: 7px; padding-inline: max(20px, calc((100vw - 1280px) / 2)) 40px; font-size: 13px; color: var(--muted); background: linear-gradient(to left, rgba(4, 8, 13, .95) 65%, transparent); z-index: 1; }
.pulse-lbl b { font: 700 16px var(--mono); color: var(--lv); min-width: 30px; text-align: center; }
.pulse-lbl em { font-style: normal; font-weight: 700; color: var(--lv); }
.heart { color: var(--lv); display: inline-block; animation: beat 1s ease-in-out infinite; text-shadow: 0 0 10px var(--lv); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }

/* כפתורי פעולה */
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.act { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--text); text-decoration: none; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--edge-2); background: rgba(255, 255, 255, .04); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.act:active { transform: scale(.97); }
.act.primary { color: #04120c; background: linear-gradient(135deg, var(--brand), #2bd4c8); border: 0; }
.act.on { border-color: var(--brand); color: var(--brand); }
.link { background: none !important; color: var(--muted) !important; font-weight: 500 !important; padding: 10px !important; margin-top: 4px; }

/* עדכונים חיים בהסלמה */
.live-updates { padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255, 59, 59, .4); background: linear-gradient(90deg, rgba(255, 59, 59, .1), rgba(255, 59, 59, .03)); }
.live-updates h2 { margin: 0 0 10px; font-size: 17px; display: flex; align-items: center; gap: 10px; color: #ff8080; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 12px #ff3b3b; animation: blink 1.4s infinite; }
.live-updates ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.live-updates li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.live-updates time { font: 700 13px var(--mono); color: #ff8080; padding-top: 2px; }
.live-updates a { color: var(--text); text-decoration: none; display: flex; flex-direction: column; }
.live-updates a span, .live-updates div span { font-size: 14px; color: #c4d3e1; }
.live-updates li > div { display: flex; flex-direction: column; }

/* מה השתנה מאז הביקור */
.since { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(53, 240, 176, .3); background: linear-gradient(90deg, rgba(53, 240, 176, .1), rgba(78, 168, 255, .05)); }
.since .s-ic { font-size: 22px; }
.since .s-t { flex: 1; } .since b { color: var(--brand); }
.since ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; color: #c9d6e2; }
.since .x { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* מפה */
.row.mapgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "iran map" "town map"; gap: 20px; }
.mapgrid .iran { grid-area: iran; } .mapgrid .town { grid-area: town; } .map-card { grid-area: map; display: flex; flex-direction: column; }
.map-wrap { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; }
.map { width: 100%; max-height: 640px; height: auto; display: block; }
.map .base { fill: rgba(53, 240, 176, .22); }
.map .city-l { font: 700 14px Heebo, sans-serif; fill: #8ba2b8; paint-order: stroke; stroke: #070d14; stroke-width: 4px; }
.map .city-d { fill: #c4d3e1; }
.map .hitp { transition: opacity .3s; }
.map .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.6s ease-out infinite; }
.map-day { position: absolute; top: 4px; inset-inline-end: 4px; font: 700 13px var(--mono); color: var(--muted); background: rgba(4, 8, 13, .7); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--edge); }
.map-day b { color: var(--text); }
.map-ctl { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.play { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--brand); background: rgba(53, 240, 176, .1); color: var(--brand); font-size: 14px; cursor: pointer; }
.map-ctl input { flex: 1; accent-color: var(--brand); }
.map-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 8px; }
.map-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 5px; }

/* שיתוף */
.share-box { max-width: 420px; }
.share-box img { width: 100%; border-radius: 12px; border: 1px solid var(--edge); margin: 6px 0 14px; display: block; }
.share-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-acts .act { justify-content: center; }

/* תחתית */
.foot { max-width: 1280px; margin: 0 auto; padding: 30px 20px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--edge); color: var(--muted); font-size: 13.5px; }
.foot-brand { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.foot-brand b { font-size: 20px; font-weight: 900; color: var(--text); }
.foot p { max-width: 760px; margin: 0 0 14px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: #b5c5d4; }

/* חלון פתיחה */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(2, 5, 9, .75); backdrop-filter: blur(6px); }
.modal-box { max-width: 460px; width: 100%; text-align: center; padding: 30px 28px 22px; border-radius: 20px; background: #0b1520; border: 1px solid var(--edge-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(53, 240, 176, .08); animation: rise .5s var(--ease); }
.modal-box h2 { margin: 12px 0 6px; font-size: 24px; font-weight: 900; }
.modal-box p { color: #c4d3e1; margin: 0 0 12px; }
.modal-box ul { text-align: start; padding-inline-start: 20px; margin: 0 0 20px; color: #c4d3e1; font-size: 14.5px; display: flex; flex-direction: column; gap: 8px; }
.modal button { width: 100%; padding: 14px; font-size: 16px; }
.modal .fine { display: inline-block; }

/* כתבות */
.a-cat { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--brand); background: rgba(53, 240, 176, .1); border: 1px solid rgba(53, 240, 176, .25); padding: 3px 10px; border-radius: 99px; text-decoration: none; }
.doc.article, .doc.town-page { gap: 4px; } .doc > .a-cat { align-self: flex-start; }
.article h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 14px 0 10px; text-wrap: balance; }
.a-sub { font-size: 20px !important; color: #dbe6f0 !important; line-height: 1.5; margin: 0 0 10px; }
.ai-tag { color: var(--brand-2); }
.a-points { padding: 16px 20px; border-radius: 14px; background: rgba(53, 240, 176, .06); border: 1px solid rgba(53, 240, 176, .2); margin: 10px 0 24px; }
.a-points b, .a-sources b { color: var(--brand); font-size: 14px; letter-spacing: .03em; }
.a-points ul { margin: 8px 0 0; padding-inline-start: 20px; }
.article > p { font-size: 17.5px !important; line-height: 1.8; }
.article h2 { color: var(--text) !important; font-size: 23px !important; margin: 32px 0 6px !important; }
.a-sources { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--edge); }
.a-sources li { font-size: 14px !important; }
.a-note { font-size: 13.5px !important; color: var(--muted) !important; padding: 14px 16px; border: 1px dashed var(--edge-2); border-radius: 12px; margin-top: 24px; }
.a-share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.a-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--edge); border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.chip.on { color: #04120c; background: var(--brand); border-color: var(--brand); }
.a-list { display: grid; gap: 14px; }
.a-card { display: block; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.a-card h2 { color: var(--text) !important; font-size: 21px !important; margin: 10px 0 6px !important; line-height: 1.35; }
.a-card p { margin: 0 0 10px; font-size: 15px !important; color: #b5c5d4 !important; }
.a-meta { font-size: 12.5px; color: var(--dim); }
.home-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-articles .a-card { background: rgba(255, 255, 255, .025); }
.home-articles .a-card h2 { font-size: 18px !important; }
.more-link { font-size: 14px; font-weight: 700; text-decoration: none; margin-inline-start: auto; }

/* כתבו לנו */
.contact-form { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.contact-form label { font-weight: 700; font-size: 14px; margin-top: 10px; }
.contact-form label small { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; font-size: 16px; color: var(--text); background: rgba(0, 0, 0, .3); border: 1px solid var(--edge-2); border-radius: 12px; padding: 11px 13px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53, 240, 176, .15); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form button { align-self: flex-start; margin-top: 14px; padding: 12px 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .cf-row { grid-template-columns: 1fr; } }

/* אזעקות היום */
.today-page h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 4px 0 14px; }
.answer { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--edge-2); background: rgba(255, 255, 255, .03); margin-bottom: 10px; }
.answer b { font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.answer span { font-size: 17px; color: #c9d6e2; }
.answer.no { border-color: rgba(47, 191, 113, .45); background: rgba(47, 191, 113, .07); } .answer.no b { color: var(--l1); }
.answer.yes { border-color: rgba(255, 59, 59, .45); background: rgba(255, 59, 59, .07); } .answer.yes b { color: #ff6b6b; }
.ztable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ztable th, .ztable td { text-align: start; padding: 9px 8px; border-bottom: 1px solid var(--edge); }
.ztable th { color: var(--muted); font-weight: 700; font-size: 13px; }
.ztable td.n { font-family: var(--mono); }
.wave { padding: 12px 0; border-bottom: 1px solid var(--edge); }
.wave-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.wave-h time { font: 700 14px var(--mono); color: #ff8080; }
.wave-h b { font-size: 16px; }
.wave-h span { color: var(--muted); font-size: 14px; }
.wave details { margin-top: 4px; color: #c4d3e1; font-size: 14px; }
.wave summary { cursor: pointer; color: var(--brand-2); font-size: 13.5px; }
.flash-list { list-style: none; padding: 0; margin: 0; }
.flash-list li { padding: 10px 0; border-bottom: 1px solid var(--edge); }
.flash-list time { font: 700 13px var(--mono); color: var(--muted); margin-inline-end: 8px; }
.flash-list p { margin: 4px 0 0; font-size: 14.5px !important; }

/* עמודי ישובים */
.town-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin: 18px 0 6px; }
.shelter.big { width: 170px; height: 170px; }
.shelter.big b { font-size: 56px; }
.town-stats.big { display: flex; gap: 28px; flex-wrap: wrap; }
.town-stats.big div { font-size: 14px; color: var(--muted); }
.town-stats.big b { display: block; font: 700 34px var(--mono); color: var(--text); }
.town-now { padding: 14px 18px; border-radius: 12px; border-inline-start: 3px solid var(--lv); background: rgba(255, 255, 255, .03); margin: 8px 0 10px; }
.town-now b { color: var(--lv); margin-inline: 4px; }
.town-now a { margin-inline-start: 8px; font-weight: 700; text-decoration: none; }
.doc h3 { font-size: 17px; margin: 18px 0 2px; color: var(--text); }
.town-links { display: flex; flex-wrap: wrap; gap: 8px; }
.town-links a { font-size: 14px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--edge); color: #c4d3e1; text-decoration: none; background: rgba(255, 255, 255, .02); }
.town-search { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(0, 0, 0, .3); border: 1px solid var(--edge-2); border-radius: 12px; padding: 12px 14px; margin: 4px 0 10px; }
.zone-block h2 { font-size: 18px !important; margin: 24px 0 8px !important; }

/* עמודי מידע */
.code { direction: ltr; text-align: left; white-space: pre-wrap; word-break: break-all; font: 500 13px var(--mono); color: #c4d3e1; background: rgba(0, 0, 0, .35); border: 1px solid var(--edge); border-radius: 10px; padding: 12px 14px; }
.doc { max-width: 820px; margin: 0 auto; padding: 36px 20px 60px; }
.doc h1 { font-size: 34px; font-weight: 900; margin: 0 0 6px; }
.doc .upd { color: var(--dim); font-size: 13px; margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; color: var(--brand); }
.doc p, .doc li { color: #c9d6e2; font-size: 16px; }
.doc .box { padding: 16px 18px; border-radius: 12px; background: rgba(255, 59, 59, .07); border: 1px solid rgba(255, 59, 59, .25); }

@media (max-width: 1100px) {
  .row.mapgrid { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero { grid-template-columns: minmax(0, 1fr) 360px; padding: 26px; }
  .lv-num { font-size: 76px; } .lv-label { font-size: 42px; }
  .arenas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top { gap: 10px; padding-inline: 14px; }
  .has-pulse .top-in { gap: 10px; padding-inline: 14px; } .top.has-pulse { padding: 0; }
  .pulse-strip { height: 28px; } .pulse-lbl { padding-inline: 14px 30px; font-size: 12px; }
  .top-nav { display: none; }
  .live { margin-inline-start: auto; font-size: 11.5px; padding: 5px 10px; }
  .brand-txt b { font-size: 21px; } .logo { width: 36px; height: 36px; }
  .official { font-size: 13px; padding: 8px 14px; gap: 4px 10px; }
  .alert-banner { padding: 14px; } .ab-title { font-size: 19px; }
  main { padding: 16px 12px 30px; gap: 14px; }
  .hero { grid-template-columns: 1fr; padding: 22px 18px; gap: 10px; }
  .radar-wrap { order: -1; max-width: 340px; margin: 0 auto; width: 100%; }
  .hero-text { text-align: center; } .overline, .hero h1 { justify-content: center; } .scale { margin-inline: auto; }
  .reasons { justify-content: center; } .bottom-line { text-align: start; }
  .lv-num { font-size: 64px; } .lv-label { font-size: 38px; }
  .headline { font-size: 20px; margin-top: 22px; }
  .bottom-line { font-size: 15.5px; }
  .row.two { grid-template-columns: 1fr; gap: 14px; }
  .row.mapgrid { grid-template-columns: 1fr; grid-template-areas: "map" "town" "iran"; gap: 14px; }
  .map { max-height: 520px; }
  .actions { justify-content: center; }
  .since { align-items: flex-start; }
  .kpis { gap: 12px; } .kpi { padding: 14px; } .kpi-val b { font-size: 34px; }
  .card { padding: 18px 16px; }
  .arenas { grid-template-columns: 1fr; gap: 10px; }
  .home-articles { grid-template-columns: 1fr; }
  .signals { grid-template-columns: 1fr; }
  .gauge { width: 160px; margin: 0 auto; }
  .bars em { display: none; } .bars { margin-bottom: 4px; height: 100px; }
  .town-res { grid-template-columns: 1fr; justify-items: center; text-align: center; } .town-stats { justify-content: center; }
  body { background-attachment: scroll; }
  .radar .blip-label { font-size: 21px; stroke-width: 5px; } .radar .blip-lv { font-size: 18px; } .radar .compass { font-size: 18px; }
}
@media (max-width: 420px) {
  .brand-txt small { display: none; }
  .overline { flex-wrap: wrap; }
}
/* ---------- הסקר היומי ---------- */
.poll-q { margin: 0 0 14px; font-size: 19px; font-weight: 800; line-height: 1.35; }
.poll-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.poll-btn {
  font: 700 16px Heebo, sans-serif; color: var(--text); text-align: start; padding: 14px 16px; min-height: 52px;
  border: 1px solid var(--edge-2); border-radius: 12px; background: rgba(255, 255, 255, .03); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
}
.poll-btn:active { transform: scale(.97); }
.poll-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.poll-btn:disabled { opacity: .6; cursor: default; }
.poll-res {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--edge); font-weight: 700;
  background: linear-gradient(to left, rgba(53, 240, 176, .16) var(--p), transparent var(--p));
  animation: poll-in .5s var(--ease) both;
}
.poll-opts.done { grid-template-columns: 1fr; gap: 8px; }
.poll-res b { font: 700 15px var(--mono); color: var(--muted); }
.poll-res small { font-size: 12.5px; font-weight: 500; color: var(--brand); margin-inline-start: 6px; }
.poll-res.mine { border-color: rgba(53, 240, 176, .5); }
.poll-res.mine b { color: var(--brand); }
.poll-opts .fine { grid-column: 1 / -1; margin: 2px 0 0; }
.poll-msg { margin: 10px 0 0; min-height: 1em; font-size: 14px; color: var(--brand); }
.poll-msg:empty { display: none; }
.poll-note { margin: 10px 0 0; padding: 10px 14px; border: 1px dashed var(--edge-2); border-radius: 10px; font-size: 14.5px; color: var(--muted); }
#pollPrev { margin: 12px 0 0; }
@keyframes poll-in { from { opacity: 0; transform: translateY(4px); } }
@media (hover: hover) and (pointer: fine) {
  .poll-btn:hover:not(:disabled) { border-color: var(--brand); background: rgba(53, 240, 176, .07); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ---------- מובייל ---------- */
.official .short { display: none; }
/* hover רק עם עכבר אמיתי: במגע הוא "נתקע" אחרי הקשה */
@media (hover: hover) and (pointer: fine) {
  .top-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
  .arena:hover { border-color: var(--edge-2); transform: translateY(-2px); }
  .news a:hover .t { color: var(--brand); }
  .act:hover { background: rgba(255, 255, 255, .08); border-color: var(--brand); }
  .a-card:hover { border-color: var(--brand); transform: translateY(-2px); }
  .town-links a:hover { border-color: var(--brand); color: var(--brand); }
}
/* בלי ההבזק האפור של הדפדפן בהקשה, ובלי הגדלת טקסט אוטומטית בסיבוב */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
/* תגובה מיידית במגע: בלי השהיית ההקשה הכפולה, ותזוזה קטנה ברגע הלחיצה */
button, a, .act, .chip, summary { touch-action: manipulation; }
button, .act, .chip, .tabbar a, .tabbar summary, .play { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.act, .chip, .play, .town-form button, .arena, .a-card, .tabbar a, .tabbar summary { transition: transform .12s cubic-bezier(.2, .8, .2, 1), background .12s; }
.act:active, .chip:active, .play:active, .town-form button:active { transform: scale(.96); }
.arena:active, .a-card:active { transform: scale(.985); }

/* סרגל לשוניות תחתון, כמו באפליקציה (רק בטלפון) */
.tabbar { display: none; }
.install { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 1500; justify-content: space-around; align-items: stretch;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(4, 8, 13, .92); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-top: 1px solid var(--edge); }
  .tabbar a, .tabbar summary { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; list-style: none; cursor: pointer; border-radius: 12px; }
  .tabbar summary::-webkit-details-marker { display: none; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--brand); }
  .tabbar a:active, .tabbar summary:active { transform: scale(.92); background: rgba(255, 255, 255, .04); }
  .tabbar details { flex: 1; display: flex; position: relative; }
  .tabbar details summary { width: 100%; }
  .tabbar details[open] summary { color: var(--brand); }
  .tb-menu { position: absolute; bottom: calc(100% + 10px); inset-inline-end: 6px; min-width: 210px; background: #0b1520; border: 1px solid var(--edge-2); border-radius: 16px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
  .tb-menu a { flex-direction: row; justify-content: flex-start; gap: 12px; font-size: 15px; padding: 12px 12px; color: var(--text); }
  .tb-menu a svg { width: 20px; height: 20px; }
  /* קישורי התחתית כבר בסרגל: לא צריך את כפתור "הישוב שלי" בכותרת */
  .foot { padding-bottom: 24px; }
  /* הצעה להוספה למסך הבית, מעל הסרגל */
  .install { position: fixed; inset-inline: 10px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 1400; display: none; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #0b1520; border: 1px solid rgba(53, 240, 176, .35); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
  .install.show { display: flex; }
  .install img { width: 42px; height: 42px; border-radius: 10px; }
  .install div { flex: 1; font-size: 13.5px; color: #c9d6e2; line-height: 1.4; }
  .install div b { display: block; color: var(--text); font-size: 15px; }
  .install .act { padding: 9px 14px; font-size: 14px; }
  .install .x { background: none; border: 0; color: var(--muted); font-size: 22px; padding: 4px 6px; }

  /* מדדים וזירות: קרוסלה שמחליקים באצבע, במקום רשת צפופה */
  .kpis { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .kpis::-webkit-scrollbar, .arenas::-webkit-scrollbar { display: none; }
  .kpi { scroll-snap-align: start; }
  .arenas { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .arena { scroll-snap-align: start; }
  /* בכותרת הראשית בטלפון: קודם הרמה והמשמעות, אחר כך הרדאר */
  .radar-wrap { order: 2 !important; max-width: 300px; }
  .official { font-size: 12.5px; padding: 7px 12px; }
  .official .long { display: none; }
  .official .short { display: inline; }
}

/* ---------- תפריט נגישות ---------- */
.a11y-btn { position: fixed; left: 16px; bottom: 16px; z-index: 2100; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: #1a5cff; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); touch-action: manipulation; }
.a11y-btn svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: #fff; stroke: none; }
.a11y-btn:focus-visible { outline: 3px solid #ffe600; outline-offset: 3px; }
.a11y-panel { position: fixed; left: 16px; bottom: 80px; z-index: 2100; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow: auto; background: #0b1520; border: 1px solid var(--edge-2); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); color: var(--text); font-family: Heebo, Arial, sans-serif; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 18px; }
.a11y-x { background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; padding: 0 6px; }
.a11y-size { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.a11y-size span { flex: 1; }
.a11y-size button, .a11y-grid button, .a11y-reset { font: inherit; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--edge-2); border-radius: 12px; cursor: pointer; touch-action: manipulation; }
.a11y-size button { width: 48px; height: 44px; font-size: 17px; }
.a11y-size output { min-width: 52px; text-align: center; font-family: var(--mono); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { padding: 12px 8px; font-size: 14px; text-align: start; min-height: 48px; }
.a11y-grid button.on { background: #1a5cff; border-color: #fff; color: #fff; }
.a11y-reset { width: 100%; margin-top: 10px; padding: 11px; font-size: 14.5px; }
.a11y-link { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--brand-2); }
.a11y-size button:focus-visible, .a11y-grid button:focus-visible, .a11y-reset:focus-visible, .a11y-x:focus-visible { outline: 3px solid #ffe600; outline-offset: 2px; }
@media (max-width: 820px) {
  .a11y-btn { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
  .a11y-panel { bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
}
/* המצבים */
html.a11y-contrast { --text: #fff; --muted: #fff; --dim: #f2f2f2; --panel: #000; --edge: rgba(255, 255, 255, .55); --edge-2: #fff; }
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast .card, html.a11y-contrast .hero, html.a11y-contrast .kpi, html.a11y-contrast .arena, html.a11y-contrast .a-card { background: #000 !important; backdrop-filter: none !important; }
html.a11y-contrast a, html.a11y-contrast .more-link { color: #ffe600 !important; }
html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast span, html.a11y-contrast td { color: #fff !important; }
html.a11y-gray body > *:not(.a11y-btn):not(.a11y-panel) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #ffe600; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body *:not(svg):not(svg *) { font-family: Arial, "Arial Hebrew", sans-serif !important; letter-spacing: 0 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l7 19 2.5-7.5L20 11z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 3 2, auto !important; }
html.a11y-spacing body p, html.a11y-spacing body li, html.a11y-spacing body span { line-height: 2 !important; letter-spacing: .02em; word-spacing: .12em; }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3 { outline: 2px solid var(--brand); outline-offset: 4px; background: rgba(53, 240, 176, .08); border-radius: 6px; }

/* דיווחים ראשוניים: תווית ברורה שזה לא מידע רשמי */
.early { display: flex; flex-direction: column; gap: 3px; }
.early b { font-weight: 700; }
.early > span:last-child { color: var(--muted); font-size: 13px; }
.eb { align-self: flex-start; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; letter-spacing: .2px; }
.eb-published { background: rgba(255, 196, 64, .14); color: #ffc440; border: 1px dashed rgba(255, 196, 64, .55); }
.eb-confirmed { background: rgba(48, 209, 120, .14); color: #3ddc84; border: 1px solid rgba(48, 209, 120, .45); }
.eb-denied { background: rgba(255, 90, 90, .12); color: #ff7a7a; border: 1px solid rgba(255, 90, 90, .4); }
.eb-denied + b { text-decoration: line-through; opacity: .7; }
.early-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.55; }
.early-note a { color: inherit; text-decoration: underline; }

/* תמונות שער לכתבות (איורים שנוצרים בקוד) */
.a-card.has-img { padding-top: 0; overflow: hidden; }
.a-img { display: block; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 2.3 / 1; object-fit: cover; margin: 0 -20px 14px; background: #04080d; border-bottom: 1px solid var(--edge); }
.a-cover { margin: 18px 0 22px; }
.a-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 16px; border: 1px solid var(--edge); background: #04080d; }
.a-cover figcaption { font-size: 12.5px; color: var(--dim, var(--muted)); margin-top: 6px; }

/* פירוט נפתח: התמונה המלאה, איראן והזירות */
.an-more, details.more { margin-top: 12px; }
.an-more > summary, details.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand); padding: 6px 0; min-height: 36px; }
.an-more > summary::-webkit-details-marker, details.more > summary::-webkit-details-marker { display: none; }
.an-more > summary::after, details.more > summary::after { content: "▾"; transition: transform .2s; }
.an-more[open] > summary::after, details.more[open] > summary::after { transform: rotate(180deg); }
.an-more p, details.more p { font-size: 15px; line-height: 1.65; color: #c9d6e2; margin: 6px 0 10px; }
.an-more b { display: block; margin: 10px 0 4px; font-size: 14.5px; }
.an-more ul, details.more ul { margin: 4px 0 10px; padding-inline-start: 20px; font-size: 14.5px; color: #c9d6e2; line-height: 1.6; }
details.more h4 { font-size: 14px; margin: 12px 0 4px; color: var(--text); }
.sig-ev { list-style: none; padding: 0 !important; }
.sig-ev li { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--edge); }
.sig-ev li i { margin-top: 6px; }
.sig-ev li span { grid-column: 2; color: var(--muted); font-size: 13.5px; }

.live-updates li.live-empty { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.6; padding-top: 4px; border-top: 1px solid var(--edge); }
/* יום שקט: הפס ניטרלי ולא אדום */
.live-updates.quiet { border-color: var(--edge-2); background: var(--panel); }
.live-updates.quiet h2 { color: var(--text); }
.live-updates.quiet h2 .live-dot { background: var(--l1); box-shadow: none; animation: none; }
.live-updates.quiet time { color: var(--muted); }

/* שווקי תחזיות בחו"ל: ניטרלי, בלי אדום וירוק */
.pm { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--edge); }
.pm h4 { margin: 0 0 4px; font-size: 1rem; }
.pm-note { margin: 0 0 12px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.pm-item { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(78, 168, 255, .04); }
.pm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pm-head b { font-weight: 600; line-height: 1.4; }
.pm-pct { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--brand-2); white-space: nowrap; }
.pm-trend { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--muted); font-size: .82rem; }
.pm-spark { width: 120px; height: 34px; flex: none; direction: ltr; }
.pm-spark polyline { fill: none; stroke: var(--brand-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pm-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pm-dates span { font-size: .8rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.pm-dates b { color: var(--text); font-family: var(--mono); }
.pm-vol { display: block; margin-top: 6px; font-size: .75rem; color: var(--dim); }

/* אזהרות רשמיות בעולם */
.adv-intro { margin: -4px 0 14px; font-size: .9rem; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.adv-box { padding: 14px 16px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.adv-box h4 { margin: 0 0 10px; font-size: .95rem; }
.adv-box p { margin: 0 0 8px; line-height: 1.55; }
.adv-box ul { list-style: none; margin: 0; padding: 0; }
.adv-box li { padding: 7px 0; border-bottom: 1px solid var(--edge); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.adv-box li:last-child { border-bottom: 0; }
.adv-box li span { color: var(--muted); font-size: .85rem; }
.adv-box em { font-style: normal; color: var(--l3); font-weight: 600; }
.adv-lv { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--c); color: var(--c); font-family: var(--mono); font-weight: 700; font-size: .85rem; }
.adv-uk li { display: list-item; color: var(--text); list-style: disc inside; }
.adv-src { margin-top: 8px !important; font-size: .75rem; color: var(--dim); }

/* ---------- סדר חדש לעמוד הבית: תשובה קודם, פרטים מקופלים ---------- */
/* עכשיו + היישוב שלי, זה ליד זה */
.row.now { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.row.now .live-updates { margin: 0; }
.live-updates li.more-row { display: none; }
.live-updates.expanded li.more-row { display: grid; }
.live-more {
  margin-top: 10px; font: 700 14px Heebo, sans-serif; color: var(--brand); background: none; border: 0; padding: 8px 0; min-height: 40px; cursor: pointer;
  transition: transform .15s var(--ease);
}
.live-more::after { content: " ▾"; }
.live-updates.expanded .live-more::after { content: " ▴"; }
.live-more:active { transform: scale(.97); }

/* להעמקה: כל חלק נפתח בלחיצה */
.deep { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.deep-h { margin: 0; font-size: 15px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.deep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.fold { border: 1px solid var(--edge); border-radius: var(--r); background: var(--panel); min-width: 0; }
.fold[open] { grid-column: 1 / -1; }
.fold > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 20px; min-height: 56px;
  font-size: 16px; font-weight: 800; border-radius: var(--r); transition: background .2s;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary .ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: rgba(53, 240, 176, .08); border: 1px solid rgba(53, 240, 176, .2); font-size: 14px; flex: none; }
.fold > summary .fold-hint { margin-inline-start: auto; color: var(--muted); font-size: 14px; transition: transform .2s var(--ease); }
.fold > summary .fold-hint::before { content: "▾"; }
.fold[open] > summary .fold-hint { transform: rotate(180deg); }
.fold > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fold-body { padding: 0 20px 20px; }
/* בתוך קיפול: בלי מסגרת כפולה, והכותרת של הכרטיס כבר מופיעה בשורת הקיפול */
.fold-body .card { background: none; border: 0; box-shadow: none; padding: 0; animation: none; }
.fold-body > .card > h2 { display: none; }
.fold-body .row.two { gap: 24px; }
.fold-body .map-card { max-width: 420px; margin: 0 auto; }
@media (hover: hover) and (pointer: fine) { .fold > summary:hover { background: rgba(255, 255, 255, .03); } }

/* פחות רעש ברקע: הרשת עדינה יותר */
body {
  background:
    radial-gradient(900px 600px at 75% -10%, color-mix(in srgb, var(--lv) 12%, transparent), transparent 70%),
    linear-gradient(rgba(110, 200, 255, .018) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(110, 200, 255, .018) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  background-attachment: fixed;
}

@media (max-width: 820px) {
  .row.now { grid-template-columns: 1fr; gap: 14px; }
  .deep-grid { grid-template-columns: 1fr; }
  /* במסך הראשון בטלפון: הרמה, המשפט והכפתורים. הרדאר הגדול נשאר למחשב */
  .hero .radar-wrap { display: none; }
  .hero .reasons { display: none; }
  /* כתבות: פס שגוללים הצידה במקום שלושה כרטיסים אחד מתחת לשני */
  .home-articles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .home-articles::-webkit-scrollbar { display: none; }
  .home-articles .a-card { flex: 0 0 82%; scroll-snap-align: start; }
  .fold > summary { padding: 14px 16px; }
  .fold-body { padding: 0 16px 16px; }
}

/* נושאות מטוסים */
.fl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fl-list li { padding: 12px 14px; border: 1px solid var(--edge); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fl-list li span { color: var(--muted); font-size: .88rem; }
.fl-kind { color: var(--brand-2) !important; font-weight: 600; font-size: .8rem !important; }
.fl-stale { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(232, 197, 71, .08); border: 1px solid rgba(232, 197, 71, .3); font-size: .88rem; line-height: 1.55; }

/* תנועת ספינות */
.sh-h { margin: 18px 0 10px; font-size: .95rem; padding-top: 14px; border-top: 1px solid var(--edge); }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sh-zone { padding: 10px 12px; border: 1px solid var(--edge); border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
.sh-zone span { font-size: .82rem; color: var(--muted); }
.sh-zone b { font-family: var(--mono); font-size: 1.5rem; color: var(--brand-2); }
.sh-zone small { font-size: .72rem; color: var(--dim); }
.sh-low { border-color: rgba(232, 197, 71, .5); }
.sh-low b, .sh-low small { color: var(--l3); }
@media (max-width: 520px) { .sh-grid { grid-template-columns: 1fr; } .sh-zone { flex-direction: row; align-items: baseline; gap: 10px; } }

/* ---------- רמת הכוננות: ברור מה רואים ---------- */
.lv-kicker { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: .01em; }
.hero h1 { flex-wrap: wrap; row-gap: 4px; }
.lv-of { font: 700 15px var(--mono); color: var(--muted); align-self: center; padding: 4px 10px; border: 1px solid var(--edge-2); border-radius: 99px; }
.lv-means { margin: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--text); max-width: 34em; }
/* סרגל: כל חמש הרמות עם השם שלהן, הרמה הנוכחית מודגשת */
.scale { gap: 6px; max-width: 460px; margin: 16px 0 14px; }
.scale span { height: auto; background: none; display: flex; flex-direction: column; gap: 6px; box-shadow: none; }
.scale span i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.scale span.on i { background: var(--c); }
.scale span.cur i { box-shadow: 0 0 14px var(--c); }
.scale em { position: static; font: 500 12.5px Heebo, sans-serif; color: var(--dim); text-align: center; white-space: nowrap; }
.scale span.cur em { color: var(--c); font-weight: 800; }
.hero .overline { margin-top: 2px; font-size: 13px; }
@media (max-width: 820px) {
  .lv-kicker { font-size: 16px; }
  .lv-means { font-size: 16.5px; margin-inline: auto; }
  .scale em { font-size: 11.5px; }
}
.tv .scale span i { height: .45vw; }
.sh-none b { color: var(--dim); }

/* ---------- באנר ערוץ הטלגרם ---------- */
.tg-banner {
  --tg: #2aabee;
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r); text-decoration: none; color: var(--text);
  border: 1px solid color-mix(in srgb, var(--tg) 40%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--tg) 16%, transparent), color-mix(in srgb, var(--tg) 4%, transparent) 70%), var(--panel);
  position: relative; overflow: hidden;
  transition: transform .16s var(--ease), border-color .2s, box-shadow .2s;
}
.tg-banner::after {  /* ברק עדין במעבר, רק במחשב */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); transform: translateX(100%);
}
.tg-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tg); box-shadow: 0 6px 20px color-mix(in srgb, var(--tg) 45%, transparent); }
.tg-ic svg { width: 24px; height: 24px; fill: #fff; transform: translateX(-1px); }
.tg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tg-txt b { font-size: 17px; font-weight: 800; }
.tg-txt span { font-size: 14.5px; color: #b9cbdc; line-height: 1.45; }
.tg-btn { flex: none; font-weight: 800; font-size: 15px; color: #fff; background: var(--tg); padding: 11px 20px; border-radius: 99px; white-space: nowrap; }
.tg-banner:active { transform: scale(.98); }
.tg-banner:focus-visible { outline: 2px solid var(--tg); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .tg-banner:hover { border-color: var(--tg); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--tg) 60%, transparent); }
  .tg-banner:hover::after { transform: translateX(-100%); transition: transform .8s var(--ease); }
}
/* בעמודי תוכן (כתבה, אזעקות היום, רשימת כתבות): מרווח מעל */
.doc .tg-banner, main > .tg-banner:last-child { margin-top: 24px; }
@media (max-width: 600px) {
  .tg-banner { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .tg-ic { width: 42px; height: 42px; } .tg-ic svg { width: 21px; height: 21px; }
  .tg-txt { flex-basis: calc(100% - 60px); }
  .tg-btn { flex: 1 1 100%; text-align: center; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tg-banner::after { display: none; } }
