@font-face {
  font-family: Heebo;
  src: url(/israel/fonts/heebo-hebrew.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: Heebo;
  src: url(/israel/fonts/heebo-latin.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #1c1b19;
  --mute: #6d6b64;
  --line: #e3e0d8;
  --accent: #c4361f;
  --link: #1f5ea8;
  --fresh: #fbefc4;
  --t-security: #55702a;
  --t-crime: #7a4a9e;
  --t-emergency: #c0392b;
  --t-traffic: #1f6aa5;
  --t-missing: #a86400;
  --t-politics: #5a6270;
  --t-economy: #12795e;
  --t-world: #66768c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --surface: #1b1c1f;
    --ink: #ebe9e4;
    --mute: #9b998f;
    --line: #2a2b2f;
    --accent: #ff6b4f;
    --link: #8bb8ff;
    --fresh: #3a3416;
    --t-security: #a5c46e;
    --t-crime: #c39be3;
    --t-emergency: #ff8a7a;
    --t-traffic: #7fb6e8;
    --t-missing: #f0b45a;
    --t-politics: #a9b1bf;
    --t-economy: #6fd0b0;
    --t-world: #a6b3c6;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Heebo, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.in { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* header */
.bar { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 20px; }
.logo { color: var(--ink); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo small { font-weight: 400; font-size: 16px; color: var(--mute); margin-inline-start: 7px; letter-spacing: 0; }
.st { font-size: 13px; color: var(--mute); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mute); }
.st.live::before { background: var(--accent); animation: beat 2.4s ease-in-out infinite; }
.st.stale { color: var(--accent); }
@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.q { margin: 16px 0 2px; }
.q input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.q input::placeholder { color: var(--mute); }
.q input:focus { border-color: var(--mute); }

.tabs .in { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs .in::-webkit-scrollbar { display: none; }
.tabs a { flex: none; color: var(--mute); font-size: 15px; padding: 10px 0 9px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); font-weight: 600; border-color: var(--accent); }

/* feed */
.day {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 22px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
#list > .day:first-child { padding-top: 14px; }

.it { border-bottom: 1px solid var(--line); }
.it summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  column-gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.it summary::-webkit-details-marker { display: none; }
.it summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.it time { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 2px; }
.it h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.it summary:hover h3 { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.lede {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--mute);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
details[open] .lede, details[open] .th { display: none; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: 13px; color: var(--mute); }
.meta:empty { display: none; }
.tg { font-weight: 600; }
.tg::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: currentColor; margin-inline-end: 6px; vertical-align: 1px; }
.t-security { color: var(--t-security); }
.t-crime { color: var(--t-crime); }
.t-emergency { color: var(--t-emergency); }
.t-traffic { color: var(--t-traffic); }
.t-missing { color: var(--t-missing); }
.t-politics { color: var(--t-politics); }
.t-economy { color: var(--t-economy); }
.t-world { color: var(--t-world); }
.pl { color: var(--mute); }
.pl:hover { color: var(--ink); }
.rp.hot { color: var(--accent); font-weight: 600; }
.th { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; background: var(--line); align-self: start; }

/* opened item */
.bd { padding: 0 0 18px; padding-inline-start: 58px; }
.bd > p { margin: 0 0 12px; overflow-wrap: anywhere; }
.bd .url { font-size: 14px; }
.bd .im, .bd .yt { display: block; margin: 0 0 12px; max-width: 560px; }
.bd img, .bd video { display: block; max-width: 100%; height: auto; border-radius: 8px; background: var(--line); }
.bd video { width: 100%; max-width: 560px; max-height: 70vh; margin: 0 0 12px; background: #000; }
.yt { position: relative; }
.yt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 44px; border-radius: 10px; background: rgba(0, 0, 0, .72); }
.yt .play::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(2px);
}
.yt:hover .play { background: #c4302b; }
.bd iframe { display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; margin: 0 0 12px; }

.tw { max-width: 560px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tw-h { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.tw .av { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.tw-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-n span { color: var(--mute); }
.tw-t { margin-inline-start: auto; font-size: 13px; color: var(--mute); white-space: nowrap; }
.tw p { margin: 8px 0 0; overflow-wrap: anywhere; }
.tw-m { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; }
.tw-m.n1 { grid-template-columns: 1fr; }
.tw-m a { display: block; }
.tw-m img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 6px; }
.tw-m.n1 img { height: auto; }
.tw video { margin: 10px 0 0; }
.tw-q { margin-top: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.tw-q span { color: var(--mute); }
.wait { color: var(--mute); font-size: 14px; }
.ft { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 2px; font-size: 13px; color: var(--mute); }

.note { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.empty { padding: 48px 0; text-align: center; color: var(--mute); }
.more { display: block; padding: 18px; text-align: center; font-size: 14px; color: var(--mute); }
.foot { padding: 28px 0 44px; font-size: 13px; color: var(--mute); }
.foot p { margin: 0 0 6px; max-width: 62ch; }

.fresh { animation: fresh 6s ease-out; }
@keyframes fresh { from { background: var(--fresh); } to { background: transparent; } }

.newbar { position: fixed; top: 12px; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; pointer-events: none; }
.newbar[hidden] { display: none; }
.newbar button {
  pointer-events: auto;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

@media (max-width: 560px) {
  .row { padding-top: 16px; }
  .logo { font-size: 23px; }
  .it summary { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 10px; }
  .it h3 { font-size: 16px; }
  .th { width: 60px; height: 60px; }
  .bd { padding-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .st.live::before, .fresh { animation: none; }
}
